@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
@@ -0,0 +1,187 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Dashboard Grafana Managed Private Endpoint.
4
+ *
5
+ * > **NOTE:** This resource will _not_ approve the managed private endpoint connection on the linked resource. This will need to be done manually via Azure CLI, PowerShell, or AzAPI resources. See here for an example that uses AzAPI.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ *
13
+ * const example = new azure.core.ResourceGroup("example", {
14
+ * name: "example-resources",
15
+ * location: "Canada Central",
16
+ * });
17
+ * const exampleWorkspace = new azure.monitoring.Workspace("example", {
18
+ * name: "example-mamw",
19
+ * resourceGroupName: example.name,
20
+ * location: example.location,
21
+ * publicNetworkAccessEnabled: false,
22
+ * });
23
+ * const exampleGrafana = new azure.dashboard.Grafana("example", {
24
+ * name: "example-dg",
25
+ * resourceGroupName: example.name,
26
+ * location: example.location,
27
+ * grafanaMajorVersion: "10",
28
+ * publicNetworkAccessEnabled: false,
29
+ * azureMonitorWorkspaceIntegrations: [{
30
+ * resourceId: exampleWorkspace.id,
31
+ * }],
32
+ * });
33
+ * const exampleGrafanaManagedPrivateEndpoint = new azure.dashboard.GrafanaManagedPrivateEndpoint("example", {
34
+ * grafanaId: exampleGrafana.id,
35
+ * name: "example-mpe",
36
+ * location: exampleGrafana.location,
37
+ * privateLinkResourceId: exampleWorkspace.id,
38
+ * groupIds: ["prometheusMetrics"],
39
+ * privateLinkResourceRegion: exampleGrafana.location,
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * Dashboard Grafana Managed Private Endpoint Examples can be imported using the `resource id`, e.g.
46
+ *
47
+ * ```sh
48
+ * $ pulumi import azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Dashboard/grafana/workspace1/managedPrivateEndpoints/endpoint1
49
+ * ```
50
+ */
51
+ export declare class GrafanaManagedPrivateEndpoint extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing GrafanaManagedPrivateEndpoint resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GrafanaManagedPrivateEndpointState, opts?: pulumi.CustomResourceOptions): GrafanaManagedPrivateEndpoint;
62
+ /**
63
+ * Returns true if the given object is an instance of GrafanaManagedPrivateEndpoint. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj: any): obj is GrafanaManagedPrivateEndpoint;
67
+ /**
68
+ * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
69
+ */
70
+ readonly grafanaId: pulumi.Output<string>;
71
+ /**
72
+ * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
73
+ */
74
+ readonly groupIds: pulumi.Output<string[] | undefined>;
75
+ /**
76
+ * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
77
+ */
78
+ readonly location: pulumi.Output<string>;
79
+ /**
80
+ * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
81
+ */
82
+ readonly name: pulumi.Output<string>;
83
+ /**
84
+ * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
85
+ */
86
+ readonly privateLinkResourceId: pulumi.Output<string>;
87
+ /**
88
+ * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
89
+ */
90
+ readonly privateLinkResourceRegion: pulumi.Output<string | undefined>;
91
+ /**
92
+ * A message to provide in the request which will be seen by approvers.
93
+ */
94
+ readonly requestMessage: pulumi.Output<string | undefined>;
95
+ /**
96
+ * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint.
97
+ */
98
+ readonly tags: pulumi.Output<{
99
+ [key: string]: string;
100
+ } | undefined>;
101
+ /**
102
+ * Create a GrafanaManagedPrivateEndpoint resource with the given unique name, arguments, and options.
103
+ *
104
+ * @param name The _unique_ name of the resource.
105
+ * @param args The arguments to use to populate this resource's properties.
106
+ * @param opts A bag of options that control this resource's behavior.
107
+ */
108
+ constructor(name: string, args: GrafanaManagedPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions);
109
+ }
110
+ /**
111
+ * Input properties used for looking up and filtering GrafanaManagedPrivateEndpoint resources.
112
+ */
113
+ export interface GrafanaManagedPrivateEndpointState {
114
+ /**
115
+ * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
116
+ */
117
+ grafanaId?: pulumi.Input<string>;
118
+ /**
119
+ * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
120
+ */
121
+ groupIds?: pulumi.Input<pulumi.Input<string>[]>;
122
+ /**
123
+ * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
124
+ */
125
+ location?: pulumi.Input<string>;
126
+ /**
127
+ * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
128
+ */
129
+ name?: pulumi.Input<string>;
130
+ /**
131
+ * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
132
+ */
133
+ privateLinkResourceId?: pulumi.Input<string>;
134
+ /**
135
+ * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
136
+ */
137
+ privateLinkResourceRegion?: pulumi.Input<string>;
138
+ /**
139
+ * A message to provide in the request which will be seen by approvers.
140
+ */
141
+ requestMessage?: pulumi.Input<string>;
142
+ /**
143
+ * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint.
144
+ */
145
+ tags?: pulumi.Input<{
146
+ [key: string]: pulumi.Input<string>;
147
+ }>;
148
+ }
149
+ /**
150
+ * The set of arguments for constructing a GrafanaManagedPrivateEndpoint resource.
151
+ */
152
+ export interface GrafanaManagedPrivateEndpointArgs {
153
+ /**
154
+ * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
155
+ */
156
+ grafanaId: pulumi.Input<string>;
157
+ /**
158
+ * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
159
+ */
160
+ groupIds?: pulumi.Input<pulumi.Input<string>[]>;
161
+ /**
162
+ * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
163
+ */
164
+ location?: pulumi.Input<string>;
165
+ /**
166
+ * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
167
+ */
168
+ name?: pulumi.Input<string>;
169
+ /**
170
+ * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
171
+ */
172
+ privateLinkResourceId: pulumi.Input<string>;
173
+ /**
174
+ * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created.
175
+ */
176
+ privateLinkResourceRegion?: pulumi.Input<string>;
177
+ /**
178
+ * A message to provide in the request which will be seen by approvers.
179
+ */
180
+ requestMessage?: pulumi.Input<string>;
181
+ /**
182
+ * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint.
183
+ */
184
+ tags?: pulumi.Input<{
185
+ [key: string]: pulumi.Input<string>;
186
+ }>;
187
+ }
@@ -0,0 +1,118 @@
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.GrafanaManagedPrivateEndpoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Dashboard Grafana Managed Private Endpoint.
10
+ *
11
+ * > **NOTE:** This resource will _not_ approve the managed private endpoint connection on the linked resource. This will need to be done manually via Azure CLI, PowerShell, or AzAPI resources. See here for an example that uses AzAPI.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as azure from "@pulumi/azure";
18
+ *
19
+ * const example = new azure.core.ResourceGroup("example", {
20
+ * name: "example-resources",
21
+ * location: "Canada Central",
22
+ * });
23
+ * const exampleWorkspace = new azure.monitoring.Workspace("example", {
24
+ * name: "example-mamw",
25
+ * resourceGroupName: example.name,
26
+ * location: example.location,
27
+ * publicNetworkAccessEnabled: false,
28
+ * });
29
+ * const exampleGrafana = new azure.dashboard.Grafana("example", {
30
+ * name: "example-dg",
31
+ * resourceGroupName: example.name,
32
+ * location: example.location,
33
+ * grafanaMajorVersion: "10",
34
+ * publicNetworkAccessEnabled: false,
35
+ * azureMonitorWorkspaceIntegrations: [{
36
+ * resourceId: exampleWorkspace.id,
37
+ * }],
38
+ * });
39
+ * const exampleGrafanaManagedPrivateEndpoint = new azure.dashboard.GrafanaManagedPrivateEndpoint("example", {
40
+ * grafanaId: exampleGrafana.id,
41
+ * name: "example-mpe",
42
+ * location: exampleGrafana.location,
43
+ * privateLinkResourceId: exampleWorkspace.id,
44
+ * groupIds: ["prometheusMetrics"],
45
+ * privateLinkResourceRegion: exampleGrafana.location,
46
+ * });
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * Dashboard Grafana Managed Private Endpoint Examples can be imported using the `resource id`, e.g.
52
+ *
53
+ * ```sh
54
+ * $ pulumi import azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Dashboard/grafana/workspace1/managedPrivateEndpoints/endpoint1
55
+ * ```
56
+ */
57
+ class GrafanaManagedPrivateEndpoint extends pulumi.CustomResource {
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["grafanaId"] = state ? state.grafanaId : undefined;
64
+ resourceInputs["groupIds"] = state ? state.groupIds : undefined;
65
+ resourceInputs["location"] = state ? state.location : undefined;
66
+ resourceInputs["name"] = state ? state.name : undefined;
67
+ resourceInputs["privateLinkResourceId"] = state ? state.privateLinkResourceId : undefined;
68
+ resourceInputs["privateLinkResourceRegion"] = state ? state.privateLinkResourceRegion : undefined;
69
+ resourceInputs["requestMessage"] = state ? state.requestMessage : undefined;
70
+ resourceInputs["tags"] = state ? state.tags : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.grafanaId === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'grafanaId'");
76
+ }
77
+ if ((!args || args.privateLinkResourceId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'privateLinkResourceId'");
79
+ }
80
+ resourceInputs["grafanaId"] = args ? args.grafanaId : undefined;
81
+ resourceInputs["groupIds"] = args ? args.groupIds : undefined;
82
+ resourceInputs["location"] = args ? args.location : undefined;
83
+ resourceInputs["name"] = args ? args.name : undefined;
84
+ resourceInputs["privateLinkResourceId"] = args ? args.privateLinkResourceId : undefined;
85
+ resourceInputs["privateLinkResourceRegion"] = args ? args.privateLinkResourceRegion : undefined;
86
+ resourceInputs["requestMessage"] = args ? args.requestMessage : undefined;
87
+ resourceInputs["tags"] = args ? args.tags : undefined;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(GrafanaManagedPrivateEndpoint.__pulumiType, name, resourceInputs, opts);
91
+ }
92
+ /**
93
+ * Get an existing GrafanaManagedPrivateEndpoint resource's state with the given name, ID, and optional extra
94
+ * properties used to qualify the lookup.
95
+ *
96
+ * @param name The _unique_ name of the resulting resource.
97
+ * @param id The _unique_ provider ID of the resource to lookup.
98
+ * @param state Any extra arguments used during the lookup.
99
+ * @param opts Optional settings to control the behavior of the CustomResource.
100
+ */
101
+ static get(name, id, state, opts) {
102
+ return new GrafanaManagedPrivateEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
103
+ }
104
+ /**
105
+ * Returns true if the given object is an instance of GrafanaManagedPrivateEndpoint. This is designed to work even
106
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
107
+ */
108
+ static isInstance(obj) {
109
+ if (obj === undefined || obj === null) {
110
+ return false;
111
+ }
112
+ return obj['__pulumiType'] === GrafanaManagedPrivateEndpoint.__pulumiType;
113
+ }
114
+ }
115
+ exports.GrafanaManagedPrivateEndpoint = GrafanaManagedPrivateEndpoint;
116
+ /** @internal */
117
+ GrafanaManagedPrivateEndpoint.__pulumiType = 'azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint';
118
+ //# sourceMappingURL=grafanaManagedPrivateEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grafanaManagedPrivateEndpoint.js","sourceRoot":"","sources":["../../dashboard/grafanaManagedPrivateEndpoint.ts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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;;AA1BL,sEAsGC;AAxFG,gBAAgB;AACO,0CAAY,GAAG,6EAA6E,CAAC"}
@@ -7,3 +7,6 @@ export declare const getGrafanaOutput: typeof import("./getGrafana").getGrafanaO
7
7
  export { GrafanaArgs, GrafanaState } from "./grafana";
8
8
  export declare type Grafana = import("./grafana").Grafana;
9
9
  export declare const Grafana: typeof import("./grafana").Grafana;
10
+ export { GrafanaManagedPrivateEndpointArgs, GrafanaManagedPrivateEndpointState } from "./grafanaManagedPrivateEndpoint";
11
+ export declare type GrafanaManagedPrivateEndpoint = import("./grafanaManagedPrivateEndpoint").GrafanaManagedPrivateEndpoint;
12
+ export declare const GrafanaManagedPrivateEndpoint: typeof import("./grafanaManagedPrivateEndpoint").GrafanaManagedPrivateEndpoint;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Grafana = exports.getGrafanaOutput = exports.getGrafana = exports.azurerm_portal_dashboardOutput = exports.azurerm_portal_dashboard = void 0;
5
+ exports.GrafanaManagedPrivateEndpoint = exports.Grafana = exports.getGrafanaOutput = exports.getGrafana = exports.azurerm_portal_dashboardOutput = exports.azurerm_portal_dashboard = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.azurerm_portal_dashboard = null;
@@ -13,16 +13,21 @@ exports.getGrafanaOutput = null;
13
13
  utilities.lazyLoad(exports, ["getGrafana", "getGrafanaOutput"], () => require("./getGrafana"));
14
14
  exports.Grafana = null;
15
15
  utilities.lazyLoad(exports, ["Grafana"], () => require("./grafana"));
16
+ exports.GrafanaManagedPrivateEndpoint = null;
17
+ utilities.lazyLoad(exports, ["GrafanaManagedPrivateEndpoint"], () => require("./grafanaManagedPrivateEndpoint"));
16
18
  const _module = {
17
19
  version: utilities.getVersion(),
18
20
  construct: (name, type, urn) => {
19
21
  switch (type) {
20
22
  case "azure:dashboard/grafana:Grafana":
21
23
  return new exports.Grafana(name, undefined, { urn });
24
+ case "azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint":
25
+ return new exports.GrafanaManagedPrivateEndpoint(name, undefined, { urn });
22
26
  default:
23
27
  throw new Error(`unknown resource type ${type}`);
24
28
  }
25
29
  },
26
30
  };
27
31
  pulumi.runtime.registerResourceModule("azure", "dashboard/grafana", _module);
32
+ pulumi.runtime.registerResourceModule("azure", "dashboard/grafanaManagedPrivateEndpoint", _module);
28
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dashboard/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C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AAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,173 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Backup Instance to back up MySQL Flexible Server.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = new azure.core.ResourceGroup("example", {
12
+ * name: "example-resources",
13
+ * location: "West Europe",
14
+ * });
15
+ * const exampleFlexibleServer = new azure.mysql.FlexibleServer("example", {
16
+ * name: "example-mysqlfs",
17
+ * resourceGroupName: example.name,
18
+ * location: example.location,
19
+ * administratorLogin: "adminTerraform",
20
+ * administratorPassword: "QAZwsx123",
21
+ * version: "8.0.21",
22
+ * skuName: "B_Standard_B1s",
23
+ * zone: "1",
24
+ * });
25
+ * const exampleBackupVault = new azure.dataprotection.BackupVault("example", {
26
+ * name: "example-backupvault",
27
+ * resourceGroupName: example.name,
28
+ * location: example.location,
29
+ * datastoreType: "VaultStore",
30
+ * redundancy: "LocallyRedundant",
31
+ * softDelete: "Off",
32
+ * identity: {
33
+ * type: "SystemAssigned",
34
+ * },
35
+ * });
36
+ * const exampleAssignment = new azure.authorization.Assignment("example", {
37
+ * scope: example.id,
38
+ * roleDefinitionName: "Reader",
39
+ * principalId: exampleBackupVault.identity.apply(identity => identity?.principalId),
40
+ * });
41
+ * const example2 = new azure.authorization.Assignment("example2", {
42
+ * scope: exampleFlexibleServer.id,
43
+ * roleDefinitionName: "MySQL Backup And Export Operator",
44
+ * principalId: exampleBackupVault.identity.apply(identity => identity?.principalId),
45
+ * });
46
+ * const exampleBackupPolicyMysqlFlexibleServer = new azure.dataprotection.BackupPolicyMysqlFlexibleServer("example", {
47
+ * name: "example-dp",
48
+ * vaultId: exampleBackupVault.id,
49
+ * backupRepeatingTimeIntervals: ["R/2021-05-23T02:30:00+00:00/P1W"],
50
+ * defaultRetentionRule: {
51
+ * lifeCycles: [{
52
+ * duration: "P4M",
53
+ * dataStoreType: "VaultStore",
54
+ * }],
55
+ * },
56
+ * }, {
57
+ * dependsOn: [
58
+ * exampleAssignment,
59
+ * example2,
60
+ * ],
61
+ * });
62
+ * const exampleBackupInstanceMysqlFlexibleServer = new azure.dataprotection.BackupInstanceMysqlFlexibleServer("example", {
63
+ * name: "example-dbi",
64
+ * location: example.location,
65
+ * vaultId: exampleBackupVault.id,
66
+ * serverId: exampleFlexibleServer.id,
67
+ * backupPolicyId: exampleBackupPolicyMysqlFlexibleServer.id,
68
+ * });
69
+ * ```
70
+ *
71
+ * ## Import
72
+ *
73
+ * Backup Instance MySQL Flexible Servers can be imported using the `resource id`, e.g.
74
+ *
75
+ * ```sh
76
+ * $ pulumi import azure:dataprotection/backupInstanceMysqlFlexibleServer:BackupInstanceMysqlFlexibleServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupInstances/backupInstance1
77
+ * ```
78
+ */
79
+ export declare class BackupInstanceMysqlFlexibleServer extends pulumi.CustomResource {
80
+ /**
81
+ * Get an existing BackupInstanceMysqlFlexibleServer resource's state with the given name, ID, and optional extra
82
+ * properties used to qualify the lookup.
83
+ *
84
+ * @param name The _unique_ name of the resulting resource.
85
+ * @param id The _unique_ provider ID of the resource to lookup.
86
+ * @param state Any extra arguments used during the lookup.
87
+ * @param opts Optional settings to control the behavior of the CustomResource.
88
+ */
89
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupInstanceMysqlFlexibleServerState, opts?: pulumi.CustomResourceOptions): BackupInstanceMysqlFlexibleServer;
90
+ /**
91
+ * Returns true if the given object is an instance of BackupInstanceMysqlFlexibleServer. This is designed to work even
92
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
93
+ */
94
+ static isInstance(obj: any): obj is BackupInstanceMysqlFlexibleServer;
95
+ /**
96
+ * The ID of the Backup Policy.
97
+ */
98
+ readonly backupPolicyId: pulumi.Output<string>;
99
+ /**
100
+ * The location of the source database. Changing this forces a new resource to be created.
101
+ */
102
+ readonly location: pulumi.Output<string>;
103
+ /**
104
+ * Specifies the name of the Backup Instance for the MySQL Flexible Server. Changing this forces a new resource to be created.
105
+ */
106
+ readonly name: pulumi.Output<string>;
107
+ /**
108
+ * The ID of the source server. Changing this forces a new resource to be created.
109
+ */
110
+ readonly serverId: pulumi.Output<string>;
111
+ /**
112
+ * The ID of the Backup Vault within which the MySQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
113
+ */
114
+ readonly vaultId: pulumi.Output<string>;
115
+ /**
116
+ * Create a BackupInstanceMysqlFlexibleServer resource with the given unique name, arguments, and options.
117
+ *
118
+ * @param name The _unique_ name of the resource.
119
+ * @param args The arguments to use to populate this resource's properties.
120
+ * @param opts A bag of options that control this resource's behavior.
121
+ */
122
+ constructor(name: string, args: BackupInstanceMysqlFlexibleServerArgs, opts?: pulumi.CustomResourceOptions);
123
+ }
124
+ /**
125
+ * Input properties used for looking up and filtering BackupInstanceMysqlFlexibleServer resources.
126
+ */
127
+ export interface BackupInstanceMysqlFlexibleServerState {
128
+ /**
129
+ * The ID of the Backup Policy.
130
+ */
131
+ backupPolicyId?: pulumi.Input<string>;
132
+ /**
133
+ * The location of the source database. Changing this forces a new resource to be created.
134
+ */
135
+ location?: pulumi.Input<string>;
136
+ /**
137
+ * Specifies the name of the Backup Instance for the MySQL Flexible Server. Changing this forces a new resource to be created.
138
+ */
139
+ name?: pulumi.Input<string>;
140
+ /**
141
+ * The ID of the source server. Changing this forces a new resource to be created.
142
+ */
143
+ serverId?: pulumi.Input<string>;
144
+ /**
145
+ * The ID of the Backup Vault within which the MySQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
146
+ */
147
+ vaultId?: pulumi.Input<string>;
148
+ }
149
+ /**
150
+ * The set of arguments for constructing a BackupInstanceMysqlFlexibleServer resource.
151
+ */
152
+ export interface BackupInstanceMysqlFlexibleServerArgs {
153
+ /**
154
+ * The ID of the Backup Policy.
155
+ */
156
+ backupPolicyId: pulumi.Input<string>;
157
+ /**
158
+ * The location of the source database. Changing this forces a new resource to be created.
159
+ */
160
+ location?: pulumi.Input<string>;
161
+ /**
162
+ * Specifies the name of the Backup Instance for the MySQL Flexible Server. Changing this forces a new resource to be created.
163
+ */
164
+ name?: pulumi.Input<string>;
165
+ /**
166
+ * The ID of the source server. Changing this forces a new resource to be created.
167
+ */
168
+ serverId: pulumi.Input<string>;
169
+ /**
170
+ * The ID of the Backup Vault within which the MySQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
171
+ */
172
+ vaultId: pulumi.Input<string>;
173
+ }