@pulumiverse/grafana 0.14.0 → 0.15.0-alpha.1741163650

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.
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
5
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
6
6
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
7
7
  *
8
8
  * Required access policy scopes:
@@ -68,6 +68,10 @@ export declare class AccessPolicy extends pulumi.CustomResource {
68
68
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
69
  */
70
70
  static isInstance(obj: any): obj is AccessPolicy;
71
+ /**
72
+ * Conditions for the access policy.
73
+ */
74
+ readonly conditions: pulumi.Output<outputs.cloud.AccessPolicyCondition[] | undefined>;
71
75
  /**
72
76
  * Creation date of the access policy.
73
77
  */
@@ -90,7 +94,7 @@ export declare class AccessPolicy extends pulumi.CustomResource {
90
94
  */
91
95
  readonly region: pulumi.Output<string>;
92
96
  /**
93
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
97
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
94
98
  */
95
99
  readonly scopes: pulumi.Output<string[]>;
96
100
  /**
@@ -110,6 +114,10 @@ export declare class AccessPolicy extends pulumi.CustomResource {
110
114
  * Input properties used for looking up and filtering AccessPolicy resources.
111
115
  */
112
116
  export interface AccessPolicyState {
117
+ /**
118
+ * Conditions for the access policy.
119
+ */
120
+ conditions?: pulumi.Input<pulumi.Input<inputs.cloud.AccessPolicyCondition>[]>;
113
121
  /**
114
122
  * Creation date of the access policy.
115
123
  */
@@ -132,7 +140,7 @@ export interface AccessPolicyState {
132
140
  */
133
141
  region?: pulumi.Input<string>;
134
142
  /**
135
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
143
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
136
144
  */
137
145
  scopes?: pulumi.Input<pulumi.Input<string>[]>;
138
146
  /**
@@ -144,6 +152,10 @@ export interface AccessPolicyState {
144
152
  * The set of arguments for constructing a AccessPolicy resource.
145
153
  */
146
154
  export interface AccessPolicyArgs {
155
+ /**
156
+ * Conditions for the access policy.
157
+ */
158
+ conditions?: pulumi.Input<pulumi.Input<inputs.cloud.AccessPolicyCondition>[]>;
147
159
  /**
148
160
  * Display name of the access policy. Defaults to the name.
149
161
  */
@@ -158,7 +170,7 @@ export interface AccessPolicyArgs {
158
170
  */
159
171
  region: pulumi.Input<string>;
160
172
  /**
161
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
173
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
162
174
  */
163
175
  scopes: pulumi.Input<pulumi.Input<string>[]>;
164
176
  }
@@ -6,7 +6,7 @@ exports.AccessPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
9
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
10
10
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
11
11
  *
12
12
  * Required access policy scopes:
@@ -84,6 +84,7 @@ class AccessPolicy extends pulumi.CustomResource {
84
84
  opts = opts || {};
85
85
  if (opts.id) {
86
86
  const state = argsOrState;
87
+ resourceInputs["conditions"] = state ? state.conditions : undefined;
87
88
  resourceInputs["createdAt"] = state ? state.createdAt : undefined;
88
89
  resourceInputs["displayName"] = state ? state.displayName : undefined;
89
90
  resourceInputs["name"] = state ? state.name : undefined;
@@ -104,6 +105,7 @@ class AccessPolicy extends pulumi.CustomResource {
104
105
  if ((!args || args.scopes === undefined) && !opts.urn) {
105
106
  throw new Error("Missing required property 'scopes'");
106
107
  }
108
+ resourceInputs["conditions"] = args ? args.conditions : undefined;
107
109
  resourceInputs["displayName"] = args ? args.displayName : undefined;
108
110
  resourceInputs["name"] = args ? args.name : undefined;
109
111
  resourceInputs["realms"] = args ? args.realms : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"accessPolicy.js","sourceRoot":"","sources":["../../cloud/accessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAwCD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAA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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7GL,oCA8GC;AAhGG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
3
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
4
4
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
5
5
  *
6
6
  * Required access policy scopes:
@@ -6,7 +6,7 @@ exports.AccessPolicyToken = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
9
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
10
10
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
11
11
  *
12
12
  * Required access policy scopes:
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
3
3
  /**
4
4
  * Fetches access policies from Grafana Cloud.
5
5
  *
6
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
6
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
7
7
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
8
8
  *
9
9
  * Required access policy scopes:
@@ -33,7 +33,7 @@ export interface GetAccessPoliciesResult {
33
33
  /**
34
34
  * Fetches access policies from Grafana Cloud.
35
35
  *
36
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
36
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
37
37
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
38
38
  *
39
39
  * Required access policy scopes:
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Fetches access policies from Grafana Cloud.
10
10
  *
11
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
11
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
12
12
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
13
13
  *
14
14
  * Required access policy scopes:
@@ -27,7 +27,7 @@ exports.getAccessPolicies = getAccessPolicies;
27
27
  /**
28
28
  * Fetches access policies from Grafana Cloud.
29
29
  *
30
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
30
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
31
31
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
32
32
  *
33
33
  * Required access policy scopes:
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
3
3
  /**
4
4
  * Fetches Private Data source Connect networks from Grafana Cloud.
5
5
  *
6
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
6
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
7
7
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
8
8
  *
9
9
  * Required access policy scopes:
@@ -33,7 +33,7 @@ export interface GetPrivateDataSourceConnectNetworksResult {
33
33
  /**
34
34
  * Fetches Private Data source Connect networks from Grafana Cloud.
35
35
  *
36
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
36
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
37
37
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
38
38
  *
39
39
  * Required access policy scopes:
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Fetches Private Data source Connect networks from Grafana Cloud.
10
10
  *
11
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
11
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
12
12
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
13
13
  *
14
14
  * Required access policy scopes:
@@ -27,7 +27,7 @@ exports.getPrivateDataSourceConnectNetworks = getPrivateDataSourceConnectNetwork
27
27
  /**
28
28
  * Fetches Private Data source Connect networks from Grafana Cloud.
29
29
  *
30
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
30
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
31
31
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)
32
32
  *
33
33
  * Required access policy scopes:
@@ -54,7 +54,7 @@ export interface GetProviderAzureCredentialResult {
54
54
  */
55
55
  readonly resourceId: string;
56
56
  /**
57
- * A set of regions that this AWS Account resource applies to.
57
+ * The list of resource tags to add to metrics.
58
58
  */
59
59
  readonly resourceTagsToAddToMetrics: string[];
60
60
  readonly stackId: string;
@@ -49,11 +49,11 @@ export declare class ProviderAzureCredential extends pulumi.CustomResource {
49
49
  */
50
50
  readonly resourceDiscoveryTagFilters: pulumi.Output<outputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter[] | undefined>;
51
51
  /**
52
- * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
52
+ * The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
53
53
  */
54
54
  readonly resourceId: pulumi.Output<string>;
55
55
  /**
56
- * A set of regions that this AWS Account resource applies to.
56
+ * The list of resource tags to add to metrics.
57
57
  */
58
58
  readonly resourceTagsToAddToMetrics: pulumi.Output<string[] | undefined>;
59
59
  readonly stackId: pulumi.Output<string>;
@@ -96,11 +96,11 @@ export interface ProviderAzureCredentialState {
96
96
  */
97
97
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
98
98
  /**
99
- * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
99
+ * The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
100
100
  */
101
101
  resourceId?: pulumi.Input<string>;
102
102
  /**
103
- * A set of regions that this AWS Account resource applies to.
103
+ * The list of resource tags to add to metrics.
104
104
  */
105
105
  resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
106
106
  stackId?: pulumi.Input<string>;
@@ -134,7 +134,7 @@ export interface ProviderAzureCredentialArgs {
134
134
  */
135
135
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAzureCredentialResourceDiscoveryTagFilter>[]>;
136
136
  /**
137
- * A set of regions that this AWS Account resource applies to.
137
+ * The list of resource tags to add to metrics.
138
138
  */
139
139
  resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
140
140
  stackId: pulumi.Input<string>;
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
5
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
6
6
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
7
7
  *
8
8
  * Required access policy scopes:
@@ -70,6 +70,10 @@ export declare class CloudAccessPolicy extends pulumi.CustomResource {
70
70
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
71
  */
72
72
  static isInstance(obj: any): obj is CloudAccessPolicy;
73
+ /**
74
+ * Conditions for the access policy.
75
+ */
76
+ readonly conditions: pulumi.Output<outputs.CloudAccessPolicyCondition[] | undefined>;
73
77
  /**
74
78
  * Creation date of the access policy.
75
79
  */
@@ -92,7 +96,7 @@ export declare class CloudAccessPolicy extends pulumi.CustomResource {
92
96
  */
93
97
  readonly region: pulumi.Output<string>;
94
98
  /**
95
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
99
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
96
100
  */
97
101
  readonly scopes: pulumi.Output<string[]>;
98
102
  /**
@@ -113,6 +117,10 @@ export declare class CloudAccessPolicy extends pulumi.CustomResource {
113
117
  * Input properties used for looking up and filtering CloudAccessPolicy resources.
114
118
  */
115
119
  export interface CloudAccessPolicyState {
120
+ /**
121
+ * Conditions for the access policy.
122
+ */
123
+ conditions?: pulumi.Input<pulumi.Input<inputs.CloudAccessPolicyCondition>[]>;
116
124
  /**
117
125
  * Creation date of the access policy.
118
126
  */
@@ -135,7 +143,7 @@ export interface CloudAccessPolicyState {
135
143
  */
136
144
  region?: pulumi.Input<string>;
137
145
  /**
138
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
146
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
139
147
  */
140
148
  scopes?: pulumi.Input<pulumi.Input<string>[]>;
141
149
  /**
@@ -147,6 +155,10 @@ export interface CloudAccessPolicyState {
147
155
  * The set of arguments for constructing a CloudAccessPolicy resource.
148
156
  */
149
157
  export interface CloudAccessPolicyArgs {
158
+ /**
159
+ * Conditions for the access policy.
160
+ */
161
+ conditions?: pulumi.Input<pulumi.Input<inputs.CloudAccessPolicyCondition>[]>;
150
162
  /**
151
163
  * Display name of the access policy. Defaults to the name.
152
164
  */
@@ -161,7 +173,7 @@ export interface CloudAccessPolicyArgs {
161
173
  */
162
174
  region: pulumi.Input<string>;
163
175
  /**
164
- * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for possible values.
176
+ * Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.
165
177
  */
166
178
  scopes: pulumi.Input<pulumi.Input<string>[]>;
167
179
  }
@@ -6,7 +6,7 @@ exports.CloudAccessPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
9
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
10
10
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
11
11
  *
12
12
  * Required access policy scopes:
@@ -89,6 +89,7 @@ class CloudAccessPolicy extends pulumi.CustomResource {
89
89
  opts = opts || {};
90
90
  if (opts.id) {
91
91
  const state = argsOrState;
92
+ resourceInputs["conditions"] = state ? state.conditions : undefined;
92
93
  resourceInputs["createdAt"] = state ? state.createdAt : undefined;
93
94
  resourceInputs["displayName"] = state ? state.displayName : undefined;
94
95
  resourceInputs["name"] = state ? state.name : undefined;
@@ -109,6 +110,7 @@ class CloudAccessPolicy extends pulumi.CustomResource {
109
110
  if ((!args || args.scopes === undefined) && !opts.urn) {
110
111
  throw new Error("Missing required property 'scopes'");
111
112
  }
113
+ resourceInputs["conditions"] = args ? args.conditions : undefined;
112
114
  resourceInputs["displayName"] = args ? args.displayName : undefined;
113
115
  resourceInputs["name"] = args ? args.name : undefined;
114
116
  resourceInputs["realms"] = args ? args.realms : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudAccessPolicy.js","sourceRoot":"","sources":["../cloudAccessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4JAA4J,CAAC,CAAA;QAC7K,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAyCD,4IAA4I;IAC5I,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4JAA4J,CAAC,CAAA;QAC7K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,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
  /**
3
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
3
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
4
4
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
5
5
  *
6
6
  * Required access policy scopes:
@@ -6,7 +6,7 @@ exports.CloudAccessPolicyToken = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
9
+ * * [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)
10
10
  * * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
11
11
  *
12
12
  * Required access policy scopes:
@@ -47,11 +47,11 @@ export declare class AzureCredential extends pulumi.CustomResource {
47
47
  */
48
48
  readonly resourceDiscoveryTagFilters: pulumi.Output<outputs.cloudProvider.AzureCredentialResourceDiscoveryTagFilter[] | undefined>;
49
49
  /**
50
- * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
50
+ * The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
51
51
  */
52
52
  readonly resourceId: pulumi.Output<string>;
53
53
  /**
54
- * A set of regions that this AWS Account resource applies to.
54
+ * The list of resource tags to add to metrics.
55
55
  */
56
56
  readonly resourceTagsToAddToMetrics: pulumi.Output<string[] | undefined>;
57
57
  readonly stackId: pulumi.Output<string>;
@@ -93,11 +93,11 @@ export interface AzureCredentialState {
93
93
  */
94
94
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AzureCredentialResourceDiscoveryTagFilter>[]>;
95
95
  /**
96
- * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
96
+ * The ID given by the Grafana Cloud Provider API to this Azure Credential resource.
97
97
  */
98
98
  resourceId?: pulumi.Input<string>;
99
99
  /**
100
- * A set of regions that this AWS Account resource applies to.
100
+ * The list of resource tags to add to metrics.
101
101
  */
102
102
  resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
103
103
  stackId?: pulumi.Input<string>;
@@ -131,7 +131,7 @@ export interface AzureCredentialArgs {
131
131
  */
132
132
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AzureCredentialResourceDiscoveryTagFilter>[]>;
133
133
  /**
134
- * A set of regions that this AWS Account resource applies to.
134
+ * The list of resource tags to add to metrics.
135
135
  */
136
136
  resourceTagsToAddToMetrics?: pulumi.Input<pulumi.Input<string>[]>;
137
137
  stackId: pulumi.Input<string>;
@@ -53,7 +53,7 @@ export interface GetAzureCredentialResult {
53
53
  */
54
54
  readonly resourceId: string;
55
55
  /**
56
- * A set of regions that this AWS Account resource applies to.
56
+ * The list of resource tags to add to metrics.
57
57
  */
58
58
  readonly resourceTagsToAddToMetrics: string[];
59
59
  readonly stackId: string;
@@ -42,7 +42,7 @@ export declare class Escalation extends pulumi.CustomResource {
42
42
  */
43
43
  readonly groupToNotify: pulumi.Output<string | undefined>;
44
44
  /**
45
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
45
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
46
46
  */
47
47
  readonly important: pulumi.Output<boolean | undefined>;
48
48
  /**
@@ -111,7 +111,7 @@ export interface EscalationState {
111
111
  */
112
112
  groupToNotify?: pulumi.Input<string>;
113
113
  /**
114
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
114
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
115
115
  */
116
116
  important?: pulumi.Input<boolean>;
117
117
  /**
@@ -172,7 +172,7 @@ export interface EscalationArgs {
172
172
  */
173
173
  groupToNotify?: pulumi.Input<string>;
174
174
  /**
175
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
175
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
176
176
  */
177
177
  important?: pulumi.Input<boolean>;
178
178
  /**
@@ -78,7 +78,7 @@ export declare class Integration extends pulumi.CustomResource {
78
78
  */
79
79
  readonly templates: pulumi.Output<outputs.onCall.IntegrationTemplates | undefined>;
80
80
  /**
81
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
81
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
82
82
  */
83
83
  readonly type: pulumi.Output<string>;
84
84
  /**
@@ -115,7 +115,7 @@ export interface IntegrationState {
115
115
  */
116
116
  templates?: pulumi.Input<inputs.onCall.IntegrationTemplates>;
117
117
  /**
118
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
118
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
119
119
  */
120
120
  type?: pulumi.Input<string>;
121
121
  }
@@ -140,7 +140,7 @@ export interface IntegrationArgs {
140
140
  */
141
141
  templates?: pulumi.Input<inputs.onCall.IntegrationTemplates>;
142
142
  /**
143
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
143
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
144
144
  */
145
145
  type: pulumi.Input<string>;
146
146
  }
@@ -44,7 +44,7 @@ export declare class OncallEscalation extends pulumi.CustomResource {
44
44
  */
45
45
  readonly groupToNotify: pulumi.Output<string | undefined>;
46
46
  /**
47
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
47
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
48
48
  */
49
49
  readonly important: pulumi.Output<boolean | undefined>;
50
50
  /**
@@ -114,7 +114,7 @@ export interface OncallEscalationState {
114
114
  */
115
115
  groupToNotify?: pulumi.Input<string>;
116
116
  /**
117
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
117
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
118
118
  */
119
119
  important?: pulumi.Input<boolean>;
120
120
  /**
@@ -175,7 +175,7 @@ export interface OncallEscalationArgs {
175
175
  */
176
176
  groupToNotify?: pulumi.Input<string>;
177
177
  /**
178
- * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
178
+ * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members
179
179
  */
180
180
  important?: pulumi.Input<boolean>;
181
181
  /**
@@ -80,7 +80,7 @@ export declare class OncallIntegration extends pulumi.CustomResource {
80
80
  */
81
81
  readonly templates: pulumi.Output<outputs.OncallIntegrationTemplates | undefined>;
82
82
  /**
83
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
83
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
84
84
  */
85
85
  readonly type: pulumi.Output<string>;
86
86
  /**
@@ -118,7 +118,7 @@ export interface OncallIntegrationState {
118
118
  */
119
119
  templates?: pulumi.Input<inputs.OncallIntegrationTemplates>;
120
120
  /**
121
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
121
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
122
122
  */
123
123
  type?: pulumi.Input<string>;
124
124
  }
@@ -143,7 +143,7 @@ export interface OncallIntegrationArgs {
143
143
  */
144
144
  templates?: pulumi.Input<inputs.OncallIntegrationTemplates>;
145
145
  /**
146
- * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
146
+ * The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira, zendesk.
147
147
  */
148
148
  type: pulumi.Input<string>;
149
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/grafana",
3
- "version": "0.14.0",
3
+ "version": "0.15.0-alpha.1741163650",
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.14.0",
27
+ "version": "0.15.0-alpha.1741163650",
28
28
  "server": "github://api.github.com/pulumiverse"
29
29
  }
30
30
  }
@@ -76,7 +76,7 @@ export declare class SyntheticMonitoringInstallation extends pulumi.CustomResour
76
76
  */
77
77
  static isInstance(obj: any): obj is SyntheticMonitoringInstallation;
78
78
  /**
79
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
79
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
80
80
  */
81
81
  readonly metricsPublisherKey: pulumi.Output<string>;
82
82
  /**
@@ -106,7 +106,7 @@ export declare class SyntheticMonitoringInstallation extends pulumi.CustomResour
106
106
  */
107
107
  export interface SyntheticMonitoringInstallationState {
108
108
  /**
109
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
109
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
110
110
  */
111
111
  metricsPublisherKey?: pulumi.Input<string>;
112
112
  /**
@@ -127,7 +127,7 @@ export interface SyntheticMonitoringInstallationState {
127
127
  */
128
128
  export interface SyntheticMonitoringInstallationArgs {
129
129
  /**
130
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
130
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
131
131
  */
132
132
  metricsPublisherKey: pulumi.Input<string>;
133
133
  /**
@@ -74,7 +74,7 @@ export declare class Installation extends pulumi.CustomResource {
74
74
  */
75
75
  static isInstance(obj: any): obj is Installation;
76
76
  /**
77
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
77
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
78
78
  */
79
79
  readonly metricsPublisherKey: pulumi.Output<string>;
80
80
  /**
@@ -103,7 +103,7 @@ export declare class Installation extends pulumi.CustomResource {
103
103
  */
104
104
  export interface InstallationState {
105
105
  /**
106
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
106
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
107
107
  */
108
108
  metricsPublisherKey?: pulumi.Input<string>;
109
109
  /**
@@ -124,7 +124,7 @@ export interface InstallationState {
124
124
  */
125
125
  export interface InstallationArgs {
126
126
  /**
127
- * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
127
+ * The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.
128
128
  */
129
129
  metricsPublisherKey: pulumi.Input<string>;
130
130
  /**
package/types/input.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface CloudAccessPolicyCondition {
4
+ /**
5
+ * Conditions that apply to the access policy,such as IP Allow lists.
6
+ */
7
+ allowedSubnets: pulumi.Input<pulumi.Input<string>[]>;
8
+ }
3
9
  export interface CloudAccessPolicyRealm {
4
10
  /**
5
11
  * The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.
@@ -4105,6 +4111,12 @@ export declare namespace alerting {
4105
4111
  }
4106
4112
  }
4107
4113
  export declare namespace cloud {
4114
+ interface AccessPolicyCondition {
4115
+ /**
4116
+ * Conditions that apply to the access policy,such as IP Allow lists.
4117
+ */
4118
+ allowedSubnets: pulumi.Input<pulumi.Input<string>[]>;
4119
+ }
4108
4120
  interface AccessPolicyRealm {
4109
4121
  /**
4110
4122
  * The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.
@@ -4176,7 +4188,7 @@ export declare namespace cloud {
4176
4188
  */
4177
4189
  metrics?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceMetric[];
4178
4190
  /**
4179
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4191
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4180
4192
  */
4181
4193
  name?: string;
4182
4194
  /**
@@ -4184,7 +4196,7 @@ export declare namespace cloud {
4184
4196
  */
4185
4197
  resourceDiscoveryTagFilters?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4186
4198
  /**
4187
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4199
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4188
4200
  */
4189
4201
  scrapeIntervalSeconds?: number;
4190
4202
  /**
@@ -4198,7 +4210,7 @@ export declare namespace cloud {
4198
4210
  */
4199
4211
  metrics?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceMetricArgs>[]>;
4200
4212
  /**
4201
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4213
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4202
4214
  */
4203
4215
  name?: pulumi.Input<string>;
4204
4216
  /**
@@ -4206,7 +4218,7 @@ export declare namespace cloud {
4206
4218
  */
4207
4219
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilterArgs>[]>;
4208
4220
  /**
4209
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4221
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4210
4222
  */
4211
4223
  scrapeIntervalSeconds?: pulumi.Input<number>;
4212
4224
  /**
@@ -4402,7 +4414,7 @@ export declare namespace cloud {
4402
4414
  */
4403
4415
  metrics?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceMetric[];
4404
4416
  /**
4405
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4417
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4406
4418
  */
4407
4419
  name?: string;
4408
4420
  /**
@@ -4410,7 +4422,7 @@ export declare namespace cloud {
4410
4422
  */
4411
4423
  resourceDiscoveryTagFilters?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilter[];
4412
4424
  /**
4413
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4425
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4414
4426
  */
4415
4427
  scrapeIntervalSeconds?: number;
4416
4428
  /**
@@ -4424,7 +4436,7 @@ export declare namespace cloud {
4424
4436
  */
4425
4437
  metrics?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceMetricArgs>[]>;
4426
4438
  /**
4427
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4439
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4428
4440
  */
4429
4441
  name?: pulumi.Input<string>;
4430
4442
  /**
@@ -4432,7 +4444,7 @@ export declare namespace cloud {
4432
4444
  */
4433
4445
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilterArgs>[]>;
4434
4446
  /**
4435
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4447
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4436
4448
  */
4437
4449
  scrapeIntervalSeconds?: pulumi.Input<number>;
4438
4450
  /**
@@ -4568,7 +4580,7 @@ export declare namespace cloud {
4568
4580
  */
4569
4581
  metrics?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobServiceMetric>[]>;
4570
4582
  /**
4571
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services.
4583
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.
4572
4584
  */
4573
4585
  name: pulumi.Input<string>;
4574
4586
  /**
@@ -4576,7 +4588,7 @@ export declare namespace cloud {
4576
4588
  */
4577
4589
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter>[]>;
4578
4590
  /**
4579
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4591
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4580
4592
  */
4581
4593
  scrapeIntervalSeconds?: pulumi.Input<number>;
4582
4594
  /**
@@ -4665,7 +4677,7 @@ export declare namespace cloudProvider {
4665
4677
  */
4666
4678
  metrics?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobServiceMetric>[]>;
4667
4679
  /**
4668
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services.
4680
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.
4669
4681
  */
4670
4682
  name: pulumi.Input<string>;
4671
4683
  /**
@@ -4673,7 +4685,7 @@ export declare namespace cloudProvider {
4673
4685
  */
4674
4686
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter>[]>;
4675
4687
  /**
4676
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4688
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4677
4689
  */
4678
4690
  scrapeIntervalSeconds?: pulumi.Input<number>;
4679
4691
  /**
@@ -4784,7 +4796,7 @@ export declare namespace cloudProvider {
4784
4796
  */
4785
4797
  metrics?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceMetric[];
4786
4798
  /**
4787
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4799
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4788
4800
  */
4789
4801
  name?: string;
4790
4802
  /**
@@ -4792,7 +4804,7 @@ export declare namespace cloudProvider {
4792
4804
  */
4793
4805
  resourceDiscoveryTagFilters?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4794
4806
  /**
4795
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4807
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4796
4808
  */
4797
4809
  scrapeIntervalSeconds?: number;
4798
4810
  /**
@@ -4806,7 +4818,7 @@ export declare namespace cloudProvider {
4806
4818
  */
4807
4819
  metrics?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceMetricArgs>[]>;
4808
4820
  /**
4809
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4821
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4810
4822
  */
4811
4823
  name?: pulumi.Input<string>;
4812
4824
  /**
@@ -4814,7 +4826,7 @@ export declare namespace cloudProvider {
4814
4826
  */
4815
4827
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilterArgs>[]>;
4816
4828
  /**
4817
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4829
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4818
4830
  */
4819
4831
  scrapeIntervalSeconds?: pulumi.Input<number>;
4820
4832
  /**
@@ -5010,7 +5022,7 @@ export declare namespace cloudProvider {
5010
5022
  */
5011
5023
  metrics?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceMetric[];
5012
5024
  /**
5013
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
5025
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
5014
5026
  */
5015
5027
  name?: string;
5016
5028
  /**
@@ -5018,7 +5030,7 @@ export declare namespace cloudProvider {
5018
5030
  */
5019
5031
  resourceDiscoveryTagFilters?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilter[];
5020
5032
  /**
5021
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
5033
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
5022
5034
  */
5023
5035
  scrapeIntervalSeconds?: number;
5024
5036
  /**
@@ -5032,7 +5044,7 @@ export declare namespace cloudProvider {
5032
5044
  */
5033
5045
  metrics?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceMetricArgs>[]>;
5034
5046
  /**
5035
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
5047
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
5036
5048
  */
5037
5049
  name?: pulumi.Input<string>;
5038
5050
  /**
@@ -5040,7 +5052,7 @@ export declare namespace cloudProvider {
5040
5052
  */
5041
5053
  resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilterArgs>[]>;
5042
5054
  /**
5043
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
5055
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
5044
5056
  */
5045
5057
  scrapeIntervalSeconds?: pulumi.Input<number>;
5046
5058
  /**
package/types/output.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface CloudAccessPolicyCondition {
3
+ /**
4
+ * Conditions that apply to the access policy,such as IP Allow lists.
5
+ */
6
+ allowedSubnets: string[];
7
+ }
2
8
  export interface CloudAccessPolicyRealm {
3
9
  /**
4
10
  * The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.
@@ -4395,6 +4401,12 @@ export declare namespace alerting {
4395
4401
  }
4396
4402
  }
4397
4403
  export declare namespace cloud {
4404
+ interface AccessPolicyCondition {
4405
+ /**
4406
+ * Conditions that apply to the access policy,such as IP Allow lists.
4407
+ */
4408
+ allowedSubnets: string[];
4409
+ }
4398
4410
  interface AccessPolicyRealm {
4399
4411
  /**
4400
4412
  * The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.
@@ -4456,7 +4468,7 @@ export declare namespace cloud {
4456
4468
  */
4457
4469
  metrics?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceMetric[];
4458
4470
  /**
4459
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4471
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4460
4472
  */
4461
4473
  name: string;
4462
4474
  /**
@@ -4464,7 +4476,7 @@ export declare namespace cloud {
4464
4476
  */
4465
4477
  resourceDiscoveryTagFilters?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4466
4478
  /**
4467
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4479
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4468
4480
  */
4469
4481
  scrapeIntervalSeconds: number;
4470
4482
  /**
@@ -4569,7 +4581,7 @@ export declare namespace cloud {
4569
4581
  */
4570
4582
  metrics?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceMetric[];
4571
4583
  /**
4572
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4584
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4573
4585
  */
4574
4586
  name: string;
4575
4587
  /**
@@ -4577,7 +4589,7 @@ export declare namespace cloud {
4577
4589
  */
4578
4590
  resourceDiscoveryTagFilters?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilter[];
4579
4591
  /**
4580
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4592
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4581
4593
  */
4582
4594
  scrapeIntervalSeconds: number;
4583
4595
  /**
@@ -4664,7 +4676,7 @@ export declare namespace cloud {
4664
4676
  */
4665
4677
  metrics?: outputs.cloud.ProviderAwsCloudwatchScrapeJobServiceMetric[];
4666
4678
  /**
4667
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services.
4679
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.
4668
4680
  */
4669
4681
  name: string;
4670
4682
  /**
@@ -4672,7 +4684,7 @@ export declare namespace cloud {
4672
4684
  */
4673
4685
  resourceDiscoveryTagFilters?: outputs.cloud.ProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4674
4686
  /**
4675
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4687
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4676
4688
  */
4677
4689
  scrapeIntervalSeconds: number;
4678
4690
  /**
@@ -4761,7 +4773,7 @@ export declare namespace cloudProvider {
4761
4773
  */
4762
4774
  metrics?: outputs.cloudProvider.AwsCloudwatchScrapeJobServiceMetric[];
4763
4775
  /**
4764
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services.
4776
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.
4765
4777
  */
4766
4778
  name: string;
4767
4779
  /**
@@ -4769,7 +4781,7 @@ export declare namespace cloudProvider {
4769
4781
  */
4770
4782
  resourceDiscoveryTagFilters?: outputs.cloudProvider.AwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4771
4783
  /**
4772
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4784
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4773
4785
  */
4774
4786
  scrapeIntervalSeconds: number;
4775
4787
  /**
@@ -4856,7 +4868,7 @@ export declare namespace cloudProvider {
4856
4868
  */
4857
4869
  metrics?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceMetric[];
4858
4870
  /**
4859
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4871
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4860
4872
  */
4861
4873
  name: string;
4862
4874
  /**
@@ -4864,7 +4876,7 @@ export declare namespace cloudProvider {
4864
4876
  */
4865
4877
  resourceDiscoveryTagFilters?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4866
4878
  /**
4867
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4879
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4868
4880
  */
4869
4881
  scrapeIntervalSeconds: number;
4870
4882
  /**
@@ -4969,7 +4981,7 @@ export declare namespace cloudProvider {
4969
4981
  */
4970
4982
  metrics?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceMetric[];
4971
4983
  /**
4972
- * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4984
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.
4973
4985
  */
4974
4986
  name: string;
4975
4987
  /**
@@ -4977,7 +4989,7 @@ export declare namespace cloudProvider {
4977
4989
  */
4978
4990
  resourceDiscoveryTagFilters?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceResourceDiscoveryTagFilter[];
4979
4991
  /**
4980
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4992
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4981
4993
  */
4982
4994
  scrapeIntervalSeconds: number;
4983
4995
  /**