@pulumi/newrelic 5.79.5 → 5.80.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/getTeamsHierarchyLevels.d.ts +66 -0
- package/getTeamsHierarchyLevels.d.ts.map +1 -0
- package/getTeamsHierarchyLevels.js +89 -0
- package/getTeamsHierarchyLevels.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.d.ts.map +1 -1
- package/index.js +24 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/scorecard.d.ts +251 -0
- package/scorecard.d.ts.map +1 -0
- package/scorecard.js +220 -0
- package/scorecard.js.map +1 -0
- package/scorecardRule.d.ts +292 -0
- package/scorecardRule.d.ts.map +1 -0
- package/scorecardRule.js +243 -0
- package/scorecardRule.js.map +1 -0
- package/team.d.ts +458 -0
- package/team.d.ts.map +1 -0
- package/team.js +356 -0
- package/team.js.map +1 -0
- package/teamsOrganizationSettings.d.ts +207 -0
- package/teamsOrganizationSettings.d.ts.map +1 -0
- package/teamsOrganizationSettings.js +188 -0
- package/teamsOrganizationSettings.js.map +1 -0
- package/types/input.d.ts +102 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +112 -0
- package/types/output.d.ts.map +1 -1
package/team.d.ts
ADDED
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this resource to create, update, and delete [New Relic Teams](https://docs.newrelic.com/docs/service-architecture-intelligence/teams/teams-intro/).
|
|
6
|
+
*
|
|
7
|
+
* Teams group people and associate owned entities (services, dashboards, scorecards, and more) under a single operational identity. They appear across alerts, service maps, and the Teams UI.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Entity ownership is managed non-authoritatively. Terraform tracks only the entities you declare in the `entities` block and ensures they remain in the collection. Entities added to the collection outside Terraform — through tag-based discovery, relationship propagation, or manual UI additions — are not surfaced as drift and are not removed on apply. To disable entity management entirely and suppress all entity-related plan output, set `entityManagementMode = "unmanaged"`.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
16
|
+
*
|
|
17
|
+
* const platform = new newrelic.Team("platform", {
|
|
18
|
+
* name: "Platform Engineering",
|
|
19
|
+
* description: "Owns core platform services and shared infrastructure",
|
|
20
|
+
* aliases: [
|
|
21
|
+
* "platform",
|
|
22
|
+
* "infra",
|
|
23
|
+
* ],
|
|
24
|
+
* tags: [
|
|
25
|
+
* {
|
|
26
|
+
* key: "department",
|
|
27
|
+
* values: ["engineering"],
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* key: "tier",
|
|
31
|
+
* values: ["1"],
|
|
32
|
+
* },
|
|
33
|
+
* ],
|
|
34
|
+
* members: [
|
|
35
|
+
* 1234567,
|
|
36
|
+
* 2345678,
|
|
37
|
+
* ],
|
|
38
|
+
* managers: [1234567],
|
|
39
|
+
* resources: [
|
|
40
|
+
* {
|
|
41
|
+
* type: "GITHUB",
|
|
42
|
+
* content: "https://github.com/example-org/platform",
|
|
43
|
+
* title: "GitHub Repository",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* type: "SLACK",
|
|
47
|
+
* content: "https://example.slack.com/channels/platform-eng",
|
|
48
|
+
* title: "Team Slack Channel",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* entityManagementMode: "managed",
|
|
52
|
+
* entities: [
|
|
53
|
+
* "MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1",
|
|
54
|
+
* engineeringStandards.id,
|
|
55
|
+
* ],
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* See additional examples below.
|
|
60
|
+
*
|
|
61
|
+
* ## Entity Ownership Modes
|
|
62
|
+
*
|
|
63
|
+
* ### `managed` (default)
|
|
64
|
+
*
|
|
65
|
+
* Terraform manages a declared set of entities within the team's ownership collection using a non-authoritative approach. You declare which entity GUIDs Terraform should track; Terraform ensures those entities are present in the collection and surfaces a plan change only when one of them is missing.
|
|
66
|
+
*
|
|
67
|
+
* Entities added to the collection outside Terraform — through tag-based discovery, relationship propagation, or manual UI additions — are not surfaced as drift and are not removed on apply. This means the ownership collection can contain more entities than are declared in `entities`, and Terraform will not interfere with those additional entries.
|
|
68
|
+
*
|
|
69
|
+
* **When to use:** You want Terraform to maintain a specific set of owned entities (for example, a scorecard or a key service) while allowing the platform to populate the rest of the collection through its own discovery mechanisms.
|
|
70
|
+
*
|
|
71
|
+
* **Behaviour:**
|
|
72
|
+
* - Entities declared in the `entities` block are added to the collection on apply.
|
|
73
|
+
* - Entities removed from the `entities` block are removed from the collection on apply.
|
|
74
|
+
* - If a declared entity is removed from the collection outside Terraform, the next plan surfaces a change to re-add it.
|
|
75
|
+
* - Entities present in the collection but not declared in `entities` are silently ignored — no drift, no warnings.
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
80
|
+
*
|
|
81
|
+
* const example = new newrelic.Team("example", {
|
|
82
|
+
* name: "Payments Service",
|
|
83
|
+
* entityManagementMode: "managed",
|
|
84
|
+
* entities: [
|
|
85
|
+
* "MjUyMDUyOHxBUE18QVBQTElDQVRJT058MjE1MDM3Nzk1",
|
|
86
|
+
* platformStandards.id,
|
|
87
|
+
* ],
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* ### `unmanaged`
|
|
92
|
+
*
|
|
93
|
+
* Terraform does not manage the team's entity ownership collection at all. The collection is left entirely to the New Relic platform — tag-based discovery, relationship propagation, or manual management through the Teams UI.
|
|
94
|
+
*
|
|
95
|
+
* **When to use:** Entity ownership for this team is governed entirely outside Terraform (for example, by tagging conventions). You want to manage the team resource itself — name, aliases, members — without Terraform interfering with what the platform assigns to the collection.
|
|
96
|
+
*
|
|
97
|
+
* **Behaviour:**
|
|
98
|
+
* - The `entities` attribute cannot be set in config. The provider returns a plan-time error if it is.
|
|
99
|
+
* - The `entities` attribute is always empty in state.
|
|
100
|
+
* - No drift is surfaced for the ownership collection, regardless of what is added or removed externally.
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
105
|
+
*
|
|
106
|
+
* const example = new newrelic.Team("example", {
|
|
107
|
+
* name: "Payments Service",
|
|
108
|
+
* entityManagementMode: "unmanaged",
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* ### Switching Between Modes
|
|
113
|
+
*
|
|
114
|
+
* Switching from `managed` to `unmanaged` clears `entities` from state on the next apply. The ownership collection itself is **not modified** — entities remain in the collection and are governed entirely outside Terraform from that point.
|
|
115
|
+
*
|
|
116
|
+
* Switching from `unmanaged` back to `managed` allows entity tracking to resume. Entities already in the collection are unaffected; you can begin declaring any of them in the `entities` block to bring them under Terraform management.
|
|
117
|
+
*
|
|
118
|
+
* ## Hierarchy Levels
|
|
119
|
+
*
|
|
120
|
+
* When teams are linked via `parentId`, the platform automatically assigns each team a `hierarchyLevelId` based on its depth in the hierarchy. This value becomes available on the **next** plan after `parentId` is first set.
|
|
121
|
+
*
|
|
122
|
+
* You can reference `hierarchyLevelId` directly in `newrelic.TeamsOrganizationSettings` to rename the level, without requiring a separate NerdGraph query or data source lookup:
|
|
123
|
+
*
|
|
124
|
+
* ```typescript
|
|
125
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
126
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
127
|
+
*
|
|
128
|
+
* const division = new newrelic.Team("division", {name: "Engineering Division"});
|
|
129
|
+
* const squad = new newrelic.Team("squad", {
|
|
130
|
+
* name: "Backend Squad",
|
|
131
|
+
* parentId: division.id,
|
|
132
|
+
* });
|
|
133
|
+
* const org = new newrelic.TeamsOrganizationSettings("org", {hierarchyLevels: [
|
|
134
|
+
* {
|
|
135
|
+
* id: division.hierarchyLevelId,
|
|
136
|
+
* name: "Division",
|
|
137
|
+
* },
|
|
138
|
+
* {
|
|
139
|
+
* id: squad.hierarchyLevelId,
|
|
140
|
+
* name: "Squad",
|
|
141
|
+
* },
|
|
142
|
+
* ]});
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* Alternatively, use the `newrelic.getTeamsHierarchyLevels` data source to reference levels by index:
|
|
146
|
+
*
|
|
147
|
+
* ```typescript
|
|
148
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
149
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
150
|
+
*
|
|
151
|
+
* const all = newrelic.getTeamsHierarchyLevels({});
|
|
152
|
+
* const org = new newrelic.TeamsOrganizationSettings("org", {hierarchyLevels: [{
|
|
153
|
+
* id: all.then(all => all.levels?.[0]?.id),
|
|
154
|
+
* name: "Division",
|
|
155
|
+
* }]});
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* ## Additional Examples
|
|
159
|
+
*
|
|
160
|
+
* ### Minimal team
|
|
161
|
+
*
|
|
162
|
+
* ```typescript
|
|
163
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
164
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
165
|
+
*
|
|
166
|
+
* const backend = new newrelic.Team("backend", {name: "Backend Engineering"});
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* ### Team with a parent (hierarchy)
|
|
170
|
+
*
|
|
171
|
+
* ```typescript
|
|
172
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
173
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
174
|
+
*
|
|
175
|
+
* const engineering = new newrelic.Team("engineering", {
|
|
176
|
+
* name: "Engineering",
|
|
177
|
+
* description: "Top-level engineering division",
|
|
178
|
+
* });
|
|
179
|
+
* const backend = new newrelic.Team("backend", {
|
|
180
|
+
* name: "Backend",
|
|
181
|
+
* parentId: engineering.id,
|
|
182
|
+
* });
|
|
183
|
+
* ```
|
|
184
|
+
*
|
|
185
|
+
* ### Team owning a scorecard
|
|
186
|
+
*
|
|
187
|
+
* ```typescript
|
|
188
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
189
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
190
|
+
*
|
|
191
|
+
* const standards = new newrelic.Scorecard("standards", {
|
|
192
|
+
* name: "Engineering Standards",
|
|
193
|
+
* ruleIds: [alertCoverage.id],
|
|
194
|
+
* });
|
|
195
|
+
* const platform = new newrelic.Team("platform", {
|
|
196
|
+
* name: "Platform",
|
|
197
|
+
* entityManagementMode: "managed",
|
|
198
|
+
* entities: [standards.id],
|
|
199
|
+
* });
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* ### Team with externally managed entity ownership
|
|
203
|
+
*
|
|
204
|
+
* Use `unmanaged` mode when entity ownership is managed outside Terraform — through tag-based discovery, relationship rules, or the Teams UI — and you do not want Terraform to produce any drift for the ownership collection.
|
|
205
|
+
*
|
|
206
|
+
* ```typescript
|
|
207
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
208
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
209
|
+
*
|
|
210
|
+
* const payments = new newrelic.Team("payments", {
|
|
211
|
+
* name: "Payments",
|
|
212
|
+
* aliases: ["payments-service"],
|
|
213
|
+
* entityManagementMode: "unmanaged",
|
|
214
|
+
* });
|
|
215
|
+
* ```
|
|
216
|
+
*
|
|
217
|
+
* ### Team with members, managers, and supplemental resources
|
|
218
|
+
*
|
|
219
|
+
* ```typescript
|
|
220
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
221
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
222
|
+
*
|
|
223
|
+
* const platform = new newrelic.Team("platform", {
|
|
224
|
+
* name: "Platform Engineering",
|
|
225
|
+
* description: "Owns shared infrastructure and developer tooling",
|
|
226
|
+
* members: [
|
|
227
|
+
* 1234567,
|
|
228
|
+
* 2345678,
|
|
229
|
+
* 3456789,
|
|
230
|
+
* ],
|
|
231
|
+
* managers: [1234567],
|
|
232
|
+
* resources: [
|
|
233
|
+
* {
|
|
234
|
+
* type: "GITHUB",
|
|
235
|
+
* content: "https://github.com/example-org/platform",
|
|
236
|
+
* title: "Source Repository",
|
|
237
|
+
* },
|
|
238
|
+
* {
|
|
239
|
+
* type: "SLACK",
|
|
240
|
+
* content: "https://example.slack.com/channels/platform-eng",
|
|
241
|
+
* title: "Team Channel",
|
|
242
|
+
* },
|
|
243
|
+
* {
|
|
244
|
+
* type: "PAGERDUTY",
|
|
245
|
+
* content: "https://example.pagerduty.com/teams/platform",
|
|
246
|
+
* title: "On-Call Schedule",
|
|
247
|
+
* },
|
|
248
|
+
* ],
|
|
249
|
+
* });
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* ## Import
|
|
253
|
+
*
|
|
254
|
+
* Teams can be imported using the entity GUID:
|
|
255
|
+
*
|
|
256
|
+
* ```sh
|
|
257
|
+
* $ pulumi import newrelic:index/team:Team example <guid>
|
|
258
|
+
* ```
|
|
259
|
+
*
|
|
260
|
+
* To find a team's GUID after creating it, use `terraform state show` or the following NerdGraph query:
|
|
261
|
+
*/
|
|
262
|
+
export declare class Team extends pulumi.CustomResource {
|
|
263
|
+
/**
|
|
264
|
+
* Get an existing Team resource's state with the given name, ID, and optional extra
|
|
265
|
+
* properties used to qualify the lookup.
|
|
266
|
+
*
|
|
267
|
+
* @param name The _unique_ name of the resulting resource.
|
|
268
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
269
|
+
* @param state Any extra arguments used during the lookup.
|
|
270
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
271
|
+
*/
|
|
272
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team;
|
|
273
|
+
/**
|
|
274
|
+
* Returns true if the given object is an instance of Team. This is designed to work even
|
|
275
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
276
|
+
*/
|
|
277
|
+
static isInstance(obj: any): obj is Team;
|
|
278
|
+
/**
|
|
279
|
+
* Additional searchable names for the team. Each alias must be unique within the organization.
|
|
280
|
+
*/
|
|
281
|
+
readonly aliases: pulumi.Output<string[] | undefined>;
|
|
282
|
+
/**
|
|
283
|
+
* A free-text description of the team.
|
|
284
|
+
*/
|
|
285
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
286
|
+
/**
|
|
287
|
+
* Set of entity GUIDs that this team owns. Added to the team's auto-created ownership collection.
|
|
288
|
+
*/
|
|
289
|
+
readonly entities: pulumi.Output<string[]>;
|
|
290
|
+
/**
|
|
291
|
+
* Controls how Terraform manages this team's entity ownership collection.
|
|
292
|
+
*
|
|
293
|
+
* • `managed` (default): Terraform tracks the entities declared in the entities block and ensures they remain in the collection. Drift surfaces only when a declared entity goes missing. External additions are silently ignored.
|
|
294
|
+
* • `unmanaged`: Terraform does not control entity ownership. The ownership collection is left entirely to tag-based discovery and/or manual UI management. No drift or warnings are shown for entities, and the `entities` attribute cannot be set in this mode.
|
|
295
|
+
*/
|
|
296
|
+
readonly entityManagementMode: pulumi.Output<string | undefined>;
|
|
297
|
+
/**
|
|
298
|
+
* The GUID of the hierarchy level this team is assigned to. The platform assigns this automatically based on the team's depth in the `parentId` chain. It becomes available on the plan cycle **after** `parentId` is first set (one refresh cycle of eventual consistency). Matches a level GUID from the `newrelic.TeamsOrganizationSettings` `hierarchyLevels` list. See Hierarchy Levels.
|
|
299
|
+
*/
|
|
300
|
+
readonly hierarchyLevelId: pulumi.Output<string>;
|
|
301
|
+
/**
|
|
302
|
+
* Set of New Relic user IDs (integers) to designate as team managers. Each ID must also appear in members.
|
|
303
|
+
*/
|
|
304
|
+
readonly managers: pulumi.Output<number[] | undefined>;
|
|
305
|
+
/**
|
|
306
|
+
* Set of New Relic user IDs (integers) to add as members of this team. Managers must be a subset of members.
|
|
307
|
+
*/
|
|
308
|
+
readonly members: pulumi.Output<number[] | undefined>;
|
|
309
|
+
/**
|
|
310
|
+
* The GUID of the auto-created team membership collection. Managed by the provider; do not modify directly.
|
|
311
|
+
*/
|
|
312
|
+
readonly membershipCollectionId: pulumi.Output<string>;
|
|
313
|
+
/**
|
|
314
|
+
* The name of the team. Must be unique within the organization.
|
|
315
|
+
*/
|
|
316
|
+
readonly name: pulumi.Output<string>;
|
|
317
|
+
/**
|
|
318
|
+
* The organisation UUID, resolved automatically from the provider account.
|
|
319
|
+
*/
|
|
320
|
+
readonly organizationId: pulumi.Output<string>;
|
|
321
|
+
/**
|
|
322
|
+
* The GUID of the auto-created team ownership collection. Managed by the provider; do not modify directly.
|
|
323
|
+
*/
|
|
324
|
+
readonly ownershipCollectionId: pulumi.Output<string>;
|
|
325
|
+
/**
|
|
326
|
+
* Entity management GUID of the parent team. Cannot be set to the team's own GUID.
|
|
327
|
+
*/
|
|
328
|
+
readonly parentId: pulumi.Output<string | undefined>;
|
|
329
|
+
/**
|
|
330
|
+
* Supplemental resource links attached to this team (e.g. runbooks, chat channels, on-call schedules). These are displayed in the team's Settings page in the New Relic UI under Contacts or Links, automatically categorised by type.
|
|
331
|
+
*/
|
|
332
|
+
readonly resources: pulumi.Output<outputs.TeamResource[] | undefined>;
|
|
333
|
+
/**
|
|
334
|
+
* Tags to assign to this resource. Each tag has a key and one or more values.
|
|
335
|
+
*/
|
|
336
|
+
readonly tags: pulumi.Output<outputs.TeamTag[] | undefined>;
|
|
337
|
+
/**
|
|
338
|
+
* Create a Team resource with the given unique name, arguments, and options.
|
|
339
|
+
*
|
|
340
|
+
* @param name The _unique_ name of the resource.
|
|
341
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
342
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
343
|
+
*/
|
|
344
|
+
constructor(name: string, args?: TeamArgs, opts?: pulumi.CustomResourceOptions);
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Input properties used for looking up and filtering Team resources.
|
|
348
|
+
*/
|
|
349
|
+
export interface TeamState {
|
|
350
|
+
/**
|
|
351
|
+
* Additional searchable names for the team. Each alias must be unique within the organization.
|
|
352
|
+
*/
|
|
353
|
+
aliases?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
354
|
+
/**
|
|
355
|
+
* A free-text description of the team.
|
|
356
|
+
*/
|
|
357
|
+
description?: pulumi.Input<string | undefined>;
|
|
358
|
+
/**
|
|
359
|
+
* Set of entity GUIDs that this team owns. Added to the team's auto-created ownership collection.
|
|
360
|
+
*/
|
|
361
|
+
entities?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
362
|
+
/**
|
|
363
|
+
* Controls how Terraform manages this team's entity ownership collection.
|
|
364
|
+
*
|
|
365
|
+
* • `managed` (default): Terraform tracks the entities declared in the entities block and ensures they remain in the collection. Drift surfaces only when a declared entity goes missing. External additions are silently ignored.
|
|
366
|
+
* • `unmanaged`: Terraform does not control entity ownership. The ownership collection is left entirely to tag-based discovery and/or manual UI management. No drift or warnings are shown for entities, and the `entities` attribute cannot be set in this mode.
|
|
367
|
+
*/
|
|
368
|
+
entityManagementMode?: pulumi.Input<string | undefined>;
|
|
369
|
+
/**
|
|
370
|
+
* The GUID of the hierarchy level this team is assigned to. The platform assigns this automatically based on the team's depth in the `parentId` chain. It becomes available on the plan cycle **after** `parentId` is first set (one refresh cycle of eventual consistency). Matches a level GUID from the `newrelic.TeamsOrganizationSettings` `hierarchyLevels` list. See Hierarchy Levels.
|
|
371
|
+
*/
|
|
372
|
+
hierarchyLevelId?: pulumi.Input<string | undefined>;
|
|
373
|
+
/**
|
|
374
|
+
* Set of New Relic user IDs (integers) to designate as team managers. Each ID must also appear in members.
|
|
375
|
+
*/
|
|
376
|
+
managers?: pulumi.Input<pulumi.Input<number>[] | undefined>;
|
|
377
|
+
/**
|
|
378
|
+
* Set of New Relic user IDs (integers) to add as members of this team. Managers must be a subset of members.
|
|
379
|
+
*/
|
|
380
|
+
members?: pulumi.Input<pulumi.Input<number>[] | undefined>;
|
|
381
|
+
/**
|
|
382
|
+
* The GUID of the auto-created team membership collection. Managed by the provider; do not modify directly.
|
|
383
|
+
*/
|
|
384
|
+
membershipCollectionId?: pulumi.Input<string | undefined>;
|
|
385
|
+
/**
|
|
386
|
+
* The name of the team. Must be unique within the organization.
|
|
387
|
+
*/
|
|
388
|
+
name?: pulumi.Input<string | undefined>;
|
|
389
|
+
/**
|
|
390
|
+
* The organisation UUID, resolved automatically from the provider account.
|
|
391
|
+
*/
|
|
392
|
+
organizationId?: pulumi.Input<string | undefined>;
|
|
393
|
+
/**
|
|
394
|
+
* The GUID of the auto-created team ownership collection. Managed by the provider; do not modify directly.
|
|
395
|
+
*/
|
|
396
|
+
ownershipCollectionId?: pulumi.Input<string | undefined>;
|
|
397
|
+
/**
|
|
398
|
+
* Entity management GUID of the parent team. Cannot be set to the team's own GUID.
|
|
399
|
+
*/
|
|
400
|
+
parentId?: pulumi.Input<string | undefined>;
|
|
401
|
+
/**
|
|
402
|
+
* Supplemental resource links attached to this team (e.g. runbooks, chat channels, on-call schedules). These are displayed in the team's Settings page in the New Relic UI under Contacts or Links, automatically categorised by type.
|
|
403
|
+
*/
|
|
404
|
+
resources?: pulumi.Input<pulumi.Input<inputs.TeamResource>[] | undefined>;
|
|
405
|
+
/**
|
|
406
|
+
* Tags to assign to this resource. Each tag has a key and one or more values.
|
|
407
|
+
*/
|
|
408
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TeamTag>[] | undefined>;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* The set of arguments for constructing a Team resource.
|
|
412
|
+
*/
|
|
413
|
+
export interface TeamArgs {
|
|
414
|
+
/**
|
|
415
|
+
* Additional searchable names for the team. Each alias must be unique within the organization.
|
|
416
|
+
*/
|
|
417
|
+
aliases?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
418
|
+
/**
|
|
419
|
+
* A free-text description of the team.
|
|
420
|
+
*/
|
|
421
|
+
description?: pulumi.Input<string | undefined>;
|
|
422
|
+
/**
|
|
423
|
+
* Set of entity GUIDs that this team owns. Added to the team's auto-created ownership collection.
|
|
424
|
+
*/
|
|
425
|
+
entities?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
426
|
+
/**
|
|
427
|
+
* Controls how Terraform manages this team's entity ownership collection.
|
|
428
|
+
*
|
|
429
|
+
* • `managed` (default): Terraform tracks the entities declared in the entities block and ensures they remain in the collection. Drift surfaces only when a declared entity goes missing. External additions are silently ignored.
|
|
430
|
+
* • `unmanaged`: Terraform does not control entity ownership. The ownership collection is left entirely to tag-based discovery and/or manual UI management. No drift or warnings are shown for entities, and the `entities` attribute cannot be set in this mode.
|
|
431
|
+
*/
|
|
432
|
+
entityManagementMode?: pulumi.Input<string | undefined>;
|
|
433
|
+
/**
|
|
434
|
+
* Set of New Relic user IDs (integers) to designate as team managers. Each ID must also appear in members.
|
|
435
|
+
*/
|
|
436
|
+
managers?: pulumi.Input<pulumi.Input<number>[] | undefined>;
|
|
437
|
+
/**
|
|
438
|
+
* Set of New Relic user IDs (integers) to add as members of this team. Managers must be a subset of members.
|
|
439
|
+
*/
|
|
440
|
+
members?: pulumi.Input<pulumi.Input<number>[] | undefined>;
|
|
441
|
+
/**
|
|
442
|
+
* The name of the team. Must be unique within the organization.
|
|
443
|
+
*/
|
|
444
|
+
name?: pulumi.Input<string | undefined>;
|
|
445
|
+
/**
|
|
446
|
+
* Entity management GUID of the parent team. Cannot be set to the team's own GUID.
|
|
447
|
+
*/
|
|
448
|
+
parentId?: pulumi.Input<string | undefined>;
|
|
449
|
+
/**
|
|
450
|
+
* Supplemental resource links attached to this team (e.g. runbooks, chat channels, on-call schedules). These are displayed in the team's Settings page in the New Relic UI under Contacts or Links, automatically categorised by type.
|
|
451
|
+
*/
|
|
452
|
+
resources?: pulumi.Input<pulumi.Input<inputs.TeamResource>[] | undefined>;
|
|
453
|
+
/**
|
|
454
|
+
* Tags to assign to this resource. Each tag has a key and one or more values.
|
|
455
|
+
*/
|
|
456
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TeamTag>[] | undefined>;
|
|
457
|
+
}
|
|
458
|
+
//# sourceMappingURL=team.d.ts.map
|
package/team.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.d.ts","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiQG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAO1H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EA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