You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(atracker): regen code for apidoc update and remove logdna target (due to logdna end of service) (IBM-Cloud#6056)
* fix(atracker): remove logdna target type due to logdna end of service
Signed-off-by: Wenjian Qiao <[email protected]>
* update tests
* minor update
* restore subcategory
---------
Signed-off-by: Wenjian Qiao <[email protected]>
| ibmcloud\_api\_key | IBM Cloud API key |`string`| true |
46
+
| name | The name of the target resource. |`string`| true |
47
+
| target_type | The type of the target. |`string`| true |
48
+
| region | Included this optional field if you used it to create a target in a different region other than the one you are connected. |`string`| false |
49
+
| cos_endpoint | Property values for a Cloud Object Storage Endpoint in responses. | `` | false |
50
+
| eventstreams_endpoint | Property values for the Event Streams Endpoint in responses. | `` | false |
51
+
| cloudlogs_endpoint | Property values for the IBM Cloud Logs endpoint in responses. | `` | false |
52
+
53
+
#### Outputs
54
+
55
+
| Name | Description |
56
+
|------|-------------|
57
+
| crn | The crn of the target resource. |
58
+
| write_status | The status of the write attempt to the target with the provided endpoint parameters. |
59
+
| created_at | The timestamp of the target creation time. |
60
+
| updated_at | The timestamp of the target last updated time. |
61
+
| message | An optional message containing information about the target. |
| ibmcloud\_api\_key | IBM Cloud API key |`string`| true |
78
+
| name | The name of the route. |`string`| true |
79
+
| rules | The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped. |`list()`| true |
80
+
81
+
#### Outputs
82
+
83
+
| Name | Description |
84
+
|------|-------------|
85
+
| crn | The crn of the route resource. |
86
+
| version | The version of the route. |
87
+
| created_at | The timestamp of the route creation time. |
88
+
| updated_at | The timestamp of the route last updated time. |
89
+
| api_version | The API version of the route. |
90
+
| message | An optional message containing information about the route. |
| ibmcloud\_api\_key | IBM Cloud API key |`string`| true |
109
+
| default_targets | The target ID List. In the event that no routing rule causes the event to be sent to a target, these targets will receive the event. |`list(string)`| false |
110
+
| permitted_target_regions | If present then only these regions may be used to define a target. |`list(string)`| false |
111
+
| metadata_region_primary | To store all your meta data in a single region. |`string`| true |
112
+
| metadata_region_backup | To store all your meta data in a backup region. |`string`| false |
113
+
| private_api_endpoint_only | If you set this true then you cannot access api through public network. |`bool`| true |
114
+
115
+
#### Outputs
116
+
117
+
| Name | Description |
118
+
|------|-------------|
119
+
| api_version | API version used for configuring IBM Cloud Activity Tracker Event Routing resources in the account. |
120
+
| message | An optional message containing information about the audit log locations. |
121
+
122
+
## Activity Tracker API Version 2 data sources
61
123
62
-
atracker_targets data source:
124
+
### Data source: ibm_atracker_targets
63
125
64
126
```hcl
65
-
data "atracker_targets" "atracker_targets_instance" {
127
+
data "ibm_atracker_targets" "atracker_targets_instance" {
128
+
region = var.atracker_targets_region
66
129
name = var.atracker_targets_name
67
130
}
68
131
```
69
-
atracker_routes data source:
132
+
133
+
#### Inputs
134
+
135
+
| Name | Description | Type | Required |
136
+
|------|-------------|------|---------|
137
+
| region | Limit the query to the specified region. |`string`| false |
138
+
| name | The name of the target resource. |`string`| false |
139
+
140
+
#### Outputs
141
+
142
+
| Name | Description |
143
+
|------|-------------|
144
+
| targets | A list of target resources. |
145
+
146
+
### Data source: ibm_atracker_routes
70
147
71
148
```hcl
72
-
data "atracker_routes" "atracker_routes_instance" {
149
+
data "ibm_atracker_routes" "atracker_routes_instance" {
73
150
name = var.atracker_routes_name
74
151
}
75
152
```
76
153
154
+
#### Inputs
155
+
156
+
| Name | Description | Type | Required |
157
+
|------|-------------|------|---------|
158
+
| name | The name of the route. |`string`| false |
159
+
160
+
#### Outputs
161
+
162
+
| Name | Description |
163
+
|------|-------------|
164
+
| routes | A list of route resources. |
165
+
77
166
## Assumptions
78
167
79
168
1. TODO
@@ -93,35 +182,3 @@ data "atracker_routes" "atracker_routes_instance" {
93
182
| Name | Version |
94
183
|------|---------|
95
184
| ibm | 1.13.1 |
96
-
97
-
## Inputs
98
-
99
-
| Name | Description | Type | Required |
100
-
|------|-------------|------|---------|
101
-
| ibmcloud\_api\_key | IBM Cloud API key |`string`| true |
102
-
| name | The name of the target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. |`string`| true |
103
-
| target_type | The type of the target. |`string`| true |
104
-
| cos_endpoint | Property values for a Cloud Object Storage Endpoint. | `` | true |
105
-
| eventstreams_endpoint | Property values for the Event Streams Endpoint. | `` | false |
106
-
| logdna_endpoint | Deprecated. Property values for a LogDNA Endpoint. Remove this attribute as it is no longer in use and it will be removed in the next major version of the provider.| `` | false |
107
-
| cloudlogs_endpoint | Property values for the IBM Cloud Logs Endpoint. | `` | false |
108
-
| name | The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`. |`string`| true |
109
-
| rules | The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped. |`list()`| true |
110
-
| default_targets | The target ID List. In the event that no routing rule causes the event to be sent to a target, these targets will receive the event. |`list(string)`| false |
111
-
| permitted_target_regions | If present then only these regions may be used to define a target. |`list(string)`| false |
112
-
| metadata_region_primary | To store all your meta data in a single region. |`string`| true |
113
-
| metadata_region_backup | To store all your meta data in a backup region. |`string`| false |
114
-
| private_api_endpoint_only | If you set this true then you cannot access api through public network. |`bool`| true |
115
-
| region | Limit the query to the specified region. |`string`| false |
116
-
| name | The name of the target resource. |`string`| false |
117
-
| name | The name of the route. |`string`| false |
Copy file name to clipboardExpand all lines: ibm/service/atracker/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ This area is primarily for IBM provider contributors and maintainers. For inform
5
5
6
6
## Environment variables to set for the tests
7
7
* COS_API_KEY : API Key used for creating COS targets
8
-
* INGESTION_KEY : Deprecated. LogDNA Ingestion Key used for creating Logdna targets. This variable is no longer in use and will be removed in the next major version of the provider.
9
8
* IES_API_KEY : Event streams password used for creating Event streams targets
0 commit comments