@pulumi/azure-native 1.78.0 → 1.79.0-alpha.1663253723

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 (131) hide show
  1. package/compute/disk.js +2 -2
  2. package/compute/diskAccess.js +2 -2
  3. package/compute/diskAccessAPrivateEndpointConnection.js +2 -2
  4. package/compute/diskEncryptionSet.js +2 -2
  5. package/compute/index.d.ts +2 -1
  6. package/compute/index.js +4 -2
  7. package/compute/snapshot.js +2 -2
  8. package/compute/v20160430preview/disk.js +2 -2
  9. package/compute/v20160430preview/snapshot.js +2 -2
  10. package/compute/v20170330/disk.js +2 -2
  11. package/compute/v20170330/snapshot.js +2 -2
  12. package/compute/v20180401/disk.js +2 -2
  13. package/compute/v20180401/snapshot.js +2 -2
  14. package/compute/v20180601/disk.js +2 -2
  15. package/compute/v20180601/snapshot.js +2 -2
  16. package/compute/v20180930/disk.js +2 -2
  17. package/compute/v20180930/snapshot.js +2 -2
  18. package/compute/v20190301/disk.js +2 -2
  19. package/compute/v20190301/snapshot.js +2 -2
  20. package/compute/v20190701/disk.js +2 -2
  21. package/compute/v20190701/diskEncryptionSet.js +2 -2
  22. package/compute/v20190701/snapshot.js +2 -2
  23. package/compute/v20191101/disk.js +2 -2
  24. package/compute/v20191101/diskEncryptionSet.js +2 -2
  25. package/compute/v20191101/snapshot.js +2 -2
  26. package/compute/v20200501/disk.js +2 -2
  27. package/compute/v20200501/diskAccess.js +2 -2
  28. package/compute/v20200501/diskEncryptionSet.js +2 -2
  29. package/compute/v20200501/snapshot.js +2 -2
  30. package/compute/v20200630/disk.js +2 -2
  31. package/compute/v20200630/diskAccess.js +2 -2
  32. package/compute/v20200630/diskEncryptionSet.js +2 -2
  33. package/compute/v20200630/snapshot.js +2 -2
  34. package/compute/v20200930/disk.js +2 -2
  35. package/compute/v20200930/diskAccess.js +2 -2
  36. package/compute/v20200930/diskAccessAPrivateEndpointConnection.js +2 -2
  37. package/compute/v20200930/diskEncryptionSet.js +2 -2
  38. package/compute/v20200930/snapshot.js +2 -2
  39. package/compute/v20201201/disk.js +2 -2
  40. package/compute/v20201201/diskAccess.js +2 -2
  41. package/compute/v20201201/diskAccessAPrivateEndpointConnection.js +2 -2
  42. package/compute/v20201201/diskEncryptionSet.js +2 -2
  43. package/compute/v20201201/snapshot.js +2 -2
  44. package/compute/v20210401/disk.js +2 -2
  45. package/compute/v20210401/diskAccess.js +2 -2
  46. package/compute/v20210401/diskAccessAPrivateEndpointConnection.js +2 -2
  47. package/compute/v20210401/diskEncryptionSet.js +2 -2
  48. package/compute/v20210401/snapshot.js +2 -2
  49. package/compute/v20210801/disk.js +2 -2
  50. package/compute/v20210801/diskAccess.js +2 -2
  51. package/compute/v20210801/diskAccessAPrivateEndpointConnection.js +2 -2
  52. package/compute/v20210801/diskEncryptionSet.js +2 -2
  53. package/compute/v20210801/snapshot.js +2 -2
  54. package/compute/v20211201/disk.js +2 -2
  55. package/compute/v20211201/diskAccess.js +2 -2
  56. package/compute/v20211201/diskAccessAPrivateEndpointConnection.js +2 -2
  57. package/compute/v20211201/diskEncryptionSet.js +2 -2
  58. package/compute/v20211201/snapshot.js +2 -2
  59. package/compute/v20220302/disk.js +2 -2
  60. package/compute/v20220302/diskAccess.js +2 -2
  61. package/compute/v20220302/diskAccessAPrivateEndpointConnection.js +2 -2
  62. package/compute/v20220302/diskEncryptionSet.js +2 -2
  63. package/compute/v20220302/snapshot.js +2 -2
  64. package/compute/v20220702/disk.d.ts +320 -0
  65. package/compute/v20220702/disk.js +144 -0
  66. package/compute/v20220702/diskAccess.d.ts +91 -0
  67. package/compute/v20220702/diskAccess.js +77 -0
  68. package/compute/v20220702/diskAccessAPrivateEndpointConnection.d.ts +71 -0
  69. package/compute/v20220702/diskAccessAPrivateEndpointConnection.js +78 -0
  70. package/compute/v20220702/diskEncryptionSet.d.ts +128 -0
  71. package/compute/v20220702/diskEncryptionSet.js +87 -0
  72. package/compute/v20220702/getDisk.d.ts +198 -0
  73. package/compute/v20220702/getDisk.js +26 -0
  74. package/compute/v20220702/getDiskAccess.d.ts +70 -0
  75. package/compute/v20220702/getDiskAccess.js +26 -0
  76. package/compute/v20220702/getDiskAccessAPrivateEndpointConnection.d.ts +64 -0
  77. package/compute/v20220702/getDiskAccessAPrivateEndpointConnection.js +27 -0
  78. package/compute/v20220702/getDiskEncryptionSet.d.ts +90 -0
  79. package/compute/v20220702/getDiskEncryptionSet.js +26 -0
  80. package/compute/v20220702/getSnapshot.d.ts +158 -0
  81. package/compute/v20220702/getSnapshot.js +26 -0
  82. package/compute/v20220702/index.d.ts +31 -0
  83. package/compute/v20220702/index.js +69 -0
  84. package/compute/v20220702/snapshot.d.ts +252 -0
  85. package/compute/v20220702/snapshot.js +124 -0
  86. package/costmanagement/index.d.ts +2 -1
  87. package/costmanagement/index.js +4 -2
  88. package/costmanagement/v20190401preview/view.js +2 -2
  89. package/costmanagement/v20190401preview/viewByScope.js +2 -2
  90. package/costmanagement/v20191101/view.js +2 -2
  91. package/costmanagement/v20191101/viewByScope.js +2 -2
  92. package/costmanagement/v20200601/view.js +2 -2
  93. package/costmanagement/v20200601/viewByScope.js +2 -2
  94. package/costmanagement/v20211001/view.js +2 -2
  95. package/costmanagement/v20211001/viewByScope.js +2 -2
  96. package/costmanagement/v20220801preview/view.js +2 -2
  97. package/costmanagement/v20220801preview/viewByScope.js +2 -2
  98. package/costmanagement/v20221001preview/getSettingByScope.d.ts +52 -0
  99. package/costmanagement/v20221001preview/getSettingByScope.js +28 -0
  100. package/costmanagement/v20221001preview/getTagInheritanceSetting.d.ts +57 -0
  101. package/costmanagement/v20221001preview/getTagInheritanceSetting.js +26 -0
  102. package/costmanagement/v20221001preview/getView.d.ts +100 -0
  103. package/costmanagement/v20221001preview/getView.js +25 -0
  104. package/costmanagement/v20221001preview/getViewByScope.d.ts +108 -0
  105. package/costmanagement/v20221001preview/getViewByScope.js +26 -0
  106. package/costmanagement/v20221001preview/index.d.ts +25 -0
  107. package/costmanagement/v20221001preview/index.js +62 -0
  108. package/costmanagement/v20221001preview/settingByScope.d.ts +69 -0
  109. package/costmanagement/v20221001preview/settingByScope.js +74 -0
  110. package/costmanagement/v20221001preview/tagInheritanceSetting.d.ts +77 -0
  111. package/costmanagement/v20221001preview/tagInheritanceSetting.js +71 -0
  112. package/costmanagement/v20221001preview/view.d.ts +164 -0
  113. package/costmanagement/v20221001preview/view.js +99 -0
  114. package/costmanagement/v20221001preview/viewByScope.d.ts +164 -0
  115. package/costmanagement/v20221001preview/viewByScope.js +102 -0
  116. package/costmanagement/view.js +2 -2
  117. package/costmanagement/viewByScope.js +2 -2
  118. package/package.json +2 -2
  119. package/package.json.dev +2 -2
  120. package/types/enums/compute/index.d.ts +2 -1
  121. package/types/enums/compute/index.js +5 -3
  122. package/types/enums/compute/v20220702/index.d.ts +262 -0
  123. package/types/enums/compute/v20220702/index.js +204 -0
  124. package/types/enums/costmanagement/index.d.ts +2 -1
  125. package/types/enums/costmanagement/index.js +4 -2
  126. package/types/enums/costmanagement/v20221001preview/index.d.ts +107 -0
  127. package/types/enums/costmanagement/v20221001preview/index.js +61 -0
  128. package/types/input.d.ts +457 -0
  129. package/types/input.js +1 -1
  130. package/types/output.d.ts +595 -0
  131. package/types/output.js +1 -1
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../../types/output";
3
+ /**
4
+ * States and configurations of Cost Analysis.
5
+ */
6
+ export declare function getViewByScope(args: GetViewByScopeArgs, opts?: pulumi.InvokeOptions): Promise<GetViewByScopeResult>;
7
+ export interface GetViewByScopeArgs {
8
+ /**
9
+ * The scope associated with view operations. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
10
+ */
11
+ scope: string;
12
+ /**
13
+ * View name
14
+ */
15
+ viewName: string;
16
+ }
17
+ /**
18
+ * States and configurations of Cost Analysis.
19
+ */
20
+ export interface GetViewByScopeResult {
21
+ /**
22
+ * Show costs accumulated over time.
23
+ */
24
+ readonly accumulated?: string;
25
+ /**
26
+ * Chart type of the main view in Cost Analysis. Required.
27
+ */
28
+ readonly chart?: string;
29
+ /**
30
+ * Date the user created this view.
31
+ */
32
+ readonly createdOn: string;
33
+ /**
34
+ * Currency of the current view.
35
+ */
36
+ readonly currency: string;
37
+ /**
38
+ * Has definition for data in this report config.
39
+ */
40
+ readonly dataSet?: outputs.costmanagement.v20221001preview.ReportConfigDatasetResponse;
41
+ /**
42
+ * Date range of the current view.
43
+ */
44
+ readonly dateRange: string;
45
+ /**
46
+ * User input name of the view. Required.
47
+ */
48
+ readonly displayName?: string;
49
+ /**
50
+ * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
51
+ */
52
+ readonly eTag?: string;
53
+ /**
54
+ * Resource Id.
55
+ */
56
+ readonly id: string;
57
+ /**
58
+ * If true, report includes monetary commitment.
59
+ */
60
+ readonly includeMonetaryCommitment?: boolean;
61
+ /**
62
+ * List of KPIs to show in Cost Analysis UI.
63
+ */
64
+ readonly kpis?: outputs.costmanagement.v20221001preview.KpiPropertiesResponse[];
65
+ /**
66
+ * Metric to use when displaying costs.
67
+ */
68
+ readonly metric?: string;
69
+ /**
70
+ * Date when the user last modified this view.
71
+ */
72
+ readonly modifiedOn: string;
73
+ /**
74
+ * Resource name.
75
+ */
76
+ readonly name: string;
77
+ /**
78
+ * Configuration of 3 sub-views in the Cost Analysis UI.
79
+ */
80
+ readonly pivots?: outputs.costmanagement.v20221001preview.PivotPropertiesResponse[];
81
+ /**
82
+ * Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
83
+ */
84
+ readonly scope?: string;
85
+ /**
86
+ * Has time period for pulling data for the report.
87
+ */
88
+ readonly timePeriod?: outputs.costmanagement.v20221001preview.ReportConfigTimePeriodResponse;
89
+ /**
90
+ * The time frame for pulling data for the report. If custom, then a specific time period must be provided.
91
+ */
92
+ readonly timeframe: string;
93
+ /**
94
+ * Resource type.
95
+ */
96
+ readonly type: string;
97
+ }
98
+ export declare function getViewByScopeOutput(args: GetViewByScopeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetViewByScopeResult>;
99
+ export interface GetViewByScopeOutputArgs {
100
+ /**
101
+ * The scope associated with view operations. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
102
+ */
103
+ scope: pulumi.Input<string>;
104
+ /**
105
+ * View name
106
+ */
107
+ viewName: pulumi.Input<string>;
108
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.getViewByScopeOutput = exports.getViewByScope = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * States and configurations of Cost Analysis.
10
+ */
11
+ function getViewByScope(args, opts) {
12
+ if (!opts) {
13
+ opts = {};
14
+ }
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
+ return pulumi.runtime.invoke("azure-native:costmanagement/v20221001preview:getViewByScope", {
17
+ "scope": args.scope,
18
+ "viewName": args.viewName,
19
+ }, opts);
20
+ }
21
+ exports.getViewByScope = getViewByScope;
22
+ function getViewByScopeOutput(args, opts) {
23
+ return pulumi.output(args).apply(a => getViewByScope(a, opts));
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1,25 @@
1
+ export { GetSettingByScopeArgs, GetSettingByScopeResult, GetSettingByScopeOutputArgs } from "./getSettingByScope";
2
+ export declare const getSettingByScope: typeof import("./getSettingByScope").getSettingByScope;
3
+ export declare const getSettingByScopeOutput: typeof import("./getSettingByScope").getSettingByScopeOutput;
4
+ export { GetTagInheritanceSettingArgs, GetTagInheritanceSettingResult, GetTagInheritanceSettingOutputArgs } from "./getTagInheritanceSetting";
5
+ export declare const getTagInheritanceSetting: typeof import("./getTagInheritanceSetting").getTagInheritanceSetting;
6
+ export declare const getTagInheritanceSettingOutput: typeof import("./getTagInheritanceSetting").getTagInheritanceSettingOutput;
7
+ export { GetViewArgs, GetViewResult, GetViewOutputArgs } from "./getView";
8
+ export declare const getView: typeof import("./getView").getView;
9
+ export declare const getViewOutput: typeof import("./getView").getViewOutput;
10
+ export { GetViewByScopeArgs, GetViewByScopeResult, GetViewByScopeOutputArgs } from "./getViewByScope";
11
+ export declare const getViewByScope: typeof import("./getViewByScope").getViewByScope;
12
+ export declare const getViewByScopeOutput: typeof import("./getViewByScope").getViewByScopeOutput;
13
+ export { SettingByScopeArgs } from "./settingByScope";
14
+ export declare type SettingByScope = import("./settingByScope").SettingByScope;
15
+ export declare const SettingByScope: typeof import("./settingByScope").SettingByScope;
16
+ export { TagInheritanceSettingArgs } from "./tagInheritanceSetting";
17
+ export declare type TagInheritanceSetting = import("./tagInheritanceSetting").TagInheritanceSetting;
18
+ export declare const TagInheritanceSetting: typeof import("./tagInheritanceSetting").TagInheritanceSetting;
19
+ export { ViewArgs } from "./view";
20
+ export declare type View = import("./view").View;
21
+ export declare const View: typeof import("./view").View;
22
+ export { ViewByScopeArgs } from "./viewByScope";
23
+ export declare type ViewByScope = import("./viewByScope").ViewByScope;
24
+ export declare const ViewByScope: typeof import("./viewByScope").ViewByScope;
25
+ export * from "../../types/enums/costmanagement/v20221001preview";
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.ViewByScope = exports.View = exports.TagInheritanceSetting = exports.SettingByScope = exports.getViewByScopeOutput = exports.getViewByScope = exports.getViewOutput = exports.getView = exports.getTagInheritanceSettingOutput = exports.getTagInheritanceSetting = exports.getSettingByScopeOutput = exports.getSettingByScope = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../../utilities");
22
+ exports.getSettingByScope = null;
23
+ exports.getSettingByScopeOutput = null;
24
+ exports.getTagInheritanceSetting = null;
25
+ exports.getTagInheritanceSettingOutput = null;
26
+ exports.getView = null;
27
+ exports.getViewOutput = null;
28
+ exports.getViewByScope = null;
29
+ exports.getViewByScopeOutput = null;
30
+ exports.SettingByScope = null;
31
+ exports.TagInheritanceSetting = null;
32
+ exports.View = null;
33
+ exports.ViewByScope = null;
34
+ utilities.lazyLoad(exports, ["getSettingByScope", "getSettingByScopeOutput"], () => require("./getSettingByScope"));
35
+ utilities.lazyLoad(exports, ["getTagInheritanceSetting", "getTagInheritanceSettingOutput"], () => require("./getTagInheritanceSetting"));
36
+ utilities.lazyLoad(exports, ["getView", "getViewOutput"], () => require("./getView"));
37
+ utilities.lazyLoad(exports, ["getViewByScope", "getViewByScopeOutput"], () => require("./getViewByScope"));
38
+ utilities.lazyLoad(exports, ["SettingByScope"], () => require("./settingByScope"));
39
+ utilities.lazyLoad(exports, ["TagInheritanceSetting"], () => require("./tagInheritanceSetting"));
40
+ utilities.lazyLoad(exports, ["View"], () => require("./view"));
41
+ utilities.lazyLoad(exports, ["ViewByScope"], () => require("./viewByScope"));
42
+ // Export enums:
43
+ __exportStar(require("../../types/enums/costmanagement/v20221001preview"), exports);
44
+ const _module = {
45
+ version: utilities.getVersion(),
46
+ construct: (name, type, urn) => {
47
+ switch (type) {
48
+ case "azure-native:costmanagement/v20221001preview:SettingByScope":
49
+ return new exports.SettingByScope(name, undefined, { urn });
50
+ case "azure-native:costmanagement/v20221001preview:TagInheritanceSetting":
51
+ return new exports.TagInheritanceSetting(name, undefined, { urn });
52
+ case "azure-native:costmanagement/v20221001preview:View":
53
+ return new exports.View(name, undefined, { urn });
54
+ case "azure-native:costmanagement/v20221001preview:ViewByScope":
55
+ return new exports.ViewByScope(name, undefined, { urn });
56
+ default:
57
+ throw new Error(`unknown resource type ${type}`);
58
+ }
59
+ },
60
+ };
61
+ pulumi.runtime.registerResourceModule("azure-native", "costmanagement/v20221001preview", _module);
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb3N0bWFuYWdlbWVudC92MjAyMjEwMDFwcmV2aWV3L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7Ozs7Ozs7Ozs7Ozs7OztBQUVqRix5Q0FBeUM7QUFDekMsNkNBQTZDO0FBSWhDLFFBQUEsaUJBQWlCLEdBQTJELElBQVcsQ0FBQztBQUN4RixRQUFBLHVCQUF1QixHQUFpRSxJQUFXLENBQUM7QUFHcEcsUUFBQSx3QkFBd0IsR0FBeUUsS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JLFlBQUksQ0FBQyxJQUFJLEVBQU8sU0FBUyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQTtZQUNsRCxLQUFLLDBEQUEwRDtnQkFDM0QsT0FBTyxJQUFJLG1CQUFXLENBQUMsSUFBSSxFQUFPLFNBQVMsRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQUE7WUFDekQ7Z0JBQ0ksTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUN4RDtJQUNMLENBQUM7Q0FDSixDQUFDO0FBQ0YsTUFBTSxDQUFDLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxjQUFjLEVBQUUsaUNBQWlDLEVBQUUsT0FBTyxDQUFDLENBQUEifQ==
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../../types/enums";
3
+ /**
4
+ * Setting definition.
5
+ *
6
+ * @deprecated Please use one of the variants: TagInheritanceSetting.
7
+ */
8
+ export declare class SettingByScope extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing SettingByScope resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SettingByScope;
18
+ /**
19
+ * Returns true if the given object is an instance of SettingByScope. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is SettingByScope;
23
+ /**
24
+ * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
25
+ */
26
+ readonly eTag: pulumi.Output<string | undefined>;
27
+ /**
28
+ * Specifies the kind of settings.
29
+ */
30
+ readonly kind: pulumi.Output<string>;
31
+ /**
32
+ * Resource name.
33
+ */
34
+ readonly name: pulumi.Output<string>;
35
+ /**
36
+ * Resource type.
37
+ */
38
+ readonly type: pulumi.Output<string>;
39
+ /**
40
+ * Create a SettingByScope resource with the given unique name, arguments, and options.
41
+ *
42
+ * @param name The _unique_ name of the resource.
43
+ * @param args The arguments to use to populate this resource's properties.
44
+ * @param opts A bag of options that control this resource's behavior.
45
+ */
46
+ /** @deprecated Please use one of the variants: TagInheritanceSetting. */
47
+ constructor(name: string, args: SettingByScopeArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a SettingByScope resource.
51
+ */
52
+ export interface SettingByScopeArgs {
53
+ /**
54
+ * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
55
+ */
56
+ eTag?: pulumi.Input<string>;
57
+ /**
58
+ * Specifies the kind of settings.
59
+ */
60
+ kind: pulumi.Input<string | enums.costmanagement.v20221001preview.SettingsKind>;
61
+ /**
62
+ * The scope associated with setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
63
+ */
64
+ scope: pulumi.Input<string>;
65
+ /**
66
+ * Setting type.
67
+ */
68
+ type?: pulumi.Input<string>;
69
+ }
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.SettingByScope = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Setting definition.
10
+ *
11
+ * @deprecated Please use one of the variants: TagInheritanceSetting.
12
+ */
13
+ class SettingByScope extends pulumi.CustomResource {
14
+ /**
15
+ * Create a SettingByScope resource with the given unique name, arguments, and options.
16
+ *
17
+ * @param name The _unique_ name of the resource.
18
+ * @param args The arguments to use to populate this resource's properties.
19
+ * @param opts A bag of options that control this resource's behavior.
20
+ */
21
+ /** @deprecated Please use one of the variants: TagInheritanceSetting. */
22
+ constructor(name, args, opts) {
23
+ pulumi.log.warn("SettingByScope is deprecated: Please use one of the variants: TagInheritanceSetting.");
24
+ let resourceInputs = {};
25
+ opts = opts || {};
26
+ if (!opts.id) {
27
+ if ((!args || args.kind === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'kind'");
29
+ }
30
+ if ((!args || args.scope === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'scope'");
32
+ }
33
+ resourceInputs["eTag"] = args ? args.eTag : undefined;
34
+ resourceInputs["kind"] = args ? args.kind : undefined;
35
+ resourceInputs["scope"] = args ? args.scope : undefined;
36
+ resourceInputs["type"] = args ? args.type : undefined;
37
+ resourceInputs["name"] = undefined /*out*/;
38
+ }
39
+ else {
40
+ resourceInputs["eTag"] = undefined /*out*/;
41
+ resourceInputs["kind"] = undefined /*out*/;
42
+ resourceInputs["name"] = undefined /*out*/;
43
+ resourceInputs["type"] = undefined /*out*/;
44
+ }
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
46
+ super(SettingByScope.__pulumiType, name, resourceInputs, opts);
47
+ }
48
+ /**
49
+ * Get an existing SettingByScope resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name, id, opts) {
57
+ pulumi.log.warn("SettingByScope is deprecated: Please use one of the variants: TagInheritanceSetting.");
58
+ return new SettingByScope(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
59
+ }
60
+ /**
61
+ * Returns true if the given object is an instance of SettingByScope. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj) {
65
+ if (obj === undefined || obj === null) {
66
+ return false;
67
+ }
68
+ return obj['__pulumiType'] === SettingByScope.__pulumiType;
69
+ }
70
+ }
71
+ exports.SettingByScope = SettingByScope;
72
+ /** @internal */
73
+ SettingByScope.__pulumiType = 'azure-native:costmanagement/v20221001preview:SettingByScope';
74
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZ0J5U2NvcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb3N0bWFuYWdlbWVudC92MjAyMjEwMDFwcmV2aWV3L3NldHRpbmdCeVNjb3BlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBSXpDLDZDQUE2QztBQUU3Qzs7OztHQUlHO0FBQ0gsTUFBYSxjQUFlLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUE2Q3JEOzs7Ozs7T0FNRztJQUNILHlFQUF5RTtJQUN6RSxZQUFZLElBQVksRUFBRSxJQUF3QixFQUFFLElBQW1DO1FBQ25GLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLHNGQUFzRixDQUFDLENBQUE7UUFDdkcsSUFBSSxjQUFjLEdBQWtCLEVBQUUsQ0FBQztRQUN2QyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUUsQ0FBQztRQUNsQixJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRTtZQUNWLElBQUksQ0FBQyxDQUFDLElBQUksSUFBSSxJQUFJLENBQUMsSUFBSSxLQUFLLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDakQsTUFBTSxJQUFJLEtBQUssQ0FBQyxrQ0FBa0MsQ0FBQyxDQUFDO2FBQ3ZEO1lBQ0QsSUFBSSxDQUFDLENBQUMsS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ZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFDbkUsS0FBSyxDQUFDLGNBQWMsQ0FBQyxZQUFZLEVBQUUsSUFBSSxFQUFFLGNBQWMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNuRSxDQUFDO0lBNUVEOzs7Ozs7O09BT0c7SUFDSSxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVksRUFBRSxFQUEyQixFQUFFLElBQW1DO1FBQzVGLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLHNGQUFzRixDQUFDLENBQUE7UUFDdkcsT0FBTyxJQUFJLGNBQWMsQ0FBQyxJQUFJLEVBQUUsU0FBZ0Isa0NBQU8sSUFBSSxLQUFFLEVBQUUsRUFBRSxFQUFFLElBQUcsQ0FBQztJQUMzRSxDQUFDO0lBS0Q7OztPQUdHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFRO1FBQzdCLElBQUksR0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9BQU8sS0FBSyxDQUFDO1NBQ2hCO1FBQ0QsT0FBTyxHQUFHLENBQUMsY0FBYyxDQUFDLEtBQUssY0FBYyxDQUFDLFlBQVksQ0FBQztJQUMvRCxDQUFDOztBQTFCTCx3Q0E4RUM7QUFoRUcsZ0JBQWdCO0FBQ08sMkJBQVksR0FBRyw2REFBNkQsQ0FBQyJ9
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * Tag Inheritance Setting definition.
6
+ */
7
+ export declare class TagInheritanceSetting extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing TagInheritanceSetting resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TagInheritanceSetting;
17
+ /**
18
+ * Returns true if the given object is an instance of TagInheritanceSetting. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is TagInheritanceSetting;
22
+ /**
23
+ * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
24
+ */
25
+ readonly eTag: pulumi.Output<string | undefined>;
26
+ /**
27
+ * Specifies the kind of settings.
28
+ * Expected value is 'taginheritance'.
29
+ */
30
+ readonly kind: pulumi.Output<"taginheritance">;
31
+ /**
32
+ * Resource name.
33
+ */
34
+ readonly name: pulumi.Output<string>;
35
+ /**
36
+ * The properties of the tag inheritance setting.
37
+ */
38
+ readonly properties: pulumi.Output<outputs.costmanagement.v20221001preview.TagInheritancePropertiesResponse>;
39
+ /**
40
+ * Resource type.
41
+ */
42
+ readonly type: pulumi.Output<string>;
43
+ /**
44
+ * Create a TagInheritanceSetting resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args: TagInheritanceSettingArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * The set of arguments for constructing a TagInheritanceSetting resource.
54
+ */
55
+ export interface TagInheritanceSettingArgs {
56
+ /**
57
+ * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
58
+ */
59
+ eTag?: pulumi.Input<string>;
60
+ /**
61
+ * Specifies the kind of settings.
62
+ * Expected value is 'taginheritance'.
63
+ */
64
+ kind: pulumi.Input<"taginheritance">;
65
+ /**
66
+ * The properties of the tag inheritance setting.
67
+ */
68
+ properties?: pulumi.Input<inputs.costmanagement.v20221001preview.TagInheritancePropertiesArgs>;
69
+ /**
70
+ * The scope associated with setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
71
+ */
72
+ scope: pulumi.Input<string>;
73
+ /**
74
+ * Setting type.
75
+ */
76
+ type?: pulumi.Input<string>;
77
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.TagInheritanceSetting = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Tag Inheritance Setting definition.
10
+ */
11
+ class TagInheritanceSetting extends pulumi.CustomResource {
12
+ /**
13
+ * Create a TagInheritanceSetting resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.kind === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'kind'");
25
+ }
26
+ if ((!args || args.scope === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'scope'");
28
+ }
29
+ resourceInputs["eTag"] = args ? args.eTag : undefined;
30
+ resourceInputs["kind"] = "taginheritance";
31
+ resourceInputs["properties"] = args ? args.properties : undefined;
32
+ resourceInputs["scope"] = args ? args.scope : undefined;
33
+ resourceInputs["type"] = args ? args.type : undefined;
34
+ resourceInputs["name"] = undefined /*out*/;
35
+ }
36
+ else {
37
+ resourceInputs["eTag"] = undefined /*out*/;
38
+ resourceInputs["kind"] = undefined /*out*/;
39
+ resourceInputs["name"] = undefined /*out*/;
40
+ resourceInputs["properties"] = undefined /*out*/;
41
+ resourceInputs["type"] = undefined /*out*/;
42
+ }
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
44
+ super(TagInheritanceSetting.__pulumiType, name, resourceInputs, opts);
45
+ }
46
+ /**
47
+ * Get an existing TagInheritanceSetting 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 opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, opts) {
55
+ return new TagInheritanceSetting(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of TagInheritanceSetting. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === TagInheritanceSetting.__pulumiType;
66
+ }
67
+ }
68
+ exports.TagInheritanceSetting = TagInheritanceSetting;
69
+ /** @internal */
70
+ TagInheritanceSetting.__pulumiType = 'azure-native:costmanagement/v20221001preview:TagInheritanceSetting';
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnSW5oZXJpdGFuY2VTZXR0aW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29zdG1hbmFnZW1lbnQvdjIwMjIxMDAxcHJldmlldy90YWdJbmhlcml0YW5jZVNldHRpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxxQkFBc0IsU0FBUSxNQUFNLENBQUMsY0FBYztJ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