Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Go Client in IP Range Resource #435

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
692 changes: 346 additions & 346 deletions datadog/cassettes/TestAccDatadogDashboard_import.yaml

Large diffs are not rendered by default.

600 changes: 300 additions & 300 deletions datadog/cassettes/TestAccDatadogDashboard_update.yaml

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions datadog/cassettes/TestAccDatadogDowntimeDates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ interactions:
Content-Type:
- application/json
User-Agent:
- Datadog/dev/terraform (go1.14)
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime
method: POST
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -24,13 +24,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:01 GMT
- Fri, 06 Mar 2020 13:10:02 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:01 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:02 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -39,9 +39,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- KKQq2SiaDLpychKSp47ffvU6SRxUV+VzBWr187ESkULBuGOI+kREfb/2NCy8DAWC
- ldNaA6dSEPDapjFoBolZNm9KKT/3iEJM/Q1IyMe2D0P7l2S/rGI4bTGzxgP0/9Zs
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -52,12 +52,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -68,13 +68,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:01 GMT
- Fri, 06 Mar 2020 13:10:02 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:01 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:02 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -83,9 +83,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- l+fZq7vW9gg1qInAzXkJZdt8f8e/094RDnN9pOEIlkXbx1jb6kpjgt1+syYCZyFC
- o8MFmk+4Ge4vq85ax+5C1nfQs0lbtaPPYZrpqzeG6IsYGNLGMu/G7PbJElpjPS5i
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -96,12 +96,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -112,13 +112,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:01 GMT
- Fri, 06 Mar 2020 13:10:02 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:01 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:02 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -127,9 +127,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- svhoihUM58m7WJ4Z4lY5tmaXf/MnplHzAbMByuVznFW8yf3JIFAZgW/pCvMnq4iN
- 0Ldh7zbvTvxG6fwW0tw8N7mZPnI2XNOUoKCE8H0O1+b4UJVtdo0G52qWoFveZXDz
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -140,12 +140,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -156,13 +156,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:01 GMT
- Fri, 06 Mar 2020 13:10:03 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:01 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:03 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -171,9 +171,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- wB7h0Rt2IYxDUBLtoJ4y0ZOq10ZaMdDZiRuFZ3d/FUUtC7gfBEZWTs0Y6dZhoLZS
- wNaVyRyNliLxKeX4pqFHOJTBG1dRCwo1/ihrnAf0GXtGNGahc1XK8Xzj/ssA3R20
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -184,12 +184,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -200,13 +200,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:02 GMT
- Fri, 06 Mar 2020 13:10:03 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:02 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:03 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -215,9 +215,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- HtltRxB6FWULKbr8JD/35HKWhI+dqAFQg/rNpMbjeMOPUq5j5iWk+nIs8OwDOqUR
- Lo9psmCk9egobltaxBGqrQFhgCcgUTQoFZpr2xiSR+6tucB/owychJvFjr9YMWzu
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -228,12 +228,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":null,"monitor_id":null,"org_id":321813,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":null}'
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":null}'
headers:
Cache-Control:
- no-cache
Expand All @@ -244,13 +244,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:02 GMT
- Fri, 06 Mar 2020 13:10:03 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:02 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:03 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -259,9 +259,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- 2AZOmbSnS2o4jaTO55IoEgDi10r3ewUAnpo5XLuAFAThAxt0uvbRy8dZoSIDmBYA
- 3GTZ6ImnvkiMOuKTP2ILv/2CbQJLb5wTjyX1KOTCD/aaxDS+HyYye1EH1uVK9Ajh
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand All @@ -272,8 +272,8 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: DELETE
response:
body: ""
Expand All @@ -289,22 +289,22 @@ interactions:
Content-Type:
- text/html; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:02 GMT
- Fri, 06 Mar 2020 13:10:03 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:02 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:03 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- BQaWiIhDCyK3JbvyPZudxtMuoedbvOKE6tb5GJMfo6GT4EOQ8qx9lqgA4UCxp88q
- OxP+mFpjAbASiVhNf+t4MttAs95ZlMiGosIRnYJJGFoApNgv2oxtdzpnmNlMOki6
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 204 No Content
Expand All @@ -315,12 +315,12 @@ interactions:
form: {}
headers:
User-Agent:
- Datadog/dev/terraform (go1.14)
url: https://api.datadoghq.com/api/v1/downtime/750624639
- Datadog/dev/terraform (go1.13)
url: https://api.datadoghq.com/api/v1/downtime/757014520
method: GET
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":1582909262,"monitor_id":null,"org_id":321813,"disabled":true,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":750624639,"updater_id":1445416}'
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"canceled":1583500203,"monitor_id":null,"org_id":321813,"disabled":true,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"Example
Datadog downtime message.","downtime_type":0,"id":757014520,"updater_id":1445416}'
headers:
Cache-Control:
- no-cache
Expand All @@ -331,13 +331,13 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Fri, 28 Feb 2020 17:01:02 GMT
- Fri, 06 Mar 2020 13:10:03 GMT
Dd-Pool:
- dogweb
Pragma:
- no-cache
Set-Cookie:
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 06-Mar-2020 17:01:02 GMT;
- DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 13-Mar-2020 13:10:03 GMT;
secure; HttpOnly
Strict-Transport-Security:
- max-age=15724800;
Expand All @@ -346,9 +346,9 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Debug:
- fLh2Ki8TBaqqP7azNnKugW2P+FqYhl36RGg8m8syr+2I6kNse5gXxG00+xylWppT
- RngFxOd8mVeT14auLfzsH/6kz142QLoKkYXZjfmXpXDkZ/eN6uoCM3cTScXuFEa0
X-Dd-Version:
- "35.2224914"
- "35.2249222"
X-Frame-Options:
- SAMEORIGIN
status: 200 OK
Expand Down
Loading