|
2 | 2 | // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. |
3 | 3 | // Code generated. DO NOT EDIT. |
4 | 4 |
|
5 | | -// Application Performance Monitoring Synthetic Monitoring API |
| 5 | +// APM Availability Monitoring API |
6 | 6 | // |
7 | | -// Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors. For more information, see Application Performance Monitoring (https://docs.oracle.com/iaas/application-performance-monitoring/index.html). |
| 7 | +// Use the APM Availability Monitoring API to query Scripts, Monitors, Dedicated Vantage Points and On-Premise Vantage Points resources. For more information, see Application Performance Monitoring (https://docs.oracle.com/iaas/application-performance-monitoring/index.html). |
8 | 8 | // |
9 | 9 |
|
10 | 10 | package apmsynthetics |
@@ -145,7 +145,7 @@ func (client ApmSyntheticClient) aggregateNetworkData(ctx context.Context, reque |
145 | 145 | defer common.CloseBodyIfValid(httpResponse) |
146 | 146 | response.RawResponse = httpResponse |
147 | 147 | if err != nil { |
148 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/AggregatedNetworkDataResult/AggregateNetworkData" |
| 148 | + apiReferenceLink := "" |
149 | 149 | err = common.PostProcessServiceError(err, "ApmSynthetic", "AggregateNetworkData", apiReferenceLink) |
150 | 150 | return response, err |
151 | 151 | } |
@@ -208,7 +208,7 @@ func (client ApmSyntheticClient) createDedicatedVantagePoint(ctx context.Context |
208 | 208 | defer common.CloseBodyIfValid(httpResponse) |
209 | 209 | response.RawResponse = httpResponse |
210 | 210 | if err != nil { |
211 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/CreateDedicatedVantagePoint" |
| 211 | + apiReferenceLink := "" |
212 | 212 | err = common.PostProcessServiceError(err, "ApmSynthetic", "CreateDedicatedVantagePoint", apiReferenceLink) |
213 | 213 | return response, err |
214 | 214 | } |
@@ -271,7 +271,7 @@ func (client ApmSyntheticClient) createMonitor(ctx context.Context, request comm |
271 | 271 | defer common.CloseBodyIfValid(httpResponse) |
272 | 272 | response.RawResponse = httpResponse |
273 | 273 | if err != nil { |
274 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/CreateMonitor" |
| 274 | + apiReferenceLink := "" |
275 | 275 | err = common.PostProcessServiceError(err, "ApmSynthetic", "CreateMonitor", apiReferenceLink) |
276 | 276 | return response, err |
277 | 277 | } |
@@ -334,7 +334,7 @@ func (client ApmSyntheticClient) createOnPremiseVantagePoint(ctx context.Context |
334 | 334 | defer common.CloseBodyIfValid(httpResponse) |
335 | 335 | response.RawResponse = httpResponse |
336 | 336 | if err != nil { |
337 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/CreateOnPremiseVantagePoint" |
| 337 | + apiReferenceLink := "" |
338 | 338 | err = common.PostProcessServiceError(err, "ApmSynthetic", "CreateOnPremiseVantagePoint", apiReferenceLink) |
339 | 339 | return response, err |
340 | 340 | } |
@@ -397,7 +397,7 @@ func (client ApmSyntheticClient) createScript(ctx context.Context, request commo |
397 | 397 | defer common.CloseBodyIfValid(httpResponse) |
398 | 398 | response.RawResponse = httpResponse |
399 | 399 | if err != nil { |
400 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/CreateScript" |
| 400 | + apiReferenceLink := "" |
401 | 401 | err = common.PostProcessServiceError(err, "ApmSynthetic", "CreateScript", apiReferenceLink) |
402 | 402 | return response, err |
403 | 403 | } |
@@ -460,7 +460,7 @@ func (client ApmSyntheticClient) createWorker(ctx context.Context, request commo |
460 | 460 | defer common.CloseBodyIfValid(httpResponse) |
461 | 461 | response.RawResponse = httpResponse |
462 | 462 | if err != nil { |
463 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/CreateWorker" |
| 463 | + apiReferenceLink := "" |
464 | 464 | err = common.PostProcessServiceError(err, "ApmSynthetic", "CreateWorker", apiReferenceLink) |
465 | 465 | return response, err |
466 | 466 | } |
@@ -518,7 +518,7 @@ func (client ApmSyntheticClient) deleteDedicatedVantagePoint(ctx context.Context |
518 | 518 | defer common.CloseBodyIfValid(httpResponse) |
519 | 519 | response.RawResponse = httpResponse |
520 | 520 | if err != nil { |
521 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/DeleteDedicatedVantagePoint" |
| 521 | + apiReferenceLink := "" |
522 | 522 | err = common.PostProcessServiceError(err, "ApmSynthetic", "DeleteDedicatedVantagePoint", apiReferenceLink) |
523 | 523 | return response, err |
524 | 524 | } |
@@ -576,7 +576,7 @@ func (client ApmSyntheticClient) deleteMonitor(ctx context.Context, request comm |
576 | 576 | defer common.CloseBodyIfValid(httpResponse) |
577 | 577 | response.RawResponse = httpResponse |
578 | 578 | if err != nil { |
579 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/DeleteMonitor" |
| 579 | + apiReferenceLink := "" |
580 | 580 | err = common.PostProcessServiceError(err, "ApmSynthetic", "DeleteMonitor", apiReferenceLink) |
581 | 581 | return response, err |
582 | 582 | } |
@@ -634,7 +634,7 @@ func (client ApmSyntheticClient) deleteOnPremiseVantagePoint(ctx context.Context |
634 | 634 | defer common.CloseBodyIfValid(httpResponse) |
635 | 635 | response.RawResponse = httpResponse |
636 | 636 | if err != nil { |
637 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/DeleteOnPremiseVantagePoint" |
| 637 | + apiReferenceLink := "" |
638 | 638 | err = common.PostProcessServiceError(err, "ApmSynthetic", "DeleteOnPremiseVantagePoint", apiReferenceLink) |
639 | 639 | return response, err |
640 | 640 | } |
@@ -692,7 +692,7 @@ func (client ApmSyntheticClient) deleteScript(ctx context.Context, request commo |
692 | 692 | defer common.CloseBodyIfValid(httpResponse) |
693 | 693 | response.RawResponse = httpResponse |
694 | 694 | if err != nil { |
695 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/DeleteScript" |
| 695 | + apiReferenceLink := "" |
696 | 696 | err = common.PostProcessServiceError(err, "ApmSynthetic", "DeleteScript", apiReferenceLink) |
697 | 697 | return response, err |
698 | 698 | } |
@@ -750,7 +750,7 @@ func (client ApmSyntheticClient) deleteWorker(ctx context.Context, request commo |
750 | 750 | defer common.CloseBodyIfValid(httpResponse) |
751 | 751 | response.RawResponse = httpResponse |
752 | 752 | if err != nil { |
753 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/DeleteWorker" |
| 753 | + apiReferenceLink := "" |
754 | 754 | err = common.PostProcessServiceError(err, "ApmSynthetic", "DeleteWorker", apiReferenceLink) |
755 | 755 | return response, err |
756 | 756 | } |
@@ -808,7 +808,7 @@ func (client ApmSyntheticClient) getDedicatedVantagePoint(ctx context.Context, r |
808 | 808 | defer common.CloseBodyIfValid(httpResponse) |
809 | 809 | response.RawResponse = httpResponse |
810 | 810 | if err != nil { |
811 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/GetDedicatedVantagePoint" |
| 811 | + apiReferenceLink := "" |
812 | 812 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetDedicatedVantagePoint", apiReferenceLink) |
813 | 813 | return response, err |
814 | 814 | } |
@@ -866,7 +866,7 @@ func (client ApmSyntheticClient) getMonitor(ctx context.Context, request common. |
866 | 866 | defer common.CloseBodyIfValid(httpResponse) |
867 | 867 | response.RawResponse = httpResponse |
868 | 868 | if err != nil { |
869 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/GetMonitor" |
| 869 | + apiReferenceLink := "" |
870 | 870 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetMonitor", apiReferenceLink) |
871 | 871 | return response, err |
872 | 872 | } |
@@ -924,7 +924,7 @@ func (client ApmSyntheticClient) getMonitorResult(ctx context.Context, request c |
924 | 924 | defer common.CloseBodyIfValid(httpResponse) |
925 | 925 | response.RawResponse = httpResponse |
926 | 926 | if err != nil { |
927 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorResult/GetMonitorResult" |
| 927 | + apiReferenceLink := "" |
928 | 928 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetMonitorResult", apiReferenceLink) |
929 | 929 | return response, err |
930 | 930 | } |
@@ -982,7 +982,7 @@ func (client ApmSyntheticClient) getOnPremiseVantagePoint(ctx context.Context, r |
982 | 982 | defer common.CloseBodyIfValid(httpResponse) |
983 | 983 | response.RawResponse = httpResponse |
984 | 984 | if err != nil { |
985 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/GetOnPremiseVantagePoint" |
| 985 | + apiReferenceLink := "" |
986 | 986 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetOnPremiseVantagePoint", apiReferenceLink) |
987 | 987 | return response, err |
988 | 988 | } |
@@ -1040,7 +1040,7 @@ func (client ApmSyntheticClient) getScript(ctx context.Context, request common.O |
1040 | 1040 | defer common.CloseBodyIfValid(httpResponse) |
1041 | 1041 | response.RawResponse = httpResponse |
1042 | 1042 | if err != nil { |
1043 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/GetScript" |
| 1043 | + apiReferenceLink := "" |
1044 | 1044 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetScript", apiReferenceLink) |
1045 | 1045 | return response, err |
1046 | 1046 | } |
@@ -1098,7 +1098,7 @@ func (client ApmSyntheticClient) getWorker(ctx context.Context, request common.O |
1098 | 1098 | defer common.CloseBodyIfValid(httpResponse) |
1099 | 1099 | response.RawResponse = httpResponse |
1100 | 1100 | if err != nil { |
1101 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/GetWorker" |
| 1101 | + apiReferenceLink := "" |
1102 | 1102 | err = common.PostProcessServiceError(err, "ApmSynthetic", "GetWorker", apiReferenceLink) |
1103 | 1103 | return response, err |
1104 | 1104 | } |
@@ -1156,7 +1156,7 @@ func (client ApmSyntheticClient) listDedicatedVantagePoints(ctx context.Context, |
1156 | 1156 | defer common.CloseBodyIfValid(httpResponse) |
1157 | 1157 | response.RawResponse = httpResponse |
1158 | 1158 | if err != nil { |
1159 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePointCollection/ListDedicatedVantagePoints" |
| 1159 | + apiReferenceLink := "" |
1160 | 1160 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListDedicatedVantagePoints", apiReferenceLink) |
1161 | 1161 | return response, err |
1162 | 1162 | } |
@@ -1214,7 +1214,7 @@ func (client ApmSyntheticClient) listMonitors(ctx context.Context, request commo |
1214 | 1214 | defer common.CloseBodyIfValid(httpResponse) |
1215 | 1215 | response.RawResponse = httpResponse |
1216 | 1216 | if err != nil { |
1217 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorCollection/ListMonitors" |
| 1217 | + apiReferenceLink := "" |
1218 | 1218 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListMonitors", apiReferenceLink) |
1219 | 1219 | return response, err |
1220 | 1220 | } |
@@ -1272,7 +1272,7 @@ func (client ApmSyntheticClient) listOnPremiseVantagePoints(ctx context.Context, |
1272 | 1272 | defer common.CloseBodyIfValid(httpResponse) |
1273 | 1273 | response.RawResponse = httpResponse |
1274 | 1274 | if err != nil { |
1275 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePointCollection/ListOnPremiseVantagePoints" |
| 1275 | + apiReferenceLink := "" |
1276 | 1276 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListOnPremiseVantagePoints", apiReferenceLink) |
1277 | 1277 | return response, err |
1278 | 1278 | } |
@@ -1330,7 +1330,7 @@ func (client ApmSyntheticClient) listPublicVantagePoints(ctx context.Context, re |
1330 | 1330 | defer common.CloseBodyIfValid(httpResponse) |
1331 | 1331 | response.RawResponse = httpResponse |
1332 | 1332 | if err != nil { |
1333 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/PublicVantagePointCollection/ListPublicVantagePoints" |
| 1333 | + apiReferenceLink := "" |
1334 | 1334 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListPublicVantagePoints", apiReferenceLink) |
1335 | 1335 | return response, err |
1336 | 1336 | } |
@@ -1388,7 +1388,7 @@ func (client ApmSyntheticClient) listScripts(ctx context.Context, request common |
1388 | 1388 | defer common.CloseBodyIfValid(httpResponse) |
1389 | 1389 | response.RawResponse = httpResponse |
1390 | 1390 | if err != nil { |
1391 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/ScriptCollection/ListScripts" |
| 1391 | + apiReferenceLink := "" |
1392 | 1392 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListScripts", apiReferenceLink) |
1393 | 1393 | return response, err |
1394 | 1394 | } |
@@ -1446,7 +1446,7 @@ func (client ApmSyntheticClient) listWorkers(ctx context.Context, request common |
1446 | 1446 | defer common.CloseBodyIfValid(httpResponse) |
1447 | 1447 | response.RawResponse = httpResponse |
1448 | 1448 | if err != nil { |
1449 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/WorkerCollection/ListWorkers" |
| 1449 | + apiReferenceLink := "" |
1450 | 1450 | err = common.PostProcessServiceError(err, "ApmSynthetic", "ListWorkers", apiReferenceLink) |
1451 | 1451 | return response, err |
1452 | 1452 | } |
@@ -1504,7 +1504,7 @@ func (client ApmSyntheticClient) updateDedicatedVantagePoint(ctx context.Context |
1504 | 1504 | defer common.CloseBodyIfValid(httpResponse) |
1505 | 1505 | response.RawResponse = httpResponse |
1506 | 1506 | if err != nil { |
1507 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/UpdateDedicatedVantagePoint" |
| 1507 | + apiReferenceLink := "" |
1508 | 1508 | err = common.PostProcessServiceError(err, "ApmSynthetic", "UpdateDedicatedVantagePoint", apiReferenceLink) |
1509 | 1509 | return response, err |
1510 | 1510 | } |
@@ -1562,7 +1562,7 @@ func (client ApmSyntheticClient) updateMonitor(ctx context.Context, request comm |
1562 | 1562 | defer common.CloseBodyIfValid(httpResponse) |
1563 | 1563 | response.RawResponse = httpResponse |
1564 | 1564 | if err != nil { |
1565 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/UpdateMonitor" |
| 1565 | + apiReferenceLink := "" |
1566 | 1566 | err = common.PostProcessServiceError(err, "ApmSynthetic", "UpdateMonitor", apiReferenceLink) |
1567 | 1567 | return response, err |
1568 | 1568 | } |
@@ -1620,7 +1620,7 @@ func (client ApmSyntheticClient) updateOnPremiseVantagePoint(ctx context.Context |
1620 | 1620 | defer common.CloseBodyIfValid(httpResponse) |
1621 | 1621 | response.RawResponse = httpResponse |
1622 | 1622 | if err != nil { |
1623 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/UpdateOnPremiseVantagePoint" |
| 1623 | + apiReferenceLink := "" |
1624 | 1624 | err = common.PostProcessServiceError(err, "ApmSynthetic", "UpdateOnPremiseVantagePoint", apiReferenceLink) |
1625 | 1625 | return response, err |
1626 | 1626 | } |
@@ -1678,7 +1678,7 @@ func (client ApmSyntheticClient) updateScript(ctx context.Context, request commo |
1678 | 1678 | defer common.CloseBodyIfValid(httpResponse) |
1679 | 1679 | response.RawResponse = httpResponse |
1680 | 1680 | if err != nil { |
1681 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/UpdateScript" |
| 1681 | + apiReferenceLink := "" |
1682 | 1682 | err = common.PostProcessServiceError(err, "ApmSynthetic", "UpdateScript", apiReferenceLink) |
1683 | 1683 | return response, err |
1684 | 1684 | } |
@@ -1736,7 +1736,7 @@ func (client ApmSyntheticClient) updateWorker(ctx context.Context, request commo |
1736 | 1736 | defer common.CloseBodyIfValid(httpResponse) |
1737 | 1737 | response.RawResponse = httpResponse |
1738 | 1738 | if err != nil { |
1739 | | - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/UpdateWorker" |
| 1739 | + apiReferenceLink := "" |
1740 | 1740 | err = common.PostProcessServiceError(err, "ApmSynthetic", "UpdateWorker", apiReferenceLink) |
1741 | 1741 | return response, err |
1742 | 1742 | } |
|
0 commit comments