@pulumi/azure 6.9.0-alpha.1731569743 → 6.9.0-alpha.1731596827

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 (85) hide show
  1. package/containerservice/kubernetesCluster.d.ts +3 -3
  2. package/cosmosdb/index.d.ts +3 -0
  3. package/cosmosdb/index.js +6 -1
  4. package/cosmosdb/index.js.map +1 -1
  5. package/cosmosdb/mongoCluster.d.ts +306 -0
  6. package/cosmosdb/mongoCluster.js +150 -0
  7. package/cosmosdb/mongoCluster.js.map +1 -0
  8. package/dashboard/grafanaManagedPrivateEndpoint.d.ts +187 -0
  9. package/dashboard/grafanaManagedPrivateEndpoint.js +118 -0
  10. package/dashboard/grafanaManagedPrivateEndpoint.js.map +1 -0
  11. package/dashboard/index.d.ts +3 -0
  12. package/dashboard/index.js +6 -1
  13. package/dashboard/index.js.map +1 -1
  14. package/dataprotection/backupInstanceMysqlFlexibleServer.d.ts +173 -0
  15. package/dataprotection/backupInstanceMysqlFlexibleServer.js +143 -0
  16. package/dataprotection/backupInstanceMysqlFlexibleServer.js.map +1 -0
  17. package/dataprotection/index.d.ts +3 -0
  18. package/dataprotection/index.js +6 -1
  19. package/dataprotection/index.js.map +1 -1
  20. package/dynatrace/index.d.ts +3 -0
  21. package/dynatrace/index.js +22 -0
  22. package/dynatrace/index.js.map +1 -0
  23. package/dynatrace/monitor.d.ts +163 -0
  24. package/dynatrace/monitor.js +91 -0
  25. package/dynatrace/monitor.js.map +1 -0
  26. package/index.d.ts +2 -1
  27. package/index.js +4 -2
  28. package/index.js.map +1 -1
  29. package/lb/natRule.d.ts +51 -0
  30. package/lb/natRule.js +51 -0
  31. package/lb/natRule.js.map +1 -1
  32. package/mssql/managedDatabase.d.ts +18 -0
  33. package/mssql/managedDatabase.js +2 -0
  34. package/mssql/managedDatabase.js.map +1 -1
  35. package/network/getPublicIpPrefix.d.ts +4 -0
  36. package/network/getPublicIpPrefix.js.map +1 -1
  37. package/network/publicIp.d.ts +12 -0
  38. package/network/publicIp.js +2 -0
  39. package/network/publicIp.js.map +1 -1
  40. package/network/publicIpPrefix.d.ts +12 -0
  41. package/network/publicIpPrefix.js +2 -0
  42. package/network/publicIpPrefix.js.map +1 -1
  43. package/oracle/cloudVmCluster.d.ts +48 -0
  44. package/oracle/cloudVmCluster.js +8 -0
  45. package/oracle/cloudVmCluster.js.map +1 -1
  46. package/package.json +2 -2
  47. package/sentinel/alertRuleFusion.d.ts +5 -16
  48. package/sentinel/alertRuleFusion.js +2 -13
  49. package/sentinel/alertRuleFusion.js.map +1 -1
  50. package/stack/hciNetworkInterface.d.ts +157 -0
  51. package/stack/hciNetworkInterface.js +83 -0
  52. package/stack/hciNetworkInterface.js.map +1 -0
  53. package/stack/index.d.ts +3 -0
  54. package/stack/index.js +6 -1
  55. package/stack/index.js.map +1 -1
  56. package/storage/account.d.ts +13 -1
  57. package/storage/account.js.map +1 -1
  58. package/storage/accountQueueProperties.d.ts +165 -0
  59. package/storage/accountQueueProperties.js +121 -0
  60. package/storage/accountQueueProperties.js.map +1 -0
  61. package/storage/accountStaticWebsite.d.ts +110 -0
  62. package/storage/accountStaticWebsite.js +94 -0
  63. package/storage/accountStaticWebsite.js.map +1 -0
  64. package/storage/container.d.ts +32 -4
  65. package/storage/container.js +3 -4
  66. package/storage/container.js.map +1 -1
  67. package/storage/getShare.d.ts +35 -13
  68. package/storage/getShare.js +16 -8
  69. package/storage/getShare.js.map +1 -1
  70. package/storage/getStorageContainer.d.ts +33 -12
  71. package/storage/getStorageContainer.js +16 -6
  72. package/storage/getStorageContainer.js.map +1 -1
  73. package/storage/index.d.ts +6 -0
  74. package/storage/index.js +12 -2
  75. package/storage/index.js.map +1 -1
  76. package/storage/share.d.ts +35 -7
  77. package/storage/share.js +7 -8
  78. package/storage/share.js.map +1 -1
  79. package/storage/zMixins.js +20 -6
  80. package/storage/zMixins.js.map +1 -1
  81. package/trustedsigning/account.d.ts +18 -0
  82. package/trustedsigning/account.js +18 -0
  83. package/trustedsigning/account.js.map +1 -1
  84. package/types/input.d.ts +83 -15
  85. package/types/output.d.ts +81 -13
@@ -12,11 +12,14 @@ import * as outputs from "../types/output";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as azure from "@pulumi/azure";
14
14
  *
15
- * const example = azure.storage.getShare({
16
- * name: "existing",
17
- * storageAccountName: "existing",
15
+ * const example = azure.storage.getAccount({
16
+ * name: "exampleaccount",
17
+ * resourceGroupName: "examples",
18
18
  * });
19
- * export const id = example.then(example => example.id);
19
+ * const exampleGetShare = example.then(example => azure.storage.getShare({
20
+ * name: "existing",
21
+ * storageAccountId: example.id,
22
+ * }));
20
23
  * ```
21
24
  */
22
25
  export declare function getShare(args: GetShareArgs, opts?: pulumi.InvokeOptions): Promise<GetShareResult>;
@@ -39,9 +42,15 @@ export interface GetShareArgs {
39
42
  */
40
43
  name: string;
41
44
  /**
42
- * The name of the storage account.
45
+ * The ID of the storage account in which the share exists.
46
+ *
47
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
43
48
  */
44
- storageAccountName: string;
49
+ storageAccountId?: string;
50
+ /**
51
+ * The name of the storage account in which the share exists. This property is deprecated in favour of `storageAccountId`.
52
+ */
53
+ storageAccountName?: string;
45
54
  }
46
55
  /**
47
56
  * A collection of values returned by getShare.
@@ -66,8 +75,12 @@ export interface GetShareResult {
66
75
  * The quota of the File Share in GB.
67
76
  */
68
77
  readonly quota: number;
78
+ /**
79
+ * @deprecated this property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.
80
+ */
69
81
  readonly resourceManagerId: string;
70
- readonly storageAccountName: string;
82
+ readonly storageAccountId?: string;
83
+ readonly storageAccountName?: string;
71
84
  }
72
85
  /**
73
86
  * Use this data source to access information about an existing File Share.
@@ -80,11 +93,14 @@ export interface GetShareResult {
80
93
  * import * as pulumi from "@pulumi/pulumi";
81
94
  * import * as azure from "@pulumi/azure";
82
95
  *
83
- * const example = azure.storage.getShare({
84
- * name: "existing",
85
- * storageAccountName: "existing",
96
+ * const example = azure.storage.getAccount({
97
+ * name: "exampleaccount",
98
+ * resourceGroupName: "examples",
86
99
  * });
87
- * export const id = example.then(example => example.id);
100
+ * const exampleGetShare = example.then(example => azure.storage.getShare({
101
+ * name: "existing",
102
+ * storageAccountId: example.id,
103
+ * }));
88
104
  * ```
89
105
  */
90
106
  export declare function getShareOutput(args: GetShareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetShareResult>;
@@ -107,7 +123,13 @@ export interface GetShareOutputArgs {
107
123
  */
108
124
  name: pulumi.Input<string>;
109
125
  /**
110
- * The name of the storage account.
126
+ * The ID of the storage account in which the share exists.
127
+ *
128
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
129
+ */
130
+ storageAccountId?: pulumi.Input<string>;
131
+ /**
132
+ * The name of the storage account in which the share exists. This property is deprecated in favour of `storageAccountId`.
111
133
  */
112
- storageAccountName: pulumi.Input<string>;
134
+ storageAccountName?: pulumi.Input<string>;
113
135
  }
@@ -16,11 +16,14 @@ const utilities = require("../utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as azure from "@pulumi/azure";
18
18
  *
19
- * const example = azure.storage.getShare({
20
- * name: "existing",
21
- * storageAccountName: "existing",
19
+ * const example = azure.storage.getAccount({
20
+ * name: "exampleaccount",
21
+ * resourceGroupName: "examples",
22
22
  * });
23
- * export const id = example.then(example => example.id);
23
+ * const exampleGetShare = example.then(example => azure.storage.getShare({
24
+ * name: "existing",
25
+ * storageAccountId: example.id,
26
+ * }));
24
27
  * ```
25
28
  */
26
29
  function getShare(args, opts) {
@@ -29,6 +32,7 @@ function getShare(args, opts) {
29
32
  "acls": args.acls,
30
33
  "metadata": args.metadata,
31
34
  "name": args.name,
35
+ "storageAccountId": args.storageAccountId,
32
36
  "storageAccountName": args.storageAccountName,
33
37
  }, opts);
34
38
  }
@@ -44,11 +48,14 @@ exports.getShare = getShare;
44
48
  * import * as pulumi from "@pulumi/pulumi";
45
49
  * import * as azure from "@pulumi/azure";
46
50
  *
47
- * const example = azure.storage.getShare({
48
- * name: "existing",
49
- * storageAccountName: "existing",
51
+ * const example = azure.storage.getAccount({
52
+ * name: "exampleaccount",
53
+ * resourceGroupName: "examples",
50
54
  * });
51
- * export const id = example.then(example => example.id);
55
+ * const exampleGetShare = example.then(example => azure.storage.getShare({
56
+ * name: "existing",
57
+ * storageAccountId: example.id,
58
+ * }));
52
59
  * ```
53
60
  */
54
61
  function getShareOutput(args, opts) {
@@ -57,6 +64,7 @@ function getShareOutput(args, opts) {
57
64
  "acls": args.acls,
58
65
  "metadata": args.metadata,
59
66
  "name": args.name,
67
+ "storageAccountId": args.storageAccountId,
60
68
  "storageAccountName": args.storageAccountName,
61
69
  }, opts);
62
70
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getShare.js","sourceRoot":"","sources":["../../storage/getShare.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAgDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,cAA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CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC"}
@@ -8,10 +8,14 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as azure from "@pulumi/azure";
10
10
  *
11
- * const example = azure.storage.getStorageContainer({
12
- * name: "example-container-name",
13
- * storageAccountName: "example-storage-account-name",
11
+ * const example = azure.storage.getAccount({
12
+ * name: "exampleaccount",
13
+ * resourceGroupName: "examples",
14
14
  * });
15
+ * const exampleGetStorageContainer = example.then(example => azure.storage.getStorageContainer({
16
+ * name: "example-container-name",
17
+ * storageAccountId: example.id,
18
+ * }));
15
19
  * ```
16
20
  */
17
21
  export declare function getStorageContainer(args: GetStorageContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageContainerResult>;
@@ -30,9 +34,15 @@ export interface GetStorageContainerArgs {
30
34
  */
31
35
  name: string;
32
36
  /**
33
- * The name of the Storage Account where the Container exists.
37
+ * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider.
38
+ *
39
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
40
+ */
41
+ storageAccountId?: string;
42
+ /**
43
+ * The name of the Storage Account where the Container exists. This property is deprecated in favour of `storageAccountId`.
34
44
  */
35
- storageAccountName: string;
45
+ storageAccountName?: string;
36
46
  }
37
47
  /**
38
48
  * A collection of values returned by getStorageContainer.
@@ -70,10 +80,11 @@ export interface GetStorageContainerResult {
70
80
  };
71
81
  readonly name: string;
72
82
  /**
73
- * The Resource Manager ID of this Storage Container.
83
+ * @deprecated this property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.
74
84
  */
75
85
  readonly resourceManagerId: string;
76
- readonly storageAccountName: string;
86
+ readonly storageAccountId?: string;
87
+ readonly storageAccountName?: string;
77
88
  }
78
89
  /**
79
90
  * Use this data source to access information about an existing Storage Container.
@@ -84,10 +95,14 @@ export interface GetStorageContainerResult {
84
95
  * import * as pulumi from "@pulumi/pulumi";
85
96
  * import * as azure from "@pulumi/azure";
86
97
  *
87
- * const example = azure.storage.getStorageContainer({
88
- * name: "example-container-name",
89
- * storageAccountName: "example-storage-account-name",
98
+ * const example = azure.storage.getAccount({
99
+ * name: "exampleaccount",
100
+ * resourceGroupName: "examples",
90
101
  * });
102
+ * const exampleGetStorageContainer = example.then(example => azure.storage.getStorageContainer({
103
+ * name: "example-container-name",
104
+ * storageAccountId: example.id,
105
+ * }));
91
106
  * ```
92
107
  */
93
108
  export declare function getStorageContainerOutput(args: GetStorageContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStorageContainerResult>;
@@ -106,7 +121,13 @@ export interface GetStorageContainerOutputArgs {
106
121
  */
107
122
  name: pulumi.Input<string>;
108
123
  /**
109
- * The name of the Storage Account where the Container exists.
124
+ * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider.
125
+ *
126
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
127
+ */
128
+ storageAccountId?: pulumi.Input<string>;
129
+ /**
130
+ * The name of the Storage Account where the Container exists. This property is deprecated in favour of `storageAccountId`.
110
131
  */
111
- storageAccountName: pulumi.Input<string>;
132
+ storageAccountName?: pulumi.Input<string>;
112
133
  }
@@ -14,10 +14,14 @@ const utilities = require("../utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as azure from "@pulumi/azure";
16
16
  *
17
- * const example = azure.storage.getStorageContainer({
18
- * name: "example-container-name",
19
- * storageAccountName: "example-storage-account-name",
17
+ * const example = azure.storage.getAccount({
18
+ * name: "exampleaccount",
19
+ * resourceGroupName: "examples",
20
20
  * });
21
+ * const exampleGetStorageContainer = example.then(example => azure.storage.getStorageContainer({
22
+ * name: "example-container-name",
23
+ * storageAccountId: example.id,
24
+ * }));
21
25
  * ```
22
26
  */
23
27
  function getStorageContainer(args, opts) {
@@ -25,6 +29,7 @@ function getStorageContainer(args, opts) {
25
29
  return pulumi.runtime.invoke("azure:storage/getStorageContainer:getStorageContainer", {
26
30
  "metadata": args.metadata,
27
31
  "name": args.name,
32
+ "storageAccountId": args.storageAccountId,
28
33
  "storageAccountName": args.storageAccountName,
29
34
  }, opts);
30
35
  }
@@ -38,10 +43,14 @@ exports.getStorageContainer = getStorageContainer;
38
43
  * import * as pulumi from "@pulumi/pulumi";
39
44
  * import * as azure from "@pulumi/azure";
40
45
  *
41
- * const example = azure.storage.getStorageContainer({
42
- * name: "example-container-name",
43
- * storageAccountName: "example-storage-account-name",
46
+ * const example = azure.storage.getAccount({
47
+ * name: "exampleaccount",
48
+ * resourceGroupName: "examples",
44
49
  * });
50
+ * const exampleGetStorageContainer = example.then(example => azure.storage.getStorageContainer({
51
+ * name: "example-container-name",
52
+ * storageAccountId: example.id,
53
+ * }));
45
54
  * ```
46
55
  */
47
56
  function getStorageContainerOutput(args, opts) {
@@ -49,6 +58,7 @@ function getStorageContainerOutput(args, opts) {
49
58
  return pulumi.runtime.invokeOutput("azure:storage/getStorageContainer:getStorageContainer", {
50
59
  "metadata": args.metadata,
51
60
  "name": args.name,
61
+ "storageAccountId": args.storageAccountId,
52
62
  "storageAccountName": args.storageAccountName,
53
63
  }, opts);
54
64
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getStorageContainer.js","sourceRoot":"","sources":["../../storage/getStorageContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;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ACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAkED;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8DAQC"}
@@ -4,6 +4,12 @@ export declare const Account: typeof import("./account").Account;
4
4
  export { AccountNetworkRulesArgs, AccountNetworkRulesState } from "./accountNetworkRules";
5
5
  export declare type AccountNetworkRules = import("./accountNetworkRules").AccountNetworkRules;
6
6
  export declare const AccountNetworkRules: typeof import("./accountNetworkRules").AccountNetworkRules;
7
+ export { AccountQueuePropertiesArgs, AccountQueuePropertiesState } from "./accountQueueProperties";
8
+ export declare type AccountQueueProperties = import("./accountQueueProperties").AccountQueueProperties;
9
+ export declare const AccountQueueProperties: typeof import("./accountQueueProperties").AccountQueueProperties;
10
+ export { AccountStaticWebsiteArgs, AccountStaticWebsiteState } from "./accountStaticWebsite";
11
+ export declare type AccountStaticWebsite = import("./accountStaticWebsite").AccountStaticWebsite;
12
+ export declare const AccountStaticWebsite: typeof import("./accountStaticWebsite").AccountStaticWebsite;
7
13
  export { BlobArgs, BlobState } from "./blob";
8
14
  export declare type Blob = import("./blob").Blob;
9
15
  export declare const Blob: typeof import("./blob").Blob;
package/storage/index.js CHANGED
@@ -16,14 +16,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Queue = exports.ObjectReplication = exports.MoverTargetEndpoint = exports.MoverSourceEndpoint = exports.MoverProject = exports.MoverJobDefinition = exports.MoverAgent = exports.Mover = exports.ManagementPolicy = exports.LocalUser = exports.getTableEntityOutput = exports.getTableEntity = exports.getTableEntitiesOutput = exports.getTableEntities = exports.getTableOutput = exports.getTable = exports.getSyncGroupOutput = exports.getSyncGroup = exports.getSyncOutput = exports.getSync = exports.getStorageContainerOutput = exports.getStorageContainer = exports.getShareOutput = exports.getShare = exports.getQueueOutput = exports.getQueue = exports.getPolicyOutput = exports.getPolicy = exports.getEncryptionScopeOutput = exports.getEncryptionScope = exports.getContainersOutput = exports.getContainers = exports.getBlobOutput = exports.getBlob = exports.getAccountSASOutput = exports.getAccountSAS = exports.getAccountBlobContainerSASOutput = exports.getAccountBlobContainerSAS = exports.getAccountOutput = exports.getAccount = exports.EncryptionScope = exports.DataLakeGen2Path = exports.DataLakeGen2Filesystem = exports.CustomerManagedKey = exports.ContainerImmutabilityPolicy = exports.Container = exports.BlobInventoryPolicy = exports.Blob = exports.AccountNetworkRules = exports.Account = void 0;
20
- exports.ZipBlob = exports.TableEntity = exports.Table = exports.SyncServerEndpoint = exports.SyncGroup = exports.SyncCloudEndpoint = exports.Sync = exports.ShareFile = exports.ShareDirectory = exports.Share = void 0;
19
+ exports.MoverTargetEndpoint = exports.MoverSourceEndpoint = exports.MoverProject = exports.MoverJobDefinition = exports.MoverAgent = exports.Mover = exports.ManagementPolicy = exports.LocalUser = exports.getTableEntityOutput = exports.getTableEntity = exports.getTableEntitiesOutput = exports.getTableEntities = exports.getTableOutput = exports.getTable = exports.getSyncGroupOutput = exports.getSyncGroup = exports.getSyncOutput = exports.getSync = exports.getStorageContainerOutput = exports.getStorageContainer = exports.getShareOutput = exports.getShare = exports.getQueueOutput = exports.getQueue = exports.getPolicyOutput = exports.getPolicy = exports.getEncryptionScopeOutput = exports.getEncryptionScope = exports.getContainersOutput = exports.getContainers = exports.getBlobOutput = exports.getBlob = exports.getAccountSASOutput = exports.getAccountSAS = exports.getAccountBlobContainerSASOutput = exports.getAccountBlobContainerSAS = exports.getAccountOutput = exports.getAccount = exports.EncryptionScope = exports.DataLakeGen2Path = exports.DataLakeGen2Filesystem = exports.CustomerManagedKey = exports.ContainerImmutabilityPolicy = exports.Container = exports.BlobInventoryPolicy = exports.Blob = exports.AccountStaticWebsite = exports.AccountQueueProperties = exports.AccountNetworkRules = exports.Account = void 0;
20
+ exports.ZipBlob = exports.TableEntity = exports.Table = exports.SyncServerEndpoint = exports.SyncGroup = exports.SyncCloudEndpoint = exports.Sync = exports.ShareFile = exports.ShareDirectory = exports.Share = exports.Queue = exports.ObjectReplication = void 0;
21
21
  const pulumi = require("@pulumi/pulumi");
22
22
  const utilities = require("../utilities");
23
23
  exports.Account = null;
24
24
  utilities.lazyLoad(exports, ["Account"], () => require("./account"));
25
25
  exports.AccountNetworkRules = null;
26
26
  utilities.lazyLoad(exports, ["AccountNetworkRules"], () => require("./accountNetworkRules"));
27
+ exports.AccountQueueProperties = null;
28
+ utilities.lazyLoad(exports, ["AccountQueueProperties"], () => require("./accountQueueProperties"));
29
+ exports.AccountStaticWebsite = null;
30
+ utilities.lazyLoad(exports, ["AccountStaticWebsite"], () => require("./accountStaticWebsite"));
27
31
  exports.Blob = null;
28
32
  utilities.lazyLoad(exports, ["Blob"], () => require("./blob"));
29
33
  exports.BlobInventoryPolicy = null;
@@ -134,6 +138,10 @@ const _module = {
134
138
  return new exports.Account(name, undefined, { urn });
135
139
  case "azure:storage/accountNetworkRules:AccountNetworkRules":
136
140
  return new exports.AccountNetworkRules(name, undefined, { urn });
141
+ case "azure:storage/accountQueueProperties:AccountQueueProperties":
142
+ return new exports.AccountQueueProperties(name, undefined, { urn });
143
+ case "azure:storage/accountStaticWebsite:AccountStaticWebsite":
144
+ return new exports.AccountStaticWebsite(name, undefined, { urn });
137
145
  case "azure:storage/blob:Blob":
138
146
  return new exports.Blob(name, undefined, { urn });
139
147
  case "azure:storage/blobInventoryPolicy:BlobInventoryPolicy":
@@ -197,6 +205,8 @@ const _module = {
197
205
  };
198
206
  pulumi.runtime.registerResourceModule("azure", "storage/account", _module);
199
207
  pulumi.runtime.registerResourceModule("azure", "storage/accountNetworkRules", _module);
208
+ pulumi.runtime.registerResourceModule("azure", "storage/accountQueueProperties", _module);
209
+ pulumi.runtime.registerResourceModule("azure", "storage/accountStaticWebsite", _module);
200
210
  pulumi.runtime.registerResourceModule("azure", "storage/blob", _module);
201
211
  pulumi.runtime.registerResourceModule("azure", "storage/blobInventoryPolicy", _module);
202
212
  pulumi.runtime.registerResourceModule("azure", "storage/container", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../storage/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAIhF,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,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CAAC,OAAO,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
@@ -27,14 +27,14 @@ import * as outputs from "../types/output";
27
27
  * });
28
28
  * const exampleShare = new azure.storage.Share("example", {
29
29
  * name: "sharename",
30
- * storageAccountName: exampleAccount.name,
30
+ * storageAccountId: exampleAccount.id,
31
31
  * quota: 50,
32
32
  * acls: [{
33
33
  * id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
34
34
  * accessPolicies: [{
35
35
  * permissions: "rwdl",
36
- * start: "2019-07-02T09:38:21.0000000Z",
37
- * expiry: "2019-07-02T10:38:21.0000000Z",
36
+ * start: "2019-07-02T09:38:21Z",
37
+ * expiry: "2019-07-02T10:38:21Z",
38
38
  * }],
39
39
  * }],
40
40
  * });
@@ -42,10 +42,10 @@ import * as outputs from "../types/output";
42
42
  *
43
43
  * ## Import
44
44
  *
45
- * Storage Shares can be imported using the `resource id`, e.g.
45
+ * Storage Shares can be imported using the `id`, e.g.
46
46
  *
47
47
  * ```sh
48
- * $ pulumi import azure:storage/share:Share exampleShare https://account1.file.core.windows.net/share1
48
+ * $ pulumi import azure:storage/share:Share exampleShare /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Storage/storageAccounts/myAccount/fileServices/default/shares/exampleShare
49
49
  * ```
50
50
  */
51
51
  export declare class Share extends pulumi.CustomResource {
@@ -100,12 +100,22 @@ export declare class Share extends pulumi.CustomResource {
100
100
  readonly quota: pulumi.Output<number>;
101
101
  /**
102
102
  * The Resource Manager ID of this File Share.
103
+ *
104
+ * @deprecated this property is deprecated and will be removed 5.0 and replaced by the `id` property.
103
105
  */
104
106
  readonly resourceManagerId: pulumi.Output<string>;
105
107
  /**
106
108
  * Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
109
+ *
110
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
111
+ */
112
+ readonly storageAccountId: pulumi.Output<string | undefined>;
113
+ /**
114
+ * Specifies the storage account in which to create the share. Changing this forces a new resource to be created. This property is deprecated in favour of `storageAccountId`.
115
+ *
116
+ * @deprecated This property has been deprecated and will be replaced by `storageAccountId` in version 5.0 of the provider.
107
117
  */
108
- readonly storageAccountName: pulumi.Output<string>;
118
+ readonly storageAccountName: pulumi.Output<string | undefined>;
109
119
  /**
110
120
  * The URL of the File Share
111
121
  */
@@ -159,10 +169,20 @@ export interface ShareState {
159
169
  quota?: pulumi.Input<number>;
160
170
  /**
161
171
  * The Resource Manager ID of this File Share.
172
+ *
173
+ * @deprecated this property is deprecated and will be removed 5.0 and replaced by the `id` property.
162
174
  */
163
175
  resourceManagerId?: pulumi.Input<string>;
164
176
  /**
165
177
  * Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
178
+ *
179
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
180
+ */
181
+ storageAccountId?: pulumi.Input<string>;
182
+ /**
183
+ * Specifies the storage account in which to create the share. Changing this forces a new resource to be created. This property is deprecated in favour of `storageAccountId`.
184
+ *
185
+ * @deprecated This property has been deprecated and will be replaced by `storageAccountId` in version 5.0 of the provider.
166
186
  */
167
187
  storageAccountName?: pulumi.Input<string>;
168
188
  /**
@@ -210,6 +230,14 @@ export interface ShareArgs {
210
230
  quota: pulumi.Input<number>;
211
231
  /**
212
232
  * Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
233
+ *
234
+ * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API.
213
235
  */
214
- storageAccountName: pulumi.Input<string>;
236
+ storageAccountId?: pulumi.Input<string>;
237
+ /**
238
+ * Specifies the storage account in which to create the share. Changing this forces a new resource to be created. This property is deprecated in favour of `storageAccountId`.
239
+ *
240
+ * @deprecated This property has been deprecated and will be replaced by `storageAccountId` in version 5.0 of the provider.
241
+ */
242
+ storageAccountName?: pulumi.Input<string>;
215
243
  }
package/storage/share.js CHANGED
@@ -31,14 +31,14 @@ const utilities = require("../utilities");
31
31
  * });
32
32
  * const exampleShare = new azure.storage.Share("example", {
33
33
  * name: "sharename",
34
- * storageAccountName: exampleAccount.name,
34
+ * storageAccountId: exampleAccount.id,
35
35
  * quota: 50,
36
36
  * acls: [{
37
37
  * id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
38
38
  * accessPolicies: [{
39
39
  * permissions: "rwdl",
40
- * start: "2019-07-02T09:38:21.0000000Z",
41
- * expiry: "2019-07-02T10:38:21.0000000Z",
40
+ * start: "2019-07-02T09:38:21Z",
41
+ * expiry: "2019-07-02T10:38:21Z",
42
42
  * }],
43
43
  * }],
44
44
  * });
@@ -46,10 +46,10 @@ const utilities = require("../utilities");
46
46
  *
47
47
  * ## Import
48
48
  *
49
- * Storage Shares can be imported using the `resource id`, e.g.
49
+ * Storage Shares can be imported using the `id`, e.g.
50
50
  *
51
51
  * ```sh
52
- * $ pulumi import azure:storage/share:Share exampleShare https://account1.file.core.windows.net/share1
52
+ * $ pulumi import azure:storage/share:Share exampleShare /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Storage/storageAccounts/myAccount/fileServices/default/shares/exampleShare
53
53
  * ```
54
54
  */
55
55
  class Share extends pulumi.CustomResource {
@@ -65,6 +65,7 @@ class Share extends pulumi.CustomResource {
65
65
  resourceInputs["name"] = state ? state.name : undefined;
66
66
  resourceInputs["quota"] = state ? state.quota : undefined;
67
67
  resourceInputs["resourceManagerId"] = state ? state.resourceManagerId : undefined;
68
+ resourceInputs["storageAccountId"] = state ? state.storageAccountId : undefined;
68
69
  resourceInputs["storageAccountName"] = state ? state.storageAccountName : undefined;
69
70
  resourceInputs["url"] = state ? state.url : undefined;
70
71
  }
@@ -73,15 +74,13 @@ class Share extends pulumi.CustomResource {
73
74
  if ((!args || args.quota === undefined) && !opts.urn) {
74
75
  throw new Error("Missing required property 'quota'");
75
76
  }
76
- if ((!args || args.storageAccountName === undefined) && !opts.urn) {
77
- throw new Error("Missing required property 'storageAccountName'");
78
- }
79
77
  resourceInputs["accessTier"] = args ? args.accessTier : undefined;
80
78
  resourceInputs["acls"] = args ? args.acls : undefined;
81
79
  resourceInputs["enabledProtocol"] = args ? args.enabledProtocol : undefined;
82
80
  resourceInputs["metadata"] = args ? args.metadata : undefined;
83
81
  resourceInputs["name"] = args ? args.name : undefined;
84
82
  resourceInputs["quota"] = args ? args.quota : undefined;
83
+ resourceInputs["storageAccountId"] = args ? args.storageAccountId : undefined;
85
84
  resourceInputs["storageAccountName"] = args ? args.storageAccountName : undefined;
86
85
  resourceInputs["resourceManagerId"] = undefined /*out*/;
87
86
  resourceInputs["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CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA3HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA6HC;AA/GG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
@@ -76,7 +76,7 @@ container_1.Container.prototype.getEventFunction = function (name, args) {
76
76
  };
77
77
  class BlobEventSubscription extends appservice.EventSubscription {
78
78
  constructor(name, container, args, opts = {}) {
79
- const resourceGroupName = resolveResourceGroupName(container);
79
+ const resourceGroupName = resolveResourceGroupNameOfStorageAccount(container);
80
80
  super("azure:storage:BlobEventSubscription", name, new BlobFunction(name, Object.assign(Object.assign({}, args), { container })), Object.assign(Object.assign({}, args), { resourceGroupName }), Object.assign({ parent: container }, opts));
81
81
  this.registerOutputs();
82
82
  }
@@ -138,21 +138,35 @@ queue_1.Queue.prototype.getEventFunction = function (name, args) {
138
138
  class QueueEventSubscription extends appservice.EventSubscription {
139
139
  constructor(name, queue, args, opts = {}) {
140
140
  opts = Object.assign({ parent: queue }, opts);
141
- const resourceGroupName = resolveResourceGroupName(queue);
141
+ const resourceGroupName = resolveResourceGroupNameOfStorageAccount(queue);
142
142
  super("azure:storage:QueueEventSubscription", name, new QueueFunction(name, Object.assign(Object.assign({}, args), { queue })), Object.assign(Object.assign({}, args), { resourceGroupName }), opts);
143
143
  this.registerOutputs();
144
144
  }
145
145
  }
146
146
  exports.QueueEventSubscription = QueueEventSubscription;
147
147
  // Given a Queue or a Table, resolve the resource group name of the corresponding storage account
148
- function resolveResourceGroupName(container) {
149
- const account = pulumi.all([container.id, container.storageAccountName]).apply(([_, storageAccountName]) => storage.getAccount({ name: storageAccountName }));
148
+ function resolveResourceGroupNameOfStorageAccount(container) {
149
+ const account = pulumi.all([container.id, container.storageAccountName]).apply(([_, storageAccountName]) => {
150
+ // In upstream v4, storageAccountName is always set.
151
+ // https://github.com/hashicorp/terraform-provider-azurerm/pull/27733/files#diff-e1f645d5290fdcc40b01762eb09185c901d0d62b39198a42b8492d7ea697ea82R398
152
+ if (storageAccountName === undefined) {
153
+ throw new Error("Storage account name not defined, but should always be populated. Please report this issue to github.com/pulumi/pulumi-azure");
154
+ }
155
+ return storage.getAccount({ name: storageAccountName });
156
+ });
150
157
  return account.resourceGroupName.apply(n => n);
151
158
  }
152
- // Given a Queue or a Table, produce App Settings and a Connection String Key relevant to the Storage Account
159
+ // Given a Queue or a Table, produce Settings and a Connection String Key relevant to the Storage Account
153
160
  function resolveAccount(container) {
154
161
  const connectionKey = pulumi.interpolate `Storage${container.storageAccountName}ConnectionStringKey`;
155
- const account = pulumi.all([container.id, container.storageAccountName]).apply(([_, storageAccountName]) => storage.getAccount({ name: storageAccountName }));
162
+ const account = pulumi.all([container.id, container.storageAccountName]).apply(([_, storageAccountName]) => {
163
+ // In upstream v4, storageAccountName is always set.
164
+ // https://github.com/hashicorp/terraform-provider-azurerm/pull/27733/files#diff-e1f645d5290fdcc40b01762eb09185c901d0d62b39198a42b8492d7ea697ea82R398
165
+ if (storageAccountName === undefined) {
166
+ throw new Error("Storage account name not defined, but should always be populated. Please report this issue to github.com/pulumi/pulumi-azure");
167
+ }
168
+ return storage.getAccount({ name: storageAccountName });
169
+ });
156
170
  const settings = pulumi.all([account.primaryConnectionString, connectionKey]).apply(([connectionString, key]) => ({ [key]: connectionString }));
157
171
  return { connectionKey, settings };
158
172
  }