# README
Go API client for datadog
Collection of all Datadog Public endpoints.
Overview
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.0
- Package version: 0.1.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.datadoghq.com/support/
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import sw "./datadog"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Configuration of Server URL
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
Select Server Configuration
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identifield by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
Documentation for API Endpoints
All URIs are relative to https://api.datadoghq.com
Class | Method | HTTP request | Description |
---|---|---|---|
AWSIntegrationApi | CreateAWSAccount | Post /api/v1/integration/aws | Create an AWS integration |
AWSIntegrationApi | CreateAWSTagFilter | Post /api/v1/integration/aws/filtering | Set an AWS tag filter |
AWSIntegrationApi | CreateNewAWSExternalID | Put /api/v1/integration/aws/generate_new_external_id | Generate a new external ID |
AWSIntegrationApi | DeleteAWSAccount | Delete /api/v1/integration/aws | Delete an AWS integration |
AWSIntegrationApi | DeleteAWSTagFilter | Delete /api/v1/integration/aws/filtering | Delete a tag filtering entry |
AWSIntegrationApi | ListAWSAccounts | Get /api/v1/integration/aws | List all AWS integrations |
AWSIntegrationApi | ListAWSTagFilters | Get /api/v1/integration/aws/filtering | Get all AWS tag filters |
AWSIntegrationApi | ListAvailableAWSNamespaces | Get /api/v1/integration/aws/available_namespace_rules | List namespace rules |
AWSIntegrationApi | UpdateAWSAccount | Put /api/v1/integration/aws | Update an AWS integration |
AWSLogsIntegrationApi | CheckAWSLogsLambdaAsync | Post /api/v1/integration/aws/logs/check_async | Check that an AWS Lambda Function exists |
AWSLogsIntegrationApi | CheckAWSLogsServicesAsync | Post /api/v1/integration/aws/logs/services_async | Check permissions for log services |
AWSLogsIntegrationApi | CreateAWSLambdaARN | Post /api/v1/integration/aws/logs | Add AWS Log Lambda ARN |
AWSLogsIntegrationApi | DeleteAWSLambdaARN | Delete /api/v1/integration/aws/logs | Delete an AWS Logs integration |
AWSLogsIntegrationApi | EnableAWSLogServices | Post /api/v1/integration/aws/logs/services | Enable an AWS Logs integration |
AWSLogsIntegrationApi | ListAWSLogsIntegrations | Get /api/v1/integration/aws/logs | List all AWS Logs integrations |
AWSLogsIntegrationApi | ListAWSLogsServices | Get /api/v1/integration/aws/logs/services | Get list of AWS log ready services |
AuthenticationApi | Validate | Get /api/v1/validate | Validate API key |
AzureIntegrationApi | CreateAzureIntegration | Post /api/v1/integration/azure | Create an Azure integration |
AzureIntegrationApi | DeleteAzureIntegration | Delete /api/v1/integration/azure | Delete an Azure integration |
AzureIntegrationApi | ListAzureIntegration | Get /api/v1/integration/azure | List all Azure integrations |
AzureIntegrationApi | UpdateAzureHostFilters | Post /api/v1/integration/azure/host_filters | Update Azure integration host filters |
AzureIntegrationApi | UpdateAzureIntegration | Put /api/v1/integration/azure | Update an Azure integration |
DashboardListsApi | CreateDashboardList | Post /api/v1/dashboard/lists/manual | Create a dashboard list |
DashboardListsApi | DeleteDashboardList | Delete /api/v1/dashboard/lists/manual/{list_id} | Delete a dashboard list |
DashboardListsApi | GetDashboardList | Get /api/v1/dashboard/lists/manual/{list_id} | Get a dashboard list |
DashboardListsApi | ListDashboardLists | Get /api/v1/dashboard/lists/manual | Get all dashboard lists |
DashboardListsApi | UpdateDashboardList | Put /api/v1/dashboard/lists/manual/{list_id} | Update a dashboard list |
DashboardsApi | CreateDashboard | Post /api/v1/dashboard | Create a new dashboard |
DashboardsApi | DeleteDashboard | Delete /api/v1/dashboard/{dashboard_id} | Delete a dashboard |
DashboardsApi | GetDashboard | Get /api/v1/dashboard/{dashboard_id} | Get a dashboard |
DashboardsApi | ListDashboards | Get /api/v1/dashboard | Get all dashboards |
DashboardsApi | UpdateDashboard | Put /api/v1/dashboard/{dashboard_id} | Update a dashboard |
DowntimesApi | CancelDowntime | Delete /api/v1/downtime/{downtime_id} | Cancel a downtime |
DowntimesApi | CancelDowntimesByScope | Post /api/v1/downtime/cancel/by_scope | Cancel downtimes by scope |
DowntimesApi | CreateDowntime | Post /api/v1/downtime | Schedule a downtime |
DowntimesApi | GetDowntime | Get /api/v1/downtime/{downtime_id} | Get a downtime |
DowntimesApi | ListDowntimes | Get /api/v1/downtime | Get all downtimes |
DowntimesApi | ListMonitorDowntimes | Get /api/v1/monitor/{monitor_id}/downtimes | Get all downtimes for a monitor |
DowntimesApi | UpdateDowntime | Put /api/v1/downtime/{downtime_id} | Update a downtime |
EventsApi | CreateEvent | Post /api/v1/events | Post an event |
EventsApi | GetEvent | Get /api/v1/events/{event_id} | Get an event |
EventsApi | ListEvents | Get /api/v1/events | Query the event stream |
GCPIntegrationApi | CreateGCPIntegration | Post /api/v1/integration/gcp | Create a GCP integration |
GCPIntegrationApi | DeleteGCPIntegration | Delete /api/v1/integration/gcp | Delete a GCP integration |
GCPIntegrationApi | ListGCPIntegration | Get /api/v1/integration/gcp | List all GCP integrations |
GCPIntegrationApi | UpdateGCPIntegration | Put /api/v1/integration/gcp | Update a GCP integration |
HostsApi | GetHostTotals | Get /api/v1/hosts/totals | Get the total number of active hosts |
HostsApi | ListHosts | Get /api/v1/hosts | Get all hosts for your organization |
HostsApi | MuteHost | Post /api/v1/host/{host_name}/mute | Mute a host |
HostsApi | UnmuteHost | Post /api/v1/host/{host_name}/unmute | Unmute a host |
IPRangesApi | GetIPRanges | Get / | List IP Ranges |
KeyManagementApi | CreateAPIKey | Post /api/v1/api_key | Create an API key |
KeyManagementApi | CreateApplicationKey | Post /api/v1/application_key | Create an application key |
KeyManagementApi | DeleteAPIKey | Delete /api/v1/api_key/{key} | Delete an API key |
KeyManagementApi | DeleteApplicationKey | Delete /api/v1/application_key/{key} | Delete an application key |
KeyManagementApi | GetAPIKey | Get /api/v1/api_key/{key} | Get API key |
KeyManagementApi | GetApplicationKey | Get /api/v1/application_key/{key} | Get an application key |
KeyManagementApi | ListAPIKeys | Get /api/v1/api_key | Get all API keys |
KeyManagementApi | ListApplicationKeys | Get /api/v1/application_key | Get all application keys |
KeyManagementApi | UpdateAPIKey | Put /api/v1/api_key/{key} | Edit an API key |
KeyManagementApi | UpdateApplicationKey | Put /api/v1/application_key/{key} | Edit an application key |
LogsApi | ListLogs | Post /api/v1/logs-queries/list | Search logs |
LogsApi | SubmitLog | Post /v1/input | Send logs |
LogsIndexesApi | CreateLogsIndex | Post /api/v1/logs/config/indexes | Create an index |
LogsIndexesApi | GetLogsIndex | Get /api/v1/logs/config/indexes/{name} | Get an index |
LogsIndexesApi | GetLogsIndexOrder | Get /api/v1/logs/config/index-order | Get indexes order |
LogsIndexesApi | ListLogIndexes | Get /api/v1/logs/config/indexes | Get all indexes |
LogsIndexesApi | UpdateLogsIndex | Put /api/v1/logs/config/indexes/{name} | Update an index |
LogsIndexesApi | UpdateLogsIndexOrder | Put /api/v1/logs/config/index-order | Update indexes order |
LogsPipelinesApi | CreateLogsPipeline | Post /api/v1/logs/config/pipelines | Create a pipeline |
LogsPipelinesApi | DeleteLogsPipeline | Delete /api/v1/logs/config/pipelines/{pipeline_id} | Delete a pipeline |
LogsPipelinesApi | GetLogsPipeline | Get /api/v1/logs/config/pipelines/{pipeline_id} | Get a pipeline |
LogsPipelinesApi | GetLogsPipelineOrder | Get /api/v1/logs/config/pipeline-order | Get pipeline order |
LogsPipelinesApi | ListLogsPipelines | Get /api/v1/logs/config/pipelines | Get all pipelines |
LogsPipelinesApi | UpdateLogsPipeline | Put /api/v1/logs/config/pipelines/{pipeline_id} | Update a pipeline |
LogsPipelinesApi | UpdateLogsPipelineOrder | Put /api/v1/logs/config/pipeline-order | Update pipeline order |
MetricsApi | GetMetricMetadata | Get /api/v1/metrics/{metric_name} | Get metric metadata |
MetricsApi | ListActiveMetrics | Get /api/v1/metrics | Get active metrics list |
MetricsApi | ListMetrics | Get /api/v1/search | Search metrics |
MetricsApi | QueryMetrics | Get /api/v1/query | Query timeseries points |
MetricsApi | SubmitMetrics | Post /api/v1/series | Submit metrics |
MetricsApi | UpdateMetricMetadata | Put /api/v1/metrics/{metric_name} | Edit metric metadata |
MonitorsApi | CheckCanDeleteMonitor | Get /api/v1/monitor/can_delete | Check if a monitor can be deleted |
MonitorsApi | CreateMonitor | Post /api/v1/monitor | Create a monitor |
MonitorsApi | DeleteMonitor | Delete /api/v1/monitor/{monitor_id} | Delete a monitor |
MonitorsApi | GetMonitor | Get /api/v1/monitor/{monitor_id} | Get a monitor's details |
MonitorsApi | ListMonitors | Get /api/v1/monitor | Get all monitor details |
MonitorsApi | SearchMonitorGroups | Get /api/v1/monitor/groups/search | Monitors group search |
MonitorsApi | SearchMonitors | Get /api/v1/monitor/search | Monitors search |
MonitorsApi | UpdateMonitor | Put /api/v1/monitor/{monitor_id} | Edit a monitor |
MonitorsApi | ValidateMonitor | Post /api/v1/monitor/validate | Validate a monitor |
NotebooksApi | CreateNotebook | Post /api/v1/notebooks | Create a notebook |
NotebooksApi | DeleteNotebook | Delete /api/v1/notebooks/{notebook_id} | Delete a notebook |
NotebooksApi | GetNotebook | Get /api/v1/notebooks/{notebook_id} | Get a notebook |
NotebooksApi | ListNotebooks | Get /api/v1/notebooks | Get all notebooks |
NotebooksApi | UpdateNotebook | Put /api/v1/notebooks/{notebook_id} | Update a notebook |
OrganizationsApi | CreateChildOrg | Post /api/v1/org | Create a child organization |
OrganizationsApi | GetOrg | Get /api/v1/org/{public_id} | Get organization information |
OrganizationsApi | ListOrgs | Get /api/v1/org | List your managed organizations |
OrganizationsApi | UpdateOrg | Put /api/v1/org/{public_id} | Update your organization |
OrganizationsApi | UploadIdPForOrg | Post /api/v1/org/{public_id}/idp_metadata | Upload IdP metadata |
PagerDutyIntegrationApi | CreatePagerDutyIntegrationService | Post /api/v1/integration/pagerduty/configuration/services | Create a new service object |
PagerDutyIntegrationApi | DeletePagerDutyIntegrationService | Delete /api/v1/integration/pagerduty/configuration/services/{service_name} | Delete a single service object |
PagerDutyIntegrationApi | GetPagerDutyIntegrationService | Get /api/v1/integration/pagerduty/configuration/services/{service_name} | Get a single service object |
PagerDutyIntegrationApi | UpdatePagerDutyIntegrationService | Put /api/v1/integration/pagerduty/configuration/services/{service_name} | Update a single service object |
ServiceChecksApi | SubmitServiceCheck | Post /api/v1/check_run | Submit a Service Check |
ServiceLevelObjectiveCorrectionsApi | CreateSLOCorrection | Post /api/v1/slo/correction | Create an SLO correction |
ServiceLevelObjectiveCorrectionsApi | DeleteSLOCorrection | Delete /api/v1/slo/correction/{slo_correction_id} | Delete an SLO correction |
ServiceLevelObjectiveCorrectionsApi | GetSLOCorrection | Get /api/v1/slo/correction/{slo_correction_id} | Get an SLO correction for an SLO |
ServiceLevelObjectiveCorrectionsApi | ListSLOCorrection | Get /api/v1/slo/correction | Get all SLO corrections |
ServiceLevelObjectiveCorrectionsApi | UpdateSLOCorrection | Patch /api/v1/slo/correction/{slo_correction_id} | Update an SLO correction |
ServiceLevelObjectivesApi | CheckCanDeleteSLO | Get /api/v1/slo/can_delete | Check if SLOs can be safely deleted |
ServiceLevelObjectivesApi | CreateSLO | Post /api/v1/slo | Create an SLO object |
ServiceLevelObjectivesApi | DeleteSLO | Delete /api/v1/slo/{slo_id} | Delete an SLO |
ServiceLevelObjectivesApi | DeleteSLOTimeframeInBulk | Post /api/v1/slo/bulk_delete | Bulk Delete SLO Timeframes |
ServiceLevelObjectivesApi | GetSLO | Get /api/v1/slo/{slo_id} | Get an SLO's details |
ServiceLevelObjectivesApi | GetSLOHistory | Get /api/v1/slo/{slo_id}/history | Get an SLO's history |
ServiceLevelObjectivesApi | ListSLOs | Get /api/v1/slo | Get all SLOs |
ServiceLevelObjectivesApi | UpdateSLO | Put /api/v1/slo/{slo_id} | Update an SLO |
SlackIntegrationApi | CreateSlackIntegrationChannel | Post /api/v1/integration/slack/configuration/accounts/{account_name}/channels | Create a Slack integration channel |
SlackIntegrationApi | GetSlackIntegrationChannel | Get /api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name} | Get a Slack integration channel |
SlackIntegrationApi | GetSlackIntegrationChannels | Get /api/v1/integration/slack/configuration/accounts/{account_name}/channels | Get all channels in a Slack integration |
SlackIntegrationApi | RemoveSlackIntegrationChannel | Delete /api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name} | Remove a Slack integration channel |
SlackIntegrationApi | UpdateSlackIntegrationChannel | Patch /api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name} | Update a Slack integration channel |
SnapshotsApi | GetGraphSnapshot | Get /api/v1/graph/snapshot | Take graph snapshots |
SyntheticsApi | CreateGlobalVariable | Post /api/v1/synthetics/variables | Create a global variable |
SyntheticsApi | CreatePrivateLocation | Post /api/v1/synthetics/private-locations | Create a private location |
SyntheticsApi | CreateSyntheticsAPITest | Post /api/v1/synthetics/tests/api | Create an API test |
SyntheticsApi | CreateSyntheticsBrowserTest | Post /api/v1/synthetics/tests/browser | Create a browser test |
SyntheticsApi | DeleteGlobalVariable | Delete /api/v1/synthetics/variables/{variable_id} | Delete a global variable |
SyntheticsApi | DeletePrivateLocation | Delete /api/v1/synthetics/private-locations/{location_id} | Delete a private location |
SyntheticsApi | DeleteTests | Post /api/v1/synthetics/tests/delete | Delete tests |
SyntheticsApi | EditGlobalVariable | Put /api/v1/synthetics/variables/{variable_id} | Edit a global variable |
SyntheticsApi | GetAPITest | Get /api/v1/synthetics/tests/api/{public_id} | Get an API test |
SyntheticsApi | GetAPITestLatestResults | Get /api/v1/synthetics/tests/{public_id}/results | Get an API test's latest results summaries |
SyntheticsApi | GetAPITestResult | Get /api/v1/synthetics/tests/{public_id}/results/{result_id} | Get an API test result |
SyntheticsApi | GetBrowserTest | Get /api/v1/synthetics/tests/browser/{public_id} | Get a browser test |
SyntheticsApi | GetBrowserTestLatestResults | Get /api/v1/synthetics/tests/browser/{public_id}/results | Get a browser test's latest results summaries |
SyntheticsApi | GetBrowserTestResult | Get /api/v1/synthetics/tests/browser/{public_id}/results/{result_id} | Get a browser test result |
SyntheticsApi | GetGlobalVariable | Get /api/v1/synthetics/variables/{variable_id} | Get a global variable |
SyntheticsApi | GetPrivateLocation | Get /api/v1/synthetics/private-locations/{location_id} | Get a private location |
SyntheticsApi | GetTest | Get /api/v1/synthetics/tests/{public_id} | Get a test configuration |
SyntheticsApi | ListGlobalVariables | Get /api/v1/synthetics/variables | Get all global variables |
SyntheticsApi | ListLocations | Get /api/v1/synthetics/locations | Get all locations (public and private) |
SyntheticsApi | ListTests | Get /api/v1/synthetics/tests | Get the list of all tests |
SyntheticsApi | TriggerCITests | Post /api/v1/synthetics/tests/trigger/ci | Trigger tests from CI/CD pipelines |
SyntheticsApi | UpdateAPITest | Put /api/v1/synthetics/tests/api/{public_id} | Edit an API test |
SyntheticsApi | UpdateBrowserTest | Put /api/v1/synthetics/tests/browser/{public_id} | Edit a browser test |
SyntheticsApi | UpdatePrivateLocation | Put /api/v1/synthetics/private-locations/{location_id} | Edit a private location |
SyntheticsApi | UpdateTestPauseStatus | Put /api/v1/synthetics/tests/{public_id}/status | Pause or start a test |
TagsApi | CreateHostTags | Post /api/v1/tags/hosts/{host_name} | Add tags to a host |
TagsApi | DeleteHostTags | Delete /api/v1/tags/hosts/{host_name} | Remove host tags |
TagsApi | GetHostTags | Get /api/v1/tags/hosts/{host_name} | Get host tags |
TagsApi | ListHostTags | Get /api/v1/tags/hosts | Get Tags |
TagsApi | UpdateHostTags | Put /api/v1/tags/hosts/{host_name} | Update host tags |
UsageMeteringApi | GetDailyCustomReports | Get /api/v1/daily_custom_reports | Get the list of available daily custom reports |
UsageMeteringApi | GetIncidentManagement | Get /api/v1/usage/incident-management | Get hourly usage for incident management |
UsageMeteringApi | GetIngestedSpans | Get /api/v1/usage/ingested-spans | Get hourly usage for ingested spans |
UsageMeteringApi | GetMonthlyCustomReports | Get /api/v1/monthly_custom_reports | Get the list of available monthly custom reports |
UsageMeteringApi | GetSpecifiedDailyCustomReports | Get /api/v1/daily_custom_reports/{report_id} | Get specified daily custom reports |
UsageMeteringApi | GetSpecifiedMonthlyCustomReports | Get /api/v1/monthly_custom_reports/{report_id} | Get specified monthly custom reports |
UsageMeteringApi | GetTracingWithoutLimits | Get /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits |
UsageMeteringApi | GetUsageAnalyzedLogs | Get /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs |
UsageMeteringApi | GetUsageAttribution | Get /api/v1/usage/attribution | Get Usage Attribution |
UsageMeteringApi | GetUsageBillableSummary | Get /api/v1/usage/billable-summary | Get billable usage across your account |
UsageMeteringApi | GetUsageComplianceMonitoring | Get /api/v1/usage/compliance-monitoring | Get hourly usage for Compliance Monitoring |
UsageMeteringApi | GetUsageFargate | Get /api/v1/usage/fargate | Get hourly usage for Fargate |
UsageMeteringApi | GetUsageHosts | Get /api/v1/usage/hosts | Get hourly usage for hosts and containers |
UsageMeteringApi | GetUsageIndexedSpans | Get /api/v1/usage/indexed-spans | Get hourly usage for indexed spans |
UsageMeteringApi | GetUsageInternetOfThings | Get /api/v1/usage/iot | Get hourly usage for IoT |
UsageMeteringApi | GetUsageLambda | Get /api/v1/usage/aws_lambda | Get hourly usage for Lambda |
UsageMeteringApi | GetUsageLogs | Get /api/v1/usage/logs | Get hourly usage for Logs |
UsageMeteringApi | GetUsageLogsByIndex | Get /api/v1/usage/logs_by_index | Get hourly usage for Logs by Index |
UsageMeteringApi | GetUsageLogsByRetention | Get /api/v1/usage/logs-by-retention | Get hourly logs usage by retention |
UsageMeteringApi | GetUsageNetworkFlows | Get /api/v1/usage/network_flows | Get hourly usage for Network Flows |
UsageMeteringApi | GetUsageNetworkHosts | Get /api/v1/usage/network_hosts | Get hourly usage for Network Hosts |
UsageMeteringApi | GetUsageProfiling | Get /api/v1/usage/profiling | Get hourly usage for profiled hosts |
UsageMeteringApi | GetUsageRumSessions | Get /api/v1/usage/rum_sessions | Get hourly usage for RUM Sessions |
UsageMeteringApi | GetUsageSNMP | Get /api/v1/usage/snmp | Get hourly usage for SNMP devices |
UsageMeteringApi | GetUsageSummary | Get /api/v1/usage/summary | Get usage across your multi-org account |
UsageMeteringApi | GetUsageSynthetics | Get /api/v1/usage/synthetics | Get hourly usage for Synthetics Checks |
UsageMeteringApi | GetUsageSyntheticsAPI | Get /api/v1/usage/synthetics_api | Get hourly usage for Synthetics API Checks |
UsageMeteringApi | GetUsageSyntheticsBrowser | Get /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks |
UsageMeteringApi | GetUsageTimeseries | Get /api/v1/usage/timeseries | Get hourly usage for custom metrics |
UsageMeteringApi | GetUsageTopAvgMetrics | Get /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average |
UsageMeteringApi | GetUsageTrace | Get /api/v1/usage/traces | Get hourly usage for Trace Search |
UsersApi | CreateUser | Post /api/v1/user | Create a user |
UsersApi | DisableUser | Delete /api/v1/user/{user_handle} | Disable a user |
UsersApi | GetUser | Get /api/v1/user/{user_handle} | Get user details |
UsersApi | ListUsers | Get /api/v1/user | List all users |
UsersApi | UpdateUser | Put /api/v1/user/{user_handle} | Update a user |
Documentation For Models
- APIErrorResponse
- AWSAccount
- AWSAccountAndLambdaRequest
- AWSAccountCreateResponse
- AWSAccountListResponse
- AWSLogsAsyncError
- AWSLogsAsyncResponse
- AWSLogsLambda
- AWSLogsListResponse
- AWSLogsListServicesResponse
- AWSLogsServicesRequest
- AWSNamespace
- AWSTagFilter
- AWSTagFilterCreateRequest
- AWSTagFilterDeleteRequest
- AWSTagFilterListResponse
- AccessRole
- AlertGraphWidgetDefinition
- AlertGraphWidgetDefinitionType
- AlertValueWidgetDefinition
- AlertValueWidgetDefinitionType
- ApiKey
- ApiKeyListResponse
- ApiKeyResponse
- ApmStatsQueryColumnType
- ApmStatsQueryDefinition
- ApmStatsQueryRowType
- ApplicationKey
- ApplicationKeyListResponse
- ApplicationKeyResponse
- AuthenticationValidationResponse
- AzureAccount
- CancelDowntimesByScopeRequest
- CanceledDowntimesIds
- ChangeWidgetDefinition
- ChangeWidgetDefinitionType
- ChangeWidgetRequest
- CheckCanDeleteMonitorResponse
- CheckCanDeleteMonitorResponseData
- CheckCanDeleteSLOResponse
- CheckCanDeleteSLOResponseData
- CheckStatusWidgetDefinition
- CheckStatusWidgetDefinitionType
- ContentEncoding
- Creator
- Dashboard
- DashboardDeleteResponse
- DashboardLayoutType
- DashboardList
- DashboardListDeleteResponse
- DashboardListListResponse
- DashboardReflowType
- DashboardSummary
- DashboardSummaryDefinition
- DashboardTemplateVariable
- DashboardTemplateVariablePreset
- DashboardTemplateVariablePresetValue
- DeletedMonitor
- DistributionWidgetDefinition
- DistributionWidgetDefinitionType
- DistributionWidgetRequest
- DistributionWidgetXAxis
- DistributionWidgetYAxis
- Downtime
- DowntimeChild
- DowntimeRecurrence
- Event
- EventAlertType
- EventCreateRequest
- EventCreateResponse
- EventListResponse
- EventPriority
- EventQueryDefinition
- EventResponse
- EventStreamWidgetDefinition
- EventStreamWidgetDefinitionType
- EventTimelineWidgetDefinition
- EventTimelineWidgetDefinitionType
- FormulaAndFunctionEventAggregation
- FormulaAndFunctionEventQueryDefinition
- FormulaAndFunctionEventQueryDefinitionCompute
- FormulaAndFunctionEventQueryDefinitionSearch
- FormulaAndFunctionEventQueryGroupBy
- FormulaAndFunctionEventQueryGroupBySort
- FormulaAndFunctionEventsDataSource
- FormulaAndFunctionMetricAggregation
- FormulaAndFunctionMetricDataSource
- FormulaAndFunctionMetricQueryDefinition
- FormulaAndFunctionProcessQueryDataSource
- FormulaAndFunctionProcessQueryDefinition
- FormulaAndFunctionQueryDefinition
- FormulaAndFunctionResponseFormat
- FreeTextWidgetDefinition
- FreeTextWidgetDefinitionType
- GCPAccount
- GeomapWidgetDefinition
- GeomapWidgetDefinitionStyle
- GeomapWidgetDefinitionType
- GeomapWidgetDefinitionView
- GeomapWidgetRequest
- GraphSnapshot
- GroupWidgetDefinition
- GroupWidgetDefinitionType
- HTTPLogError
- HTTPLogItem
- HTTPMethod
- HeatMapWidgetDefinition
- HeatMapWidgetDefinitionType
- HeatMapWidgetRequest
- Host
- HostListResponse
- HostMapRequest
- HostMapWidgetDefinition
- HostMapWidgetDefinitionRequests
- HostMapWidgetDefinitionStyle
- HostMapWidgetDefinitionType
- HostMeta
- HostMetrics
- HostMuteResponse
- HostMuteSettings
- HostTags
- HostTotals
- IFrameWidgetDefinition
- IFrameWidgetDefinitionType
- IPPrefixesAPI
- IPPrefixesAPM
- IPPrefixesAgents
- IPPrefixesLogs
- IPPrefixesProcess
- IPPrefixesSynthetics
- IPPrefixesWebhooks
- IPRanges
- IdpFormData
- IdpResponse
- ImageWidgetDefinition
- ImageWidgetDefinitionType
- IntakePayloadAccepted
- Log
- LogContent
- LogQueryDefinition
- LogQueryDefinitionGroupBy
- LogQueryDefinitionGroupBySort
- LogQueryDefinitionSearch
- LogStreamWidgetDefinition
- LogStreamWidgetDefinitionType
- LogsAPIError
- LogsAPIErrorResponse
- LogsArithmeticProcessor
- LogsArithmeticProcessorType
- LogsAttributeRemapper
- LogsAttributeRemapperType
- LogsByRetention
- LogsByRetentionMonthlyUsage
- LogsByRetentionOrgUsage
- LogsByRetentionOrgs
- LogsCategoryProcessor
- LogsCategoryProcessorCategory
- LogsCategoryProcessorType
- LogsDateRemapper
- LogsDateRemapperType
- LogsExclusion
- LogsExclusionFilter
- LogsFilter
- LogsGeoIPParser
- LogsGeoIPParserType
- LogsGrokParser
- LogsGrokParserRules
- LogsGrokParserType
- LogsIndex
- LogsIndexListResponse
- LogsIndexUpdateRequest
- LogsIndexesOrder
- LogsListRequest
- LogsListRequestTime
- LogsListResponse
- LogsLookupProcessor
- LogsLookupProcessorType
- LogsMessageRemapper
- LogsMessageRemapperType
- LogsPipeline
- LogsPipelineProcessor
- LogsPipelineProcessorType
- LogsPipelinesOrder
- LogsProcessor
- LogsQueryCompute
- LogsRetentionAggSumUsage
- LogsRetentionSumUsage
- LogsServiceRemapper
- LogsServiceRemapperType
- LogsSort
- LogsStatusRemapper
- LogsStatusRemapperType
- LogsStringBuilderProcessor
- LogsStringBuilderProcessorType
- LogsTraceRemapper
- LogsTraceRemapperType
- LogsURLParser
- LogsURLParserType
- LogsUserAgentParser
- LogsUserAgentParserType
- MetricMetadata
- MetricSearchResponse
- MetricSearchResponseResults
- MetricsListResponse
- MetricsPayload
- MetricsQueryMetadata
- MetricsQueryResponse
- MetricsQueryUnit
- Monitor
- MonitorDeviceID
- MonitorGroupSearchResponse
- MonitorGroupSearchResponseCounts
- MonitorGroupSearchResult
- MonitorOptions
- MonitorOptionsAggregation
- MonitorOverallStates
- MonitorSearchResponse
- MonitorSearchResponseCounts
- MonitorSearchResponseMetadata
- MonitorSearchResult
- MonitorSearchResultNotification
- MonitorState
- MonitorStateGroup
- MonitorSummaryWidgetDefinition
- MonitorSummaryWidgetDefinitionType
- MonitorThresholdWindowOptions
- MonitorThresholds
- MonitorType
- MonitorUpdateRequest
- NoteWidgetDefinition
- NoteWidgetDefinitionType
- NotebookAbsoluteTime
- NotebookAuthor
- NotebookCellCreateRequest
- NotebookCellCreateRequestAttributes
- NotebookCellResourceType
- NotebookCellResponse
- NotebookCellResponseAttributes
- NotebookCellTime
- NotebookCellUpdateRequest
- NotebookCellUpdateRequestAttributes
- NotebookCreateData
- NotebookCreateDataAttributes
- NotebookCreateRequest
- NotebookDistributionCellAttributes
- NotebookGlobalTime
- NotebookGraphSize
- NotebookHeatMapCellAttributes
- NotebookLogStreamCellAttributes
- NotebookMarkdownCellAttributes
- NotebookMarkdownCellDefinition
- NotebookMarkdownCellDefinitionType
- NotebookRelativeTime
- NotebookResourceType
- NotebookResponse
- NotebookResponseData
- NotebookResponseDataAttributes
- NotebookSplitBy
- NotebookStatus
- NotebookTimeseriesCellAttributes
- NotebookToplistCellAttributes
- NotebookUpdateCell
- NotebookUpdateData
- NotebookUpdateDataAttributes
- NotebookUpdateRequest
- NotebooksResponse
- NotebooksResponseData
- NotebooksResponseDataAttributes
- NotebooksResponseMeta
- NotebooksResponsePage
- Organization
- OrganizationBilling
- OrganizationCreateBody
- OrganizationCreateResponse
- OrganizationListResponse
- OrganizationResponse
- OrganizationSettings
- OrganizationSettingsSaml
- OrganizationSettingsSamlAutocreateUsersDomains
- OrganizationSettingsSamlIdpInitiatedLogin
- OrganizationSettingsSamlStrictMode
- OrganizationSubscription
- PagerDutyService
- PagerDutyServiceKey
- PagerDutyServiceName
- ProcessQueryDefinition
- QuerySortOrder
- QueryValueWidgetDefinition
- QueryValueWidgetDefinitionType
- QueryValueWidgetRequest
- SLOBulkDeleteError
- SLOBulkDeleteResponse
- SLOBulkDeleteResponseData
- SLOCorrection
- SLOCorrectionCategory
- SLOCorrectionCreateData
- SLOCorrectionCreateRequest
- SLOCorrectionCreateRequestAttributes
- SLOCorrectionListResponse
- SLOCorrectionResponse
- SLOCorrectionResponseAttributes
- SLOCorrectionType
- SLOCorrectionUpdateData
- SLOCorrectionUpdateRequest
- SLOCorrectionUpdateRequestAttributes
- SLODeleteResponse
- SLOErrorTimeframe
- SLOHistoryMetrics
- SLOHistoryMetricsSeries
- SLOHistoryMetricsSeriesMetadata
- SLOHistoryMetricsSeriesMetadataUnit
- SLOHistoryResponse
- SLOHistoryResponseData
- SLOHistoryResponseError
- SLOHistorySLIData
- SLOListResponse
- SLOListResponseMetadata
- SLOListResponseMetadataPage
- SLOResponse
- SLOResponseData
- SLOThreshold
- SLOTimeframe
- SLOType
- SLOTypeNumeric
- SLOWidgetDefinition
- SLOWidgetDefinitionType
- ScatterPlotRequest
- ScatterPlotWidgetDefinition
- ScatterPlotWidgetDefinitionRequests
- ScatterPlotWidgetDefinitionType
- Series
- ServiceCheck
- ServiceCheckStatus
- ServiceLevelObjective
- ServiceLevelObjectiveQuery
- ServiceLevelObjectiveRequest
- ServiceMapWidgetDefinition
- ServiceMapWidgetDefinitionType
- ServiceSummaryWidgetDefinition
- ServiceSummaryWidgetDefinitionType
- SlackIntegrationChannel
- SlackIntegrationChannelDisplay
- SyntheticsAPIStep
- SyntheticsAPIStepSubtype
- SyntheticsAPITest
- SyntheticsAPITestConfig
- SyntheticsAPITestResultData
- SyntheticsAPITestResultFull
- SyntheticsAPITestResultFullCheck
- SyntheticsAPITestResultShort
- SyntheticsAPITestResultShortResult
- SyntheticsAPITestType
- SyntheticsAssertion
- SyntheticsAssertionJSONPathOperator
- SyntheticsAssertionJSONPathTarget
- SyntheticsAssertionJSONPathTargetTarget
- SyntheticsAssertionOperator
- SyntheticsAssertionTarget
- SyntheticsAssertionType
- SyntheticsBasicAuth
- SyntheticsBrowserError
- SyntheticsBrowserErrorType
- SyntheticsBrowserTest
- SyntheticsBrowserTestConfig
- SyntheticsBrowserTestResultData
- SyntheticsBrowserTestResultFull
- SyntheticsBrowserTestResultFullCheck
- SyntheticsBrowserTestResultShort
- SyntheticsBrowserTestResultShortResult
- SyntheticsBrowserTestType
- SyntheticsBrowserVariable
- SyntheticsBrowserVariableType
- SyntheticsCITest
- SyntheticsCITestBody
- SyntheticsCITestMetadata
- SyntheticsCITestMetadataCi
- SyntheticsCITestMetadataGit
- SyntheticsCheckType
- SyntheticsConfigVariable
- SyntheticsConfigVariableType
- SyntheticsCoreWebVitals
- SyntheticsDeleteTestsPayload
- SyntheticsDeleteTestsResponse
- SyntheticsDeletedTest
- SyntheticsDevice
- SyntheticsDeviceID
- SyntheticsErrorCode
- SyntheticsGetAPITestLatestResultsResponse
- SyntheticsGetBrowserTestLatestResultsResponse
- SyntheticsGlobalVariable
- SyntheticsGlobalVariableParseTestOptions
- SyntheticsGlobalVariableParseTestOptionsType
- SyntheticsGlobalVariableParserType
- SyntheticsGlobalVariableValue
- SyntheticsListGlobalVariablesResponse
- SyntheticsListTestsResponse
- SyntheticsLocation
- SyntheticsLocations
- SyntheticsParsingOptions
- SyntheticsPlayingTab
- SyntheticsPrivateLocation
- SyntheticsPrivateLocationCreationResponse
- SyntheticsPrivateLocationCreationResponseResultEncryption
- SyntheticsPrivateLocationSecrets
- SyntheticsPrivateLocationSecretsAuthentication
- SyntheticsPrivateLocationSecretsConfigDecryption
- SyntheticsSSLCertificate
- SyntheticsSSLCertificateIssuer
- SyntheticsSSLCertificateSubject
- SyntheticsStep
- SyntheticsStepDetail
- SyntheticsStepDetailWarning
- SyntheticsStepType
- SyntheticsTestConfig
- SyntheticsTestDetails
- SyntheticsTestDetailsSubType
- SyntheticsTestDetailsType
- SyntheticsTestMonitorStatus
- SyntheticsTestOptions
- SyntheticsTestOptionsMonitorOptions
- SyntheticsTestOptionsRetry
- SyntheticsTestPauseStatus
- SyntheticsTestProcessStatus
- SyntheticsTestRequest
- SyntheticsTestRequestCertificate
- SyntheticsTestRequestCertificateItem
- SyntheticsTickInterval
- SyntheticsTiming
- SyntheticsTriggerCITestLocation
- SyntheticsTriggerCITestRunResult
- SyntheticsTriggerCITestsResponse
- SyntheticsUpdateTestPauseStatusPayload
- SyntheticsVariableParser
- SyntheticsWarningType
- TableWidgetCellDisplayMode
- TableWidgetDefinition
- TableWidgetDefinitionType
- TableWidgetHasSearchBar
- TableWidgetRequest
- TagToHosts
- TargetFormatType
- TimeseriesWidgetDefinition
- TimeseriesWidgetDefinitionType
- TimeseriesWidgetExpressionAlias
- TimeseriesWidgetLegendColumn
- TimeseriesWidgetLegendLayout
- TimeseriesWidgetRequest
- ToplistWidgetDefinition
- ToplistWidgetDefinitionType
- ToplistWidgetRequest
- UsageAnalyzedLogsHour
- UsageAnalyzedLogsResponse
- UsageAttributionAggregatesBody
- UsageAttributionBody
- UsageAttributionMetadata
- UsageAttributionPagination
- UsageAttributionResponse
- UsageAttributionSort
- UsageAttributionSupportedMetrics
- UsageAttributionValues
- UsageBillableSummaryBody
- UsageBillableSummaryHour
- UsageBillableSummaryKeys
- UsageBillableSummaryResponse
- UsageComplianceHour
- UsageComplianceResponse
- UsageCustomReportsAttributes
- UsageCustomReportsData
- UsageCustomReportsMeta
- UsageCustomReportsPage
- UsageCustomReportsResponse
- UsageFargateHour
- UsageFargateResponse
- UsageHostHour
- UsageHostsResponse
- UsageIncidentManagementHour
- UsageIncidentManagementResponse
- UsageIndexedSpansHour
- UsageIndexedSpansResponse
- UsageIngestedSpansHour
- UsageIngestedSpansResponse
- UsageIoTHour
- UsageIoTResponse
- UsageLambdaHour
- UsageLambdaResponse
- UsageLogsByIndexHour
- UsageLogsByIndexResponse
- UsageLogsByRetentionHour
- UsageLogsByRetentionResponse
- UsageLogsHour
- UsageLogsResponse
- UsageMetricCategory
- UsageNetworkFlowsHour
- UsageNetworkFlowsResponse
- UsageNetworkHostsHour
- UsageNetworkHostsResponse
- UsageProfilingHour
- UsageProfilingResponse
- UsageReportsType
- UsageRumSessionsHour
- UsageRumSessionsResponse
- UsageSNMPHour
- UsageSNMPResponse
- UsageSort
- UsageSortDirection
- UsageSpecifiedCustomReportsAttributes
- UsageSpecifiedCustomReportsData
- UsageSpecifiedCustomReportsMeta
- UsageSpecifiedCustomReportsPage
- UsageSpecifiedCustomReportsResponse
- UsageSummaryDate
- UsageSummaryDateOrg
- UsageSummaryResponse
- UsageSyntheticsAPIHour
- UsageSyntheticsAPIResponse
- UsageSyntheticsBrowserHour
- UsageSyntheticsBrowserResponse
- UsageSyntheticsHour
- UsageSyntheticsResponse
- UsageTimeseriesHour
- UsageTimeseriesResponse
- UsageTopAvgMetricsHour
- UsageTopAvgMetricsMetadata
- UsageTopAvgMetricsResponse
- UsageTraceHour
- UsageTraceResponse
- UsageTracingWithoutLimitsHour
- UsageTracingWithoutLimitsResponse
- User
- UserDisableResponse
- UserListResponse
- UserResponse
- Widget
- WidgetAggregator
- WidgetAxis
- WidgetChangeType
- WidgetColorPreference
- WidgetComparator
- WidgetCompareTo
- WidgetConditionalFormat
- WidgetCustomLink
- WidgetDefinition
- WidgetDisplayType
- WidgetEvent
- WidgetEventSize
- WidgetFieldSort
- WidgetFormula
- WidgetFormulaLimit
- WidgetGrouping
- WidgetHorizontalAlign
- WidgetImageSizing
- WidgetLayout
- WidgetLayoutType
- WidgetLineType
- WidgetLineWidth
- WidgetLiveSpan
- WidgetMargin
- WidgetMarker
- WidgetMessageDisplay
- WidgetMonitorSummaryDisplayFormat
- WidgetMonitorSummarySort
- WidgetNodeType
- WidgetOrderBy
- WidgetPalette
- WidgetRequestStyle
- WidgetServiceSummaryDisplayFormat
- WidgetSizeFormat
- WidgetSort
- WidgetStyle
- WidgetSummaryType
- WidgetTextAlign
- WidgetTickEdge
- WidgetTime
- WidgetTimeWindows
- WidgetVerticalAlign
- WidgetViewMode
- WidgetVizType
Documentation For Authorization
apiKeyAuth
- Type: API key
- API key parameter name: DD-API-KEY
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: DD-API-KEY and passed in as the auth context for each request.
apiKeyAuthQuery
- Type: API key
- API key parameter name: api_key
- Location: URL query string
Note, each API key must be added to a map of map[string]APIKey
where the key is: api_key and passed in as the auth context for each request.
appKeyAuth
- Type: API key
- API key parameter name: DD-APPLICATION-KEY
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: DD-APPLICATION-KEY and passed in as the auth context for each request.
appKeyAuthQuery
- Type: API key
- API key parameter name: application_key
- Location: URL query string
Note, each API key must be added to a map of map[string]APIKey
where the key is: application_key and passed in as the auth context for each request.
Documentation for Utility Methods
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime