@pulumiverse/grafana 0.10.0-alpha.1736239375 → 0.10.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.
- package/cloud/getProviderAzureCredential.d.ts +126 -0
- package/cloud/getProviderAzureCredential.js +88 -0
- package/cloud/getProviderAzureCredential.js.map +1 -0
- package/cloud/index.d.ts +6 -0
- package/cloud/index.js +9 -1
- package/cloud/index.js.map +1 -1
- package/cloud/providerAzureCredential.d.ts +141 -0
- package/cloud/providerAzureCredential.js +107 -0
- package/cloud/providerAzureCredential.js.map +1 -0
- package/package.json +2 -2
- package/types/input.d.ts +30 -0
- package/types/output.d.ts +20 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumi/grafana";
|
|
10
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
11
|
+
*
|
|
12
|
+
* const testProviderAzureCredential = new grafana.cloud.ProviderAzureCredential("test", {
|
|
13
|
+
* stackId: "1",
|
|
14
|
+
* name: "test-name",
|
|
15
|
+
* clientId: "my-client-id",
|
|
16
|
+
* clientSecret: "my-client-secret",
|
|
17
|
+
* tenantId: "my-tenant-id",
|
|
18
|
+
* resourceDiscoveryTagFilters: [
|
|
19
|
+
* {
|
|
20
|
+
* key: "key-1",
|
|
21
|
+
* value: "value-1",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* key: "key-2",
|
|
25
|
+
* value: "value-2",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* });
|
|
29
|
+
* const test = grafana.cloud.getProviderAzureCredentialOutput({
|
|
30
|
+
* stackId: testProviderAzureCredential.stackId,
|
|
31
|
+
* resourceId: testProviderAzureCredential.resourceId,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getProviderAzureCredential(args: GetProviderAzureCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAzureCredentialResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getProviderAzureCredential.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetProviderAzureCredentialArgs {
|
|
40
|
+
/**
|
|
41
|
+
* The list of tag filters to apply to resources.
|
|
42
|
+
*/
|
|
43
|
+
resourceDiscoveryTagFilters?: inputs.cloud.GetProviderAzureCredentialResourceDiscoveryTagFilter[];
|
|
44
|
+
/**
|
|
45
|
+
* The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
|
|
46
|
+
*/
|
|
47
|
+
resourceId: string;
|
|
48
|
+
stackId: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A collection of values returned by getProviderAzureCredential.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetProviderAzureCredentialResult {
|
|
54
|
+
/**
|
|
55
|
+
* The client ID of the Azure Credential.
|
|
56
|
+
*/
|
|
57
|
+
readonly clientId: string;
|
|
58
|
+
/**
|
|
59
|
+
* The client secret of the Azure Credential.
|
|
60
|
+
*/
|
|
61
|
+
readonly clientSecret: string;
|
|
62
|
+
readonly id: string;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the Azure Credential.
|
|
65
|
+
*/
|
|
66
|
+
readonly name: string;
|
|
67
|
+
/**
|
|
68
|
+
* The list of tag filters to apply to resources.
|
|
69
|
+
*/
|
|
70
|
+
readonly resourceDiscoveryTagFilters?: outputs.cloud.GetProviderAzureCredentialResourceDiscoveryTagFilter[];
|
|
71
|
+
/**
|
|
72
|
+
* The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
|
|
73
|
+
*/
|
|
74
|
+
readonly resourceId: string;
|
|
75
|
+
readonly stackId: string;
|
|
76
|
+
/**
|
|
77
|
+
* The tenant ID of the Azure Credential.
|
|
78
|
+
*/
|
|
79
|
+
readonly tenantId: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* ## Example Usage
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as grafana from "@pulumi/grafana";
|
|
87
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
88
|
+
*
|
|
89
|
+
* const testProviderAzureCredential = new grafana.cloud.ProviderAzureCredential("test", {
|
|
90
|
+
* stackId: "1",
|
|
91
|
+
* name: "test-name",
|
|
92
|
+
* clientId: "my-client-id",
|
|
93
|
+
* clientSecret: "my-client-secret",
|
|
94
|
+
* tenantId: "my-tenant-id",
|
|
95
|
+
* resourceDiscoveryTagFilters: [
|
|
96
|
+
* {
|
|
97
|
+
* key: "key-1",
|
|
98
|
+
* value: "value-1",
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* key: "key-2",
|
|
102
|
+
* value: "value-2",
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* });
|
|
106
|
+
* const test = grafana.cloud.getProviderAzureCredentialOutput({
|
|
107
|
+
* stackId: testProviderAzureCredential.stackId,
|
|
108
|
+
* resourceId: testProviderAzureCredential.resourceId,
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
export declare function getProviderAzureCredentialOutput(args: GetProviderAzureCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderAzureCredentialResult>;
|
|
113
|
+
/**
|
|
114
|
+
* A collection of arguments for invoking getProviderAzureCredential.
|
|
115
|
+
*/
|
|
116
|
+
export interface GetProviderAzureCredentialOutputArgs {
|
|
117
|
+
/**
|
|
118
|
+
* The list of tag filters to apply to resources.
|
|
119
|
+
*/
|
|
120
|
+
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAzureCredentialResourceDiscoveryTagFilterArgs>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
|
|
123
|
+
*/
|
|
124
|
+
resourceId: pulumi.Input<string>;
|
|
125
|
+
stackId: pulumi.Input<string>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.getProviderAzureCredentialOutput = exports.getProviderAzureCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as grafana from "@pulumi/grafana";
|
|
14
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
15
|
+
*
|
|
16
|
+
* const testProviderAzureCredential = new grafana.cloud.ProviderAzureCredential("test", {
|
|
17
|
+
* stackId: "1",
|
|
18
|
+
* name: "test-name",
|
|
19
|
+
* clientId: "my-client-id",
|
|
20
|
+
* clientSecret: "my-client-secret",
|
|
21
|
+
* tenantId: "my-tenant-id",
|
|
22
|
+
* resourceDiscoveryTagFilters: [
|
|
23
|
+
* {
|
|
24
|
+
* key: "key-1",
|
|
25
|
+
* value: "value-1",
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* key: "key-2",
|
|
29
|
+
* value: "value-2",
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* });
|
|
33
|
+
* const test = grafana.cloud.getProviderAzureCredentialOutput({
|
|
34
|
+
* stackId: testProviderAzureCredential.stackId,
|
|
35
|
+
* resourceId: testProviderAzureCredential.resourceId,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getProviderAzureCredential(args, opts) {
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invoke("grafana:cloud/getProviderAzureCredential:getProviderAzureCredential", {
|
|
42
|
+
"resourceDiscoveryTagFilters": args.resourceDiscoveryTagFilters,
|
|
43
|
+
"resourceId": args.resourceId,
|
|
44
|
+
"stackId": args.stackId,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getProviderAzureCredential = getProviderAzureCredential;
|
|
48
|
+
/**
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as grafana from "@pulumi/grafana";
|
|
54
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
55
|
+
*
|
|
56
|
+
* const testProviderAzureCredential = new grafana.cloud.ProviderAzureCredential("test", {
|
|
57
|
+
* stackId: "1",
|
|
58
|
+
* name: "test-name",
|
|
59
|
+
* clientId: "my-client-id",
|
|
60
|
+
* clientSecret: "my-client-secret",
|
|
61
|
+
* tenantId: "my-tenant-id",
|
|
62
|
+
* resourceDiscoveryTagFilters: [
|
|
63
|
+
* {
|
|
64
|
+
* key: "key-1",
|
|
65
|
+
* value: "value-1",
|
|
66
|
+
* },
|
|
67
|
+
* {
|
|
68
|
+
* key: "key-2",
|
|
69
|
+
* value: "value-2",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* });
|
|
73
|
+
* const test = grafana.cloud.getProviderAzureCredentialOutput({
|
|
74
|
+
* stackId: testProviderAzureCredential.stackId,
|
|
75
|
+
* resourceId: testProviderAzureCredential.resourceId,
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
function getProviderAzureCredentialOutput(args, opts) {
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
81
|
+
return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAzureCredential:getProviderAzureCredential", {
|
|
82
|
+
"resourceDiscoveryTagFilters": args.resourceDiscoveryTagFilters,
|
|
83
|
+
"resourceId": args.resourceId,
|
|
84
|
+
"stackId": args.stackId,
|
|
85
|
+
}, opts);
|
|
86
|
+
}
|
|
87
|
+
exports.getProviderAzureCredentialOutput = getProviderAzureCredentialOutput;
|
|
88
|
+
//# sourceMappingURL=getProviderAzureCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProviderAzureCredential.js","sourceRoot":"","sources":["../../cloud/getProviderAzureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qEAAqE,EAAE;QACtG,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC"}
|
package/cloud/index.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export declare const getProviderAwsCloudwatchScrapeJobOutput: typeof import("./g
|
|
|
22
22
|
export { GetProviderAwsCloudwatchScrapeJobsArgs, GetProviderAwsCloudwatchScrapeJobsResult, GetProviderAwsCloudwatchScrapeJobsOutputArgs } from "./getProviderAwsCloudwatchScrapeJobs";
|
|
23
23
|
export declare const getProviderAwsCloudwatchScrapeJobs: typeof import("./getProviderAwsCloudwatchScrapeJobs").getProviderAwsCloudwatchScrapeJobs;
|
|
24
24
|
export declare const getProviderAwsCloudwatchScrapeJobsOutput: typeof import("./getProviderAwsCloudwatchScrapeJobs").getProviderAwsCloudwatchScrapeJobsOutput;
|
|
25
|
+
export { GetProviderAzureCredentialArgs, GetProviderAzureCredentialResult, GetProviderAzureCredentialOutputArgs } from "./getProviderAzureCredential";
|
|
26
|
+
export declare const getProviderAzureCredential: typeof import("./getProviderAzureCredential").getProviderAzureCredential;
|
|
27
|
+
export declare const getProviderAzureCredentialOutput: typeof import("./getProviderAzureCredential").getProviderAzureCredentialOutput;
|
|
25
28
|
export { GetStackArgs, GetStackResult, GetStackOutputArgs } from "./getStack";
|
|
26
29
|
export declare const getStack: typeof import("./getStack").getStack;
|
|
27
30
|
export declare const getStackOutput: typeof import("./getStack").getStackOutput;
|
|
@@ -37,6 +40,9 @@ export declare const ProviderAwsAccount: typeof import("./providerAwsAccount").P
|
|
|
37
40
|
export { ProviderAwsCloudwatchScrapeJobArgs, ProviderAwsCloudwatchScrapeJobState } from "./providerAwsCloudwatchScrapeJob";
|
|
38
41
|
export type ProviderAwsCloudwatchScrapeJob = import("./providerAwsCloudwatchScrapeJob").ProviderAwsCloudwatchScrapeJob;
|
|
39
42
|
export declare const ProviderAwsCloudwatchScrapeJob: typeof import("./providerAwsCloudwatchScrapeJob").ProviderAwsCloudwatchScrapeJob;
|
|
43
|
+
export { ProviderAzureCredentialArgs, ProviderAzureCredentialState } from "./providerAzureCredential";
|
|
44
|
+
export type ProviderAzureCredential = import("./providerAzureCredential").ProviderAzureCredential;
|
|
45
|
+
export declare const ProviderAzureCredential: typeof import("./providerAzureCredential").ProviderAzureCredential;
|
|
40
46
|
export { StackArgs, StackState } from "./stack";
|
|
41
47
|
export type Stack = import("./stack").Stack;
|
|
42
48
|
export declare const Stack: typeof import("./stack").Stack;
|
package/cloud/index.js
CHANGED
|
@@ -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.StackServiceAccountToken = exports.StackServiceAccount = exports.Stack = exports.ProviderAwsCloudwatchScrapeJob = exports.ProviderAwsAccount = exports.PluginInstallation = exports.OrgMember = exports.getStackOutput = exports.getStack = exports.getProviderAwsCloudwatchScrapeJobsOutput = exports.getProviderAwsCloudwatchScrapeJobs = exports.getProviderAwsCloudwatchScrapeJobOutput = exports.getProviderAwsCloudwatchScrapeJob = exports.getProviderAwsAccountOutput = exports.getProviderAwsAccount = exports.getOrganizationOutput = exports.getOrganization = exports.getIpsOutput = exports.getIps = exports.getAccessPoliciesOutput = exports.getAccessPolicies = exports.AccessPolicyToken = exports.AccessPolicy = void 0;
|
|
5
|
+
exports.StackServiceAccountToken = exports.StackServiceAccount = exports.Stack = exports.ProviderAzureCredential = exports.ProviderAwsCloudwatchScrapeJob = exports.ProviderAwsAccount = exports.PluginInstallation = exports.OrgMember = exports.getStackOutput = exports.getStack = exports.getProviderAzureCredentialOutput = exports.getProviderAzureCredential = exports.getProviderAwsCloudwatchScrapeJobsOutput = exports.getProviderAwsCloudwatchScrapeJobs = exports.getProviderAwsCloudwatchScrapeJobOutput = exports.getProviderAwsCloudwatchScrapeJob = exports.getProviderAwsAccountOutput = exports.getProviderAwsAccount = exports.getOrganizationOutput = exports.getOrganization = exports.getIpsOutput = exports.getIps = exports.getAccessPoliciesOutput = exports.getAccessPolicies = exports.AccessPolicyToken = exports.AccessPolicy = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AccessPolicy = null;
|
|
@@ -27,6 +27,9 @@ utilities.lazyLoad(exports, ["getProviderAwsCloudwatchScrapeJob", "getProviderAw
|
|
|
27
27
|
exports.getProviderAwsCloudwatchScrapeJobs = null;
|
|
28
28
|
exports.getProviderAwsCloudwatchScrapeJobsOutput = null;
|
|
29
29
|
utilities.lazyLoad(exports, ["getProviderAwsCloudwatchScrapeJobs", "getProviderAwsCloudwatchScrapeJobsOutput"], () => require("./getProviderAwsCloudwatchScrapeJobs"));
|
|
30
|
+
exports.getProviderAzureCredential = null;
|
|
31
|
+
exports.getProviderAzureCredentialOutput = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["getProviderAzureCredential", "getProviderAzureCredentialOutput"], () => require("./getProviderAzureCredential"));
|
|
30
33
|
exports.getStack = null;
|
|
31
34
|
exports.getStackOutput = null;
|
|
32
35
|
utilities.lazyLoad(exports, ["getStack", "getStackOutput"], () => require("./getStack"));
|
|
@@ -38,6 +41,8 @@ exports.ProviderAwsAccount = null;
|
|
|
38
41
|
utilities.lazyLoad(exports, ["ProviderAwsAccount"], () => require("./providerAwsAccount"));
|
|
39
42
|
exports.ProviderAwsCloudwatchScrapeJob = null;
|
|
40
43
|
utilities.lazyLoad(exports, ["ProviderAwsCloudwatchScrapeJob"], () => require("./providerAwsCloudwatchScrapeJob"));
|
|
44
|
+
exports.ProviderAzureCredential = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["ProviderAzureCredential"], () => require("./providerAzureCredential"));
|
|
41
46
|
exports.Stack = null;
|
|
42
47
|
utilities.lazyLoad(exports, ["Stack"], () => require("./stack"));
|
|
43
48
|
exports.StackServiceAccount = null;
|
|
@@ -60,6 +65,8 @@ const _module = {
|
|
|
60
65
|
return new exports.ProviderAwsAccount(name, undefined, { urn });
|
|
61
66
|
case "grafana:cloud/providerAwsCloudwatchScrapeJob:ProviderAwsCloudwatchScrapeJob":
|
|
62
67
|
return new exports.ProviderAwsCloudwatchScrapeJob(name, undefined, { urn });
|
|
68
|
+
case "grafana:cloud/providerAzureCredential:ProviderAzureCredential":
|
|
69
|
+
return new exports.ProviderAzureCredential(name, undefined, { urn });
|
|
63
70
|
case "grafana:cloud/stack:Stack":
|
|
64
71
|
return new exports.Stack(name, undefined, { urn });
|
|
65
72
|
case "grafana:cloud/stackServiceAccount:StackServiceAccount":
|
|
@@ -77,6 +84,7 @@ pulumi.runtime.registerResourceModule("grafana", "cloud/orgMember", _module);
|
|
|
77
84
|
pulumi.runtime.registerResourceModule("grafana", "cloud/pluginInstallation", _module);
|
|
78
85
|
pulumi.runtime.registerResourceModule("grafana", "cloud/providerAwsAccount", _module);
|
|
79
86
|
pulumi.runtime.registerResourceModule("grafana", "cloud/providerAwsCloudwatchScrapeJob", _module);
|
|
87
|
+
pulumi.runtime.registerResourceModule("grafana", "cloud/providerAzureCredential", _module);
|
|
80
88
|
pulumi.runtime.registerResourceModule("grafana", "cloud/stack", _module);
|
|
81
89
|
pulumi.runtime.registerResourceModule("grafana", "cloud/stackServiceAccount", _module);
|
|
82
90
|
pulumi.runtime.registerResourceModule("grafana", "cloud/stackServiceAccountToken", _module);
|
package/cloud/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloud/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,C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,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA;AACjG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const test = new grafana.cloud.ProviderAzureCredential("test", {
|
|
12
|
+
* stackId: "1",
|
|
13
|
+
* name: "test-name",
|
|
14
|
+
* clientId: "my-client-id",
|
|
15
|
+
* clientSecret: "my-client-secret",
|
|
16
|
+
* tenantId: "my-tenant-id",
|
|
17
|
+
* resourceDiscoveryTagFilters: [
|
|
18
|
+
* {
|
|
19
|
+
* key: "key-1",
|
|
20
|
+
* value: "value-1",
|
|
21
|
+
* },
|
|
22
|
+
* {
|
|
23
|
+
* key: "key-2",
|
|
24
|
+
* value: "value-2",
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import grafana:cloud/providerAzureCredential:ProviderAzureCredential name "{{ stack_id }}:{{ resource_id }}"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class ProviderAzureCredential extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ProviderAzureCredential resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProviderAzureCredentialState, opts?: pulumi.CustomResourceOptions): ProviderAzureCredential;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ProviderAzureCredential. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is ProviderAzureCredential;
|
|
52
|
+
/**
|
|
53
|
+
* The client ID of the Azure Credential.
|
|
54
|
+
*/
|
|
55
|
+
readonly clientId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The client secret of the Azure Credential.
|
|
58
|
+
*/
|
|
59
|
+
readonly clientSecret: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the Azure Credential.
|
|
62
|
+
*/
|
|
63
|
+
readonly name: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The list of tag filters to apply to resources.
|
|
66
|
+
*/
|
|
67
|
+
readonly resourceDiscoveryTagFilters: pulumi.Output<outputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter[] | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* The ID given by the Grafana Cloud Provider API to this AWS Account resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly resourceId: pulumi.Output<string>;
|
|
72
|
+
readonly stackId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The tenant ID of the Azure Credential.
|
|
75
|
+
*/
|
|
76
|
+
readonly tenantId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a ProviderAzureCredential resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: ProviderAzureCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering ProviderAzureCredential resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface ProviderAzureCredentialState {
|
|
90
|
+
/**
|
|
91
|
+
* The client ID of the Azure Credential.
|
|
92
|
+
*/
|
|
93
|
+
clientId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The client secret of the Azure Credential.
|
|
96
|
+
*/
|
|
97
|
+
clientSecret?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the Azure Credential.
|
|
100
|
+
*/
|
|
101
|
+
name?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The list of tag filters to apply to resources.
|
|
104
|
+
*/
|
|
105
|
+
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID given by the Grafana Cloud Provider API to this AWS Account resource.
|
|
108
|
+
*/
|
|
109
|
+
resourceId?: pulumi.Input<string>;
|
|
110
|
+
stackId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The tenant ID of the Azure Credential.
|
|
113
|
+
*/
|
|
114
|
+
tenantId?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a ProviderAzureCredential resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface ProviderAzureCredentialArgs {
|
|
120
|
+
/**
|
|
121
|
+
* The client ID of the Azure Credential.
|
|
122
|
+
*/
|
|
123
|
+
clientId: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The client secret of the Azure Credential.
|
|
126
|
+
*/
|
|
127
|
+
clientSecret: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The name of the Azure Credential.
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The list of tag filters to apply to resources.
|
|
134
|
+
*/
|
|
135
|
+
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
|
|
136
|
+
stackId: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The tenant ID of the Azure Credential.
|
|
139
|
+
*/
|
|
140
|
+
tenantId: pulumi.Input<string>;
|
|
141
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.ProviderAzureCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
14
|
+
*
|
|
15
|
+
* const test = new grafana.cloud.ProviderAzureCredential("test", {
|
|
16
|
+
* stackId: "1",
|
|
17
|
+
* name: "test-name",
|
|
18
|
+
* clientId: "my-client-id",
|
|
19
|
+
* clientSecret: "my-client-secret",
|
|
20
|
+
* tenantId: "my-tenant-id",
|
|
21
|
+
* resourceDiscoveryTagFilters: [
|
|
22
|
+
* {
|
|
23
|
+
* key: "key-1",
|
|
24
|
+
* value: "value-1",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* key: "key-2",
|
|
28
|
+
* value: "value-2",
|
|
29
|
+
* },
|
|
30
|
+
* ],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import grafana:cloud/providerAzureCredential:ProviderAzureCredential name "{{ stack_id }}:{{ resource_id }}"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class ProviderAzureCredential extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ProviderAzureCredential resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new ProviderAzureCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of ProviderAzureCredential. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === ProviderAzureCredential.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["clientId"] = state ? state.clientId : undefined;
|
|
69
|
+
resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
|
|
70
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
71
|
+
resourceInputs["resourceDiscoveryTagFilters"] = state ? state.resourceDiscoveryTagFilters : undefined;
|
|
72
|
+
resourceInputs["resourceId"] = state ? state.resourceId : undefined;
|
|
73
|
+
resourceInputs["stackId"] = state ? state.stackId : undefined;
|
|
74
|
+
resourceInputs["tenantId"] = state ? state.tenantId : undefined;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const args = argsOrState;
|
|
78
|
+
if ((!args || args.clientId === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'clientId'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.clientSecret === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'clientSecret'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.stackId === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'stackId'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.tenantId === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'tenantId'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["clientId"] = args ? args.clientId : undefined;
|
|
91
|
+
resourceInputs["clientSecret"] = (args === null || args === void 0 ? void 0 : args.clientSecret) ? pulumi.secret(args.clientSecret) : undefined;
|
|
92
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
93
|
+
resourceInputs["resourceDiscoveryTagFilters"] = args ? args.resourceDiscoveryTagFilters : undefined;
|
|
94
|
+
resourceInputs["stackId"] = args ? args.stackId : undefined;
|
|
95
|
+
resourceInputs["tenantId"] = args ? args.tenantId : undefined;
|
|
96
|
+
resourceInputs["resourceId"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
const secretOpts = { additionalSecretOutputs: ["clientSecret"] };
|
|
100
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
101
|
+
super(ProviderAzureCredential.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ProviderAzureCredential = ProviderAzureCredential;
|
|
105
|
+
/** @internal */
|
|
106
|
+
ProviderAzureCredential.__pulumiType = 'grafana:cloud/providerAzureCredential:ProviderAzureCredential';
|
|
107
|
+
//# sourceMappingURL=providerAzureCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providerAzureCredential.js","sourceRoot":"","sources":["../../cloud/providerAzureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,uBAAwB,SAAQ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I,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AApGL,0DAqGC;AAvFG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/grafana",
|
|
3
|
-
"version": "0.10.0
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing grafana.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "grafana",
|
|
27
|
-
"version": "0.10.0
|
|
27
|
+
"version": "0.10.0",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -4460,6 +4460,26 @@ export declare namespace cloud {
|
|
|
4460
4460
|
*/
|
|
4461
4461
|
value?: pulumi.Input<string>;
|
|
4462
4462
|
}
|
|
4463
|
+
interface GetProviderAzureCredentialResourceDiscoveryTagFilter {
|
|
4464
|
+
/**
|
|
4465
|
+
* The key of the tag filter.
|
|
4466
|
+
*/
|
|
4467
|
+
key?: string;
|
|
4468
|
+
/**
|
|
4469
|
+
* The value of the tag filter.
|
|
4470
|
+
*/
|
|
4471
|
+
value?: string;
|
|
4472
|
+
}
|
|
4473
|
+
interface GetProviderAzureCredentialResourceDiscoveryTagFilterArgs {
|
|
4474
|
+
/**
|
|
4475
|
+
* The key of the tag filter.
|
|
4476
|
+
*/
|
|
4477
|
+
key?: pulumi.Input<string>;
|
|
4478
|
+
/**
|
|
4479
|
+
* The value of the tag filter.
|
|
4480
|
+
*/
|
|
4481
|
+
value?: pulumi.Input<string>;
|
|
4482
|
+
}
|
|
4463
4483
|
interface ProviderAwsCloudwatchScrapeJobCustomNamespace {
|
|
4464
4484
|
/**
|
|
4465
4485
|
* One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
|
|
@@ -4526,6 +4546,16 @@ export declare namespace cloud {
|
|
|
4526
4546
|
*/
|
|
4527
4547
|
value: pulumi.Input<string>;
|
|
4528
4548
|
}
|
|
4549
|
+
interface ProviderAzureCredentialResourceDiscoveryTagFilter {
|
|
4550
|
+
/**
|
|
4551
|
+
* The key of the tag filter.
|
|
4552
|
+
*/
|
|
4553
|
+
key: pulumi.Input<string>;
|
|
4554
|
+
/**
|
|
4555
|
+
* The value of the tag filter.
|
|
4556
|
+
*/
|
|
4557
|
+
value: pulumi.Input<string>;
|
|
4558
|
+
}
|
|
4529
4559
|
}
|
|
4530
4560
|
export declare namespace enterprise {
|
|
4531
4561
|
interface DataSourcePermissionPermission {
|
package/types/output.d.ts
CHANGED
|
@@ -4584,6 +4584,16 @@ export declare namespace cloud {
|
|
|
4584
4584
|
*/
|
|
4585
4585
|
value: string;
|
|
4586
4586
|
}
|
|
4587
|
+
interface GetProviderAzureCredentialResourceDiscoveryTagFilter {
|
|
4588
|
+
/**
|
|
4589
|
+
* The key of the tag filter.
|
|
4590
|
+
*/
|
|
4591
|
+
key: string;
|
|
4592
|
+
/**
|
|
4593
|
+
* The value of the tag filter.
|
|
4594
|
+
*/
|
|
4595
|
+
value: string;
|
|
4596
|
+
}
|
|
4587
4597
|
interface ProviderAwsCloudwatchScrapeJobCustomNamespace {
|
|
4588
4598
|
/**
|
|
4589
4599
|
* One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
|
|
@@ -4650,6 +4660,16 @@ export declare namespace cloud {
|
|
|
4650
4660
|
*/
|
|
4651
4661
|
value: string;
|
|
4652
4662
|
}
|
|
4663
|
+
interface ProviderAzureCredentialResourceDiscoveryTagFilter {
|
|
4664
|
+
/**
|
|
4665
|
+
* The key of the tag filter.
|
|
4666
|
+
*/
|
|
4667
|
+
key: string;
|
|
4668
|
+
/**
|
|
4669
|
+
* The value of the tag filter.
|
|
4670
|
+
*/
|
|
4671
|
+
value: string;
|
|
4672
|
+
}
|
|
4653
4673
|
}
|
|
4654
4674
|
export declare namespace enterprise {
|
|
4655
4675
|
interface DataSourcePermissionPermission {
|