pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1__py3-none-any.whl
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.
- pulumi_newrelic/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +326 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +263 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +193 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
- pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -42,7 +43,7 @@ class GetApplicationResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter(name="hostIds")
|
45
|
-
def host_ids(self) -> Sequence[str]:
|
46
|
+
def host_ids(self) -> Sequence[builtins.str]:
|
46
47
|
"""
|
47
48
|
A list of host IDs associated with the application.
|
48
49
|
"""
|
@@ -50,7 +51,7 @@ class GetApplicationResult:
|
|
50
51
|
|
51
52
|
@property
|
52
53
|
@pulumi.getter
|
53
|
-
def id(self) -> str:
|
54
|
+
def id(self) -> builtins.str:
|
54
55
|
"""
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
56
57
|
"""
|
@@ -58,7 +59,7 @@ class GetApplicationResult:
|
|
58
59
|
|
59
60
|
@property
|
60
61
|
@pulumi.getter(name="instanceIds")
|
61
|
-
def instance_ids(self) -> Sequence[str]:
|
62
|
+
def instance_ids(self) -> Sequence[builtins.str]:
|
62
63
|
"""
|
63
64
|
A list of instance IDs associated with the application.
|
64
65
|
"""
|
@@ -66,7 +67,7 @@ class GetApplicationResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter
|
69
|
-
def name(self) -> str:
|
70
|
+
def name(self) -> builtins.str:
|
70
71
|
return pulumi.get(self, "name")
|
71
72
|
|
72
73
|
|
@@ -82,7 +83,7 @@ class AwaitableGetApplicationResult(GetApplicationResult):
|
|
82
83
|
name=self.name)
|
83
84
|
|
84
85
|
|
85
|
-
def get_application(name: Optional[str] = None,
|
86
|
+
def get_application(name: Optional[builtins.str] = None,
|
86
87
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationResult:
|
87
88
|
"""
|
88
89
|
#### DEPRECATED! Use at your own risk. Use the `get_entity` data source instead. This feature may be removed in the next major release
|
@@ -114,7 +115,7 @@ def get_application(name: Optional[str] = None,
|
|
114
115
|
```
|
115
116
|
|
116
117
|
|
117
|
-
:param str name: The name of the application in New Relic.
|
118
|
+
:param builtins.str name: The name of the application in New Relic.
|
118
119
|
"""
|
119
120
|
__args__ = dict()
|
120
121
|
__args__['name'] = name
|
@@ -126,7 +127,7 @@ def get_application(name: Optional[str] = None,
|
|
126
127
|
id=pulumi.get(__ret__, 'id'),
|
127
128
|
instance_ids=pulumi.get(__ret__, 'instance_ids'),
|
128
129
|
name=pulumi.get(__ret__, 'name'))
|
129
|
-
def get_application_output(name: Optional[pulumi.Input[str]] = None,
|
130
|
+
def get_application_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
130
131
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApplicationResult]:
|
131
132
|
"""
|
132
133
|
#### DEPRECATED! Use at your own risk. Use the `get_entity` data source instead. This feature may be removed in the next major release
|
@@ -158,7 +159,7 @@ def get_application_output(name: Optional[pulumi.Input[str]] = None,
|
|
158
159
|
```
|
159
160
|
|
160
161
|
|
161
|
-
:param str name: The name of the application in New Relic.
|
162
|
+
:param builtins.str name: The name of the application in New Relic.
|
162
163
|
"""
|
163
164
|
__args__ = dict()
|
164
165
|
__args__['name'] = name
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -36,7 +37,7 @@ class GetAuthenticationDomainResult:
|
|
36
37
|
|
37
38
|
@property
|
38
39
|
@pulumi.getter
|
39
|
-
def id(self) -> str:
|
40
|
+
def id(self) -> builtins.str:
|
40
41
|
"""
|
41
42
|
The ID of the matching authentication domain fetched.
|
42
43
|
"""
|
@@ -44,7 +45,7 @@ class GetAuthenticationDomainResult:
|
|
44
45
|
|
45
46
|
@property
|
46
47
|
@pulumi.getter
|
47
|
-
def name(self) -> str:
|
48
|
+
def name(self) -> builtins.str:
|
48
49
|
return pulumi.get(self, "name")
|
49
50
|
|
50
51
|
|
@@ -58,7 +59,7 @@ class AwaitableGetAuthenticationDomainResult(GetAuthenticationDomainResult):
|
|
58
59
|
name=self.name)
|
59
60
|
|
60
61
|
|
61
|
-
def get_authentication_domain(name: Optional[str] = None,
|
62
|
+
def get_authentication_domain(name: Optional[builtins.str] = None,
|
62
63
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthenticationDomainResult:
|
63
64
|
"""
|
64
65
|
Use this data source to fetch the ID of an authentication domain belonging to your account, matching the specified name.
|
@@ -74,7 +75,7 @@ def get_authentication_domain(name: Optional[str] = None,
|
|
74
75
|
```
|
75
76
|
|
76
77
|
|
77
|
-
:param str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
78
|
+
:param builtins.str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
78
79
|
"""
|
79
80
|
__args__ = dict()
|
80
81
|
__args__['name'] = name
|
@@ -84,7 +85,7 @@ def get_authentication_domain(name: Optional[str] = None,
|
|
84
85
|
return AwaitableGetAuthenticationDomainResult(
|
85
86
|
id=pulumi.get(__ret__, 'id'),
|
86
87
|
name=pulumi.get(__ret__, 'name'))
|
87
|
-
def get_authentication_domain_output(name: Optional[pulumi.Input[str]] = None,
|
88
|
+
def get_authentication_domain_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
88
89
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthenticationDomainResult]:
|
89
90
|
"""
|
90
91
|
Use this data source to fetch the ID of an authentication domain belonging to your account, matching the specified name.
|
@@ -100,7 +101,7 @@ def get_authentication_domain_output(name: Optional[pulumi.Input[str]] = None,
|
|
100
101
|
```
|
101
102
|
|
102
103
|
|
103
|
-
:param str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
104
|
+
:param builtins.str name: The name of the authentication domain to be searched for. An error is thrown, if no authentication domain is found with the specified name.
|
104
105
|
"""
|
105
106
|
__args__ = dict()
|
106
107
|
__args__['name'] = name
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -42,17 +43,17 @@ class GetCloudAccountResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter(name="accountId")
|
45
|
-
def account_id(self) -> Optional[str]:
|
46
|
+
def account_id(self) -> Optional[builtins.str]:
|
46
47
|
return pulumi.get(self, "account_id")
|
47
48
|
|
48
49
|
@property
|
49
50
|
@pulumi.getter(name="cloudProvider")
|
50
|
-
def cloud_provider(self) -> str:
|
51
|
+
def cloud_provider(self) -> builtins.str:
|
51
52
|
return pulumi.get(self, "cloud_provider")
|
52
53
|
|
53
54
|
@property
|
54
55
|
@pulumi.getter
|
55
|
-
def id(self) -> str:
|
56
|
+
def id(self) -> builtins.str:
|
56
57
|
"""
|
57
58
|
The provider-assigned unique ID for this managed resource.
|
58
59
|
"""
|
@@ -60,7 +61,7 @@ class GetCloudAccountResult:
|
|
60
61
|
|
61
62
|
@property
|
62
63
|
@pulumi.getter
|
63
|
-
def name(self) -> str:
|
64
|
+
def name(self) -> builtins.str:
|
64
65
|
return pulumi.get(self, "name")
|
65
66
|
|
66
67
|
|
@@ -76,9 +77,9 @@ class AwaitableGetCloudAccountResult(GetCloudAccountResult):
|
|
76
77
|
name=self.name)
|
77
78
|
|
78
79
|
|
79
|
-
def get_cloud_account(account_id: Optional[str] = None,
|
80
|
-
cloud_provider: Optional[str] = None,
|
81
|
-
name: Optional[str] = None,
|
80
|
+
def get_cloud_account(account_id: Optional[builtins.str] = None,
|
81
|
+
cloud_provider: Optional[builtins.str] = None,
|
82
|
+
name: Optional[builtins.str] = None,
|
82
83
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudAccountResult:
|
83
84
|
"""
|
84
85
|
Use this data source to get information about a specific cloud account linked to New Relic.
|
@@ -96,9 +97,9 @@ def get_cloud_account(account_id: Optional[str] = None,
|
|
96
97
|
```
|
97
98
|
|
98
99
|
|
99
|
-
:param str account_id: The account ID in New Relic.
|
100
|
-
:param str cloud_provider: The cloud provider of the account (aws, gcp, azure, etc)
|
101
|
-
:param str name: The cloud account name in New Relic.
|
100
|
+
:param builtins.str account_id: The account ID in New Relic.
|
101
|
+
:param builtins.str cloud_provider: The cloud provider of the account (aws, gcp, azure, etc)
|
102
|
+
:param builtins.str name: The cloud account name in New Relic.
|
102
103
|
"""
|
103
104
|
__args__ = dict()
|
104
105
|
__args__['accountId'] = account_id
|
@@ -112,9 +113,9 @@ def get_cloud_account(account_id: Optional[str] = None,
|
|
112
113
|
cloud_provider=pulumi.get(__ret__, 'cloud_provider'),
|
113
114
|
id=pulumi.get(__ret__, 'id'),
|
114
115
|
name=pulumi.get(__ret__, 'name'))
|
115
|
-
def get_cloud_account_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
116
|
-
cloud_provider: Optional[pulumi.Input[str]] = None,
|
117
|
-
name: Optional[pulumi.Input[str]] = None,
|
116
|
+
def get_cloud_account_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
117
|
+
cloud_provider: Optional[pulumi.Input[builtins.str]] = None,
|
118
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
118
119
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudAccountResult]:
|
119
120
|
"""
|
120
121
|
Use this data source to get information about a specific cloud account linked to New Relic.
|
@@ -132,9 +133,9 @@ def get_cloud_account_output(account_id: Optional[pulumi.Input[Optional[str]]] =
|
|
132
133
|
```
|
133
134
|
|
134
135
|
|
135
|
-
:param str account_id: The account ID in New Relic.
|
136
|
-
:param str cloud_provider: The cloud provider of the account (aws, gcp, azure, etc)
|
137
|
-
:param str name: The cloud account name in New Relic.
|
136
|
+
:param builtins.str account_id: The account ID in New Relic.
|
137
|
+
:param builtins.str cloud_provider: The cloud provider of the account (aws, gcp, azure, etc)
|
138
|
+
:param builtins.str name: The cloud account name in New Relic.
|
138
139
|
"""
|
139
140
|
__args__ = dict()
|
140
141
|
__args__['accountId'] = account_id
|
pulumi_newrelic/get_entity.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -68,12 +69,12 @@ class GetEntityResult:
|
|
68
69
|
|
69
70
|
@property
|
70
71
|
@pulumi.getter(name="accountId")
|
71
|
-
def account_id(self) -> str:
|
72
|
+
def account_id(self) -> builtins.str:
|
72
73
|
return pulumi.get(self, "account_id")
|
73
74
|
|
74
75
|
@property
|
75
76
|
@pulumi.getter(name="applicationId")
|
76
|
-
def application_id(self) -> str:
|
77
|
+
def application_id(self) -> builtins.str:
|
77
78
|
"""
|
78
79
|
The domain-specific application ID of the entity. Only returned for APM and Browser applications.
|
79
80
|
"""
|
@@ -81,12 +82,12 @@ class GetEntityResult:
|
|
81
82
|
|
82
83
|
@property
|
83
84
|
@pulumi.getter
|
84
|
-
def domain(self) -> str:
|
85
|
+
def domain(self) -> builtins.str:
|
85
86
|
return pulumi.get(self, "domain")
|
86
87
|
|
87
88
|
@property
|
88
89
|
@pulumi.getter(name="entityTags")
|
89
|
-
def entity_tags(self) -> str:
|
90
|
+
def entity_tags(self) -> builtins.str:
|
90
91
|
"""
|
91
92
|
A JSON-encoded string, comprising tags associated with the entity fetched.
|
92
93
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
@@ -95,7 +96,7 @@ class GetEntityResult:
|
|
95
96
|
|
96
97
|
@property
|
97
98
|
@pulumi.getter
|
98
|
-
def guid(self) -> str:
|
99
|
+
def guid(self) -> builtins.str:
|
99
100
|
"""
|
100
101
|
The unique GUID of the entity.
|
101
102
|
"""
|
@@ -103,7 +104,7 @@ class GetEntityResult:
|
|
103
104
|
|
104
105
|
@property
|
105
106
|
@pulumi.getter
|
106
|
-
def id(self) -> str:
|
107
|
+
def id(self) -> builtins.str:
|
107
108
|
"""
|
108
109
|
The provider-assigned unique ID for this managed resource.
|
109
110
|
"""
|
@@ -111,22 +112,22 @@ class GetEntityResult:
|
|
111
112
|
|
112
113
|
@property
|
113
114
|
@pulumi.getter(name="ignoreCase")
|
114
|
-
def ignore_case(self) -> Optional[bool]:
|
115
|
+
def ignore_case(self) -> Optional[builtins.bool]:
|
115
116
|
return pulumi.get(self, "ignore_case")
|
116
117
|
|
117
118
|
@property
|
118
119
|
@pulumi.getter(name="ignoreNotFound")
|
119
|
-
def ignore_not_found(self) -> Optional[bool]:
|
120
|
+
def ignore_not_found(self) -> Optional[builtins.bool]:
|
120
121
|
return pulumi.get(self, "ignore_not_found")
|
121
122
|
|
122
123
|
@property
|
123
124
|
@pulumi.getter
|
124
|
-
def name(self) -> str:
|
125
|
+
def name(self) -> builtins.str:
|
125
126
|
return pulumi.get(self, "name")
|
126
127
|
|
127
128
|
@property
|
128
129
|
@pulumi.getter(name="servingApmApplicationId")
|
129
|
-
def serving_apm_application_id(self) -> str:
|
130
|
+
def serving_apm_application_id(self) -> builtins.str:
|
130
131
|
"""
|
131
132
|
The browser-specific ID of the backing APM entity. Only returned for Browser applications.
|
132
133
|
"""
|
@@ -139,7 +140,7 @@ class GetEntityResult:
|
|
139
140
|
|
140
141
|
@property
|
141
142
|
@pulumi.getter
|
142
|
-
def type(self) -> str:
|
143
|
+
def type(self) -> builtins.str:
|
143
144
|
return pulumi.get(self, "type")
|
144
145
|
|
145
146
|
|
@@ -163,29 +164,29 @@ class AwaitableGetEntityResult(GetEntityResult):
|
|
163
164
|
type=self.type)
|
164
165
|
|
165
166
|
|
166
|
-
def get_entity(account_id: Optional[str] = None,
|
167
|
-
domain: Optional[str] = None,
|
168
|
-
entity_tags: Optional[str] = None,
|
169
|
-
ignore_case: Optional[bool] = None,
|
170
|
-
ignore_not_found: Optional[bool] = None,
|
171
|
-
name: Optional[str] = None,
|
167
|
+
def get_entity(account_id: Optional[builtins.str] = None,
|
168
|
+
domain: Optional[builtins.str] = None,
|
169
|
+
entity_tags: Optional[builtins.str] = None,
|
170
|
+
ignore_case: Optional[builtins.bool] = None,
|
171
|
+
ignore_not_found: Optional[builtins.bool] = None,
|
172
|
+
name: Optional[builtins.str] = None,
|
172
173
|
tags: Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]] = None,
|
173
|
-
type: Optional[str] = None,
|
174
|
+
type: Optional[builtins.str] = None,
|
174
175
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityResult:
|
175
176
|
"""
|
176
177
|
Use this data source to access information about an existing resource.
|
177
178
|
|
178
|
-
:param str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
179
|
-
:param str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
180
|
-
:param str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
179
|
+
:param builtins.str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
180
|
+
:param builtins.str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
181
|
+
:param builtins.str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
181
182
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
182
|
-
:param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
183
|
-
:param bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
183
|
+
:param builtins.bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
184
|
+
:param builtins.bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
184
185
|
|
185
186
|
> **WARNING:** Setting the `ignore_not_found` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
186
|
-
:param str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
187
|
+
:param builtins.str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
187
188
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
188
|
-
:param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
189
|
+
:param builtins.str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
189
190
|
"""
|
190
191
|
__args__ = dict()
|
191
192
|
__args__['accountId'] = account_id
|
@@ -212,29 +213,29 @@ def get_entity(account_id: Optional[str] = None,
|
|
212
213
|
serving_apm_application_id=pulumi.get(__ret__, 'serving_apm_application_id'),
|
213
214
|
tags=pulumi.get(__ret__, 'tags'),
|
214
215
|
type=pulumi.get(__ret__, 'type'))
|
215
|
-
def get_entity_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
216
|
-
domain: Optional[pulumi.Input[Optional[str]]] = None,
|
217
|
-
entity_tags: Optional[pulumi.Input[Optional[str]]] = None,
|
218
|
-
ignore_case: Optional[pulumi.Input[Optional[bool]]] = None,
|
219
|
-
ignore_not_found: Optional[pulumi.Input[Optional[bool]]] = None,
|
220
|
-
name: Optional[pulumi.Input[str]] = None,
|
216
|
+
def get_entity_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
217
|
+
domain: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
218
|
+
entity_tags: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
219
|
+
ignore_case: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
220
|
+
ignore_not_found: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
221
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
221
222
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]]]] = None,
|
222
|
-
type: Optional[pulumi.Input[Optional[str]]] = None,
|
223
|
+
type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
223
224
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityResult]:
|
224
225
|
"""
|
225
226
|
Use this data source to access information about an existing resource.
|
226
227
|
|
227
|
-
:param str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
228
|
-
:param str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
229
|
-
:param str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
228
|
+
:param builtins.str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
229
|
+
:param builtins.str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
230
|
+
:param builtins.str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
230
231
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
231
|
-
:param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
232
|
-
:param bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
232
|
+
:param builtins.bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
233
|
+
:param builtins.bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
233
234
|
|
234
235
|
> **WARNING:** Setting the `ignore_not_found` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
235
|
-
:param str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
236
|
+
:param builtins.str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
236
237
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
237
|
-
:param str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
238
|
+
:param builtins.str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
238
239
|
"""
|
239
240
|
__args__ = dict()
|
240
241
|
__args__['accountId'] = account_id
|
pulumi_newrelic/get_group.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -42,12 +43,12 @@ class GetGroupResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter(name="authenticationDomainId")
|
45
|
-
def authentication_domain_id(self) -> str:
|
46
|
+
def authentication_domain_id(self) -> builtins.str:
|
46
47
|
return pulumi.get(self, "authentication_domain_id")
|
47
48
|
|
48
49
|
@property
|
49
50
|
@pulumi.getter
|
50
|
-
def id(self) -> str:
|
51
|
+
def id(self) -> builtins.str:
|
51
52
|
"""
|
52
53
|
The ID of the fetched matching group.
|
53
54
|
"""
|
@@ -55,12 +56,12 @@ class GetGroupResult:
|
|
55
56
|
|
56
57
|
@property
|
57
58
|
@pulumi.getter
|
58
|
-
def name(self) -> str:
|
59
|
+
def name(self) -> builtins.str:
|
59
60
|
return pulumi.get(self, "name")
|
60
61
|
|
61
62
|
@property
|
62
63
|
@pulumi.getter(name="userIds")
|
63
|
-
def user_ids(self) -> Sequence[str]:
|
64
|
+
def user_ids(self) -> Sequence[builtins.str]:
|
64
65
|
"""
|
65
66
|
IDs of users who belong to the group. In the absence of any users in the group, the value of this attribute would be an empty list.
|
66
67
|
"""
|
@@ -79,8 +80,8 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
79
80
|
user_ids=self.user_ids)
|
80
81
|
|
81
82
|
|
82
|
-
def get_group(authentication_domain_id: Optional[str] = None,
|
83
|
-
name: Optional[str] = None,
|
83
|
+
def get_group(authentication_domain_id: Optional[builtins.str] = None,
|
84
|
+
name: Optional[builtins.str] = None,
|
84
85
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupResult:
|
85
86
|
"""
|
86
87
|
The `Group` data source helps search for a group by its name and retrieve the ID of the matching group and other associated attributes.
|
@@ -118,8 +119,8 @@ def get_group(authentication_domain_id: Optional[str] = None,
|
|
118
119
|
```
|
119
120
|
|
120
121
|
|
121
|
-
:param str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
122
|
-
:param str name: The name of the group to search for.
|
122
|
+
:param builtins.str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
123
|
+
:param builtins.str name: The name of the group to search for.
|
123
124
|
|
124
125
|
> **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
|
125
126
|
"""
|
@@ -134,8 +135,8 @@ def get_group(authentication_domain_id: Optional[str] = None,
|
|
134
135
|
id=pulumi.get(__ret__, 'id'),
|
135
136
|
name=pulumi.get(__ret__, 'name'),
|
136
137
|
user_ids=pulumi.get(__ret__, 'user_ids'))
|
137
|
-
def get_group_output(authentication_domain_id: Optional[pulumi.Input[str]] = None,
|
138
|
-
name: Optional[pulumi.Input[str]] = None,
|
138
|
+
def get_group_output(authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
|
139
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
139
140
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]:
|
140
141
|
"""
|
141
142
|
The `Group` data source helps search for a group by its name and retrieve the ID of the matching group and other associated attributes.
|
@@ -173,8 +174,8 @@ def get_group_output(authentication_domain_id: Optional[pulumi.Input[str]] = Non
|
|
173
174
|
```
|
174
175
|
|
175
176
|
|
176
|
-
:param str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
177
|
-
:param str name: The name of the group to search for.
|
177
|
+
:param builtins.str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
178
|
+
:param builtins.str name: The name of the group to search for.
|
178
179
|
|
179
180
|
> **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
|
180
181
|
"""
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -48,12 +49,12 @@ class GetKeyTransactionResult:
|
|
48
49
|
|
49
50
|
@property
|
50
51
|
@pulumi.getter(name="accountId")
|
51
|
-
def account_id(self) -> str:
|
52
|
+
def account_id(self) -> builtins.str:
|
52
53
|
return pulumi.get(self, "account_id")
|
53
54
|
|
54
55
|
@property
|
55
56
|
@pulumi.getter
|
56
|
-
def domain(self) -> str:
|
57
|
+
def domain(self) -> builtins.str:
|
57
58
|
"""
|
58
59
|
Domain of the key transaction in New Relic.
|
59
60
|
"""
|
@@ -61,7 +62,7 @@ class GetKeyTransactionResult:
|
|
61
62
|
|
62
63
|
@property
|
63
64
|
@pulumi.getter
|
64
|
-
def guid(self) -> str:
|
65
|
+
def guid(self) -> builtins.str:
|
65
66
|
"""
|
66
67
|
GUID of the key transaction in New Relic.
|
67
68
|
"""
|
@@ -69,7 +70,7 @@ class GetKeyTransactionResult:
|
|
69
70
|
|
70
71
|
@property
|
71
72
|
@pulumi.getter
|
72
|
-
def id(self) -> str:
|
73
|
+
def id(self) -> builtins.str:
|
73
74
|
"""
|
74
75
|
The provider-assigned unique ID for this managed resource.
|
75
76
|
"""
|
@@ -77,12 +78,12 @@ class GetKeyTransactionResult:
|
|
77
78
|
|
78
79
|
@property
|
79
80
|
@pulumi.getter
|
80
|
-
def name(self) -> str:
|
81
|
+
def name(self) -> builtins.str:
|
81
82
|
return pulumi.get(self, "name")
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter
|
85
|
-
def type(self) -> str:
|
86
|
+
def type(self) -> builtins.str:
|
86
87
|
"""
|
87
88
|
Type of the key transaction in New Relic.
|
88
89
|
"""
|
@@ -103,9 +104,9 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
|
|
103
104
|
type=self.type)
|
104
105
|
|
105
106
|
|
106
|
-
def get_key_transaction(account_id: Optional[str] = None,
|
107
|
-
guid: Optional[str] = None,
|
108
|
-
name: Optional[str] = None,
|
107
|
+
def get_key_transaction(account_id: Optional[builtins.str] = None,
|
108
|
+
guid: Optional[builtins.str] = None,
|
109
|
+
name: Optional[builtins.str] = None,
|
109
110
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyTransactionResult:
|
110
111
|
"""
|
111
112
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
@@ -135,11 +136,11 @@ def get_key_transaction(account_id: Optional[str] = None,
|
|
135
136
|
```
|
136
137
|
|
137
138
|
|
138
|
-
:param str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
139
|
+
:param builtins.str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
139
140
|
|
140
141
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
141
|
-
:param str guid: GUID of the key transaction in New Relic.
|
142
|
-
:param str name: The name of the key transaction in New Relic.
|
142
|
+
:param builtins.str guid: GUID of the key transaction in New Relic.
|
143
|
+
:param builtins.str name: The name of the key transaction in New Relic.
|
143
144
|
"""
|
144
145
|
__args__ = dict()
|
145
146
|
__args__['accountId'] = account_id
|
@@ -155,9 +156,9 @@ def get_key_transaction(account_id: Optional[str] = None,
|
|
155
156
|
id=pulumi.get(__ret__, 'id'),
|
156
157
|
name=pulumi.get(__ret__, 'name'),
|
157
158
|
type=pulumi.get(__ret__, 'type'))
|
158
|
-
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
159
|
-
guid: Optional[pulumi.Input[Optional[str]]] = None,
|
160
|
-
name: Optional[pulumi.Input[str]] = None,
|
159
|
+
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
160
|
+
guid: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
161
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
161
162
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyTransactionResult]:
|
162
163
|
"""
|
163
164
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
@@ -187,11 +188,11 @@ def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[str]]]
|
|
187
188
|
```
|
188
189
|
|
189
190
|
|
190
|
-
:param str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
191
|
+
:param builtins.str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
191
192
|
|
192
193
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
193
|
-
:param str guid: GUID of the key transaction in New Relic.
|
194
|
-
:param str name: The name of the key transaction in New Relic.
|
194
|
+
:param builtins.str guid: GUID of the key transaction in New Relic.
|
195
|
+
:param builtins.str name: The name of the key transaction in New Relic.
|
195
196
|
"""
|
196
197
|
__args__ = dict()
|
197
198
|
__args__['accountId'] = account_id
|