@pulumi/azure 4.26.0 → 4.28.0

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 (177) hide show
  1. package/apimanagement/service.d.ts +3 -3
  2. package/appinsights/insights.d.ts +15 -0
  3. package/appinsights/insights.js +4 -0
  4. package/appinsights/insights.js.map +1 -1
  5. package/appservice/appService.d.ts +3 -3
  6. package/appservice/slot.d.ts +3 -3
  7. package/automation/index.d.ts +1 -0
  8. package/automation/index.js +5 -0
  9. package/automation/index.js.map +1 -1
  10. package/automation/webhook.d.ts +197 -0
  11. package/automation/webhook.js +126 -0
  12. package/automation/webhook.js.map +1 -0
  13. package/backup/protectedVM.d.ts +24 -0
  14. package/backup/protectedVM.js +4 -0
  15. package/backup/protectedVM.js.map +1 -1
  16. package/batch/getApplication.d.ts +81 -0
  17. package/batch/getApplication.js +43 -0
  18. package/batch/getApplication.js.map +1 -0
  19. package/batch/index.d.ts +1 -0
  20. package/batch/index.js +1 -0
  21. package/batch/index.js.map +1 -1
  22. package/blueprint/assignment.d.ts +9 -0
  23. package/blueprint/assignment.js.map +1 -1
  24. package/cognitive/account.d.ts +6 -6
  25. package/compute/diskEncryptionSet.d.ts +15 -3
  26. package/compute/diskEncryptionSet.js +2 -0
  27. package/compute/diskEncryptionSet.js.map +1 -1
  28. package/compute/linuxVirtualMachineScaleSet.d.ts +3 -3
  29. package/compute/managedDisk.d.ts +36 -0
  30. package/compute/managedDisk.js +6 -0
  31. package/compute/managedDisk.js.map +1 -1
  32. package/compute/orchestratedVirtualMachineScaleSet.d.ts +79 -11
  33. package/compute/orchestratedVirtualMachineScaleSet.js +44 -4
  34. package/compute/orchestratedVirtualMachineScaleSet.js.map +1 -1
  35. package/compute/virtualMachine.d.ts +27 -27
  36. package/compute/windowsVirtualMachine.d.ts +24 -0
  37. package/compute/windowsVirtualMachine.js +4 -0
  38. package/compute/windowsVirtualMachine.js.map +1 -1
  39. package/compute/windowsVirtualMachineScaleSet.d.ts +27 -3
  40. package/compute/windowsVirtualMachineScaleSet.js +4 -0
  41. package/compute/windowsVirtualMachineScaleSet.js.map +1 -1
  42. package/containerservice/group.d.ts +2 -2
  43. package/containerservice/group.js +2 -2
  44. package/containerservice/registry.d.ts +39 -3
  45. package/containerservice/registry.js +6 -0
  46. package/containerservice/registry.js.map +1 -1
  47. package/core/index.d.ts +2 -0
  48. package/core/index.js +10 -0
  49. package/core/index.js.map +1 -1
  50. package/core/resourceGroupCostManagementExport.d.ts +174 -0
  51. package/core/resourceGroupCostManagementExport.js +124 -0
  52. package/core/resourceGroupCostManagementExport.js.map +1 -0
  53. package/core/resourceGroupPolicyAssignment.d.ts +3 -3
  54. package/core/resourcePolicyAssignment.d.ts +3 -3
  55. package/core/resourceProviderRegistration.d.ts +28 -0
  56. package/core/resourceProviderRegistration.js +17 -0
  57. package/core/resourceProviderRegistration.js.map +1 -1
  58. package/core/subscriptionCostManagementExport.d.ts +166 -0
  59. package/core/subscriptionCostManagementExport.js +125 -0
  60. package/core/subscriptionCostManagementExport.js.map +1 -0
  61. package/core/subscriptionPolicyAssignment.d.ts +3 -3
  62. package/cosmosdb/cassandraDatacenter.d.ts +19 -6
  63. package/cosmosdb/cassandraDatacenter.js +3 -0
  64. package/cosmosdb/cassandraDatacenter.js.map +1 -1
  65. package/costmanagement/resourceGroupExport.d.ts +2 -0
  66. package/costmanagement/resourceGroupExport.js +2 -0
  67. package/costmanagement/resourceGroupExport.js.map +1 -1
  68. package/datafactory/linkedServiceCosmosDb.d.ts +24 -0
  69. package/datafactory/linkedServiceCosmosDb.js +24 -0
  70. package/datafactory/linkedServiceCosmosDb.js.map +1 -1
  71. package/dataprotection/backupVault.d.ts +3 -3
  72. package/desktopvirtualization/applicationGroup.d.ts +12 -0
  73. package/desktopvirtualization/applicationGroup.js +2 -0
  74. package/desktopvirtualization/applicationGroup.js.map +1 -1
  75. package/eventgrid/getSystemTopic.d.ts +1 -2
  76. package/eventgrid/getSystemTopic.js.map +1 -1
  77. package/eventgrid/systemTopic.d.ts +3 -6
  78. package/eventgrid/systemTopic.js.map +1 -1
  79. package/keyvault/certifiate.d.ts +4 -18
  80. package/keyvault/certifiate.js +0 -17
  81. package/keyvault/certifiate.js.map +1 -1
  82. package/keyvault/certificate.d.ts +4 -18
  83. package/keyvault/certificate.js +0 -17
  84. package/keyvault/certificate.js.map +1 -1
  85. package/kusto/cluster.d.ts +3 -3
  86. package/loganalytics/cluster.d.ts +3 -3
  87. package/machinelearning/computeCluster.d.ts +3 -3
  88. package/machinelearning/computeInstance.d.ts +3 -3
  89. package/machinelearning/inferenceCluster.d.ts +3 -3
  90. package/machinelearning/synapseSpark.d.ts +3 -3
  91. package/machinelearning/workspace.d.ts +78 -3
  92. package/machinelearning/workspace.js +74 -0
  93. package/machinelearning/workspace.js.map +1 -1
  94. package/management/groupPolicyAssignment.d.ts +3 -3
  95. package/media/serviceAccount.d.ts +6 -6
  96. package/mediaservices/account.d.ts +6 -6
  97. package/monitoring/index.d.ts +3 -0
  98. package/monitoring/index.js +15 -0
  99. package/monitoring/index.js.map +1 -1
  100. package/monitoring/logzTagRule.d.ts +151 -0
  101. package/monitoring/logzTagRule.js +116 -0
  102. package/monitoring/logzTagRule.js.map +1 -0
  103. package/monitoring/privateLinkScope.d.ts +99 -0
  104. package/monitoring/privateLinkScope.js +79 -0
  105. package/monitoring/privateLinkScope.js.map +1 -0
  106. package/monitoring/privateLinkScopedService.d.ts +115 -0
  107. package/monitoring/privateLinkScopedService.js +97 -0
  108. package/monitoring/privateLinkScopedService.js.map +1 -0
  109. package/mssql/server.d.ts +0 -12
  110. package/mssql/server.js +0 -6
  111. package/mssql/server.js.map +1 -1
  112. package/mysql/flexibleServerFirewallRule.d.ts +157 -0
  113. package/mysql/flexibleServerFirewallRule.js +132 -0
  114. package/mysql/flexibleServerFirewallRule.js.map +1 -0
  115. package/mysql/index.d.ts +1 -0
  116. package/mysql/index.js +5 -0
  117. package/mysql/index.js.map +1 -1
  118. package/network/applicationGateway.d.ts +3 -3
  119. package/network/expressRoutePort.d.ts +3 -3
  120. package/network/publicIpPrefix.d.ts +12 -0
  121. package/network/publicIpPrefix.js +2 -0
  122. package/network/publicIpPrefix.js.map +1 -1
  123. package/network/virtualNetwork.d.ts +12 -0
  124. package/network/virtualNetwork.js +2 -0
  125. package/network/virtualNetwork.js.map +1 -1
  126. package/network/virtualNetworkGateway.d.ts +12 -9
  127. package/network/virtualNetworkGateway.js.map +1 -1
  128. package/package.json +2 -2
  129. package/package.json.dev +1 -1
  130. package/policy/assignment.d.ts +3 -3
  131. package/postgresql/flexibleServer.d.ts +5 -1
  132. package/postgresql/flexibleServer.js +1 -0
  133. package/postgresql/flexibleServer.js.map +1 -1
  134. package/purview/account.d.ts +12 -0
  135. package/purview/account.js +2 -0
  136. package/purview/account.js.map +1 -1
  137. package/search/service.d.ts +3 -3
  138. package/securitycenter/subscriptionPricing.d.ts +3 -3
  139. package/signalr/service.d.ts +1 -1
  140. package/signalr/service.js +1 -1
  141. package/signalr/serviceNetworkAcl.d.ts +1 -1
  142. package/signalr/serviceNetworkAcl.js +1 -1
  143. package/sql/activeDirectoryAdministrator.d.ts +12 -0
  144. package/sql/activeDirectoryAdministrator.js +2 -0
  145. package/sql/activeDirectoryAdministrator.js.map +1 -1
  146. package/sql/managedInstance.d.ts +13 -0
  147. package/sql/managedInstance.js +2 -0
  148. package/sql/managedInstance.js.map +1 -1
  149. package/sql/sqlServer.d.ts +0 -12
  150. package/sql/sqlServer.js +0 -6
  151. package/sql/sqlServer.js.map +1 -1
  152. package/storage/account.d.ts +27 -3
  153. package/storage/account.js +4 -0
  154. package/storage/account.js.map +1 -1
  155. package/storage/disksPool.d.ts +173 -0
  156. package/storage/disksPool.js +122 -0
  157. package/storage/disksPool.js.map +1 -0
  158. package/storage/getAccount.d.ts +8 -0
  159. package/storage/getAccount.js.map +1 -1
  160. package/storage/index.d.ts +1 -0
  161. package/storage/index.js +5 -0
  162. package/storage/index.js.map +1 -1
  163. package/streamanalytics/outputServicebusTopic.d.ts +16 -0
  164. package/streamanalytics/outputServicebusTopic.js +6 -0
  165. package/streamanalytics/outputServicebusTopic.js.map +1 -1
  166. package/synapse/index.d.ts +1 -0
  167. package/synapse/index.js +5 -0
  168. package/synapse/index.js.map +1 -1
  169. package/synapse/workspace.d.ts +93 -6
  170. package/synapse/workspace.js +87 -0
  171. package/synapse/workspace.js.map +1 -1
  172. package/synapse/workspaceAadAdmin.d.ts +159 -0
  173. package/synapse/workspaceAadAdmin.js +144 -0
  174. package/synapse/workspaceAadAdmin.js.map +1 -0
  175. package/types/input.d.ts +274 -36
  176. package/types/output.d.ts +277 -37
  177. package/videoanalyzer/analyzer.d.ts +6 -6
@@ -0,0 +1,174 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Manages a Cost Management Export for a Resource Group.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as azure from "@pulumi/azure";
11
+ *
12
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
13
+ * const exampleAccount = new azure.storage.Account("exampleAccount", {
14
+ * resourceGroupName: exampleResourceGroup.name,
15
+ * location: exampleResourceGroup.location,
16
+ * accountTier: "Standard",
17
+ * accountReplicationType: "LRS",
18
+ * });
19
+ * const exampleContainer = new azure.storage.Container("exampleContainer", {storageAccountName: azurerm_storage_account.test.name});
20
+ * const exampleResourceGroupCostManagementExport = new azure.core.ResourceGroupCostManagementExport("exampleResourceGroupCostManagementExport", {
21
+ * resourceGroupId: exampleResourceGroup.id,
22
+ * recurrenceType: "Monthly",
23
+ * recurrencePeriodStartDate: "2020-08-18T00:00:00Z",
24
+ * recurrencePeriodEndDate: "2020-09-18T00:00:00Z",
25
+ * exportDataStorageLocation: {
26
+ * containerId: azurerm_storage_container.test.resource_manager_id,
27
+ * rootFolderPath: "/root/updated",
28
+ * },
29
+ * exportDataOptions: {
30
+ * type: "Usage",
31
+ * timeFrame: "WeekToDate",
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * ## Import
37
+ *
38
+ * Cost Management Export for a Resource Group can be imported using the `resource id`, e.g.
39
+ *
40
+ * ```sh
41
+ * $ pulumi import azure:core/resourceGroupCostManagementExport:ResourceGroupCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.CostManagement/exports/export1
42
+ * ```
43
+ */
44
+ export declare class ResourceGroupCostManagementExport extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing ResourceGroupCostManagementExport resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceGroupCostManagementExportState, opts?: pulumi.CustomResourceOptions): ResourceGroupCostManagementExport;
55
+ /**
56
+ * Returns true if the given object is an instance of ResourceGroupCostManagementExport. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is ResourceGroupCostManagementExport;
60
+ /**
61
+ * Is the cost management export active? Default is `true`.
62
+ */
63
+ readonly active: pulumi.Output<boolean | undefined>;
64
+ /**
65
+ * A `exportDataOptions` block as defined below.
66
+ */
67
+ readonly exportDataOptions: pulumi.Output<outputs.core.ResourceGroupCostManagementExportExportDataOptions>;
68
+ /**
69
+ * A `exportDataStorageLocation` block as defined below.
70
+ */
71
+ readonly exportDataStorageLocation: pulumi.Output<outputs.core.ResourceGroupCostManagementExportExportDataStorageLocation>;
72
+ /**
73
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
74
+ */
75
+ readonly name: pulumi.Output<string>;
76
+ /**
77
+ * The date the export will stop capturing information.
78
+ */
79
+ readonly recurrencePeriodEndDate: pulumi.Output<string>;
80
+ /**
81
+ * The date the export will start capturing information.
82
+ */
83
+ readonly recurrencePeriodStartDate: pulumi.Output<string>;
84
+ /**
85
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
86
+ */
87
+ readonly recurrenceType: pulumi.Output<string>;
88
+ /**
89
+ * The id of the resource group on which to create an export.
90
+ */
91
+ readonly resourceGroupId: pulumi.Output<string>;
92
+ /**
93
+ * Create a ResourceGroupCostManagementExport resource with the given unique name, arguments, and options.
94
+ *
95
+ * @param name The _unique_ name of the resource.
96
+ * @param args The arguments to use to populate this resource's properties.
97
+ * @param opts A bag of options that control this resource's behavior.
98
+ */
99
+ constructor(name: string, args: ResourceGroupCostManagementExportArgs, opts?: pulumi.CustomResourceOptions);
100
+ }
101
+ /**
102
+ * Input properties used for looking up and filtering ResourceGroupCostManagementExport resources.
103
+ */
104
+ export interface ResourceGroupCostManagementExportState {
105
+ /**
106
+ * Is the cost management export active? Default is `true`.
107
+ */
108
+ active?: pulumi.Input<boolean>;
109
+ /**
110
+ * A `exportDataOptions` block as defined below.
111
+ */
112
+ exportDataOptions?: pulumi.Input<inputs.core.ResourceGroupCostManagementExportExportDataOptions>;
113
+ /**
114
+ * A `exportDataStorageLocation` block as defined below.
115
+ */
116
+ exportDataStorageLocation?: pulumi.Input<inputs.core.ResourceGroupCostManagementExportExportDataStorageLocation>;
117
+ /**
118
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
119
+ */
120
+ name?: pulumi.Input<string>;
121
+ /**
122
+ * The date the export will stop capturing information.
123
+ */
124
+ recurrencePeriodEndDate?: pulumi.Input<string>;
125
+ /**
126
+ * The date the export will start capturing information.
127
+ */
128
+ recurrencePeriodStartDate?: pulumi.Input<string>;
129
+ /**
130
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
131
+ */
132
+ recurrenceType?: pulumi.Input<string>;
133
+ /**
134
+ * The id of the resource group on which to create an export.
135
+ */
136
+ resourceGroupId?: pulumi.Input<string>;
137
+ }
138
+ /**
139
+ * The set of arguments for constructing a ResourceGroupCostManagementExport resource.
140
+ */
141
+ export interface ResourceGroupCostManagementExportArgs {
142
+ /**
143
+ * Is the cost management export active? Default is `true`.
144
+ */
145
+ active?: pulumi.Input<boolean>;
146
+ /**
147
+ * A `exportDataOptions` block as defined below.
148
+ */
149
+ exportDataOptions: pulumi.Input<inputs.core.ResourceGroupCostManagementExportExportDataOptions>;
150
+ /**
151
+ * A `exportDataStorageLocation` block as defined below.
152
+ */
153
+ exportDataStorageLocation: pulumi.Input<inputs.core.ResourceGroupCostManagementExportExportDataStorageLocation>;
154
+ /**
155
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
156
+ */
157
+ name?: pulumi.Input<string>;
158
+ /**
159
+ * The date the export will stop capturing information.
160
+ */
161
+ recurrencePeriodEndDate: pulumi.Input<string>;
162
+ /**
163
+ * The date the export will start capturing information.
164
+ */
165
+ recurrencePeriodStartDate: pulumi.Input<string>;
166
+ /**
167
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
168
+ */
169
+ recurrenceType: pulumi.Input<string>;
170
+ /**
171
+ * The id of the resource group on which to create an export.
172
+ */
173
+ resourceGroupId: pulumi.Input<string>;
174
+ }
@@ -0,0 +1,124 @@
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.ResourceGroupCostManagementExport = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Cost Management Export for a Resource Group.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
18
+ * const exampleAccount = new azure.storage.Account("exampleAccount", {
19
+ * resourceGroupName: exampleResourceGroup.name,
20
+ * location: exampleResourceGroup.location,
21
+ * accountTier: "Standard",
22
+ * accountReplicationType: "LRS",
23
+ * });
24
+ * const exampleContainer = new azure.storage.Container("exampleContainer", {storageAccountName: azurerm_storage_account.test.name});
25
+ * const exampleResourceGroupCostManagementExport = new azure.core.ResourceGroupCostManagementExport("exampleResourceGroupCostManagementExport", {
26
+ * resourceGroupId: exampleResourceGroup.id,
27
+ * recurrenceType: "Monthly",
28
+ * recurrencePeriodStartDate: "2020-08-18T00:00:00Z",
29
+ * recurrencePeriodEndDate: "2020-09-18T00:00:00Z",
30
+ * exportDataStorageLocation: {
31
+ * containerId: azurerm_storage_container.test.resource_manager_id,
32
+ * rootFolderPath: "/root/updated",
33
+ * },
34
+ * exportDataOptions: {
35
+ * type: "Usage",
36
+ * timeFrame: "WeekToDate",
37
+ * },
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * Cost Management Export for a Resource Group can be imported using the `resource id`, e.g.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import azure:core/resourceGroupCostManagementExport:ResourceGroupCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.CostManagement/exports/export1
47
+ * ```
48
+ */
49
+ class ResourceGroupCostManagementExport extends pulumi.CustomResource {
50
+ constructor(name, argsOrState, opts) {
51
+ let inputs = {};
52
+ opts = opts || {};
53
+ if (opts.id) {
54
+ const state = argsOrState;
55
+ inputs["active"] = state ? state.active : undefined;
56
+ inputs["exportDataOptions"] = state ? state.exportDataOptions : undefined;
57
+ inputs["exportDataStorageLocation"] = state ? state.exportDataStorageLocation : undefined;
58
+ inputs["name"] = state ? state.name : undefined;
59
+ inputs["recurrencePeriodEndDate"] = state ? state.recurrencePeriodEndDate : undefined;
60
+ inputs["recurrencePeriodStartDate"] = state ? state.recurrencePeriodStartDate : undefined;
61
+ inputs["recurrenceType"] = state ? state.recurrenceType : undefined;
62
+ inputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if ((!args || args.exportDataOptions === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'exportDataOptions'");
68
+ }
69
+ if ((!args || args.exportDataStorageLocation === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'exportDataStorageLocation'");
71
+ }
72
+ if ((!args || args.recurrencePeriodEndDate === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'recurrencePeriodEndDate'");
74
+ }
75
+ if ((!args || args.recurrencePeriodStartDate === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'recurrencePeriodStartDate'");
77
+ }
78
+ if ((!args || args.recurrenceType === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'recurrenceType'");
80
+ }
81
+ if ((!args || args.resourceGroupId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'resourceGroupId'");
83
+ }
84
+ inputs["active"] = args ? args.active : undefined;
85
+ inputs["exportDataOptions"] = args ? args.exportDataOptions : undefined;
86
+ inputs["exportDataStorageLocation"] = args ? args.exportDataStorageLocation : undefined;
87
+ inputs["name"] = args ? args.name : undefined;
88
+ inputs["recurrencePeriodEndDate"] = args ? args.recurrencePeriodEndDate : undefined;
89
+ inputs["recurrencePeriodStartDate"] = args ? args.recurrencePeriodStartDate : undefined;
90
+ inputs["recurrenceType"] = args ? args.recurrenceType : undefined;
91
+ inputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
92
+ }
93
+ if (!opts.version) {
94
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
95
+ }
96
+ super(ResourceGroupCostManagementExport.__pulumiType, name, inputs, opts);
97
+ }
98
+ /**
99
+ * Get an existing ResourceGroupCostManagementExport resource's state with the given name, ID, and optional extra
100
+ * properties used to qualify the lookup.
101
+ *
102
+ * @param name The _unique_ name of the resulting resource.
103
+ * @param id The _unique_ provider ID of the resource to lookup.
104
+ * @param state Any extra arguments used during the lookup.
105
+ * @param opts Optional settings to control the behavior of the CustomResource.
106
+ */
107
+ static get(name, id, state, opts) {
108
+ return new ResourceGroupCostManagementExport(name, state, Object.assign(Object.assign({}, opts), { id: id }));
109
+ }
110
+ /**
111
+ * Returns true if the given object is an instance of ResourceGroupCostManagementExport. This is designed to work even
112
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
113
+ */
114
+ static isInstance(obj) {
115
+ if (obj === undefined || obj === null) {
116
+ return false;
117
+ }
118
+ return obj['__pulumiType'] === ResourceGroupCostManagementExport.__pulumiType;
119
+ }
120
+ }
121
+ exports.ResourceGroupCostManagementExport = ResourceGroupCostManagementExport;
122
+ /** @internal */
123
+ ResourceGroupCostManagementExport.__pulumiType = 'azure:core/resourceGroupCostManagementExport:ResourceGroupCostManagementExport';
124
+ //# sourceMappingURL=resourceGroupCostManagementExport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceGroupCostManagementExport.js","sourceRoot":"","sources":["../../core/resourceGroupCostManagementExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IAqExE,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAA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yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IAlHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,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,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;;AA1BL,8EAoHC;AAtGG,gBAAgB;AACO,8CAAY,GAAG,gFAAgF,CAAC"}
@@ -69,7 +69,7 @@ export declare class ResourceGroupPolicyAssignment extends pulumi.CustomResource
69
69
  */
70
70
  readonly enforce: pulumi.Output<boolean | undefined>;
71
71
  /**
72
- * A `identity` block as defined below.
72
+ * An `identity` block as defined below.
73
73
  */
74
74
  readonly identity: pulumi.Output<outputs.core.ResourceGroupPolicyAssignmentIdentity | undefined>;
75
75
  /**
@@ -126,7 +126,7 @@ export interface ResourceGroupPolicyAssignmentState {
126
126
  */
127
127
  enforce?: pulumi.Input<boolean>;
128
128
  /**
129
- * A `identity` block as defined below.
129
+ * An `identity` block as defined below.
130
130
  */
131
131
  identity?: pulumi.Input<inputs.core.ResourceGroupPolicyAssignmentIdentity>;
132
132
  /**
@@ -175,7 +175,7 @@ export interface ResourceGroupPolicyAssignmentArgs {
175
175
  */
176
176
  enforce?: pulumi.Input<boolean>;
177
177
  /**
178
- * A `identity` block as defined below.
178
+ * An `identity` block as defined below.
179
179
  */
180
180
  identity?: pulumi.Input<inputs.core.ResourceGroupPolicyAssignmentIdentity>;
181
181
  /**
@@ -74,7 +74,7 @@ export declare class ResourcePolicyAssignment extends pulumi.CustomResource {
74
74
  */
75
75
  readonly enforce: pulumi.Output<boolean | undefined>;
76
76
  /**
77
- * A `identity` block as defined below.
77
+ * An `identity` block as defined below.
78
78
  */
79
79
  readonly identity: pulumi.Output<outputs.core.ResourcePolicyAssignmentIdentity | undefined>;
80
80
  /**
@@ -131,7 +131,7 @@ export interface ResourcePolicyAssignmentState {
131
131
  */
132
132
  enforce?: pulumi.Input<boolean>;
133
133
  /**
134
- * A `identity` block as defined below.
134
+ * An `identity` block as defined below.
135
135
  */
136
136
  identity?: pulumi.Input<inputs.core.ResourcePolicyAssignmentIdentity>;
137
137
  /**
@@ -180,7 +180,7 @@ export interface ResourcePolicyAssignmentArgs {
180
180
  */
181
181
  enforce?: pulumi.Input<boolean>;
182
182
  /**
183
- * A `identity` block as defined below.
183
+ * An `identity` block as defined below.
184
184
  */
185
185
  identity?: pulumi.Input<inputs.core.ResourcePolicyAssignmentIdentity>;
186
186
  /**
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
2
3
  /**
3
4
  * Manages the registration of a Resource Provider - which allows access to the API's supported by this Resource Provider.
4
5
  *
@@ -6,6 +7,8 @@ import * as pulumi from "@pulumi/pulumi";
6
7
  *
7
8
  * !> **Note:** The errors returned from the Azure API when a Resource Provider is unregistered are unclear (example `API version '2019-01-01' was not found for 'Microsoft.Foo'`) - please ensure that all of the necessary Resource Providers you're using are registered - if in doubt **we strongly recommend letting the provider register these for you**.
8
9
  *
10
+ * > **Note:** Adding or Removing a Preview Feature will re-register the Resource Provider.
11
+ *
9
12
  * ## Example Usage
10
13
  *
11
14
  * ```typescript
@@ -14,6 +17,19 @@ import * as pulumi from "@pulumi/pulumi";
14
17
  *
15
18
  * const example = new azure.core.ResourceProviderRegistration("example", {});
16
19
  * ```
20
+ * ### Registering A Preview Feature)
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as azure from "@pulumi/azure";
25
+ *
26
+ * const example = new azure.core.ResourceProviderRegistration("example", {
27
+ * features: [{
28
+ * name: "AKS-DataPlaneAutoApprove",
29
+ * registered: true,
30
+ * }],
31
+ * });
32
+ * ```
17
33
  *
18
34
  * ## Import
19
35
  *
@@ -39,6 +55,10 @@ export declare class ResourceProviderRegistration extends pulumi.CustomResource
39
55
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
56
  */
41
57
  static isInstance(obj: any): obj is ResourceProviderRegistration;
58
+ /**
59
+ * A list of `feature` blocks as defined below.
60
+ */
61
+ readonly features: pulumi.Output<outputs.core.ResourceProviderRegistrationFeature[] | undefined>;
42
62
  /**
43
63
  * The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
44
64
  */
@@ -56,6 +76,10 @@ export declare class ResourceProviderRegistration extends pulumi.CustomResource
56
76
  * Input properties used for looking up and filtering ResourceProviderRegistration resources.
57
77
  */
58
78
  export interface ResourceProviderRegistrationState {
79
+ /**
80
+ * A list of `feature` blocks as defined below.
81
+ */
82
+ features?: pulumi.Input<pulumi.Input<inputs.core.ResourceProviderRegistrationFeature>[]>;
59
83
  /**
60
84
  * The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
61
85
  */
@@ -65,6 +89,10 @@ export interface ResourceProviderRegistrationState {
65
89
  * The set of arguments for constructing a ResourceProviderRegistration resource.
66
90
  */
67
91
  export interface ResourceProviderRegistrationArgs {
92
+ /**
93
+ * A list of `feature` blocks as defined below.
94
+ */
95
+ features?: pulumi.Input<pulumi.Input<inputs.core.ResourceProviderRegistrationFeature>[]>;
68
96
  /**
69
97
  * The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
70
98
  */
@@ -12,6 +12,8 @@ const utilities = require("../utilities");
12
12
  *
13
13
  * !> **Note:** The errors returned from the Azure API when a Resource Provider is unregistered are unclear (example `API version '2019-01-01' was not found for 'Microsoft.Foo'`) - please ensure that all of the necessary Resource Providers you're using are registered - if in doubt **we strongly recommend letting the provider register these for you**.
14
14
  *
15
+ * > **Note:** Adding or Removing a Preview Feature will re-register the Resource Provider.
16
+ *
15
17
  * ## Example Usage
16
18
  *
17
19
  * ```typescript
@@ -20,6 +22,19 @@ const utilities = require("../utilities");
20
22
  *
21
23
  * const example = new azure.core.ResourceProviderRegistration("example", {});
22
24
  * ```
25
+ * ### Registering A Preview Feature)
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as azure from "@pulumi/azure";
30
+ *
31
+ * const example = new azure.core.ResourceProviderRegistration("example", {
32
+ * features: [{
33
+ * name: "AKS-DataPlaneAutoApprove",
34
+ * registered: true,
35
+ * }],
36
+ * });
37
+ * ```
23
38
  *
24
39
  * ## Import
25
40
  *
@@ -35,10 +50,12 @@ class ResourceProviderRegistration extends pulumi.CustomResource {
35
50
  opts = opts || {};
36
51
  if (opts.id) {
37
52
  const state = argsOrState;
53
+ inputs["features"] = state ? state.features : undefined;
38
54
  inputs["name"] = state ? state.name : undefined;
39
55
  }
40
56
  else {
41
57
  const args = argsOrState;
58
+ inputs["features"] = args ? args.features : undefined;
42
59
  inputs["name"] = args ? args.name : undefined;
43
60
  }
44
61
  if (!opts.version) {
@@ -1 +1 @@
1
-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C,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IA5DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;;AA1BL,oEA8DC;AAhDG,gBAAgB;AACO,yCAAY,GAAG,sEAAsE,CAAC"}
@@ -0,0 +1,166 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Manages a Cost Management Export for a Subscription.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as azure from "@pulumi/azure";
11
+ *
12
+ * const exampleSubscription = azure.core.getSubscription({});
13
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
14
+ * const exampleAccount = new azure.storage.Account("exampleAccount", {
15
+ * resourceGroupName: exampleResourceGroup.name,
16
+ * location: exampleResourceGroup.location,
17
+ * accountTier: "Standard",
18
+ * accountReplicationType: "LRS",
19
+ * });
20
+ * const exampleContainer = new azure.storage.Container("exampleContainer", {storageAccountName: azurerm_storage_account.test.name});
21
+ * const exampleSubscriptionCostManagementExport = new azure.core.SubscriptionCostManagementExport("exampleSubscriptionCostManagementExport", {
22
+ * subscriptionId: azurerm_subscription.example.id,
23
+ * recurrenceType: "Monthly",
24
+ * recurrencePeriodStartDate: "2020-08-18T00:00:00Z",
25
+ * recurrencePeriodEndDate: "2020-09-18T00:00:00Z",
26
+ * exportDataStorageLocation: {
27
+ * containerId: exampleContainer.resourceManagerId,
28
+ * rootFolderPath: "/root/updated",
29
+ * },
30
+ * exportDataOptions: {
31
+ * type: "Usage",
32
+ * timeFrame: "WeekToDate",
33
+ * },
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * Subscription Cost Management Exports can be imported using the `resource id`, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import azure:core/subscriptionCostManagementExport:SubscriptionCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/providers/Microsoft.CostManagement/exports/export1
43
+ * ```
44
+ */
45
+ export declare class SubscriptionCostManagementExport extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing SubscriptionCostManagementExport resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionCostManagementExportState, opts?: pulumi.CustomResourceOptions): SubscriptionCostManagementExport;
56
+ /**
57
+ * Returns true if the given object is an instance of SubscriptionCostManagementExport. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is SubscriptionCostManagementExport;
61
+ /**
62
+ * Is the cost management export active? Default is `true`.
63
+ */
64
+ readonly active: pulumi.Output<boolean | undefined>;
65
+ /**
66
+ * A `exportDataOptions` block as defined below.
67
+ */
68
+ readonly exportDataOptions: pulumi.Output<outputs.core.SubscriptionCostManagementExportExportDataOptions>;
69
+ /**
70
+ * A `exportDataStorageLocation` block as defined below.
71
+ */
72
+ readonly exportDataStorageLocation: pulumi.Output<outputs.core.SubscriptionCostManagementExportExportDataStorageLocation>;
73
+ /**
74
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
75
+ */
76
+ readonly name: pulumi.Output<string>;
77
+ readonly recurrencePeriodEndDate: pulumi.Output<string>;
78
+ /**
79
+ * The date the export will start capturing information.
80
+ */
81
+ readonly recurrencePeriodStartDate: pulumi.Output<string>;
82
+ /**
83
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
84
+ */
85
+ readonly recurrenceType: pulumi.Output<string>;
86
+ /**
87
+ * The id of the subscription on which to create an export.
88
+ */
89
+ readonly subscriptionId: pulumi.Output<string>;
90
+ /**
91
+ * Create a SubscriptionCostManagementExport resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: SubscriptionCostManagementExportArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering SubscriptionCostManagementExport resources.
101
+ */
102
+ export interface SubscriptionCostManagementExportState {
103
+ /**
104
+ * Is the cost management export active? Default is `true`.
105
+ */
106
+ active?: pulumi.Input<boolean>;
107
+ /**
108
+ * A `exportDataOptions` block as defined below.
109
+ */
110
+ exportDataOptions?: pulumi.Input<inputs.core.SubscriptionCostManagementExportExportDataOptions>;
111
+ /**
112
+ * A `exportDataStorageLocation` block as defined below.
113
+ */
114
+ exportDataStorageLocation?: pulumi.Input<inputs.core.SubscriptionCostManagementExportExportDataStorageLocation>;
115
+ /**
116
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
117
+ */
118
+ name?: pulumi.Input<string>;
119
+ recurrencePeriodEndDate?: pulumi.Input<string>;
120
+ /**
121
+ * The date the export will start capturing information.
122
+ */
123
+ recurrencePeriodStartDate?: pulumi.Input<string>;
124
+ /**
125
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
126
+ */
127
+ recurrenceType?: pulumi.Input<string>;
128
+ /**
129
+ * The id of the subscription on which to create an export.
130
+ */
131
+ subscriptionId?: pulumi.Input<string>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a SubscriptionCostManagementExport resource.
135
+ */
136
+ export interface SubscriptionCostManagementExportArgs {
137
+ /**
138
+ * Is the cost management export active? Default is `true`.
139
+ */
140
+ active?: pulumi.Input<boolean>;
141
+ /**
142
+ * A `exportDataOptions` block as defined below.
143
+ */
144
+ exportDataOptions: pulumi.Input<inputs.core.SubscriptionCostManagementExportExportDataOptions>;
145
+ /**
146
+ * A `exportDataStorageLocation` block as defined below.
147
+ */
148
+ exportDataStorageLocation: pulumi.Input<inputs.core.SubscriptionCostManagementExportExportDataStorageLocation>;
149
+ /**
150
+ * Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
151
+ */
152
+ name?: pulumi.Input<string>;
153
+ recurrencePeriodEndDate: pulumi.Input<string>;
154
+ /**
155
+ * The date the export will start capturing information.
156
+ */
157
+ recurrencePeriodStartDate: pulumi.Input<string>;
158
+ /**
159
+ * How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
160
+ */
161
+ recurrenceType: pulumi.Input<string>;
162
+ /**
163
+ * The id of the subscription on which to create an export.
164
+ */
165
+ subscriptionId: pulumi.Input<string>;
166
+ }