@pulumiverse/grafana 0.13.0-alpha.1740553913 → 0.13.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/getProviderAwsAccount.d.ts +6 -4
- package/cloud/getProviderAwsAccount.js +8 -4
- package/cloud/getProviderAwsAccount.js.map +1 -1
- package/cloud/getProviderAwsCloudwatchScrapeJob.d.ts +25 -9
- package/cloud/getProviderAwsCloudwatchScrapeJob.js +20 -8
- package/cloud/getProviderAwsCloudwatchScrapeJob.js.map +1 -1
- package/cloud/getProviderAwsCloudwatchScrapeJobs.d.ts +4 -2
- package/cloud/getProviderAwsCloudwatchScrapeJobs.js +6 -2
- package/cloud/getProviderAwsCloudwatchScrapeJobs.js.map +1 -1
- package/cloud/getProviderAzureCredential.d.ts +2 -0
- package/cloud/getProviderAzureCredential.js +4 -0
- package/cloud/getProviderAzureCredential.js.map +1 -1
- package/cloud/getStack.d.ts +16 -0
- package/cloud/getStack.js.map +1 -1
- package/cloud/providerAwsAccount.d.ts +4 -1
- package/cloud/providerAwsAccount.js +6 -1
- package/cloud/providerAwsAccount.js.map +1 -1
- package/cloud/providerAwsCloudwatchScrapeJob.d.ts +31 -6
- package/cloud/providerAwsCloudwatchScrapeJob.js +14 -3
- package/cloud/providerAwsCloudwatchScrapeJob.js.map +1 -1
- package/cloud/providerAzureCredential.d.ts +3 -0
- package/cloud/providerAzureCredential.js +5 -0
- package/cloud/providerAzureCredential.js.map +1 -1
- package/cloud/stack.d.ts +32 -0
- package/cloud/stack.js +8 -0
- package/cloud/stack.js.map +1 -1
- package/cloudStack.d.ts +32 -0
- package/cloudStack.js +8 -0
- package/cloudStack.js.map +1 -1
- package/cloudprovider/awsAccount.d.ts +115 -0
- package/cloudprovider/awsAccount.js +100 -0
- package/cloudprovider/awsAccount.js.map +1 -0
- package/cloudprovider/awsCloudwatchScrapeJob.d.ts +214 -0
- package/cloudprovider/awsCloudwatchScrapeJob.js +147 -0
- package/cloudprovider/awsCloudwatchScrapeJob.js.map +1 -0
- package/cloudprovider/azureCredential.d.ts +142 -0
- package/cloudprovider/azureCredential.js +90 -0
- package/cloudprovider/azureCredential.js.map +1 -0
- package/cloudprovider/getAwsAccount.d.ts +96 -0
- package/cloudprovider/getAwsAccount.js +74 -0
- package/cloudprovider/getAwsAccount.js.map +1 -0
- package/cloudprovider/getAwsCloudwatchScrapeJob.d.ts +225 -0
- package/cloudprovider/getAwsCloudwatchScrapeJob.js +168 -0
- package/cloudprovider/getAwsCloudwatchScrapeJob.js.map +1 -0
- package/cloudprovider/getAwsCloudwatchScrapeJobs.d.ts +66 -0
- package/cloudprovider/getAwsCloudwatchScrapeJobs.js +54 -0
- package/cloudprovider/getAwsCloudwatchScrapeJobs.js.map +1 -0
- package/cloudprovider/getAzureCredential.d.ts +86 -0
- package/cloudprovider/getAzureCredential.js +34 -0
- package/cloudprovider/getAzureCredential.js.map +1 -0
- package/cloudprovider/index.d.ts +21 -0
- package/cloudprovider/index.js +44 -0
- package/cloudprovider/index.js.map +1 -0
- package/config/vars.d.ts +10 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/connections/getMetricsEndpointScrapeJob.d.ts +79 -0
- package/connections/getMetricsEndpointScrapeJob.js +50 -0
- package/connections/getMetricsEndpointScrapeJob.js.map +1 -0
- package/connections/index.d.ts +6 -0
- package/connections/index.js +25 -0
- package/connections/index.js.map +1 -0
- package/connections/metricsEndpointScrapeJob.d.ts +151 -0
- package/connections/metricsEndpointScrapeJob.js +103 -0
- package/connections/metricsEndpointScrapeJob.js.map +1 -0
- package/connectionsMetricsEndpointScrapeJob.d.ts +4 -1
- package/connectionsMetricsEndpointScrapeJob.js +6 -1
- package/connectionsMetricsEndpointScrapeJob.js.map +1 -1
- package/fleetmanagement/collector.d.ts +85 -0
- package/fleetmanagement/collector.js +70 -0
- package/fleetmanagement/collector.js.map +1 -0
- package/fleetmanagement/index.d.ts +6 -0
- package/fleetmanagement/index.js +27 -0
- package/fleetmanagement/index.js.map +1 -0
- package/fleetmanagement/pipeline.d.ts +103 -0
- package/fleetmanagement/pipeline.js +77 -0
- package/fleetmanagement/pipeline.js.map +1 -0
- package/getCloudStack.d.ts +16 -0
- package/getCloudStack.js.map +1 -1
- package/getConnectionsMetricsEndpointScrapeJob.d.ts +4 -2
- package/getConnectionsMetricsEndpointScrapeJob.js +6 -2
- package/getConnectionsMetricsEndpointScrapeJob.js.map +1 -1
- package/getOncallEscalationChain.d.ts +2 -2
- package/getOncallEscalationChain.js +2 -2
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/machineLearningJob.d.ts +38 -0
- package/machineLearningJob.js +38 -0
- package/machineLearningJob.js.map +1 -1
- package/machinelearning/job.d.ts +38 -0
- package/machinelearning/job.js +38 -0
- package/machinelearning/job.js.map +1 -1
- package/oncall/getEscalationChain.d.ts +2 -2
- package/oncall/getEscalationChain.js +2 -2
- package/package.json +2 -2
- package/provider.d.ts +20 -0
- package/provider.js +3 -1
- package/provider.js.map +1 -1
- package/types/input.d.ts +533 -8
- package/types/output.d.ts +318 -7
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* const test = grafana.cloud.getStack({
|
|
11
11
|
* slug: "gcloudstacktest",
|
|
12
12
|
* });
|
|
13
|
-
* const
|
|
13
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
14
14
|
* stackId: test.then(test => test.id),
|
|
15
15
|
* roleArn: testAwsIamRole.arn,
|
|
16
16
|
* regions: [
|
|
@@ -18,12 +18,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* "eu-west-3",
|
|
19
19
|
* ],
|
|
20
20
|
* });
|
|
21
|
-
* const
|
|
21
|
+
* const testGetAwsAccount = pulumi.all([test, testAwsAccount.resourceId]).apply(([test, resourceId]) => grafana.cloudProvider.getAwsAccountOutput({
|
|
22
22
|
* stackId: test.id,
|
|
23
23
|
* resourceId: resourceId,
|
|
24
24
|
* }));
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
+
/** @deprecated grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount */
|
|
27
28
|
export declare function getProviderAwsAccount(args: GetProviderAwsAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAwsAccountResult>;
|
|
28
29
|
/**
|
|
29
30
|
* A collection of arguments for invoking getProviderAwsAccount.
|
|
@@ -69,7 +70,7 @@ export interface GetProviderAwsAccountResult {
|
|
|
69
70
|
* const test = grafana.cloud.getStack({
|
|
70
71
|
* slug: "gcloudstacktest",
|
|
71
72
|
* });
|
|
72
|
-
* const
|
|
73
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
73
74
|
* stackId: test.then(test => test.id),
|
|
74
75
|
* roleArn: testAwsIamRole.arn,
|
|
75
76
|
* regions: [
|
|
@@ -77,12 +78,13 @@ export interface GetProviderAwsAccountResult {
|
|
|
77
78
|
* "eu-west-3",
|
|
78
79
|
* ],
|
|
79
80
|
* });
|
|
80
|
-
* const
|
|
81
|
+
* const testGetAwsAccount = pulumi.all([test, testAwsAccount.resourceId]).apply(([test, resourceId]) => grafana.cloudProvider.getAwsAccountOutput({
|
|
81
82
|
* stackId: test.id,
|
|
82
83
|
* resourceId: resourceId,
|
|
83
84
|
* }));
|
|
84
85
|
* ```
|
|
85
86
|
*/
|
|
87
|
+
/** @deprecated grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount */
|
|
86
88
|
export declare function getProviderAwsAccountOutput(args: GetProviderAwsAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderAwsAccountResult>;
|
|
87
89
|
/**
|
|
88
90
|
* A collection of arguments for invoking getProviderAwsAccount.
|
|
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* const test = grafana.cloud.getStack({
|
|
17
17
|
* slug: "gcloudstacktest",
|
|
18
18
|
* });
|
|
19
|
-
* const
|
|
19
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
20
20
|
* stackId: test.then(test => test.id),
|
|
21
21
|
* roleArn: testAwsIamRole.arn,
|
|
22
22
|
* regions: [
|
|
@@ -24,13 +24,15 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* "eu-west-3",
|
|
25
25
|
* ],
|
|
26
26
|
* });
|
|
27
|
-
* const
|
|
27
|
+
* const testGetAwsAccount = pulumi.all([test, testAwsAccount.resourceId]).apply(([test, resourceId]) => grafana.cloudProvider.getAwsAccountOutput({
|
|
28
28
|
* stackId: test.id,
|
|
29
29
|
* resourceId: resourceId,
|
|
30
30
|
* }));
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
+
/** @deprecated grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount */
|
|
33
34
|
function getProviderAwsAccount(args, opts) {
|
|
35
|
+
pulumi.log.warn("getProviderAwsAccount is deprecated: grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount");
|
|
34
36
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
37
|
return pulumi.runtime.invoke("grafana:cloud/getProviderAwsAccount:getProviderAwsAccount", {
|
|
36
38
|
"resourceId": args.resourceId,
|
|
@@ -49,7 +51,7 @@ exports.getProviderAwsAccount = getProviderAwsAccount;
|
|
|
49
51
|
* const test = grafana.cloud.getStack({
|
|
50
52
|
* slug: "gcloudstacktest",
|
|
51
53
|
* });
|
|
52
|
-
* const
|
|
54
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
53
55
|
* stackId: test.then(test => test.id),
|
|
54
56
|
* roleArn: testAwsIamRole.arn,
|
|
55
57
|
* regions: [
|
|
@@ -57,13 +59,15 @@ exports.getProviderAwsAccount = getProviderAwsAccount;
|
|
|
57
59
|
* "eu-west-3",
|
|
58
60
|
* ],
|
|
59
61
|
* });
|
|
60
|
-
* const
|
|
62
|
+
* const testGetAwsAccount = pulumi.all([test, testAwsAccount.resourceId]).apply(([test, resourceId]) => grafana.cloudProvider.getAwsAccountOutput({
|
|
61
63
|
* stackId: test.id,
|
|
62
64
|
* resourceId: resourceId,
|
|
63
65
|
* }));
|
|
64
66
|
* ```
|
|
65
67
|
*/
|
|
68
|
+
/** @deprecated grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount */
|
|
66
69
|
function getProviderAwsAccountOutput(args, opts) {
|
|
70
|
+
pulumi.log.warn("getProviderAwsAccount is deprecated: grafana.cloud/getproviderawsaccount.getProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/getawsaccount.getAwsAccount");
|
|
67
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
68
72
|
return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAwsAccount:getProviderAwsAccount", {
|
|
69
73
|
"resourceId": args.resourceId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProviderAwsAccount.js","sourceRoot":"","sources":["../../cloud/getProviderAwsAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getProviderAwsAccount.js","sourceRoot":"","sources":["../../cloud/getProviderAwsAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8JAA8J;AAC9J,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kLAAkL,CAAC,CAAA;IACnM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAoCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8JAA8J;AAC9J,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kLAAkL,CAAC,CAAA;IACnM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2DAA2D,EAAE;QAC5F,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
|
@@ -16,7 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* const testGetRole = aws.iam.getRole({
|
|
17
17
|
* name: "my-role",
|
|
18
18
|
* });
|
|
19
|
-
* const
|
|
19
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
20
20
|
* stackId: test.then(test => test.id),
|
|
21
21
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
22
22
|
* regions: [
|
|
@@ -25,10 +25,10 @@ import * as outputs from "../types/output";
|
|
|
25
25
|
* "us-west-1",
|
|
26
26
|
* ],
|
|
27
27
|
* });
|
|
28
|
-
* const
|
|
28
|
+
* const testAwsCloudwatchScrapeJob = new grafana.cloudprovider.AwsCloudwatchScrapeJob("test", {
|
|
29
29
|
* stackId: test.then(test => test.id),
|
|
30
30
|
* name: "my-cloudwatch-scrape-job",
|
|
31
|
-
* awsAccountResourceId:
|
|
31
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
32
32
|
* exportTags: true,
|
|
33
33
|
* services: [{
|
|
34
34
|
* name: "AWS/EC2",
|
|
@@ -60,13 +60,18 @@ import * as outputs from "../types/output";
|
|
|
60
60
|
* }],
|
|
61
61
|
* scrapeIntervalSeconds: 300,
|
|
62
62
|
* }],
|
|
63
|
+
* staticLabels: {
|
|
64
|
+
* label1: "value1",
|
|
65
|
+
* label2: "value2",
|
|
66
|
+
* },
|
|
63
67
|
* });
|
|
64
|
-
* const
|
|
68
|
+
* const testGetAwsCloudwatchScrapeJob = pulumi.all([test, testAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloudProvider.getAwsCloudwatchScrapeJobOutput({
|
|
65
69
|
* stackId: test.id,
|
|
66
70
|
* name: name,
|
|
67
71
|
* }));
|
|
68
72
|
* ```
|
|
69
73
|
*/
|
|
74
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob */
|
|
70
75
|
export declare function getProviderAwsCloudwatchScrapeJob(args: GetProviderAwsCloudwatchScrapeJobArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAwsCloudwatchScrapeJobResult>;
|
|
71
76
|
/**
|
|
72
77
|
* A collection of arguments for invoking getProviderAwsCloudwatchScrapeJob.
|
|
@@ -88,7 +93,7 @@ export interface GetProviderAwsCloudwatchScrapeJobArgs {
|
|
|
88
93
|
*/
|
|
89
94
|
export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
90
95
|
/**
|
|
91
|
-
* The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.
|
|
96
|
+
* The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
|
|
92
97
|
*/
|
|
93
98
|
readonly awsAccountResourceId: string;
|
|
94
99
|
/**
|
|
@@ -126,6 +131,12 @@ export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
|
126
131
|
*/
|
|
127
132
|
readonly services?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobService[];
|
|
128
133
|
readonly stackId: string;
|
|
134
|
+
/**
|
|
135
|
+
* A set of static labels to add to all metrics exported by this scrape job.
|
|
136
|
+
*/
|
|
137
|
+
readonly staticLabels: {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
129
140
|
}
|
|
130
141
|
/**
|
|
131
142
|
* ## Example Usage
|
|
@@ -142,7 +153,7 @@ export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
|
142
153
|
* const testGetRole = aws.iam.getRole({
|
|
143
154
|
* name: "my-role",
|
|
144
155
|
* });
|
|
145
|
-
* const
|
|
156
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
146
157
|
* stackId: test.then(test => test.id),
|
|
147
158
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
148
159
|
* regions: [
|
|
@@ -151,10 +162,10 @@ export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
|
151
162
|
* "us-west-1",
|
|
152
163
|
* ],
|
|
153
164
|
* });
|
|
154
|
-
* const
|
|
165
|
+
* const testAwsCloudwatchScrapeJob = new grafana.cloudprovider.AwsCloudwatchScrapeJob("test", {
|
|
155
166
|
* stackId: test.then(test => test.id),
|
|
156
167
|
* name: "my-cloudwatch-scrape-job",
|
|
157
|
-
* awsAccountResourceId:
|
|
168
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
158
169
|
* exportTags: true,
|
|
159
170
|
* services: [{
|
|
160
171
|
* name: "AWS/EC2",
|
|
@@ -186,13 +197,18 @@ export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
|
186
197
|
* }],
|
|
187
198
|
* scrapeIntervalSeconds: 300,
|
|
188
199
|
* }],
|
|
200
|
+
* staticLabels: {
|
|
201
|
+
* label1: "value1",
|
|
202
|
+
* label2: "value2",
|
|
203
|
+
* },
|
|
189
204
|
* });
|
|
190
|
-
* const
|
|
205
|
+
* const testGetAwsCloudwatchScrapeJob = pulumi.all([test, testAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloudProvider.getAwsCloudwatchScrapeJobOutput({
|
|
191
206
|
* stackId: test.id,
|
|
192
207
|
* name: name,
|
|
193
208
|
* }));
|
|
194
209
|
* ```
|
|
195
210
|
*/
|
|
211
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob */
|
|
196
212
|
export declare function getProviderAwsCloudwatchScrapeJobOutput(args: GetProviderAwsCloudwatchScrapeJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderAwsCloudwatchScrapeJobResult>;
|
|
197
213
|
/**
|
|
198
214
|
* A collection of arguments for invoking getProviderAwsCloudwatchScrapeJob.
|
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const testGetRole = aws.iam.getRole({
|
|
21
21
|
* name: "my-role",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
24
24
|
* stackId: test.then(test => test.id),
|
|
25
25
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
26
26
|
* regions: [
|
|
@@ -29,10 +29,10 @@ const utilities = require("../utilities");
|
|
|
29
29
|
* "us-west-1",
|
|
30
30
|
* ],
|
|
31
31
|
* });
|
|
32
|
-
* const
|
|
32
|
+
* const testAwsCloudwatchScrapeJob = new grafana.cloudprovider.AwsCloudwatchScrapeJob("test", {
|
|
33
33
|
* stackId: test.then(test => test.id),
|
|
34
34
|
* name: "my-cloudwatch-scrape-job",
|
|
35
|
-
* awsAccountResourceId:
|
|
35
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
36
36
|
* exportTags: true,
|
|
37
37
|
* services: [{
|
|
38
38
|
* name: "AWS/EC2",
|
|
@@ -64,14 +64,20 @@ const utilities = require("../utilities");
|
|
|
64
64
|
* }],
|
|
65
65
|
* scrapeIntervalSeconds: 300,
|
|
66
66
|
* }],
|
|
67
|
+
* staticLabels: {
|
|
68
|
+
* label1: "value1",
|
|
69
|
+
* label2: "value2",
|
|
70
|
+
* },
|
|
67
71
|
* });
|
|
68
|
-
* const
|
|
72
|
+
* const testGetAwsCloudwatchScrapeJob = pulumi.all([test, testAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloudProvider.getAwsCloudwatchScrapeJobOutput({
|
|
69
73
|
* stackId: test.id,
|
|
70
74
|
* name: name,
|
|
71
75
|
* }));
|
|
72
76
|
* ```
|
|
73
77
|
*/
|
|
78
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob */
|
|
74
79
|
function getProviderAwsCloudwatchScrapeJob(args, opts) {
|
|
80
|
+
pulumi.log.warn("getProviderAwsCloudwatchScrapeJob is deprecated: grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob");
|
|
75
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
76
82
|
return pulumi.runtime.invoke("grafana:cloud/getProviderAwsCloudwatchScrapeJob:getProviderAwsCloudwatchScrapeJob", {
|
|
77
83
|
"customNamespaces": args.customNamespaces,
|
|
@@ -96,7 +102,7 @@ exports.getProviderAwsCloudwatchScrapeJob = getProviderAwsCloudwatchScrapeJob;
|
|
|
96
102
|
* const testGetRole = aws.iam.getRole({
|
|
97
103
|
* name: "my-role",
|
|
98
104
|
* });
|
|
99
|
-
* const
|
|
105
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
100
106
|
* stackId: test.then(test => test.id),
|
|
101
107
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
102
108
|
* regions: [
|
|
@@ -105,10 +111,10 @@ exports.getProviderAwsCloudwatchScrapeJob = getProviderAwsCloudwatchScrapeJob;
|
|
|
105
111
|
* "us-west-1",
|
|
106
112
|
* ],
|
|
107
113
|
* });
|
|
108
|
-
* const
|
|
114
|
+
* const testAwsCloudwatchScrapeJob = new grafana.cloudprovider.AwsCloudwatchScrapeJob("test", {
|
|
109
115
|
* stackId: test.then(test => test.id),
|
|
110
116
|
* name: "my-cloudwatch-scrape-job",
|
|
111
|
-
* awsAccountResourceId:
|
|
117
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
112
118
|
* exportTags: true,
|
|
113
119
|
* services: [{
|
|
114
120
|
* name: "AWS/EC2",
|
|
@@ -140,14 +146,20 @@ exports.getProviderAwsCloudwatchScrapeJob = getProviderAwsCloudwatchScrapeJob;
|
|
|
140
146
|
* }],
|
|
141
147
|
* scrapeIntervalSeconds: 300,
|
|
142
148
|
* }],
|
|
149
|
+
* staticLabels: {
|
|
150
|
+
* label1: "value1",
|
|
151
|
+
* label2: "value2",
|
|
152
|
+
* },
|
|
143
153
|
* });
|
|
144
|
-
* const
|
|
154
|
+
* const testGetAwsCloudwatchScrapeJob = pulumi.all([test, testAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloudProvider.getAwsCloudwatchScrapeJobOutput({
|
|
145
155
|
* stackId: test.id,
|
|
146
156
|
* name: name,
|
|
147
157
|
* }));
|
|
148
158
|
* ```
|
|
149
159
|
*/
|
|
160
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob */
|
|
150
161
|
function getProviderAwsCloudwatchScrapeJobOutput(args, opts) {
|
|
162
|
+
pulumi.log.warn("getProviderAwsCloudwatchScrapeJob is deprecated: grafana.cloud/getproviderawscloudwatchscrapejob.getProviderAwsCloudwatchScrapeJob has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejob.getAwsCloudwatchScrapeJob");
|
|
151
163
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
152
164
|
return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAwsCloudwatchScrapeJob:getProviderAwsCloudwatchScrapeJob", {
|
|
153
165
|
"customNamespaces": args.customNamespaces,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProviderAwsCloudwatchScrapeJob.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getProviderAwsCloudwatchScrapeJob.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,i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|
@@ -11,11 +11,12 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* const test = grafana.cloud.getStack({
|
|
12
12
|
* slug: "gcloudstacktest",
|
|
13
13
|
* });
|
|
14
|
-
* const
|
|
14
|
+
* const testGetAwsCloudwatchScrapeJobs = test.then(test => grafana.cloudProvider.getAwsCloudwatchScrapeJobs({
|
|
15
15
|
* stackId: test.id,
|
|
16
16
|
* }));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs */
|
|
19
20
|
export declare function getProviderAwsCloudwatchScrapeJobs(args: GetProviderAwsCloudwatchScrapeJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAwsCloudwatchScrapeJobsResult>;
|
|
20
21
|
/**
|
|
21
22
|
* A collection of arguments for invoking getProviderAwsCloudwatchScrapeJobs.
|
|
@@ -48,11 +49,12 @@ export interface GetProviderAwsCloudwatchScrapeJobsResult {
|
|
|
48
49
|
* const test = grafana.cloud.getStack({
|
|
49
50
|
* slug: "gcloudstacktest",
|
|
50
51
|
* });
|
|
51
|
-
* const
|
|
52
|
+
* const testGetAwsCloudwatchScrapeJobs = test.then(test => grafana.cloudProvider.getAwsCloudwatchScrapeJobs({
|
|
52
53
|
* stackId: test.id,
|
|
53
54
|
* }));
|
|
54
55
|
* ```
|
|
55
56
|
*/
|
|
57
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs */
|
|
56
58
|
export declare function getProviderAwsCloudwatchScrapeJobsOutput(args: GetProviderAwsCloudwatchScrapeJobsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderAwsCloudwatchScrapeJobsResult>;
|
|
57
59
|
/**
|
|
58
60
|
* A collection of arguments for invoking getProviderAwsCloudwatchScrapeJobs.
|
|
@@ -15,12 +15,14 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* const test = grafana.cloud.getStack({
|
|
16
16
|
* slug: "gcloudstacktest",
|
|
17
17
|
* });
|
|
18
|
-
* const
|
|
18
|
+
* const testGetAwsCloudwatchScrapeJobs = test.then(test => grafana.cloudProvider.getAwsCloudwatchScrapeJobs({
|
|
19
19
|
* stackId: test.id,
|
|
20
20
|
* }));
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs */
|
|
23
24
|
function getProviderAwsCloudwatchScrapeJobs(args, opts) {
|
|
25
|
+
pulumi.log.warn("getProviderAwsCloudwatchScrapeJobs is deprecated: grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs");
|
|
24
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
27
|
return pulumi.runtime.invoke("grafana:cloud/getProviderAwsCloudwatchScrapeJobs:getProviderAwsCloudwatchScrapeJobs", {
|
|
26
28
|
"scrapeJobs": args.scrapeJobs,
|
|
@@ -38,12 +40,14 @@ exports.getProviderAwsCloudwatchScrapeJobs = getProviderAwsCloudwatchScrapeJobs;
|
|
|
38
40
|
* const test = grafana.cloud.getStack({
|
|
39
41
|
* slug: "gcloudstacktest",
|
|
40
42
|
* });
|
|
41
|
-
* const
|
|
43
|
+
* const testGetAwsCloudwatchScrapeJobs = test.then(test => grafana.cloudProvider.getAwsCloudwatchScrapeJobs({
|
|
42
44
|
* stackId: test.id,
|
|
43
45
|
* }));
|
|
44
46
|
* ```
|
|
45
47
|
*/
|
|
48
|
+
/** @deprecated grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs */
|
|
46
49
|
function getProviderAwsCloudwatchScrapeJobsOutput(args, opts) {
|
|
50
|
+
pulumi.log.warn("getProviderAwsCloudwatchScrapeJobs is deprecated: grafana.cloud/getproviderawscloudwatchscrapejobs.getProviderAwsCloudwatchScrapeJobs has been deprecated in favor of grafana.cloudprovider/getawscloudwatchscrapejobs.getAwsCloudwatchScrapeJobs");
|
|
47
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
52
|
return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAwsCloudwatchScrapeJobs:getProviderAwsCloudwatchScrapeJobs", {
|
|
49
53
|
"scrapeJobs": args.scrapeJobs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProviderAwsCloudwatchScrapeJobs.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE;QAChH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getProviderAwsCloudwatchScrapeJobs.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,kNAAkN;AAClN,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mPAAmP,CAAC,CAAA;IACpQ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE;QAChH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gFAOC;AAwBD;;;;;;;;;;;;;;GAcG;AACH,kNAAkN;AAClN,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mPAAmP,CAAC,CAAA;IACpQ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qFAAqF,EAAE;QACtH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4FAOC"}
|
|
@@ -4,6 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*/
|
|
7
|
+
/** @deprecated grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential */
|
|
7
8
|
export declare function getProviderAzureCredential(args: GetProviderAzureCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAzureCredentialResult>;
|
|
8
9
|
/**
|
|
9
10
|
* A collection of arguments for invoking getProviderAzureCredential.
|
|
@@ -65,6 +66,7 @@ export interface GetProviderAzureCredentialResult {
|
|
|
65
66
|
/**
|
|
66
67
|
* ## Example Usage
|
|
67
68
|
*/
|
|
69
|
+
/** @deprecated grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential */
|
|
68
70
|
export declare function getProviderAzureCredentialOutput(args: GetProviderAzureCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderAzureCredentialResult>;
|
|
69
71
|
/**
|
|
70
72
|
* A collection of arguments for invoking getProviderAzureCredential.
|
|
@@ -8,7 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*/
|
|
11
|
+
/** @deprecated grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential */
|
|
11
12
|
function getProviderAzureCredential(args, opts) {
|
|
13
|
+
pulumi.log.warn("getProviderAzureCredential is deprecated: grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential");
|
|
12
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
15
|
return pulumi.runtime.invoke("grafana:cloud/getProviderAzureCredential:getProviderAzureCredential", {
|
|
14
16
|
"autoDiscoveryConfigurations": args.autoDiscoveryConfigurations,
|
|
@@ -21,7 +23,9 @@ exports.getProviderAzureCredential = getProviderAzureCredential;
|
|
|
21
23
|
/**
|
|
22
24
|
* ## Example Usage
|
|
23
25
|
*/
|
|
26
|
+
/** @deprecated grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential */
|
|
24
27
|
function getProviderAzureCredentialOutput(args, opts) {
|
|
28
|
+
pulumi.log.warn("getProviderAzureCredential is deprecated: grafana.cloud/getproviderazurecredential.getProviderAzureCredential has been deprecated in favor of grafana.cloudprovider/getazurecredential.getAzureCredential");
|
|
25
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
30
|
return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAzureCredential:getProviderAzureCredential", {
|
|
27
31
|
"autoDiscoveryConfigurations": args.autoDiscoveryConfigurations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProviderAzureCredential.js","sourceRoot":"","sources":["../../cloud/getProviderAzureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;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,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;
|
|
1
|
+
{"version":3,"file":"getProviderAzureCredential.js","sourceRoot":"","sources":["../../cloud/getProviderAzureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,kLAAkL;AAClL,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2MAA2M,CAAC,CAAA;IAC5N,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,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;AATD,gEASC;AA4DD;;GAEG;AACH,kLAAkL;AAClL,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2MAA2M,CAAC,CAAA;IAC5N,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,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;AATD,4EASC"}
|
package/cloud/getStack.d.ts
CHANGED
|
@@ -59,6 +59,22 @@ export interface GetStackResult {
|
|
|
59
59
|
* Description of stack.
|
|
60
60
|
*/
|
|
61
61
|
readonly description: string;
|
|
62
|
+
/**
|
|
63
|
+
* Name of the Fleet Management instance configured for this stack.
|
|
64
|
+
*/
|
|
65
|
+
readonly fleetManagementName: string;
|
|
66
|
+
/**
|
|
67
|
+
* Status of the Fleet Management instance configured for this stack.
|
|
68
|
+
*/
|
|
69
|
+
readonly fleetManagementStatus: string;
|
|
70
|
+
/**
|
|
71
|
+
* Base URL of the Fleet Management instance configured for this stack.
|
|
72
|
+
*/
|
|
73
|
+
readonly fleetManagementUrl: string;
|
|
74
|
+
/**
|
|
75
|
+
* User ID of the Fleet Management instance configured for this stack.
|
|
76
|
+
*/
|
|
77
|
+
readonly fleetManagementUserId: number;
|
|
62
78
|
readonly graphiteName: string;
|
|
63
79
|
readonly graphiteStatus: string;
|
|
64
80
|
readonly graphiteUrl: string;
|
package/cloud/getStack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStack.js","sourceRoot":"","sources":["../../cloud/getStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;
|
|
1
|
+
{"version":3,"file":"getStack.js","sourceRoot":"","sources":["../../cloud/getStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAsJD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* const testGetRole = aws.iam.getRole({
|
|
15
15
|
* name: "my-role",
|
|
16
16
|
* });
|
|
17
|
-
* const
|
|
17
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
18
18
|
* stackId: test.then(test => test.id),
|
|
19
19
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
20
20
|
* regions: [
|
|
@@ -30,6 +30,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import grafana:cloud/providerAwsAccount:ProviderAwsAccount name "{{ stack_id }}:{{ resource_id }}"
|
|
32
32
|
* ```
|
|
33
|
+
*
|
|
34
|
+
* @deprecated grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount
|
|
33
35
|
*/
|
|
34
36
|
export declare class ProviderAwsAccount extends pulumi.CustomResource {
|
|
35
37
|
/**
|
|
@@ -71,6 +73,7 @@ export declare class ProviderAwsAccount extends pulumi.CustomResource {
|
|
|
71
73
|
* @param args The arguments to use to populate this resource's properties.
|
|
72
74
|
* @param opts A bag of options that control this resource's behavior.
|
|
73
75
|
*/
|
|
76
|
+
/** @deprecated grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount */
|
|
74
77
|
constructor(name: string, args: ProviderAwsAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
78
|
}
|
|
76
79
|
/**
|
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const testGetRole = aws.iam.getRole({
|
|
21
21
|
* name: "my-role",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
24
24
|
* stackId: test.then(test => test.id),
|
|
25
25
|
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
26
26
|
* regions: [
|
|
@@ -36,6 +36,8 @@ const utilities = require("../utilities");
|
|
|
36
36
|
* ```sh
|
|
37
37
|
* $ pulumi import grafana:cloud/providerAwsAccount:ProviderAwsAccount name "{{ stack_id }}:{{ resource_id }}"
|
|
38
38
|
* ```
|
|
39
|
+
*
|
|
40
|
+
* @deprecated grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount
|
|
39
41
|
*/
|
|
40
42
|
class ProviderAwsAccount extends pulumi.CustomResource {
|
|
41
43
|
/**
|
|
@@ -48,6 +50,7 @@ class ProviderAwsAccount extends pulumi.CustomResource {
|
|
|
48
50
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
51
|
*/
|
|
50
52
|
static get(name, id, state, opts) {
|
|
53
|
+
pulumi.log.warn("ProviderAwsAccount is deprecated: grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount");
|
|
51
54
|
return new ProviderAwsAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
55
|
}
|
|
53
56
|
/**
|
|
@@ -60,7 +63,9 @@ class ProviderAwsAccount extends pulumi.CustomResource {
|
|
|
60
63
|
}
|
|
61
64
|
return obj['__pulumiType'] === ProviderAwsAccount.__pulumiType;
|
|
62
65
|
}
|
|
66
|
+
/** @deprecated grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount */
|
|
63
67
|
constructor(name, argsOrState, opts) {
|
|
68
|
+
pulumi.log.warn("ProviderAwsAccount is deprecated: grafana.cloud/providerawsaccount.ProviderAwsAccount has been deprecated in favor of grafana.cloudprovider/awsaccount.AwsAccount");
|
|
64
69
|
let resourceInputs = {};
|
|
65
70
|
opts = opts || {};
|
|
66
71
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providerAwsAccount.js","sourceRoot":"","sources":["../../cloud/providerAwsAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"providerAwsAccount.js","sourceRoot":"","sources":["../../cloud/providerAwsAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mKAAmK,CAAC,CAAA;QACpL,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;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