datadog_api_client.v1.model package¶
Submodules¶
datadog_api_client.v1.model.access_role module¶
- class AccessRole(*args, **kwargs)¶
Bases:
ModelSimple
The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user).
- Parameters:
value (str) – Must be one of [“st”, “adm”, “ro”, “ERROR”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.add_signal_to_incident_request module¶
- class AddSignalToIncidentRequest(*args, **kwargs)¶
Bases:
ModelNormal
Attributes describing which incident to add the signal to.
- Parameters:
add_to_signal_timeline (bool, optional) – Whether to post the signal on the incident timeline.
incident_id (int) – Public ID attribute of the incident to which the signal will be added.
version (int, optional) – Version of the updated signal. If server side version is higher, update will be rejected.
datadog_api_client.v1.model.agent_check module¶
- class AgentCheck(*args, **kwargs)¶
Bases:
ModelSimple
Array of strings.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.alert_graph_widget_definition module¶
- class AlertGraphWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Alert graphs are timeseries graphs showing the current status of any monitor defined on your system.
- Parameters:
alert_id (str) – ID of the alert to use in the widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – The title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (AlertGraphWidgetDefinitionType) – Type of the alert graph widget.
viz_type (WidgetVizType) – Whether to display the Alert Graph as a timeseries or a top list.
datadog_api_client.v1.model.alert_graph_widget_definition_type module¶
- class AlertGraphWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the alert graph widget.
- Parameters:
value (str) – If omitted defaults to “alert_graph”. Must be one of [“alert_graph”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.alert_value_widget_definition module¶
- class AlertValueWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Alert values are query values showing the current value of the metric in any monitor defined on your system.
- Parameters:
alert_id (str) – ID of the alert to use in the widget.
precision (int, optional) – Number of decimal to show. If not defined, will use the raw value.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of value in the widget.
type (AlertValueWidgetDefinitionType) – Type of the alert value widget.
unit (str, optional) – Unit to display with the value.
datadog_api_client.v1.model.alert_value_widget_definition_type module¶
- class AlertValueWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the alert value widget.
- Parameters:
value (str) – If omitted defaults to “alert_value”. Must be one of [“alert_value”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.api_error_response module¶
- class APIErrorResponse(*args, **kwargs)¶
Bases:
ModelNormal
Error response object.
- Parameters:
errors ([str]) – Array of errors returned by the API.
datadog_api_client.v1.model.api_key module¶
- class ApiKey(*args, **kwargs)¶
Bases:
ModelNormal
Datadog API key.
- Parameters:
created (str, optional) – Date of creation of the API key.
created_by (str, optional) – Datadog user handle that created the API key.
key (str, optional) – API key.
name (str, optional) – Name of your API key.
datadog_api_client.v1.model.api_key_list_response module¶
- class ApiKeyListResponse(*args, **kwargs)¶
Bases:
ModelNormal
List of API and application keys available for a given organization.
- Parameters:
api_keys ([ApiKey], optional) – Array of API keys.
datadog_api_client.v1.model.api_key_response module¶
- class ApiKeyResponse(*args, **kwargs)¶
Bases:
ModelNormal
An API key with its associated metadata.
- Parameters:
api_key (ApiKey, optional) – Datadog API key.
datadog_api_client.v1.model.apm_stats_query_column_type module¶
- class ApmStatsQueryColumnType(*args, **kwargs)¶
Bases:
ModelNormal
Column properties.
- Parameters:
alias (str, optional) – A user-assigned alias for the column.
cell_display_mode (TableWidgetCellDisplayMode, optional) – Define a display mode for the table cell.
name (str) – Column name.
order (WidgetSort, optional) – Widget sorting methods.
datadog_api_client.v1.model.apm_stats_query_definition module¶
- class ApmStatsQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The APM stats query for table and distributions widgets.
- Parameters:
columns ([ApmStatsQueryColumnType], optional) – Column properties used by the front end for display.
env (str) – Environment name.
name (str) – Operation name associated with service.
primary_tag (str) – The organization’s host group name and value.
resource (str, optional) – Resource name.
row_type (ApmStatsQueryRowType) – The level of detail for the request.
service (str) – Service name.
datadog_api_client.v1.model.apm_stats_query_row_type module¶
- class ApmStatsQueryRowType(*args, **kwargs)¶
Bases:
ModelSimple
The level of detail for the request.
- Parameters:
value (str) – Must be one of [“service”, “resource”, “span”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.application_key module¶
- class ApplicationKey(*args, **kwargs)¶
Bases:
ModelNormal
An application key with its associated metadata.
- Parameters:
hash (str, optional) – Hash of an application key.
name (str, optional) – Name of an application key.
owner (str, optional) – Owner of an application key.
datadog_api_client.v1.model.application_key_list_response module¶
- class ApplicationKeyListResponse(*args, **kwargs)¶
Bases:
ModelNormal
An application key response.
- Parameters:
application_keys ([ApplicationKey], optional) – Array of application keys.
datadog_api_client.v1.model.application_key_response module¶
- class ApplicationKeyResponse(*args, **kwargs)¶
Bases:
ModelNormal
An application key response.
- Parameters:
application_key (ApplicationKey, optional) – An application key with its associated metadata.
datadog_api_client.v1.model.authentication_validation_response module¶
- class AuthenticationValidationResponse(*args, **kwargs)¶
Bases:
ModelNormal
Represent validation endpoint responses.
- Parameters:
valid (bool, optional) – Return
true
if the authentication response is valid.
datadog_api_client.v1.model.aws_account module¶
- class AWSAccount(*args, **kwargs)¶
Bases:
ModelNormal
Returns the AWS account associated with this integration.
- Parameters:
access_key_id (str, optional) – Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id (str, optional) – Your AWS Account ID without dashes.
account_specific_namespace_rules ({str: (bool,)}, optional) – An object, (in the form
{"namespace1":true/false, "namespace2":true/false}
), that enables or disables metric collection for specific AWS namespaces for this AWS account only.cspm_resource_collection_enabled (bool, optional) – Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general
resource_collection
.excluded_regions ([str], optional) – An array of AWS regions to exclude from metrics collection.
extended_resource_collection_enabled (bool, optional) – Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for
cspm_resource_collection
.filter_tags ([str], optional) – The array of EC2 tags (in the form
key:value
) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as?
(for single characters) and*
(for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding!
before the tag. For example,env:production,instance-type:c1.*,!region:us-east-1
host_tags ([str], optional) – Array of tags (in the form
key:value
) to add to all hosts and metrics reporting through this integration.metrics_collection_enabled (bool, optional) – Whether Datadog collects metrics for this AWS account.
resource_collection_enabled (bool, optional) – Deprecated in favor of ‘extended_resource_collection_enabled’. Whether Datadog collects a standard set of resources from your AWS account. Deprecated.
role_name (str, optional) – Your Datadog role delegation name.
secret_access_key (str, optional) – Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
datadog_api_client.v1.model.aws_account_and_lambda_request module¶
- class AWSAccountAndLambdaRequest(*args, **kwargs)¶
Bases:
ModelNormal
AWS account ID and Lambda ARN.
- Parameters:
account_id (str) – Your AWS Account ID without dashes.
lambda_arn (str) – ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup.
datadog_api_client.v1.model.aws_account_create_response module¶
- class AWSAccountCreateResponse(*args, **kwargs)¶
Bases:
ModelNormal
The Response returned by the AWS Create Account call.
- Parameters:
external_id (str, optional) – AWS external_id.
datadog_api_client.v1.model.aws_account_delete_request module¶
- class AWSAccountDeleteRequest(*args, **kwargs)¶
Bases:
ModelNormal
List of AWS accounts to delete.
- Parameters:
access_key_id (str, optional) – Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id (str, optional) – Your AWS Account ID without dashes.
role_name (str, optional) – Your Datadog role delegation name.
datadog_api_client.v1.model.aws_account_list_response module¶
- class AWSAccountListResponse(*args, **kwargs)¶
Bases:
ModelNormal
List of enabled AWS accounts.
- Parameters:
accounts ([AWSAccount], optional) – List of enabled AWS accounts.
datadog_api_client.v1.model.aws_event_bridge_account_configuration module¶
- class AWSEventBridgeAccountConfiguration(*args, **kwargs)¶
Bases:
ModelNormal
The EventBridge configuration for one AWS account.
- Parameters:
account_id (str, optional) – Your AWS Account ID without dashes.
event_hubs ([AWSEventBridgeSource], optional) – Array of AWS event sources associated with this account.
tags ([str], optional) – Array of tags (in the form
key:value
) which are added to all hosts and metrics reporting through the main AWS integration.
datadog_api_client.v1.model.aws_event_bridge_create_request module¶
- class AWSEventBridgeCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
An object used to create an EventBridge source.
- Parameters:
account_id (str, optional) – Your AWS Account ID without dashes.
create_event_bus (bool, optional) – True if Datadog should create the event bus in addition to the event source. Requires the
events:CreateEventBus
permission.event_generator_name (str, optional) – The given part of the event source name, which is then combined with an assigned suffix to form the full name.
region (str, optional) – The event source’s AWS region.
datadog_api_client.v1.model.aws_event_bridge_create_response module¶
- class AWSEventBridgeCreateResponse(*args, **kwargs)¶
Bases:
ModelNormal
A created EventBridge source.
- Parameters:
event_source_name (str, optional) – The event source name.
has_bus (bool, optional) – True if the event bus was created in addition to the source.
region (str, optional) –
The event source’s AWS region.
status (AWSEventBridgeCreateStatus, optional) – The event source status “created”.
datadog_api_client.v1.model.aws_event_bridge_create_status module¶
- class AWSEventBridgeCreateStatus(*args, **kwargs)¶
Bases:
ModelSimple
The event source status “created”.
- Parameters:
value (str) – If omitted defaults to “created”. Must be one of [“created”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.aws_event_bridge_delete_request module¶
- class AWSEventBridgeDeleteRequest(*args, **kwargs)¶
Bases:
ModelNormal
An object used to delete an EventBridge source.
- Parameters:
account_id (str, optional) – Your AWS Account ID without dashes.
event_generator_name (str, optional) – The event source name.
region (str, optional) –
The event source’s AWS region.
datadog_api_client.v1.model.aws_event_bridge_delete_response module¶
- class AWSEventBridgeDeleteResponse(*args, **kwargs)¶
Bases:
ModelNormal
An indicator of the successful deletion of an EventBridge source.
- Parameters:
status (AWSEventBridgeDeleteStatus, optional) – The event source status “empty”.
datadog_api_client.v1.model.aws_event_bridge_delete_status module¶
- class AWSEventBridgeDeleteStatus(*args, **kwargs)¶
Bases:
ModelSimple
The event source status “empty”.
- Parameters:
value (str) – If omitted defaults to “empty”. Must be one of [“empty”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.aws_event_bridge_list_response module¶
- class AWSEventBridgeListResponse(*args, **kwargs)¶
Bases:
ModelNormal
An object describing the EventBridge configuration for multiple accounts.
- Parameters:
accounts ([AWSEventBridgeAccountConfiguration], optional) – List of accounts with their event sources.
is_installed (bool, optional) – True if the EventBridge sub-integration is enabled for your organization.
datadog_api_client.v1.model.aws_event_bridge_source module¶
- class AWSEventBridgeSource(*args, **kwargs)¶
Bases:
ModelNormal
An EventBridge source.
- Parameters:
name (str, optional) – The event source name.
region (str, optional) –
The event source’s AWS region.
datadog_api_client.v1.model.aws_logs_async_error module¶
- class AWSLogsAsyncError(*args, **kwargs)¶
Bases:
ModelNormal
Description of errors.
- Parameters:
code (str, optional) – Code properties
message (str, optional) – Message content.
datadog_api_client.v1.model.aws_logs_async_response module¶
- class AWSLogsAsyncResponse(*args, **kwargs)¶
Bases:
ModelNormal
A list of all Datadog-AWS logs integrations available in your Datadog organization.
- Parameters:
errors ([AWSLogsAsyncError], optional) – List of errors.
status (str, optional) – Status of the properties.
datadog_api_client.v1.model.aws_logs_lambda module¶
- class AWSLogsLambda(*args, **kwargs)¶
Bases:
ModelNormal
Description of the Lambdas.
- Parameters:
arn (str, optional) – Available ARN IDs.
datadog_api_client.v1.model.aws_logs_list_response module¶
- class AWSLogsListResponse(*args, **kwargs)¶
Bases:
ModelNormal
A list of all Datadog-AWS logs integrations available in your Datadog organization.
- Parameters:
account_id (str, optional) – Your AWS Account ID without dashes.
lambdas ([AWSLogsLambda], optional) – List of ARNs configured in your Datadog account.
services ([str], optional) – Array of services IDs.
datadog_api_client.v1.model.aws_logs_list_services_response module¶
- class AWSLogsListServicesResponse(*args, **kwargs)¶
Bases:
ModelNormal
The list of current AWS services for which Datadog offers automatic log collection.
- Parameters:
id (str, optional) – Key value in returned object.
label (str, optional) – Name of service available for configuration with Datadog logs.
datadog_api_client.v1.model.aws_logs_services_request module¶
- class AWSLogsServicesRequest(*args, **kwargs)¶
Bases:
ModelNormal
A list of current AWS services for which Datadog offers automatic log collection.
- Parameters:
account_id (str) – Your AWS Account ID without dashes.
services ([str]) – Array of services IDs set to enable automatic log collection. Discover the list of available services with the get list of AWS log ready services API endpoint.
datadog_api_client.v1.model.aws_namespace module¶
- class AWSNamespace(*args, **kwargs)¶
Bases:
ModelSimple
The namespace associated with the tag filter entry.
- Parameters:
value (str) – Must be one of [“elb”, “application_elb”, “sqs”, “rds”, “custom”, “network_elb”, “lambda”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.aws_tag_filter module¶
- class AWSTagFilter(*args, **kwargs)¶
Bases:
ModelNormal
A tag filter.
- Parameters:
namespace (AWSNamespace, optional) – The namespace associated with the tag filter entry.
tag_filter_str (str, optional) – The tag filter string.
datadog_api_client.v1.model.aws_tag_filter_create_request module¶
- class AWSTagFilterCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
The objects used to set an AWS tag filter.
- Parameters:
account_id (str, optional) – Your AWS Account ID without dashes.
namespace (AWSNamespace, optional) – The namespace associated with the tag filter entry.
tag_filter_str (str, optional) – The tag filter string.
datadog_api_client.v1.model.aws_tag_filter_delete_request module¶
- class AWSTagFilterDeleteRequest(*args, **kwargs)¶
Bases:
ModelNormal
The objects used to delete an AWS tag filter entry.
- Parameters:
account_id (str, optional) – The unique identifier of your AWS account.
namespace (AWSNamespace, optional) – The namespace associated with the tag filter entry.
datadog_api_client.v1.model.aws_tag_filter_list_response module¶
- class AWSTagFilterListResponse(*args, **kwargs)¶
Bases:
ModelNormal
An array of tag filter rules by
namespace
and tag filter string.- Parameters:
filters ([AWSTagFilter], optional) – An array of tag filters.
datadog_api_client.v1.model.azure_account module¶
- class AzureAccount(*args, **kwargs)¶
Bases:
ModelNormal
Datadog-Azure integrations configured for your organization.
- Parameters:
app_service_plan_filters (str, optional) – Limit the Azure app service plans that are pulled into Datadog using tags. Only app service plans that match one of the defined tags are imported into Datadog.
automute (bool, optional) – Silence monitors for expected Azure VM shutdowns.
client_id (str, optional) – Your Azure web application ID.
client_secret (str, optional) – Your Azure web application secret key.
container_app_filters (str, optional) – Limit the Azure container apps that are pulled into Datadog using tags. Only container apps that match one of the defined tags are imported into Datadog.
cspm_enabled (bool, optional) – When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration. Note: This requires resource_collection_enabled to be set to true.
custom_metrics_enabled (bool, optional) – Enable custom metrics for your organization.
errors ([str], optional) – Errors in your configuration.
host_filters (str, optional) – Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.
metrics_config (AzureAccountMetricsConfig, optional) – Dictionary containing the key
excluded_resource_providers
which has to be a list of Microsoft Azure Resource Provider names. This feature is currently being beta tested. In order to enable all resource providers for metric collection, pass:metrics_config: {"excluded_resource_providers": []}
(i.e., an empty list forexcluded_resource_providers
).new_client_id (str, optional) – Your New Azure web application ID.
new_tenant_name (str, optional) – Your New Azure Active Directory ID.
resource_collection_enabled (bool, optional) – When enabled, Datadog collects metadata and configuration info from cloud resources (compute instances, databases, load balancers, etc.) monitored by this app registration.
tenant_name (str, optional) – Your Azure Active Directory ID.
datadog_api_client.v1.model.azure_account_list_response module¶
- class AzureAccountListResponse(*args, **kwargs)¶
Bases:
ModelSimple
Accounts configured for your organization.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.azure_account_metrics_config module¶
- class AzureAccountMetricsConfig(*args, **kwargs)¶
Bases:
ModelNormal
Dictionary containing the key
excluded_resource_providers
which has to be a list of Microsoft Azure Resource Provider names. This feature is currently being beta tested. In order to enable all resource providers for metric collection, pass:metrics_config: {"excluded_resource_providers": []}
(i.e., an empty list forexcluded_resource_providers
).- Parameters:
excluded_resource_providers ([str], optional) – List of Microsoft Azure Resource Providers to exclude from metric collection.
datadog_api_client.v1.model.cancel_downtimes_by_scope_request module¶
- class CancelDowntimesByScopeRequest(*args, **kwargs)¶
Bases:
ModelNormal
Cancel downtimes according to scope.
- Parameters:
scope (str) – The scope(s) to which the downtime applies and must be in
key:value
format. For example,host:app2
. Provide multiple scopes as a comma-separated list likeenv:dev,env:prod
. The resulting downtime applies to sources that matches ALL provided scopes (env:dev
ANDenv:prod
).
datadog_api_client.v1.model.canceled_downtimes_ids module¶
- class CanceledDowntimesIds(*args, **kwargs)¶
Bases:
ModelNormal
Object containing array of IDs of canceled downtimes.
- Parameters:
cancelled_ids ([int], optional) – ID of downtimes that were canceled.
datadog_api_client.v1.model.change_widget_definition module¶
- class ChangeWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The Change graph shows you the change in a value over the time period chosen.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests ([ChangeWidgetRequest]) –
Array of one request object to display in the widget.
- See the dedicated Request JSON schema documentation
to learn how to build the
REQUEST_SCHEMA
.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ChangeWidgetDefinitionType) – Type of the change widget.
datadog_api_client.v1.model.change_widget_definition_type module¶
- class ChangeWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the change widget.
- Parameters:
value (str) – If omitted defaults to “change”. Must be one of [“change”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.change_widget_request module¶
- class ChangeWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated change widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
change_type (WidgetChangeType, optional) – Show the absolute or the relative change.
compare_to (WidgetCompareTo, optional) – Timeframe used for the change comparison.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
increase_good (bool, optional) – Whether to show increase as good.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
order_by (WidgetOrderBy, optional) – What to order by.
order_dir (WidgetSort, optional) – Widget sorting methods.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Query definition.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
show_present (bool, optional) – Whether to show the present value.
datadog_api_client.v1.model.check_can_delete_monitor_response module¶
- class CheckCanDeleteMonitorResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response of monitor IDs that can or can’t be safely deleted.
- Parameters:
data (CheckCanDeleteMonitorResponseData) – Wrapper object with the list of monitor IDs.
errors ({str: ([str],)}, none_type, optional) – A mapping of Monitor ID to strings denoting where it’s used.
datadog_api_client.v1.model.check_can_delete_monitor_response_data module¶
- class CheckCanDeleteMonitorResponseData(*args, **kwargs)¶
Bases:
ModelNormal
Wrapper object with the list of monitor IDs.
- Parameters:
ok ([int], optional) – An array of of Monitor IDs that can be safely deleted.
datadog_api_client.v1.model.check_can_delete_slo_response module¶
- class CheckCanDeleteSLOResponse(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective response containing the requested object.
- Parameters:
data (CheckCanDeleteSLOResponseData, optional) – An array of service level objective objects.
errors ({str: (str,)}, optional) – A mapping of SLO id to it’s current usages.
datadog_api_client.v1.model.check_can_delete_slo_response_data module¶
- class CheckCanDeleteSLOResponseData(*args, **kwargs)¶
Bases:
ModelNormal
An array of service level objective objects.
- Parameters:
ok ([str], optional) – An array of of SLO IDs that can be safely deleted.
datadog_api_client.v1.model.check_status_widget_definition module¶
- class CheckStatusWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Check status shows the current status or number of results for any check performed.
- Parameters:
check (str) – Name of the check to use in the widget.
group (str, optional) – Group reporting a single check.
group_by ([str], optional) – List of tag prefixes to group by in the case of a cluster check.
grouping (WidgetGrouping) – The kind of grouping to use.
tags ([str], optional) – List of tags used to filter the groups reporting a cluster check.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (CheckStatusWidgetDefinitionType) – Type of the check status widget.
datadog_api_client.v1.model.check_status_widget_definition_type module¶
- class CheckStatusWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the check status widget.
- Parameters:
value (str) – If omitted defaults to “check_status”. Must be one of [“check_status”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.content_encoding module¶
- class ContentEncoding(*args, **kwargs)¶
Bases:
ModelSimple
HTTP header used to compress the media-type.
- Parameters:
value (str) – Must be one of [“gzip”, “deflate”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.creator module¶
- class Creator(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the creator of the shared element.
- Parameters:
email (str, optional) – Email of the creator.
handle (str, optional) – Handle of the creator.
name (str, none_type, optional) – Name of the creator.
datadog_api_client.v1.model.dashboard module¶
- class Dashboard(*args, **kwargs)¶
Bases:
ModelNormal
A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying key performance metrics, which enable you to monitor the health of your infrastructure.
- Parameters:
author_handle (str, optional) – Identifier of the dashboard author.
author_name (str, none_type, optional) – Name of the dashboard author.
created_at (datetime, optional) – Creation date of the dashboard.
description (str, none_type, optional) – Description of the dashboard.
id (str, optional) – ID of the dashboard.
is_read_only (bool, optional) –
Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
This property is deprecated; please use the Restriction Policies API instead to manage write authorization for individual dashboards. Deprecated.
layout_type (DashboardLayoutType) – Layout type of the dashboard.
modified_at (datetime, optional) – Modification date of the dashboard.
notify_list ([str], none_type, optional) – List of handles of users to notify when changes are made to this dashboard.
reflow_type (DashboardReflowType, optional) – Reflow type for a new dashboard layout dashboard. Set this only when layout type is ‘ordered’. If set to ‘fixed’, the dashboard expects all widgets to have a layout, and if it’s set to ‘auto’, widgets should not have layouts.
restricted_roles ([str], optional) –
A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
This property is deprecated; please use the Restriction Policies API instead to manage write authorization for individual dashboards. Deprecated.
tags ([str], none_type, optional) – List of team names representing ownership of a dashboard.
template_variable_presets ([DashboardTemplateVariablePreset], none_type, optional) – Array of template variables saved views.
template_variables ([DashboardTemplateVariable], none_type, optional) – List of template variables for this dashboard.
title (str) – Title of the dashboard.
url (str, optional) – The URL of the dashboard.
widgets ([Widget]) – List of widgets to display on the dashboard.
datadog_api_client.v1.model.dashboard_bulk_action_data module¶
- class DashboardBulkActionData(*args, **kwargs)¶
Bases:
ModelNormal
Dashboard bulk action request data.
- Parameters:
id (str) – Dashboard resource ID.
type (DashboardResourceType) – Dashboard resource type.
datadog_api_client.v1.model.dashboard_bulk_action_data_list module¶
- class DashboardBulkActionDataList(*args, **kwargs)¶
Bases:
ModelSimple
List of dashboard bulk action request data objects.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_bulk_delete_request module¶
- class DashboardBulkDeleteRequest(*args, **kwargs)¶
Bases:
ModelNormal
Dashboard bulk delete request body.
- Parameters:
data (DashboardBulkActionDataList) – List of dashboard bulk action request data objects.
datadog_api_client.v1.model.dashboard_delete_response module¶
- class DashboardDeleteResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response from the delete dashboard call.
- Parameters:
deleted_dashboard_id (str, optional) – ID of the deleted dashboard.
datadog_api_client.v1.model.dashboard_global_time module¶
- class DashboardGlobalTime(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the live span selection for the dashboard.
- Parameters:
live_span (DashboardGlobalTimeLiveSpan, optional) – Dashboard global time live_span selection
datadog_api_client.v1.model.dashboard_global_time_live_span module¶
- class DashboardGlobalTimeLiveSpan(*args, **kwargs)¶
Bases:
ModelSimple
Dashboard global time live_span selection
- Parameters:
value (str) – Must be one of [“15m”, “1h”, “4h”, “1d”, “2d”, “1w”, “1mo”, “3mo”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_invite_type module¶
- class DashboardInviteType(*args, **kwargs)¶
Bases:
ModelSimple
Type for shared dashboard invitation request body.
- Parameters:
value (str) – If omitted defaults to “public_dashboard_invitation”. Must be one of [“public_dashboard_invitation”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_layout_type module¶
- class DashboardLayoutType(*args, **kwargs)¶
Bases:
ModelSimple
Layout type of the dashboard.
- Parameters:
value (str) – Must be one of [“ordered”, “free”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_list module¶
- class DashboardList(*args, **kwargs)¶
Bases:
ModelNormal
Your Datadog Dashboards.
- Parameters:
author (Creator, optional) – Object describing the creator of the shared element.
created (datetime, optional) – Date of creation of the dashboard list.
dashboard_count (int, optional) – The number of dashboards in the list.
id (int, optional) – The ID of the dashboard list.
is_favorite (bool, optional) – Whether or not the list is in the favorites.
modified (datetime, optional) – Date of last edition of the dashboard list.
name (str) – The name of the dashboard list.
type (str, optional) – The type of dashboard list.
datadog_api_client.v1.model.dashboard_list_delete_response module¶
- class DashboardListDeleteResponse(*args, **kwargs)¶
Bases:
ModelNormal
Deleted dashboard details.
- Parameters:
deleted_dashboard_list_id (int, optional) – ID of the deleted dashboard list.
datadog_api_client.v1.model.dashboard_list_list_response module¶
- class DashboardListListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Information on your dashboard lists.
- Parameters:
dashboard_lists ([DashboardList], optional) – List of all your dashboard lists.
datadog_api_client.v1.model.dashboard_reflow_type module¶
- class DashboardReflowType(*args, **kwargs)¶
Bases:
ModelSimple
- Reflow type for a new dashboard layout dashboard. Set this only when layout type is ‘ordered’.
If set to ‘fixed’, the dashboard expects all widgets to have a layout, and if it’s set to ‘auto’, widgets should not have layouts.
- Parameters:
value (str) – Must be one of [“auto”, “fixed”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_resource_type module¶
- class DashboardResourceType(*args, **kwargs)¶
Bases:
ModelSimple
Dashboard resource type.
- Parameters:
value (str) – If omitted defaults to “dashboard”. Must be one of [“dashboard”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.dashboard_restore_request module¶
- class DashboardRestoreRequest(*args, **kwargs)¶
Bases:
ModelNormal
Dashboard restore request body.
- Parameters:
data (DashboardBulkActionDataList) – List of dashboard bulk action request data objects.
datadog_api_client.v1.model.dashboard_summary module¶
- class DashboardSummary(*args, **kwargs)¶
Bases:
ModelNormal
Dashboard summary response.
- Parameters:
dashboards ([DashboardSummaryDefinition], optional) – List of dashboard definitions.
datadog_api_client.v1.model.dashboard_summary_definition module¶
- class DashboardSummaryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Dashboard definition.
- Parameters:
author_handle (str, optional) – Identifier of the dashboard author.
created_at (datetime, optional) – Creation date of the dashboard.
description (str, none_type, optional) – Description of the dashboard.
id (str, optional) – Dashboard identifier.
is_read_only (bool, optional) –
Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
This property is deprecated; please use the Restriction Policies API instead to manage write authorization for individual dashboards. Deprecated.
layout_type (DashboardLayoutType, optional) – Layout type of the dashboard.
modified_at (datetime, optional) – Modification date of the dashboard.
title (str, optional) – Title of the dashboard.
url (str, optional) – URL of the dashboard.
datadog_api_client.v1.model.dashboard_template_variable module¶
- class DashboardTemplateVariable(*args, **kwargs)¶
Bases:
ModelNormal
Template variable.
- Parameters:
available_values ([str], none_type, optional) – The list of values that the template variable drop-down is limited to.
default (str, none_type, optional) – (deprecated) The default value for the template variable on dashboard load. Cannot be used in conjunction with
defaults
. Deprecated.defaults ([str], optional) – One or many default values for template variables on load. If more than one default is specified, they will be unioned together with
OR
. Cannot be used in conjunction withdefault
.name (str) – The name of the variable.
prefix (str, none_type, optional) – The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.
datadog_api_client.v1.model.dashboard_template_variable_preset module¶
- class DashboardTemplateVariablePreset(*args, **kwargs)¶
Bases:
ModelNormal
Template variables saved views.
- Parameters:
name (str, optional) – The name of the variable.
template_variables ([DashboardTemplateVariablePresetValue], optional) – List of variables.
datadog_api_client.v1.model.dashboard_template_variable_preset_value module¶
- class DashboardTemplateVariablePresetValue(*args, **kwargs)¶
Bases:
ModelNormal
Template variables saved views.
- Parameters:
name (str, optional) – The name of the variable.
value (str, optional) – (deprecated) The value of the template variable within the saved view. Cannot be used in conjunction with
values
. Deprecated.values ([str], optional) – One or many template variable values within the saved view, which will be unioned together using
OR
if more than one is specified. Cannot be used in conjunction withvalue
.
datadog_api_client.v1.model.dashboard_type module¶
- class DashboardType(*args, **kwargs)¶
Bases:
ModelSimple
The type of the associated private dashboard.
- Parameters:
value (str) – Must be one of [“custom_timeboard”, “custom_screenboard”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.deleted_monitor module¶
- class DeletedMonitor(*args, **kwargs)¶
Bases:
ModelNormal
Response from the delete monitor call.
- Parameters:
deleted_monitor_id (int, optional) – ID of the deleted monitor.
datadog_api_client.v1.model.distribution_point module¶
- class DistributionPoint(*args, **kwargs)¶
Bases:
ModelSimple
Array of distribution points.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.distribution_points_content_encoding module¶
- class DistributionPointsContentEncoding(*args, **kwargs)¶
Bases:
ModelSimple
HTTP header used to compress the media-type.
- Parameters:
value (str) – If omitted defaults to “deflate”. Must be one of [“deflate”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.distribution_points_payload module¶
- class DistributionPointsPayload(*args, **kwargs)¶
Bases:
ModelNormal
The distribution points payload.
- Parameters:
series ([DistributionPointsSeries]) – A list of distribution points series to submit to Datadog.
datadog_api_client.v1.model.distribution_points_series module¶
- class DistributionPointsSeries(*args, **kwargs)¶
Bases:
ModelNormal
A distribution points metric to submit to Datadog.
- Parameters:
host (str, optional) – The name of the host that produced the distribution point metric.
metric (str) – The name of the distribution points metric.
points ([DistributionPoint]) – Points relating to the distribution point metric. All points must be tuples with timestamp and a list of values (cannot be a string). Timestamps should be in POSIX time in seconds.
tags ([str], optional) – A list of tags associated with the distribution point metric.
type (DistributionPointsType, optional) – The type of the distribution point.
datadog_api_client.v1.model.distribution_points_type module¶
- class DistributionPointsType(*args, **kwargs)¶
Bases:
ModelSimple
The type of the distribution point.
- Parameters:
value (str) – If omitted defaults to “distribution”. Must be one of [“distribution”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.distribution_widget_definition module¶
- class DistributionWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.
- Parameters:
custom_links ([WidgetCustomLink], optional) – A list of custom links.
legend_size (str, optional) – (Deprecated) The widget legend was replaced by a tooltip and sidebar. Deprecated.
markers ([WidgetMarker], optional) – List of markers.
requests ([DistributionWidgetRequest]) –
Array of one request object to display in the widget.
- See the dedicated Request JSON schema documentation
to learn how to build the
REQUEST_SCHEMA
.
show_legend (bool, optional) – (Deprecated) The widget legend was replaced by a tooltip and sidebar. Deprecated.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (DistributionWidgetDefinitionType) – Type of the distribution widget.
xaxis (DistributionWidgetXAxis, optional) – X Axis controls for the distribution widget.
yaxis (DistributionWidgetYAxis, optional) – Y Axis controls for the distribution widget.
datadog_api_client.v1.model.distribution_widget_definition_type module¶
- class DistributionWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the distribution widget.
- Parameters:
value (str) – If omitted defaults to “distribution”. Must be one of [“distribution”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.distribution_widget_histogram_request_query module¶
- class DistributionWidgetHistogramRequestQuery(*args, **kwargs)¶
Bases:
ModelComposed
Query definition for Distribution Widget Histogram Request
- Parameters:
aggregator (FormulaAndFunctionMetricAggregation, optional) – The aggregation methods available for metrics queries.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionMetricDataSource) – Data source for metrics queries.
name (str) – Name of the query for use in formulas.
query (str) – Metrics query definition.
compute (FormulaAndFunctionEventQueryDefinitionCompute) – Compute options.
group_by ([FormulaAndFunctionEventQueryGroupBy], optional) – Group by options.
indexes ([str], optional) – An array of index names to query in the stream. Omit or use [] to query all indexes at once.
search (FormulaAndFunctionEventQueryDefinitionSearch, optional) – Search options.
storage (str, optional) – Option for storage location. Feature in Private Beta.
env (str) – APM environment.
operation_name (str, optional) – Name of operation on service.
primary_tag_name (str, optional) – Name of the second primary tag used within APM. Required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
primary_tag_value (str, optional) – Value of the second primary tag by which to filter APM data. primary_tag_name must also be specified.
resource_name (str, optional) – APM resource name.
service (str) – APM service name.
stat (FormulaAndFunctionApmResourceStatName) – APM resource stat name.
datadog_api_client.v1.model.distribution_widget_histogram_request_type module¶
- class DistributionWidgetHistogramRequestType(*args, **kwargs)¶
Bases:
ModelSimple
Request type for the histogram request.
- Parameters:
value (str) – If omitted defaults to “histogram”. Must be one of [“histogram”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.distribution_widget_request module¶
- class DistributionWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated distribution widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
apm_stats_query (ApmStatsQueryDefinition, optional) – The APM stats query for table and distributions widgets.
event_query (LogQueryDefinition, optional) – The log query.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Widget query.
query (DistributionWidgetHistogramRequestQuery, optional) – Query definition for Distribution Widget Histogram Request
request_type (DistributionWidgetHistogramRequestType, optional) – Request type for the histogram request.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
style (WidgetStyle, optional) – Widget style definition.
datadog_api_client.v1.model.distribution_widget_x_axis module¶
- class DistributionWidgetXAxis(*args, **kwargs)¶
Bases:
ModelNormal
X Axis controls for the distribution widget.
- Parameters:
include_zero (bool, optional) – True includes zero.
max (str, optional) – Specifies maximum value to show on the x-axis. It takes a number, percentile (p90 === 90th percentile), or auto for default behavior.
min (str, optional) – Specifies minimum value to show on the x-axis. It takes a number, percentile (p90 === 90th percentile), or auto for default behavior.
scale (str, optional) – Specifies the scale type. Possible values are
linear
.
datadog_api_client.v1.model.distribution_widget_y_axis module¶
- class DistributionWidgetYAxis(*args, **kwargs)¶
Bases:
ModelNormal
Y Axis controls for the distribution widget.
- Parameters:
include_zero (bool, optional) – True includes zero.
label (str, optional) – The label of the axis to display on the graph.
max (str, optional) – Specifies the maximum value to show on the y-axis. It takes a number, or auto for default behavior.
min (str, optional) – Specifies minimum value to show on the y-axis. It takes a number, or auto for default behavior.
scale (str, optional) – Specifies the scale type. Possible values are
linear
orlog
.
datadog_api_client.v1.model.downtime module¶
- class Downtime(*args, **kwargs)¶
Bases:
ModelNormal
Downtiming gives you greater control over monitor notifications by allowing you to globally exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times, prevent all alerting related to specified Datadog tags.
- Parameters:
active (bool, optional) – If a scheduled downtime currently exists.
active_child (DowntimeChild, none_type, optional) – The downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
canceled (int, none_type, optional) – If a scheduled downtime is canceled.
creator_id (int, optional) – User ID of the downtime creator.
disabled (bool, optional) – If a downtime has been disabled.
downtime_type (int, optional) –
0
for a downtime applied on*
or all,1
when the downtime is only scoped to hosts, or2
when the downtime is scoped to anything but hosts.end (int, none_type, optional) – POSIX timestamp to end the downtime. If not provided, the downtime is in effect indefinitely until you cancel it.
id (int, optional) – The downtime ID.
message (str, none_type, optional) – A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same
@username
notation as events.monitor_id (int, none_type, optional) – A single monitor to which the downtime applies. If not provided, the downtime applies to all monitors.
monitor_tags ([str], optional) – A comma-separated list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match ALL provided monitor tags. For example,
service:postgres
ANDteam:frontend
.mute_first_recovery_notification (bool, optional) – If the first recovery notification during a downtime should be muted.
notify_end_states ([NotifyEndState], optional) – States for which
notify_end_types
sends out notifications for.notify_end_types ([NotifyEndType], optional) – If set, notifies if a monitor is in an alert-worthy state (
ALERT
,WARNING
, orNO DATA
) when this downtime expires or is canceled. Applied to monitors that change states during the downtime (such as fromOK
toALERT
,WARNING
, orNO DATA
), and to monitors that already have an alert-worthy state when downtime begins.parent_id (int, none_type, optional) – ID of the parent Downtime.
recurrence (DowntimeRecurrence, none_type, optional) – An object defining the recurrence of the downtime.
scope ([str], optional) – The scope(s) to which the downtime applies and must be in
key:value
format. For example,host:app2
. Provide multiple scopes as a comma-separated list likeenv:dev,env:prod
. The resulting downtime applies to sources that matches ALL provided scopes (env:dev
ANDenv:prod
).start (int, optional) – POSIX timestamp to start the downtime. If not provided, the downtime starts the moment it is created.
timezone (str, optional) – The timezone in which to display the downtime’s start and end times in Datadog applications.
updater_id (int, none_type, optional) – ID of the last user that updated the downtime.
datadog_api_client.v1.model.downtime_child module¶
- class DowntimeChild(*args, **kwargs)¶
Bases:
ModelNormal
The downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- Parameters:
active (bool, optional) – If a scheduled downtime currently exists.
canceled (int, none_type, optional) – If a scheduled downtime is canceled.
creator_id (int, optional) – User ID of the downtime creator.
disabled (bool, optional) – If a downtime has been disabled.
downtime_type (int, optional) –
0
for a downtime applied on*
or all,1
when the downtime is only scoped to hosts, or2
when the downtime is scoped to anything but hosts.end (int, none_type, optional) – POSIX timestamp to end the downtime. If not provided, the downtime is in effect indefinitely until you cancel it.
id (int, optional) – The downtime ID.
message (str, none_type, optional) – A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same
@username
notation as events.monitor_id (int, none_type, optional) – A single monitor to which the downtime applies. If not provided, the downtime applies to all monitors.
monitor_tags ([str], optional) – A comma-separated list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match ALL provided monitor tags. For example,
service:postgres
ANDteam:frontend
.mute_first_recovery_notification (bool, optional) – If the first recovery notification during a downtime should be muted.
notify_end_states ([NotifyEndState], optional) – States for which
notify_end_types
sends out notifications for.notify_end_types ([NotifyEndType], optional) – If set, notifies if a monitor is in an alert-worthy state (
ALERT
,WARNING
, orNO DATA
) when this downtime expires or is canceled. Applied to monitors that change states during the downtime (such as fromOK
toALERT
,WARNING
, orNO DATA
), and to monitors that already have an alert-worthy state when downtime begins.parent_id (int, none_type, optional) – ID of the parent Downtime.
recurrence (DowntimeRecurrence, none_type, optional) – An object defining the recurrence of the downtime.
scope ([str], optional) – The scope(s) to which the downtime applies and must be in
key:value
format. For example,host:app2
. Provide multiple scopes as a comma-separated list likeenv:dev,env:prod
. The resulting downtime applies to sources that matches ALL provided scopes (env:dev
ANDenv:prod
).start (int, optional) – POSIX timestamp to start the downtime. If not provided, the downtime starts the moment it is created.
timezone (str, optional) – The timezone in which to display the downtime’s start and end times in Datadog applications.
updater_id (int, none_type, optional) – ID of the last user that updated the downtime.
datadog_api_client.v1.model.downtime_recurrence module¶
- class DowntimeRecurrence(*args, **kwargs)¶
Bases:
ModelNormal
An object defining the recurrence of the downtime.
- Parameters:
period (int, optional) – How often to repeat as an integer. For example, to repeat every 3 days, select a type of
days
and a period of3
.rrule (str, optional) –
The
RRULE
standard for defining recurring events ( requires to set “type” to rrule ) For example, to have a recurring event on the first day of each month, set the type torrule
and set theFREQ
toMONTHLY
andBYMONTHDAY
to1
. Most commonrrule
options from the iCalendar Spec are supported.Note : Attributes specifying the duration in
RRULE
are not supported (for example,DTSTART
,DTEND
,DURATION
). More examples available in this downtime guidetype (str, optional) – The type of recurrence. Choose from
days
,weeks
,months
,years
,rrule
.until_date (int, none_type, optional) – The date at which the recurrence should end as a POSIX timestamp.
until_occurences
anduntil_date
are mutually exclusive.until_occurrences (int, none_type, optional) – How many times the downtime is rescheduled.
until_occurences
anduntil_date
are mutually exclusive.week_days ([str], none_type, optional) – A list of week days to repeat on. Choose from
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable when type is weeks. First letter must be capitalized.
datadog_api_client.v1.model.event module¶
- class Event(*args, **kwargs)¶
Bases:
ModelNormal
Object representing an event.
- Parameters:
alert_type (EventAlertType, optional) – If an alert event is enabled, set its type. For example,
error
,warning
,info
,success
,user_update
,recommendation
, andsnapshot
.date_happened (int, optional) – POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events up to 18 hours in the past and two hours in the future.
device_name (str, optional) – A device name.
host (str, optional) – Host name to associate with the event. Any tags associated with the host are also applied to this event.
id (int, optional) – Integer ID of the event.
id_str (str, optional) – Handling IDs as large 64-bit numbers can cause loss of accuracy issues with some programming languages. Instead, use the string representation of the Event ID to avoid losing accuracy.
payload (str, optional) – Payload of the event.
priority (EventPriority, none_type, optional) – The priority of the event. For example,
normal
orlow
.source_type_name (str, optional) – The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. The list of standard source attribute values available here.
tags ([str], optional) – A list of tags to apply to the event.
text (str, optional) – The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with
%%% \n
and end the text block with\n %%%
. Usemsg_text
with the Datadog Ruby library.title (str, optional) – The event title.
url (str, optional) – URL of the event.
datadog_api_client.v1.model.event_alert_type module¶
- class EventAlertType(*args, **kwargs)¶
Bases:
ModelSimple
- If an alert event is enabled, set its type.
For example, error, warning, info, success, user_update, recommendation, and snapshot.
- Parameters:
value (str) – Must be one of [“error”, “warning”, “info”, “success”, “user_update”, “recommendation”, “snapshot”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.event_create_request module¶
- class EventCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Object representing an event.
- Parameters:
aggregation_key (str, optional) – An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream.
alert_type (EventAlertType, optional) – If an alert event is enabled, set its type. For example,
error
,warning
,info
,success
,user_update
,recommendation
, andsnapshot
.date_happened (int, optional) – POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 18 hours
device_name (str, optional) – A device name.
host (str, optional) – Host name to associate with the event. Any tags associated with the host are also applied to this event.
priority (EventPriority, none_type, optional) – The priority of the event. For example,
normal
orlow
.related_event_id (int, optional) – ID of the parent event. Must be sent as an integer (that is no quotes).
source_type_name (str, optional) –
The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values available here.
tags ([str], optional) – A list of tags to apply to the event.
text (str) – The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with
%%% \n
and end the text block with\n %%%
. Usemsg_text
with the Datadog Ruby library.title (str) – The event title.
datadog_api_client.v1.model.event_create_response module¶
- class EventCreateResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing an event response.
- Parameters:
event (Event, optional) – Object representing an event.
status (str, optional) – A status.
datadog_api_client.v1.model.event_list_response module¶
- class EventListResponse(*args, **kwargs)¶
Bases:
ModelNormal
An event list response.
- Parameters:
events ([Event], optional) – An array of events.
status (str, optional) – A status.
datadog_api_client.v1.model.event_priority module¶
- class EventPriority(*args, **kwargs)¶
Bases:
ModelSimple
The priority of the event. For example, normal or low.
- Parameters:
value (str) – Must be one of [“normal”, “low”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.event_query_definition module¶
- class EventQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The event query.
- Parameters:
search (str) – The query being made on the event.
tags_execution (str) – The execution method for multi-value filters. Can be either and or or.
datadog_api_client.v1.model.event_response module¶
- class EventResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing an event response.
- Parameters:
event (Event, optional) – Object representing an event.
status (str, optional) – A status.
datadog_api_client.v1.model.event_stream_widget_definition module¶
- class EventStreamWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The event stream is a widget version of the stream of events on the Event Stream view. Only available on FREE layout dashboards.
- Parameters:
event_size (WidgetEventSize, optional) – Size to use to display an event.
query (str) – Query to filter the event stream with.
tags_execution (str, optional) – The execution method for multi-value filters. Can be either and or or.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (EventStreamWidgetDefinitionType) – Type of the event stream widget.
datadog_api_client.v1.model.event_stream_widget_definition_type module¶
- class EventStreamWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the event stream widget.
- Parameters:
value (str) – If omitted defaults to “event_stream”. Must be one of [“event_stream”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.event_timeline_widget_definition module¶
- class EventTimelineWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The event timeline is a widget version of the timeline that appears at the top of the Event Stream view. Only available on FREE layout dashboards.
- Parameters:
query (str) – Query to filter the event timeline with.
tags_execution (str, optional) – The execution method for multi-value filters. Can be either and or or.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (EventTimelineWidgetDefinitionType) – Type of the event timeline widget.
datadog_api_client.v1.model.event_timeline_widget_definition_type module¶
- class EventTimelineWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the event timeline widget.
- Parameters:
value (str) – If omitted defaults to “event_timeline”. Must be one of [“event_timeline”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_apm_dependency_stat_name module¶
- class FormulaAndFunctionApmDependencyStatName(*args, **kwargs)¶
Bases:
ModelSimple
APM statistic.
- Parameters:
value (str) – Must be one of [“avg_duration”, “avg_root_duration”, “avg_spans_per_trace”, “error_rate”, “pct_exec_time”, “pct_of_traces”, “total_traces_count”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_apm_dependency_stats_data_source module¶
- class FormulaAndFunctionApmDependencyStatsDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for APM dependency stats queries.
- Parameters:
value (str) – If omitted defaults to “apm_dependency_stats”. Must be one of [“apm_dependency_stats”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_apm_dependency_stats_query_definition module¶
- class FormulaAndFunctionApmDependencyStatsQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions APM dependency stats query.
- Parameters:
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionApmDependencyStatsDataSource) – Data source for APM dependency stats queries.
env (str) – APM environment.
is_upstream (bool, optional) – Determines whether stats for upstream or downstream dependencies should be queried.
name (str) – Name of query to use in formulas.
operation_name (str) – Name of operation on service.
primary_tag_name (str, optional) – The name of the second primary tag used within APM; required when
primary_tag_value
is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.primary_tag_value (str, optional) – Filter APM data by the second primary tag.
primary_tag_name
must also be specified.resource_name (str) – APM resource.
service (str) – APM service.
stat (FormulaAndFunctionApmDependencyStatName) – APM statistic.
datadog_api_client.v1.model.formula_and_function_apm_resource_stat_name module¶
- class FormulaAndFunctionApmResourceStatName(*args, **kwargs)¶
Bases:
ModelSimple
APM resource stat name.
- Parameters:
value (str) – Must be one of [“errors”, “error_rate”, “hits”, “latency_avg”, “latency_distribution”, “latency_max”, “latency_p50”, “latency_p75”, “latency_p90”, “latency_p95”, “latency_p99”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_apm_resource_stats_data_source module¶
- class FormulaAndFunctionApmResourceStatsDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for APM resource stats queries.
- Parameters:
value (str) – If omitted defaults to “apm_resource_stats”. Must be one of [“apm_resource_stats”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_apm_resource_stats_query_definition module¶
- class FormulaAndFunctionApmResourceStatsQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
APM resource stats query using formulas and functions.
- Parameters:
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionApmResourceStatsDataSource) – Data source for APM resource stats queries.
env (str) – APM environment.
group_by ([str], optional) – Array of fields to group results by.
name (str) – Name of this query to use in formulas.
operation_name (str, optional) – Name of operation on service.
primary_tag_name (str, optional) – Name of the second primary tag used within APM. Required when
primary_tag_value
is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadogprimary_tag_value (str, optional) – Value of the second primary tag by which to filter APM data.
primary_tag_name
must also be specified.resource_name (str, optional) – APM resource name.
service (str) – APM service name.
stat (FormulaAndFunctionApmResourceStatName) – APM resource stat name.
datadog_api_client.v1.model.formula_and_function_cloud_cost_data_source module¶
- class FormulaAndFunctionCloudCostDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for Cloud Cost queries.
- Parameters:
value (str) – If omitted defaults to “cloud_cost”. Must be one of [“cloud_cost”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_cloud_cost_query_definition module¶
- class FormulaAndFunctionCloudCostQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions Cloud Cost query.
- Parameters:
aggregator (WidgetAggregator, optional) – Aggregator used for the request.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionCloudCostDataSource) – Data source for Cloud Cost queries.
name (str) – Name of the query for use in formulas.
query (str) – Query for Cloud Cost data.
datadog_api_client.v1.model.formula_and_function_event_aggregation module¶
- class FormulaAndFunctionEventAggregation(*args, **kwargs)¶
Bases:
ModelSimple
Aggregation methods for event platform queries.
- Parameters:
value (str) – Must be one of [“count”, “cardinality”, “median”, “pc75”, “pc90”, “pc95”, “pc98”, “pc99”, “sum”, “min”, “max”, “avg”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_event_query_definition module¶
- class FormulaAndFunctionEventQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions events query.
- Parameters:
compute (FormulaAndFunctionEventQueryDefinitionCompute) – Compute options.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionEventsDataSource) – Data source for event platform-based queries.
group_by ([FormulaAndFunctionEventQueryGroupBy], optional) – Group by options.
indexes ([str], optional) – An array of index names to query in the stream. Omit or use
[]
to query all indexes at once.name (str) – Name of the query for use in formulas.
search (FormulaAndFunctionEventQueryDefinitionSearch, optional) – Search options.
storage (str, optional) – Option for storage location. Feature in Private Beta.
datadog_api_client.v1.model.formula_and_function_event_query_definition_compute module¶
- class FormulaAndFunctionEventQueryDefinitionCompute(*args, **kwargs)¶
Bases:
ModelNormal
Compute options.
- Parameters:
aggregation (FormulaAndFunctionEventAggregation) – Aggregation methods for event platform queries.
interval (int, optional) – A time interval in milliseconds.
metric (str, optional) – Measurable attribute to compute.
datadog_api_client.v1.model.formula_and_function_event_query_definition_search module¶
- class FormulaAndFunctionEventQueryDefinitionSearch(*args, **kwargs)¶
Bases:
ModelNormal
Search options.
- Parameters:
query (str) – Events search string.
datadog_api_client.v1.model.formula_and_function_event_query_group_by module¶
- class FormulaAndFunctionEventQueryGroupBy(*args, **kwargs)¶
Bases:
ModelNormal
List of objects used to group by.
- Parameters:
facet (str) – Event facet.
limit (int, optional) – Number of groups to return.
sort (FormulaAndFunctionEventQueryGroupBySort, optional) – Options for sorting group by results.
datadog_api_client.v1.model.formula_and_function_event_query_group_by_sort module¶
- class FormulaAndFunctionEventQueryGroupBySort(*args, **kwargs)¶
Bases:
ModelNormal
Options for sorting group by results.
- Parameters:
aggregation (FormulaAndFunctionEventAggregation) – Aggregation methods for event platform queries.
metric (str, optional) – Metric used for sorting group by results.
order (QuerySortOrder, optional) – Direction of sort.
datadog_api_client.v1.model.formula_and_function_events_data_source module¶
- class FormulaAndFunctionEventsDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for event platform-based queries.
- Parameters:
value (str) – Must be one of [“logs”, “spans”, “network”, “rum”, “security_signals”, “profiles”, “audit”, “events”, “ci_tests”, “ci_pipelines”, “incident_analytics”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_metric_aggregation module¶
- class FormulaAndFunctionMetricAggregation(*args, **kwargs)¶
Bases:
ModelSimple
The aggregation methods available for metrics queries.
- Parameters:
value (str) – Must be one of [“avg”, “min”, “max”, “sum”, “last”, “area”, “l2norm”, “percentile”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_metric_data_source module¶
- class FormulaAndFunctionMetricDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for metrics queries.
- Parameters:
value (str) – If omitted defaults to “metrics”. Must be one of [“metrics”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_metric_query_definition module¶
- class FormulaAndFunctionMetricQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions metrics query.
- Parameters:
aggregator (FormulaAndFunctionMetricAggregation, optional) – The aggregation methods available for metrics queries.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionMetricDataSource) – Data source for metrics queries.
name (str) – Name of the query for use in formulas.
query (str) – Metrics query definition.
datadog_api_client.v1.model.formula_and_function_process_query_data_source module¶
- class FormulaAndFunctionProcessQueryDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data sources that rely on the process backend.
- Parameters:
value (str) – Must be one of [“process”, “container”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_process_query_definition module¶
- class FormulaAndFunctionProcessQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Process query using formulas and functions.
- Parameters:
aggregator (FormulaAndFunctionMetricAggregation, optional) – The aggregation methods available for metrics queries.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionProcessQueryDataSource) – Data sources that rely on the process backend.
is_normalized_cpu (bool, optional) – Whether to normalize the CPU percentages.
limit (int, optional) – Number of hits to return.
metric (str) – Process metric name.
name (str) – Name of query for use in formulas.
sort (QuerySortOrder, optional) – Direction of sort.
tag_filters ([str], optional) – An array of tags to filter by.
text_filter (str, optional) – Text to use as filter.
datadog_api_client.v1.model.formula_and_function_query_definition module¶
- class FormulaAndFunctionQueryDefinition(*args, **kwargs)¶
Bases:
ModelComposed
A formula and function query.
- Parameters:
aggregator (FormulaAndFunctionMetricAggregation, optional) – The aggregation methods available for metrics queries.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionMetricDataSource) – Data source for metrics queries.
name (str) – Name of the query for use in formulas.
query (str) – Metrics query definition.
compute (FormulaAndFunctionEventQueryDefinitionCompute) – Compute options.
group_by ([FormulaAndFunctionEventQueryGroupBy], optional) – Group by options.
indexes ([str], optional) – An array of index names to query in the stream. Omit or use [] to query all indexes at once.
search (FormulaAndFunctionEventQueryDefinitionSearch, optional) – Search options.
storage (str, optional) – Option for storage location. Feature in Private Beta.
is_normalized_cpu (bool, optional) – Whether to normalize the CPU percentages.
limit (int, optional) – Number of hits to return.
metric (str) – Process metric name.
sort (QuerySortOrder, optional) – Direction of sort.
tag_filters ([str], optional) – An array of tags to filter by.
text_filter (str, optional) – Text to use as filter.
env (str) – APM environment.
is_upstream (bool, optional) – Determines whether stats for upstream or downstream dependencies should be queried.
operation_name (str) – Name of operation on service.
primary_tag_name (str, optional) – The name of the second primary tag used within APM; required when primary_tag_value is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
primary_tag_value (str, optional) – Filter APM data by the second primary tag. primary_tag_name must also be specified.
resource_name (str) – APM resource.
service (str) – APM service.
stat (FormulaAndFunctionApmDependencyStatName) – APM statistic.
additional_query_filters (str, optional) – Additional filters applied to the SLO query.
group_mode (FormulaAndFunctionSLOGroupMode, optional) – Group mode to query measures.
measure (FormulaAndFunctionSLOMeasure) – SLO measures queries.
slo_id (str) – ID of an SLO to query measures.
slo_query_type (FormulaAndFunctionSLOQueryType, optional) – Name of the query for use in formulas.
datadog_api_client.v1.model.formula_and_function_response_format module¶
- class FormulaAndFunctionResponseFormat(*args, **kwargs)¶
Bases:
ModelSimple
Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
- Parameters:
value (str) – Must be one of [“timeseries”, “scalar”, “event_list”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_slo_data_source module¶
- class FormulaAndFunctionSLODataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for SLO measures queries.
- Parameters:
value (str) – If omitted defaults to “slo”. Must be one of [“slo”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_slo_group_mode module¶
- class FormulaAndFunctionSLOGroupMode(*args, **kwargs)¶
Bases:
ModelSimple
Group mode to query measures.
- Parameters:
value (str) – Must be one of [“overall”, “components”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_slo_measure module¶
- class FormulaAndFunctionSLOMeasure(*args, **kwargs)¶
Bases:
ModelSimple
SLO measures queries.
- Parameters:
value (str) – Must be one of [“good_events”, “bad_events”, “slo_status”, “error_budget_remaining”, “burn_rate”, “error_budget_burndown”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_and_function_slo_query_definition module¶
- class FormulaAndFunctionSLOQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions metrics query.
- Parameters:
additional_query_filters (str, optional) – Additional filters applied to the SLO query.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionSLODataSource) – Data source for SLO measures queries.
group_mode (FormulaAndFunctionSLOGroupMode, optional) – Group mode to query measures.
measure (FormulaAndFunctionSLOMeasure) – SLO measures queries.
name (str, optional) – Name of the query for use in formulas.
slo_id (str) – ID of an SLO to query measures.
slo_query_type (FormulaAndFunctionSLOQueryType, optional) – Name of the query for use in formulas.
datadog_api_client.v1.model.formula_and_function_slo_query_type module¶
- class FormulaAndFunctionSLOQueryType(*args, **kwargs)¶
Bases:
ModelSimple
Name of the query for use in formulas.
- Parameters:
value (str) – Must be one of [“metric”, “time_slice”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.formula_type module¶
- class FormulaType(*args, **kwargs)¶
Bases:
ModelSimple
Set the sort type to formula.
- Parameters:
value (str) – If omitted defaults to “formula”. Must be one of [“formula”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.free_text_widget_definition module¶
- class FreeTextWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards.
- Parameters:
color (str, optional) – Color of the text.
font_size (str, optional) – Size of the text.
text (str) – Text to display.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
type (FreeTextWidgetDefinitionType) – Type of the free text widget.
datadog_api_client.v1.model.free_text_widget_definition_type module¶
- class FreeTextWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the free text widget.
- Parameters:
value (str) – If omitted defaults to “free_text”. Must be one of [“free_text”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.funnel_query module¶
- class FunnelQuery(*args, **kwargs)¶
Bases:
ModelNormal
Updated funnel widget.
- Parameters:
data_source (FunnelSource) – Source from which to query items to display in the funnel.
query_string (str) – The widget query.
steps ([FunnelStep]) – List of funnel steps.
datadog_api_client.v1.model.funnel_request_type module¶
- class FunnelRequestType(*args, **kwargs)¶
Bases:
ModelSimple
Widget request type.
- Parameters:
value (str) – If omitted defaults to “funnel”. Must be one of [“funnel”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.funnel_source module¶
- class FunnelSource(*args, **kwargs)¶
Bases:
ModelSimple
Source from which to query items to display in the funnel.
- Parameters:
value (str) – If omitted defaults to “rum”. Must be one of [“rum”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.funnel_step module¶
- class FunnelStep(*args, **kwargs)¶
Bases:
ModelNormal
The funnel step.
- Parameters:
facet (str) – The facet of the step.
value (str) – The value of the step.
datadog_api_client.v1.model.funnel_widget_definition module¶
- class FunnelWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The funnel visualization displays a funnel of user sessions that maps a sequence of view navigation and user interaction in your application.
- Parameters:
requests ([FunnelWidgetRequest]) – Request payload used to query items.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – The title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – The size of the title.
type (FunnelWidgetDefinitionType) – Type of funnel widget.
datadog_api_client.v1.model.funnel_widget_definition_type module¶
- class FunnelWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of funnel widget.
- Parameters:
value (str) – If omitted defaults to “funnel”. Must be one of [“funnel”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.funnel_widget_request module¶
- class FunnelWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated funnel widget.
- Parameters:
query (FunnelQuery) – Updated funnel widget.
request_type (FunnelRequestType) – Widget request type.
datadog_api_client.v1.model.gcp_account module¶
- class GCPAccount(*args, **kwargs)¶
Bases:
ModelNormal
Your Google Cloud Platform Account.
- Parameters:
auth_provider_x509_cert_url (str, optional) – Should be
https://www.googleapis.com/oauth2/v1/certs
.auth_uri (str, optional) – Should be
https://accounts.google.com/o/oauth2/auth
.automute (bool, optional) – Silence monitors for expected GCE instance shutdowns.
client_email (str, optional) – Your email found in your JSON service account key.
client_id (str, optional) – Your ID found in your JSON service account key.
client_x509_cert_url (str, optional) – Should be
https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL
where$CLIENT_EMAIL
is the email found in your JSON service account key.cloud_run_revision_filters ([str], optional) – Limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
errors ([str], optional) – An array of errors.
host_filters (str, optional) – Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.
is_cspm_enabled (bool, optional) – When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.
is_resource_change_collection_enabled (bool, optional) – When enabled, Datadog scans for all resource change data in your Google Cloud environment.
is_security_command_center_enabled (bool, optional) – When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
private_key (str, optional) – Your private key name found in your JSON service account key.
private_key_id (str, optional) – Your private key ID found in your JSON service account key.
project_id (str, optional) – Your Google Cloud project ID found in your JSON service account key.
resource_collection_enabled (bool, optional) – When enabled, Datadog scans for all resources in your GCP environment.
token_uri (str, optional) – Should be
https://accounts.google.com/o/oauth2/token
.type (str, optional) – The value for service_account found in your JSON service account key.
datadog_api_client.v1.model.gcp_account_list_response module¶
- class GCPAccountListResponse(*args, **kwargs)¶
Bases:
ModelSimple
Array of GCP account responses.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.geomap_widget_definition module¶
- class GeomapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
This visualization displays a series of values by country on a world map.
- Parameters:
custom_links ([WidgetCustomLink], optional) – A list of custom links.
requests ([GeomapWidgetRequest]) –
Array of one request object to display in the widget. The request must contain a
group-by
tag whose value is a country ISO code.See the Request JSON schema documentation for information about building the
REQUEST_SCHEMA
.style (GeomapWidgetDefinitionStyle) – The style to apply to the widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – The title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – The size of the title.
type (GeomapWidgetDefinitionType) – Type of the geomap widget.
view (GeomapWidgetDefinitionView) – The view of the world that the map should render.
datadog_api_client.v1.model.geomap_widget_definition_style module¶
- class GeomapWidgetDefinitionStyle(*args, **kwargs)¶
Bases:
ModelNormal
The style to apply to the widget.
- Parameters:
palette (str) – The color palette to apply to the widget.
palette_flip (bool) – Whether to flip the palette tones.
datadog_api_client.v1.model.geomap_widget_definition_type module¶
- class GeomapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the geomap widget.
- Parameters:
value (str) – If omitted defaults to “geomap”. Must be one of [“geomap”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.geomap_widget_definition_view module¶
- class GeomapWidgetDefinitionView(*args, **kwargs)¶
Bases:
ModelNormal
The view of the world that the map should render.
- Parameters:
focus (str) – The 2-letter ISO code of a country to focus the map on. Or
WORLD
.
datadog_api_client.v1.model.geomap_widget_request module¶
- class GeomapWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
An updated geomap widget.
- Parameters:
columns ([ListStreamColumn], optional) – Widget columns.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – The widget metrics query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
query (ListStreamQuery, optional) – Updated list stream widget.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
sort (WidgetSortBy, optional) – The controls for sorting the widget.
datadog_api_client.v1.model.graph_snapshot module¶
- class GraphSnapshot(*args, **kwargs)¶
Bases:
ModelNormal
Object representing a graph snapshot.
- Parameters:
graph_def (str, optional) – A JSON document defining the graph.
graph_def
can be used instead ofmetric_query
. The JSON document uses the grammar defined here and should be formatted to a single line then URL encoded.metric_query (str, optional) – The metric query. One of
metric_query
orgraph_def
is required.snapshot_url (str, optional) – URL of your graph snapshot.
datadog_api_client.v1.model.group_type module¶
- class GroupType(*args, **kwargs)¶
Bases:
ModelSimple
Set the sort type to group.
- Parameters:
value (str) – If omitted defaults to “group”. Must be one of [“group”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.group_widget_definition module¶
- class GroupWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
- Parameters:
background_color (str, optional) – Background color of the group title.
banner_img (str, optional) – URL of image to display as a banner for the group.
layout_type (WidgetLayoutType) – Layout type of the group.
show_title (bool, optional) – Whether to show the title or not.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
type (GroupWidgetDefinitionType) – Type of the group widget.
widgets ([Widget]) – List of widget groups.
datadog_api_client.v1.model.group_widget_definition_type module¶
- class GroupWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the group widget.
- Parameters:
value (str) – If omitted defaults to “group”. Must be one of [“group”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.heat_map_widget_definition module¶
- class HeatMapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
events ([WidgetEvent], optional) – List of widget events.
legend_size (str, optional) – Available legend sizes for a widget. Should be one of “0”, “2”, “4”, “8”, “16”, or “auto”.
requests ([HeatMapWidgetRequest]) – List of widget types.
show_legend (bool, optional) – Whether or not to display the legend on this widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (HeatMapWidgetDefinitionType) – Type of the heat map widget.
yaxis (WidgetAxis, optional) – Axis controls for the widget.
datadog_api_client.v1.model.heat_map_widget_definition_type module¶
- class HeatMapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the heat map widget.
- Parameters:
value (str) – If omitted defaults to “heatmap”. Must be one of [“heatmap”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.heat_map_widget_request module¶
- class HeatMapWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated heat map widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
event_query (EventQueryDefinition, optional) – The event query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Widget query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
style (WidgetStyle, optional) – Widget style definition.
datadog_api_client.v1.model.host module¶
- class Host(*args, **kwargs)¶
Bases:
ModelNormal
Object representing a host.
- Parameters:
aliases ([str], optional) – Host aliases collected by Datadog.
apps ([str], optional) – The Datadog integrations reporting metrics for the host.
aws_name (str, optional) – AWS name of your host.
host_name (str, optional) – The host name.
id (int, optional) – The host ID.
is_muted (bool, optional) – If a host is muted or unmuted.
last_reported_time (int, optional) – Last time the host reported a metric data point.
meta (HostMeta, optional) – Metadata associated with your host.
metrics (HostMetrics, optional) – Host Metrics collected.
mute_timeout (int, none_type, optional) – Timeout of the mute applied to your host.
name (str, optional) – The host name.
sources ([str], optional) – Source or cloud provider associated with your host.
tags_by_source ({str: ([str],)}, optional) – List of tags for each source (AWS, Datadog Agent, Chef..).
up (bool, optional) – Displays UP when the expected metrics are received and displays
???
if no metrics are received.
datadog_api_client.v1.model.host_list_response module¶
- class HostListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response with Host information from Datadog.
- Parameters:
host_list ([Host], optional) – Array of hosts.
total_matching (int, optional) – Number of host matching the query.
total_returned (int, optional) – Number of host returned.
datadog_api_client.v1.model.host_map_request module¶
- class HostMapRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated host map.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
event_query (LogQueryDefinition, optional) – The log query.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Query definition.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
datadog_api_client.v1.model.host_map_widget_definition module¶
- class HostMapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
group ([str], optional) – List of tag prefixes to group by.
no_group_hosts (bool, optional) – Whether to show the hosts that don’t fit in a group.
no_metric_hosts (bool, optional) – Whether to show the hosts with no metrics.
node_type (WidgetNodeType, optional) – Which type of node to use in the map.
notes (str, optional) – Notes on the title.
requests (HostMapWidgetDefinitionRequests) – List of definitions.
scope ([str], optional) – List of tags used to filter the map.
style (HostMapWidgetDefinitionStyle, optional) – The style to apply to the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (HostMapWidgetDefinitionType) – Type of the host map widget.
datadog_api_client.v1.model.host_map_widget_definition_requests module¶
- class HostMapWidgetDefinitionRequests(*args, **kwargs)¶
Bases:
ModelNormal
List of definitions.
- Parameters:
fill (HostMapRequest, optional) – Updated host map.
size (HostMapRequest, optional) – Updated host map.
datadog_api_client.v1.model.host_map_widget_definition_style module¶
- class HostMapWidgetDefinitionStyle(*args, **kwargs)¶
Bases:
ModelNormal
The style to apply to the widget.
- Parameters:
fill_max (str, optional) – Max value to use to color the map.
fill_min (str, optional) – Min value to use to color the map.
palette (str, optional) – Color palette to apply to the widget.
palette_flip (bool, optional) – Whether to flip the palette tones.
datadog_api_client.v1.model.host_map_widget_definition_type module¶
- class HostMapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the host map widget.
- Parameters:
value (str) – If omitted defaults to “hostmap”. Must be one of [“hostmap”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.host_meta module¶
- class HostMeta(*args, **kwargs)¶
Bases:
ModelNormal
Metadata associated with your host.
- Parameters:
agent_checks ([AgentCheck], optional) – A list of Agent checks running on the host.
agent_version (str, optional) – The Datadog Agent version.
cpu_cores (int, optional) – The number of cores.
fbsd_v ([bool, date, datetime, dict, float, int, list, str, UUID, none_type], optional) – An array of Mac versions.
gohai (str, optional) – JSON string containing system information.
install_method (HostMetaInstallMethod, optional) – Agent install method.
mac_v ([bool, date, datetime, dict, float, int, list, str, UUID, none_type], optional) – An array of Mac versions.
machine (str, optional) – The machine architecture.
nix_v ([bool, date, datetime, dict, float, int, list, str, UUID, none_type], optional) – Array of Unix versions.
platform (str, optional) – The OS platform.
processor (str, optional) – The processor.
python_v (str, optional) – The Python version.
socket_fqdn (str, optional) – The socket fqdn.
socket_hostname (str, optional) – The socket hostname.
win_v ([bool, date, datetime, dict, float, int, list, str, UUID, none_type], optional) – An array of Windows versions.
datadog_api_client.v1.model.host_meta_install_method module¶
- class HostMetaInstallMethod(*args, **kwargs)¶
Bases:
ModelNormal
Agent install method.
- Parameters:
installer_version (str, optional) – The installer version.
tool (str, optional) – Tool used to install the agent.
tool_version (str, optional) – The tool version.
datadog_api_client.v1.model.host_metrics module¶
- class HostMetrics(*args, **kwargs)¶
Bases:
ModelNormal
Host Metrics collected.
- Parameters:
cpu (float, optional) – The percent of CPU used (everything but idle).
iowait (float, optional) – The percent of CPU spent waiting on the IO (not reported for all platforms).
load (float, optional) – The system load over the last 15 minutes.
datadog_api_client.v1.model.host_mute_response module¶
- class HostMuteResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response with the list of muted host for your organization.
- Parameters:
action (str, optional) – Action applied to the hosts.
end (int, optional) – POSIX timestamp in seconds when the host is unmuted.
hostname (str, optional) – The host name.
message (str, optional) – Message associated with the mute.
datadog_api_client.v1.model.host_mute_settings module¶
- class HostMuteSettings(*args, **kwargs)¶
Bases:
ModelNormal
Combination of settings to mute a host.
- Parameters:
end (int, optional) – POSIX timestamp in seconds when the host is unmuted. If omitted, the host remains muted until explicitly unmuted.
message (str, optional) – Message to associate with the muting of this host.
override (bool, optional) – If true and the host is already muted, replaces existing host mute settings.
datadog_api_client.v1.model.host_totals module¶
- class HostTotals(*args, **kwargs)¶
Bases:
ModelNormal
Total number of host currently monitored by Datadog.
- Parameters:
total_active (int, optional) – Total number of active host (UP and ???) reporting to Datadog.
total_up (int, optional) – Number of host that are UP and reporting to Datadog.
datadog_api_client.v1.model.hourly_usage_attribution_body module¶
- class HourlyUsageAttributionBody(*args, **kwargs)¶
Bases:
ModelNormal
The usage for one set of tags for one hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The name of the organization.
public_id (str, optional) – The organization public ID.
region (str, optional) – The region of the Datadog instance that the organization belongs to.
tag_config_source (str, optional) – The source of the usage attribution tag configuration and the selected tags in the format of
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
.tags (UsageAttributionTagNames, none_type, optional) –
Tag keys and values.
A
null
value here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total usage, not broken down by tags.total_usage_sum (float, optional) – Total product usage for the given tags within the hour.
updated_at (str, optional) – Shows the most recent hour in the current month for all organizations where usages are calculated.
usage_type (HourlyUsageAttributionUsageType, optional) – Supported products for hourly usage attribution requests.
datadog_api_client.v1.model.hourly_usage_attribution_metadata module¶
- class HourlyUsageAttributionMetadata(*args, **kwargs)¶
Bases:
ModelNormal
The object containing document metadata.
- Parameters:
pagination (HourlyUsageAttributionPagination, optional) – The metadata for the current pagination.
datadog_api_client.v1.model.hourly_usage_attribution_pagination module¶
- class HourlyUsageAttributionPagination(*args, **kwargs)¶
Bases:
ModelNormal
The metadata for the current pagination.
- Parameters:
next_record_id (str, none_type, optional) – The cursor to get the next results (if any). To make the next request, use the same parameters and add
next_record_id
.
datadog_api_client.v1.model.hourly_usage_attribution_response module¶
- class HourlyUsageAttributionResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the hourly usage attribution by tag(s).
- Parameters:
metadata (HourlyUsageAttributionMetadata, optional) – The object containing document metadata.
usage ([HourlyUsageAttributionBody], optional) – Get the hourly usage attribution by tag(s).
datadog_api_client.v1.model.hourly_usage_attribution_usage_type module¶
- class HourlyUsageAttributionUsageType(*args, **kwargs)¶
Bases:
ModelSimple
Supported products for hourly usage attribution requests.
- Parameters:
value (str) – Must be one of [“api_usage”, “apm_fargate_usage”, “apm_host_usage”, “apm_usm_usage”, “appsec_fargate_usage”, “appsec_usage”, “asm_serverless_traced_invocations_usage”, “asm_serverless_traced_invocations_percentage”, “browser_usage”, “ci_pipeline_indexed_spans_usage”, “ci_test_indexed_spans_usage”, “ci_visibility_itr_usage”, “cloud_siem_usage”, “container_excl_agent_usage”, “container_usage”, “cspm_containers_usage”, “cspm_hosts_usage”, “custom_event_usage”, “custom_ingested_timeseries_usage”, “custom_timeseries_usage”, “cws_containers_usage”, “cws_hosts_usage”, “data_jobs_monitoring_usage”, “data_stream_monitoring_usage”, “dbm_hosts_usage”, “dbm_queries_usage”, “error_tracking_usage”, “error_tracking_percentage”, “estimated_indexed_spans_usage”, “estimated_ingested_spans_usage”, “fargate_usage”, “functions_usage”, “incident_management_monthly_active_users_usage”, “indexed_spans_usage”, “infra_host_usage”, “ingested_logs_bytes_usage”, “ingested_spans_bytes_usage”, “invocations_usage”, “lambda_traced_invocations_usage”, “logs_indexed_15day_usage”, “logs_indexed_180day_usage”, “logs_indexed_1day_usage”, “logs_indexed_30day_usage”, “logs_indexed_360day_usage”, “logs_indexed_3day_usage”, “logs_indexed_45day_usage”, “logs_indexed_60day_usage”, “logs_indexed_7day_usage”, “logs_indexed_90day_usage”, “logs_indexed_custom_retention_usage”, “mobile_app_testing_usage”, “ndm_netflow_usage”, “npm_host_usage”, “obs_pipeline_bytes_usage”, “obs_pipelines_vcpu_usage”, “online_archive_usage”, “profiled_container_usage”, “profiled_fargate_usage”, “profiled_host_usage”, “rum_browser_mobile_sessions_usage”, “rum_replay_sessions_usage”, “sca_fargate_usage”, “sds_scanned_bytes_usage”, “serverless_apps_usage”, “siem_analyzed_logs_add_on_usage”, “siem_ingested_bytes_usage”, “snmp_usage”, “universal_service_monitoring_usage”, “vuln_management_hosts_usage”, “workflow_executions_usage”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.http_log module¶
- class HTTPLog(*args, **kwargs)¶
Bases:
ModelSimple
Structured log message.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.http_log_error module¶
- class HTTPLogError(*args, **kwargs)¶
Bases:
ModelNormal
Invalid query performed.
- Parameters:
code (int) – Error code.
message (str) – Error message.
datadog_api_client.v1.model.http_log_item module¶
- class HTTPLogItem(*args, **kwargs)¶
Bases:
ModelNormal
Logs that are sent over HTTP.
- Parameters:
ddsource (str, optional) – The integration name associated with your log: the technology from which the log originated. When it matches an integration name, Datadog automatically installs the corresponding parsers and facets. See reserved attributes.
ddtags (str, optional) – Tags associated with your logs.
hostname (str, optional) – The name of the originating host of the log.
message (str) – The message reserved attribute of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
service (str, optional) –
The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. See reserved attributes.
datadog_api_client.v1.model.i_frame_widget_definition module¶
- class IFrameWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.
- Parameters:
type (IFrameWidgetDefinitionType) – Type of the iframe widget.
url (str) – URL of the iframe.
datadog_api_client.v1.model.i_frame_widget_definition_type module¶
- class IFrameWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the iframe widget.
- Parameters:
value (str) – If omitted defaults to “iframe”. Must be one of [“iframe”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.idp_form_data module¶
- class IdpFormData(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the IdP configuration.
- Parameters:
idp_file (file_type) – The path to the XML metadata file you wish to upload.
datadog_api_client.v1.model.idp_response module¶
- class IdpResponse(*args, **kwargs)¶
Bases:
ModelNormal
The IdP response object.
- Parameters:
message (str) – Identity provider response.
datadog_api_client.v1.model.image_widget_definition module¶
- class ImageWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards.
- Parameters:
has_background (bool, optional) – Whether to display a background or not.
has_border (bool, optional) – Whether to display a border or not.
horizontal_align (WidgetHorizontalAlign, optional) – Horizontal alignment.
margin (WidgetMargin, optional) – Size of the margins around the image. Note :
small
andlarge
values are deprecated.sizing (WidgetImageSizing, optional) – How to size the image on the widget. The values are based on the image
object-fit
CSS properties. Note :zoom
,fit
andcenter
values are deprecated.type (ImageWidgetDefinitionType) – Type of the image widget.
url (str) – URL of the image.
url_dark_theme (str, optional) – URL of the image in dark mode.
vertical_align (WidgetVerticalAlign, optional) – Vertical alignment.
datadog_api_client.v1.model.image_widget_definition_type module¶
- class ImageWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the image widget.
- Parameters:
value (str) – If omitted defaults to “image”. Must be one of [“image”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.intake_payload_accepted module¶
- class IntakePayloadAccepted(*args, **kwargs)¶
Bases:
ModelNormal
The payload accepted for intake.
- Parameters:
status (str, optional) – The status of the intake payload.
datadog_api_client.v1.model.ip_prefixes_agents module¶
- class IPPrefixesAgents(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Agent endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_api module¶
- class IPPrefixesAPI(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the API endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_apm module¶
- class IPPrefixesAPM(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the APM endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_global module¶
- class IPPrefixesGlobal(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for all Datadog endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_logs module¶
- class IPPrefixesLogs(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Logs endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_orchestrator module¶
- class IPPrefixesOrchestrator(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Orchestrator endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_process module¶
- class IPPrefixesProcess(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Process endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_remote_configuration module¶
- class IPPrefixesRemoteConfiguration(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Remote Configuration endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_synthetics module¶
- class IPPrefixesSynthetics(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Synthetics endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv4_by_location ({str: ([str],)}, optional) – List of IPv4 prefixes by location.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
prefixes_ipv6_by_location ({str: ([str],)}, optional) – List of IPv6 prefixes by location.
datadog_api_client.v1.model.ip_prefixes_synthetics_private_locations module¶
- class IPPrefixesSyntheticsPrivateLocations(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Synthetics Private Locations endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_prefixes_webhooks module¶
- class IPPrefixesWebhooks(*args, **kwargs)¶
Bases:
ModelNormal
Available prefix information for the Webhook endpoints.
- Parameters:
prefixes_ipv4 ([str], optional) – List of IPv4 prefixes.
prefixes_ipv6 ([str], optional) – List of IPv6 prefixes.
datadog_api_client.v1.model.ip_ranges module¶
- class IPRanges(*args, **kwargs)¶
Bases:
ModelNormal
IP ranges.
- Parameters:
agents (IPPrefixesAgents, optional) – Available prefix information for the Agent endpoints.
api (IPPrefixesAPI, optional) – Available prefix information for the API endpoints.
apm (IPPrefixesAPM, optional) – Available prefix information for the APM endpoints.
_global (IPPrefixesGlobal, optional) – Available prefix information for all Datadog endpoints.
logs (IPPrefixesLogs, optional) – Available prefix information for the Logs endpoints.
modified (str, optional) – Date when last updated, in the form
YYYY-MM-DD-hh-mm-ss
.orchestrator (IPPrefixesOrchestrator, optional) – Available prefix information for the Orchestrator endpoints.
process (IPPrefixesProcess, optional) – Available prefix information for the Process endpoints.
remote_configuration (IPPrefixesRemoteConfiguration, optional) – Available prefix information for the Remote Configuration endpoints.
synthetics (IPPrefixesSynthetics, optional) – Available prefix information for the Synthetics endpoints.
synthetics_private_locations (IPPrefixesSyntheticsPrivateLocations, optional) – Available prefix information for the Synthetics Private Locations endpoints.
version (int, optional) – Version of the IP list.
webhooks (IPPrefixesWebhooks, optional) – Available prefix information for the Webhook endpoints.
datadog_api_client.v1.model.list_stream_column module¶
- class ListStreamColumn(*args, **kwargs)¶
Bases:
ModelNormal
Widget column.
- Parameters:
field (str) – Widget column field.
width (ListStreamColumnWidth) – Widget column width.
datadog_api_client.v1.model.list_stream_column_width module¶
- class ListStreamColumnWidth(*args, **kwargs)¶
Bases:
ModelSimple
Widget column width.
- Parameters:
value (str) – Must be one of [“auto”, “compact”, “full”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.list_stream_compute_aggregation module¶
- class ListStreamComputeAggregation(*args, **kwargs)¶
Bases:
ModelSimple
Aggregation value.
- Parameters:
value (str) – Must be one of [“count”, “cardinality”, “median”, “pc75”, “pc90”, “pc95”, “pc98”, “pc99”, “sum”, “min”, “max”, “avg”, “earliest”, “latest”, “most_frequent”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.list_stream_compute_items module¶
- class ListStreamComputeItems(*args, **kwargs)¶
Bases:
ModelNormal
List of facets and aggregations which to compute.
- Parameters:
aggregation (ListStreamComputeAggregation) – Aggregation value.
facet (str, optional) – Facet name.
datadog_api_client.v1.model.list_stream_group_by_items module¶
- class ListStreamGroupByItems(*args, **kwargs)¶
Bases:
ModelNormal
List of facets on which to group.
- Parameters:
facet (str) – Facet name.
datadog_api_client.v1.model.list_stream_query module¶
- class ListStreamQuery(*args, **kwargs)¶
Bases:
ModelNormal
Updated list stream widget.
- Parameters:
compute ([ListStreamComputeItems], optional) – Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.
data_source (ListStreamSource) – Source from which to query items to display in the stream.
event_size (WidgetEventSize, optional) – Size to use to display an event.
group_by ([ListStreamGroupByItems], optional) – Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.
indexes ([str], optional) – List of indexes.
query_string (str) – Widget query.
sort (WidgetFieldSort, optional) – Which column and order to sort by
storage (str, optional) – Option for storage location. Feature in Private Beta.
datadog_api_client.v1.model.list_stream_response_format module¶
- class ListStreamResponseFormat(*args, **kwargs)¶
Bases:
ModelSimple
Widget response format.
- Parameters:
value (str) – If omitted defaults to “event_list”. Must be one of [“event_list”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.list_stream_source module¶
- class ListStreamSource(*args, **kwargs)¶
Bases:
ModelSimple
Source from which to query items to display in the stream.
- Parameters:
value (str) – If omitted defaults to “apm_issue_stream”. Must be one of [“logs_stream”, “audit_stream”, “ci_pipeline_stream”, “ci_test_stream”, “rum_issue_stream”, “apm_issue_stream”, “trace_stream”, “logs_issue_stream”, “logs_pattern_stream”, “logs_transaction_stream”, “event_stream”, “rum_stream”, “llm_observability_stream”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.list_stream_widget_definition module¶
- class ListStreamWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The list stream visualization displays a table of recent events in your application that match a search criteria using user-defined columns.
- Parameters:
legend_size (str, optional) – Available legend sizes for a widget. Should be one of “0”, “2”, “4”, “8”, “16”, or “auto”.
requests ([ListStreamWidgetRequest]) – Request payload used to query items.
show_legend (bool, optional) – Whether or not to display the legend on this widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ListStreamWidgetDefinitionType) – Type of the list stream widget.
datadog_api_client.v1.model.list_stream_widget_definition_type module¶
- class ListStreamWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the list stream widget.
- Parameters:
value (str) – If omitted defaults to “list_stream”. Must be one of [“list_stream”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.list_stream_widget_request module¶
- class ListStreamWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated list stream widget.
- Parameters:
columns ([ListStreamColumn]) – Widget columns.
query (ListStreamQuery) – Updated list stream widget.
response_format (ListStreamResponseFormat) – Widget response format.
datadog_api_client.v1.model.log module¶
- class Log(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a log after being processed and stored by Datadog.
- Parameters:
content (LogContent, optional) – JSON object containing all log attributes and their associated values.
id (str, optional) – ID of the Log.
datadog_api_client.v1.model.log_content module¶
- class LogContent(*args, **kwargs)¶
Bases:
ModelNormal
JSON object containing all log attributes and their associated values.
- Parameters:
attributes ({str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional) – JSON object of attributes from your log.
host (str, optional) – Name of the machine from where the logs are being sent.
message (str, optional) –
The message reserved attribute of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
service (str, optional) – The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products.
tags ([str], optional) – Array of tags associated with your log.
timestamp (datetime, optional) – Timestamp of your log.
datadog_api_client.v1.model.log_query_definition module¶
- class LogQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The log query.
- Parameters:
compute (LogsQueryCompute, optional) – Define computation for a log query.
group_by ([LogQueryDefinitionGroupBy], optional) – List of tag prefixes to group by in the case of a cluster check.
index (str, optional) – A coma separated-list of index names. Use “*” query all indexes at once. Multiple Indexes
multi_compute ([LogsQueryCompute], optional) – This field is mutually exclusive with
compute
.search (LogQueryDefinitionSearch, optional) – The query being made on the logs.
datadog_api_client.v1.model.log_query_definition_group_by module¶
- class LogQueryDefinitionGroupBy(*args, **kwargs)¶
Bases:
ModelNormal
Defined items in the group.
- Parameters:
facet (str) – Facet name.
limit (int, optional) – Maximum number of items in the group.
sort (LogQueryDefinitionGroupBySort, optional) – Define a sorting method.
datadog_api_client.v1.model.log_query_definition_group_by_sort module¶
- class LogQueryDefinitionGroupBySort(*args, **kwargs)¶
Bases:
ModelNormal
Define a sorting method.
- Parameters:
aggregation (str) – The aggregation method.
facet (str, optional) – Facet name.
order (WidgetSort) – Widget sorting methods.
datadog_api_client.v1.model.log_query_definition_search module¶
- class LogQueryDefinitionSearch(*args, **kwargs)¶
Bases:
ModelNormal
The query being made on the logs.
- Parameters:
query (str) – Search value to apply.
datadog_api_client.v1.model.log_stream_widget_definition module¶
- class LogStreamWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
- Parameters:
columns ([str], optional) – Which columns to display on the widget.
indexes ([str], optional) – An array of index names to query in the stream. Use [] to query all indexes at once.
logset (str, optional) – ID of the log set to use. Deprecated.
message_display (WidgetMessageDisplay, optional) – Amount of log lines to display
query (str, optional) – Query to filter the log stream with.
show_date_column (bool, optional) – Whether to show the date column or not
show_message_column (bool, optional) – Whether to show the message column or not
sort (WidgetFieldSort, optional) – Which column and order to sort by
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (LogStreamWidgetDefinitionType) – Type of the log stream widget.
datadog_api_client.v1.model.log_stream_widget_definition_type module¶
- class LogStreamWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the log stream widget.
- Parameters:
value (str) – If omitted defaults to “log_stream”. Must be one of [“log_stream”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_api_error module¶
- class LogsAPIError(*args, **kwargs)¶
Bases:
ModelNormal
Error returned by the Logs API
- Parameters:
code (str, optional) – Code identifying the error
details ([LogsAPIError], optional) – Additional error details
message (str, optional) – Error message
datadog_api_client.v1.model.logs_api_error_response module¶
- class LogsAPIErrorResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response returned by the Logs API when errors occur.
- Parameters:
error (LogsAPIError, optional) – Error returned by the Logs API
datadog_api_client.v1.model.logs_arithmetic_processor module¶
- class LogsArithmeticProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Use the Arithmetic Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log with the result of the provided formula. This enables you to remap different time attributes with different units into a single attribute, or to compute operations on attributes within the same log.
The formula can use parentheses and the basic arithmetic operators
-
,+
,*
,/
.By default, the calculation is skipped if an attribute is missing. Select “Replace missing attribute by 0” to automatically populate missing attribute values with 0 to ensure that the calculation is done. An attribute is missing if it is not found in the log attributes, or if it cannot be converted to a number.
Notes :
The operator
-
needs to be space split in the formula as it can also be contained in attribute names.If the target attribute already exists, it is overwritten by the result of the formula.
Results are rounded up to the 9th decimal. For example, if the result of the formula is
0.1234567891
, the actual value stored for the attribute is0.123456789
.If you need to scale a unit of measure, see Scale Filter.
- Parameters:
expression (str) – Arithmetic operation between one or more log attributes.
is_enabled (bool, optional) – Whether or not the processor is enabled.
is_replace_missing (bool, optional) – If
true
, it replaces all missing attributes of expression by0
,false
skip the operation if an attribute is missing.name (str, optional) – Name of the processor.
target (str) – Name of the attribute that contains the result of the arithmetic operation.
type (LogsArithmeticProcessorType) – Type of logs arithmetic processor.
datadog_api_client.v1.model.logs_arithmetic_processor_type module¶
- class LogsArithmeticProcessorType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs arithmetic processor.
- Parameters:
value (str) – If omitted defaults to “arithmetic-processor”. Must be one of [“arithmetic-processor”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_attribute_remapper module¶
- class LogsAttributeRemapper(*args, **kwargs)¶
Bases:
ModelNormal
The remapper processor remaps any source attribute(s) or tag to another target attribute or tag. Constraints on the tag/attribute name are explained in the Tag Best Practice documentation. Some additional constraints are applied as
:
or,
are not allowed in the target tag/attribute name.- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
override_on_conflict (bool, optional) – Override or not the target element if already set,
preserve_source (bool, optional) – Remove or preserve the remapped source element.
source_type (str, optional) – Defines if the sources are from log
attribute
ortag
.sources ([str]) – Array of source attributes.
target (str) – Final attribute or tag name to remap the sources to.
target_format (TargetFormatType, optional) – If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.target_type (str, optional) – Defines if the final attribute or tag name is from log
attribute
ortag
.type (LogsAttributeRemapperType) – Type of logs attribute remapper.
datadog_api_client.v1.model.logs_attribute_remapper_type module¶
- class LogsAttributeRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs attribute remapper.
- Parameters:
value (str) – If omitted defaults to “attribute-remapper”. Must be one of [“attribute-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_by_retention module¶
- class LogsByRetention(*args, **kwargs)¶
Bases:
ModelNormal
Object containing logs usage data broken down by retention period.
- Parameters:
orgs (LogsByRetentionOrgs, optional) – Indexed logs usage summary for each organization for each retention period with usage.
usage ([LogsRetentionAggSumUsage], optional) – Aggregated index logs usage for each retention period with usage.
usage_by_month (LogsByRetentionMonthlyUsage, optional) – Object containing a summary of indexed logs usage by retention period for a single month.
datadog_api_client.v1.model.logs_by_retention_monthly_usage module¶
- class LogsByRetentionMonthlyUsage(*args, **kwargs)¶
Bases:
ModelNormal
Object containing a summary of indexed logs usage by retention period for a single month.
- Parameters:
date (datetime, optional) – The month for the usage.
usage ([LogsRetentionSumUsage], optional) – Indexed logs usage for each active retention for the month.
datadog_api_client.v1.model.logs_by_retention_org_usage module¶
- class LogsByRetentionOrgUsage(*args, **kwargs)¶
Bases:
ModelNormal
Indexed logs usage by retention for a single organization.
- Parameters:
usage ([LogsRetentionSumUsage], optional) – Indexed logs usage for each active retention for the organization.
datadog_api_client.v1.model.logs_by_retention_orgs module¶
- class LogsByRetentionOrgs(*args, **kwargs)¶
Bases:
ModelNormal
Indexed logs usage summary for each organization for each retention period with usage.
- Parameters:
usage ([LogsByRetentionOrgUsage], optional) – Indexed logs usage summary for each organization.
datadog_api_client.v1.model.logs_category_processor module¶
- class LogsCategoryProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Use the Category Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log matching a provided search query. Use categories to create groups for an analytical view. For example, URL groups, machine groups, environments, and response time buckets.
Notes :
The syntax of the query is the one of Logs Explorer search bar. The query can be done on any log attribute or tag, whether it is a facet or not. Wildcards can also be used inside your query.
Once the log has matched one of the Processor queries, it stops. Make sure they are properly ordered in case a log could match several queries.
The names of the categories must be unique.
Once defined in the Category Processor, you can map categories to log status using the Log Status Remapper.
- Parameters:
categories ([LogsCategoryProcessorCategory]) – Array of filters to match or not a log and their corresponding
name
to assign a custom value to the log.is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
target (str) – Name of the target attribute which value is defined by the matching category.
type (LogsCategoryProcessorType) – Type of logs category processor.
datadog_api_client.v1.model.logs_category_processor_category module¶
- class LogsCategoryProcessorCategory(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the logs filter.
- Parameters:
filter (LogsFilter, optional) – Filter for logs.
name (str, optional) – Value to assign to the target attribute.
datadog_api_client.v1.model.logs_category_processor_type module¶
- class LogsCategoryProcessorType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs category processor.
- Parameters:
value (str) – If omitted defaults to “category-processor”. Must be one of [“category-processor”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_daily_limit_reset module¶
- class LogsDailyLimitReset(*args, **kwargs)¶
Bases:
ModelNormal
Object containing options to override the default daily limit reset time.
- Parameters:
reset_time (str, optional) – String in
HH:00
format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive).reset_utc_offset (str, optional) – String in
(-|+)HH:00
format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive).
datadog_api_client.v1.model.logs_date_remapper module¶
- class LogsDateRemapper(*args, **kwargs)¶
Bases:
ModelNormal
As Datadog receives logs, it timestamps them using the value(s) from any of these default attributes.
timestamp
date
_timestamp
Timestamp
eventTime
published_date
If your logs put their dates in an attribute not in this list, use the log date Remapper Processor to define their date attribute as the official log timestamp. The recognized date formats are ISO8601, UNIX (the milliseconds EPOCH format), and RFC3164.
Note: If your logs don’t contain any of the default attributes and you haven’t defined your own date attribute, Datadog timestamps the logs with the date it received them.
If multiple log date remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
type (LogsDateRemapperType) – Type of logs date remapper.
datadog_api_client.v1.model.logs_date_remapper_type module¶
- class LogsDateRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs date remapper.
- Parameters:
value (str) – If omitted defaults to “date-remapper”. Must be one of [“date-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_exclusion module¶
- class LogsExclusion(*args, **kwargs)¶
Bases:
ModelNormal
Represents the index exclusion filter object from configuration API.
- Parameters:
filter (LogsExclusionFilter, optional) – Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
is_enabled (bool, optional) – Whether or not the exclusion filter is active.
name (str) – Name of the index exclusion filter.
datadog_api_client.v1.model.logs_exclusion_filter module¶
- class LogsExclusionFilter(*args, **kwargs)¶
Bases:
ModelNormal
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
- Parameters:
query (str, optional) – Default query is
*
, meaning all logs flowing in the index would be excluded. Scope down exclusion filter to only a subset of logs with a log query.sample_rate (float) – Sample rate to apply to logs going through this exclusion filter, a value of 1.0 excludes all logs matching the query.
datadog_api_client.v1.model.logs_filter module¶
- class LogsFilter(*args, **kwargs)¶
Bases:
ModelNormal
Filter for logs.
- Parameters:
query (str, optional) – The filter query.
datadog_api_client.v1.model.logs_geo_ip_parser module¶
- class LogsGeoIPParser(*args, **kwargs)¶
Bases:
ModelNormal
The GeoIP parser takes an IP address attribute and extracts if available the Continent, Country, Subdivision, and City information in the target attribute path.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
target (str) – Name of the parent attribute that contains all the extracted details from the
sources
.type (LogsGeoIPParserType) – Type of GeoIP parser.
datadog_api_client.v1.model.logs_geo_ip_parser_type module¶
- class LogsGeoIPParserType(*args, **kwargs)¶
Bases:
ModelSimple
Type of GeoIP parser.
- Parameters:
value (str) – If omitted defaults to “geo-ip-parser”. Must be one of [“geo-ip-parser”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_grok_parser module¶
- class LogsGrokParser(*args, **kwargs)¶
Bases:
ModelNormal
Create custom grok rules to parse the full message or a specific attribute of your raw event. For more information, see the parsing section.
- Parameters:
grok (LogsGrokParserRules) – Set of rules for the grok parser.
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
samples ([str], optional) – List of sample logs to test this grok parser.
source (str) – Name of the log attribute to parse.
type (LogsGrokParserType) – Type of logs grok parser.
datadog_api_client.v1.model.logs_grok_parser_rules module¶
- class LogsGrokParserRules(*args, **kwargs)¶
Bases:
ModelNormal
Set of rules for the grok parser.
- Parameters:
match_rules (str) – List of match rules for the grok parser, separated by a new line.
support_rules (str, optional) – List of support rules for the grok parser, separated by a new line.
datadog_api_client.v1.model.logs_grok_parser_type module¶
- class LogsGrokParserType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs grok parser.
- Parameters:
value (str) – If omitted defaults to “grok-parser”. Must be one of [“grok-parser”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_index module¶
- class LogsIndex(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a Datadog Log index.
- Parameters:
daily_limit (int, optional) – The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset (LogsDailyLimitReset, optional) – Object containing options to override the default daily limit reset time.
daily_limit_warning_threshold_percentage (float, optional) – A percentage threshold of the daily quota at which a Datadog warning event is generated.
exclusion_filters ([LogsExclusion], optional) – An array of exclusion objects. The logs are tested against the query of each filter, following the order of the array. Only the first matching active exclusion matters, others (if any) are ignored.
filter (LogsFilter) – Filter for logs.
is_rate_limited (bool, optional) – A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent. Rate limit is reset every-day at 2pm UTC.
name (str) – The name of the index.
num_flex_logs_retention_days (int, optional) – The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through
num_retention_days
, and then stored in Flex Tier until the number of days specified innum_flex_logs_retention_days
is reached. The available values depend on retention plans specified in your organization’s contract/subscriptions.num_retention_days (int, optional) – The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization’s contract/subscriptions.
datadog_api_client.v1.model.logs_index_list_response module¶
- class LogsIndexListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object with all Index configurations for a given organization.
- Parameters:
indexes ([LogsIndex], optional) – Array of Log index configurations.
datadog_api_client.v1.model.logs_index_update_request module¶
- class LogsIndexUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Object for updating a Datadog Log index.
- Parameters:
daily_limit (int, optional) – The number of log events you can send in this index per day before you are rate-limited.
daily_limit_reset (LogsDailyLimitReset, optional) – Object containing options to override the default daily limit reset time.
daily_limit_warning_threshold_percentage (float, optional) – A percentage threshold of the daily quota at which a Datadog warning event is generated.
disable_daily_limit (bool, optional) – If true, sets the
daily_limit
value to null and the index is not limited on a daily basis (any specifieddaily_limit
value in the request is ignored). If false or omitted, the index’s currentdaily_limit
is maintained.exclusion_filters ([LogsExclusion], optional) – An array of exclusion objects. The logs are tested against the query of each filter, following the order of the array. Only the first matching active exclusion matters, others (if any) are ignored.
filter (LogsFilter) – Filter for logs.
num_flex_logs_retention_days (int, optional) –
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through
num_retention_days
, and then stored in Flex Tier until the number of days specified innum_flex_logs_retention_days
is reached. The available values depend on retention plans specified in your organization’s contract/subscriptions.Note : Changing this value affects all logs already in this index. It may also affect billing.
num_retention_days (int, optional) –
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization’s contract/subscriptions.
Note : Changing this value affects all logs already in this index. It may also affect billing.
datadog_api_client.v1.model.logs_indexes_order module¶
- class LogsIndexesOrder(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the ordered list of log index names.
- Parameters:
index_names ([str]) – Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
datadog_api_client.v1.model.logs_list_request module¶
- class LogsListRequest(*args, **kwargs)¶
Bases:
ModelNormal
Object to send with the request to retrieve a list of logs from your Organization.
- Parameters:
index (str, optional) – The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified.
limit (int, optional) – Number of logs return in the response.
query (str, optional) – The search query - following the log search syntax.
sort (LogsSort, optional) – Time-ascending
asc
or time-descendingdesc
results.start_at (str, optional) –
Hash identifier of the first log to return in the list, available in a log
id
attribute. This parameter is used for the pagination feature.Note : This parameter is ignored if the corresponding log is out of the scope of the specified time window.
time (LogsListRequestTime) – Timeframe to retrieve the log from.
datadog_api_client.v1.model.logs_list_request_time module¶
- class LogsListRequestTime(*args, **kwargs)¶
Bases:
ModelNormal
Timeframe to retrieve the log from.
- Parameters:
_from (datetime) – Minimum timestamp for requested logs.
timezone (str, optional) – Timezone can be specified both as an offset (for example “UTC+03:00”) or a regional zone (for example “Europe/Paris”).
to (datetime) – Maximum timestamp for requested logs.
datadog_api_client.v1.model.logs_list_response module¶
- class LogsListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response object with all logs matching the request and pagination information.
- Parameters:
logs ([Log], optional) – Array of logs matching the request and the
nextLogId
if sent.next_log_id (str, none_type, optional) – Hash identifier of the next log to return in the list. This parameter is used for the pagination feature.
status (str, optional) – Status of the response.
datadog_api_client.v1.model.logs_lookup_processor module¶
- class LogsLookupProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in the processors mapping table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.
- Parameters:
default_lookup (str, optional) – Value to set the target attribute if the source value is not found in the list.
is_enabled (bool, optional) – Whether or not the processor is enabled.
lookup_table ([str]) – Mapping table of values for the source attribute and their associated target attribute values, formatted as
["source_key1,target_value1", "source_key2,target_value2"]
name (str, optional) – Name of the processor.
source (str) – Source attribute used to perform the lookup.
target (str) – Name of the attribute that contains the corresponding value in the mapping list or the
default_lookup
if not found in the mapping list.type (LogsLookupProcessorType) – Type of logs lookup processor.
datadog_api_client.v1.model.logs_lookup_processor_type module¶
- class LogsLookupProcessorType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs lookup processor.
- Parameters:
value (str) – If omitted defaults to “lookup-processor”. Must be one of [“lookup-processor”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_message_remapper module¶
- class LogsMessageRemapper(*args, **kwargs)¶
Bases:
ModelNormal
The message is a key attribute in Datadog. It is displayed in the message column of the Log Explorer and you can do full string search on it. Use this Processor to define one or more attributes as the official log message.
Note: If multiple log message remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
type (LogsMessageRemapperType) – Type of logs message remapper.
datadog_api_client.v1.model.logs_message_remapper_type module¶
- class LogsMessageRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs message remapper.
- Parameters:
value (str) – If omitted defaults to “message-remapper”. Must be one of [“message-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_pipeline module¶
- class LogsPipeline(*args, **kwargs)¶
Bases:
ModelNormal
Pipelines and processors operate on incoming logs, parsing and transforming them into structured attributes for easier querying.
Note : These endpoints are only available for admin users. Make sure to use an application key created by an admin.
- Parameters:
filter (LogsFilter, optional) – Filter for logs.
id (str, optional) – ID of the pipeline.
is_enabled (bool, optional) – Whether or not the pipeline is enabled.
is_read_only (bool, optional) – Whether or not the pipeline can be edited.
name (str) – Name of the pipeline.
processors ([LogsProcessor], optional) – Ordered list of processors in this pipeline.
type (str, optional) – Type of pipeline.
datadog_api_client.v1.model.logs_pipeline_list module¶
- class LogsPipelineList(*args, **kwargs)¶
Bases:
ModelSimple
Array of pipeline ID strings.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_pipeline_processor module¶
- class LogsPipelineProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Nested Pipelines are pipelines within a pipeline. Use Nested Pipelines to split the processing into two steps. For example, first use a high-level filtering such as team and then a second level of filtering based on the integration, service, or any other tag or attribute.
A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors.
- Parameters:
filter (LogsFilter, optional) – Filter for logs.
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
processors ([LogsProcessor], optional) – Ordered list of processors in this pipeline.
type (LogsPipelineProcessorType) – Type of logs pipeline processor.
datadog_api_client.v1.model.logs_pipeline_processor_type module¶
- class LogsPipelineProcessorType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs pipeline processor.
- Parameters:
value (str) – If omitted defaults to “pipeline”. Must be one of [“pipeline”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_pipelines_order module¶
- class LogsPipelinesOrder(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the ordered list of pipeline IDs.
- Parameters:
pipeline_ids ([str]) – Ordered Array of
<PIPELINE_ID>
strings, the order of pipeline IDs in the array define the overall Pipelines order for Datadog.
datadog_api_client.v1.model.logs_processor module¶
- class LogsProcessor(*args, **kwargs)¶
Bases:
ModelComposed
Definition of a logs processor.
- Parameters:
grok (LogsGrokParserRules) – Set of rules for the grok parser.
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
samples ([str], optional) – List of sample logs to test this grok parser.
source (str) – Name of the log attribute to parse.
type (LogsGrokParserType) – Type of logs grok parser.
sources ([str]) – Array of source attributes.
override_on_conflict (bool, optional) – Override or not the target element if already set,
preserve_source (bool, optional) – Remove or preserve the remapped source element.
source_type (str, optional) – Defines if the sources are from log attribute or tag.
target (str) – Final attribute or tag name to remap the sources to.
target_format (TargetFormatType, optional) – If the target_type of the remapper is attribute, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. string, integer, or double are the possible types. If the target_type is tag, this parameter may not be specified.
target_type (str, optional) – Defines if the final attribute or tag name is from log attribute or tag.
normalize_ending_slashes (bool, none_type, optional) – Normalize the ending slashes or not.
is_encoded (bool, optional) – Define if the source attribute is URL encoded or not.
categories ([LogsCategoryProcessorCategory]) – Array of filters to match or not a log and their corresponding name to assign a custom value to the log.
expression (str) – Arithmetic operation between one or more log attributes.
is_replace_missing (bool, optional) – If true, it replaces all missing attributes of expression by 0, false skip the operation if an attribute is missing.
template (str) – A formula with one or more attributes and raw text.
filter (LogsFilter, optional) – Filter for logs.
processors ([LogsProcessor], optional) – Ordered list of processors in this pipeline.
default_lookup (str, optional) – Value to set the target attribute if the source value is not found in the list.
lookup_table ([str]) – Mapping table of values for the source attribute and their associated target attribute values, formatted as [“source_key1,target_value1”, “source_key2,target_value2”]
lookup_enrichment_table (str) – Name of the Reference Table for the source attribute and their associated target attribute values.
datadog_api_client.v1.model.logs_query_compute module¶
- class LogsQueryCompute(*args, **kwargs)¶
Bases:
ModelNormal
Define computation for a log query.
- Parameters:
aggregation (str) – The aggregation method.
facet (str, optional) – Facet name.
interval (int, optional) – Define a time interval in seconds.
datadog_api_client.v1.model.logs_retention_agg_sum_usage module¶
- class LogsRetentionAggSumUsage(*args, **kwargs)¶
Bases:
ModelNormal
Object containing indexed logs usage aggregated across organizations and months for a retention period.
- Parameters:
logs_indexed_logs_usage_agg_sum (int, optional) – Total indexed logs for this retention period.
logs_live_indexed_logs_usage_agg_sum (int, optional) – Live indexed logs for this retention period.
logs_rehydrated_indexed_logs_usage_agg_sum (int, optional) – Rehydrated indexed logs for this retention period.
retention (str, optional) – The retention period in days or “custom” for all custom retention periods.
datadog_api_client.v1.model.logs_retention_sum_usage module¶
- class LogsRetentionSumUsage(*args, **kwargs)¶
Bases:
ModelNormal
Object containing indexed logs usage grouped by retention period and summed.
- Parameters:
logs_indexed_logs_usage_sum (int, optional) – Total indexed logs for this retention period.
logs_live_indexed_logs_usage_sum (int, optional) – Live indexed logs for this retention period.
logs_rehydrated_indexed_logs_usage_sum (int, optional) – Rehydrated indexed logs for this retention period.
retention (str, optional) – The retention period in days or “custom” for all custom retention periods.
datadog_api_client.v1.model.logs_service_remapper module¶
- class LogsServiceRemapper(*args, **kwargs)¶
Bases:
ModelNormal
Use this processor if you want to assign one or more attributes as the official service.
Note: If multiple service remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
type (LogsServiceRemapperType) – Type of logs service remapper.
datadog_api_client.v1.model.logs_service_remapper_type module¶
- class LogsServiceRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs service remapper.
- Parameters:
value (str) – If omitted defaults to “service-remapper”. Must be one of [“service-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_sort module¶
- class LogsSort(*args, **kwargs)¶
Bases:
ModelSimple
Time-ascending asc or time-descending desc results.
- Parameters:
value (str) – Must be one of [“asc”, “desc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_status_remapper module¶
- class LogsStatusRemapper(*args, **kwargs)¶
Bases:
ModelNormal
Use this Processor if you want to assign some attributes as the official status.
Each incoming status value is mapped as follows.
Integers from 0 to 7 map to the Syslog severity standards
Strings beginning with
emerg
or f (case-insensitive) map toemerg
(0)Strings beginning with
a
(case-insensitive) map toalert
(1)Strings beginning with
c
(case-insensitive) map tocritical
(2)Strings beginning with
err
(case-insensitive) map toerror
(3)Strings beginning with
w
(case-insensitive) map towarning
(4)Strings beginning with
n
(case-insensitive) map tonotice
(5)Strings beginning with
i
(case-insensitive) map toinfo
(6)Strings beginning with
d
,trace
orverbose
(case-insensitive) map todebug
(7)Strings beginning with
o
or matchingOK
orSuccess
(case-insensitive) map to OKAll others map to
info
(6)Note: If multiple log status remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
type (LogsStatusRemapperType) – Type of logs status remapper.
datadog_api_client.v1.model.logs_status_remapper_type module¶
- class LogsStatusRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs status remapper.
- Parameters:
value (str) – If omitted defaults to “status-remapper”. Must be one of [“status-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_string_builder_processor module¶
- class LogsStringBuilderProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Use the string builder processor to add a new attribute (without spaces or special characters) to a log with the result of the provided template. This enables aggregation of different attributes or raw strings into a single attribute.
The template is defined by both raw text and blocks with the syntax
%{attribute_path}
.Notes :
The processor only accepts attributes with values or an array of values in the blocks.
If an attribute cannot be used (object or array of object), it is replaced by an empty string or the entire operation is skipped depending on your selection.
If the target attribute already exists, it is overwritten by the result of the template.
Results of the template cannot exceed 256 characters.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
is_replace_missing (bool, optional) – If true, it replaces all missing attributes of
template
by an empty string. Iffalse
(default), skips the operation for missing attributes.name (str, optional) – Name of the processor.
target (str) – The name of the attribute that contains the result of the template.
template (str) – A formula with one or more attributes and raw text.
type (LogsStringBuilderProcessorType) – Type of logs string builder processor.
datadog_api_client.v1.model.logs_string_builder_processor_type module¶
- class LogsStringBuilderProcessorType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs string builder processor.
- Parameters:
value (str) – If omitted defaults to “string-builder-processor”. Must be one of [“string-builder-processor”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_trace_remapper module¶
- class LogsTraceRemapper(*args, **kwargs)¶
Bases:
ModelNormal
There are two ways to improve correlation between application traces and logs.
Follow the documentation on how to inject a trace ID in the application logs and by default log integrations take care of all the rest of the setup.
Use the Trace remapper processor to define a log attribute as its associated trace ID.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
sources ([str], optional) – Array of source attributes.
type (LogsTraceRemapperType) – Type of logs trace remapper.
datadog_api_client.v1.model.logs_trace_remapper_type module¶
- class LogsTraceRemapperType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs trace remapper.
- Parameters:
value (str) – If omitted defaults to “trace-id-remapper”. Must be one of [“trace-id-remapper”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_url_parser module¶
- class LogsURLParser(*args, **kwargs)¶
Bases:
ModelNormal
This processor extracts query parameters and other important parameters from a URL.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
name (str, optional) – Name of the processor.
normalize_ending_slashes (bool, none_type, optional) – Normalize the ending slashes or not.
sources ([str]) – Array of source attributes.
target (str) – Name of the parent attribute that contains all the extracted details from the
sources
.type (LogsURLParserType) – Type of logs URL parser.
datadog_api_client.v1.model.logs_url_parser_type module¶
- class LogsURLParserType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs URL parser.
- Parameters:
value (str) – If omitted defaults to “url-parser”. Must be one of [“url-parser”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.logs_user_agent_parser module¶
- class LogsUserAgentParser(*args, **kwargs)¶
Bases:
ModelNormal
The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
is_encoded (bool, optional) – Define if the source attribute is URL encoded or not.
name (str, optional) – Name of the processor.
sources ([str]) – Array of source attributes.
target (str) – Name of the parent attribute that contains all the extracted details from the
sources
.type (LogsUserAgentParserType) – Type of logs User-Agent parser.
datadog_api_client.v1.model.logs_user_agent_parser_type module¶
- class LogsUserAgentParserType(*args, **kwargs)¶
Bases:
ModelSimple
Type of logs User-Agent parser.
- Parameters:
value (str) – If omitted defaults to “user-agent-parser”. Must be one of [“user-agent-parser”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.matching_downtime module¶
- class MatchingDowntime(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a downtime that matches this monitor.
- Parameters:
end (int, none_type, optional) – POSIX timestamp to end the downtime.
id (int) – The downtime ID.
scope ([str], optional) – The scope(s) to which the downtime applies. Must be in
key:value
format. For example,host:app2
. Provide multiple scopes as a comma-separated list likeenv:dev,env:prod
. The resulting downtime applies to sources that matches ALL provided scopes (env:dev
ANDenv:prod
).start (int, optional) – POSIX timestamp to start the downtime.
datadog_api_client.v1.model.metric_content_encoding module¶
- class MetricContentEncoding(*args, **kwargs)¶
Bases:
ModelSimple
HTTP header used to compress the media-type.
- Parameters:
value (str) – If omitted defaults to “deflate”. Must be one of [“deflate”, “gzip”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.metric_metadata module¶
- class MetricMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Object with all metric related metadata.
- Parameters:
description (str, optional) – Metric description.
integration (str, optional) – Name of the integration that sent the metric if applicable.
per_unit (str, optional) – Per unit of the metric such as
second
inbytes per second
.short_name (str, optional) – A more human-readable and abbreviated version of the metric name.
statsd_interval (int, optional) – StatsD flush interval of the metric in seconds if applicable.
type (str, optional) – Metric type such as
gauge
orrate
.unit (str, optional) – Primary unit of the metric such as
byte
oroperation
.
datadog_api_client.v1.model.metric_search_response module¶
- class MetricSearchResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the list of metrics matching the search query.
- Parameters:
results (MetricSearchResponseResults, optional) – Search result.
datadog_api_client.v1.model.metric_search_response_results module¶
- class MetricSearchResponseResults(*args, **kwargs)¶
Bases:
ModelNormal
Search result.
- Parameters:
metrics ([str], optional) – List of metrics that match the search query.
datadog_api_client.v1.model.metrics_list_response module¶
- class MetricsListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object listing all metric names stored by Datadog since a given time.
- Parameters:
_from (str, optional) – Time when the metrics were active, seconds since the Unix epoch.
metrics ([str], optional) – List of metric names.
datadog_api_client.v1.model.metrics_payload module¶
- class MetricsPayload(*args, **kwargs)¶
Bases:
ModelNormal
The metrics’ payload.
- Parameters:
series ([Series]) – A list of timeseries to submit to Datadog.
datadog_api_client.v1.model.metrics_query_metadata module¶
- class MetricsQueryMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Object containing all metric names returned and their associated metadata.
- Parameters:
aggr (str, none_type, optional) – Aggregation type.
display_name (str, optional) – Display name of the metric.
end (int, optional) – End of the time window, milliseconds since Unix epoch.
expression (str, optional) – Metric expression.
interval (int, optional) – Number of milliseconds between data samples.
length (int, optional) – Number of data samples.
metric (str, optional) – Metric name.
pointlist ([Point], optional) – List of points of the timeseries in milliseconds.
query_index (int, optional) – The index of the series’ query within the request.
scope (str, optional) – Metric scope, comma separated list of tags.
start (int, optional) – Start of the time window, milliseconds since Unix epoch.
tag_set ([str], optional) – Unique tags identifying this series.
unit ([MetricsQueryUnit, none_type], optional) – Detailed information about the metric unit. The first element describes the “primary unit” (for example,
bytes
inbytes per second
). The second element describes the “per unit” (for example,second
inbytes per second
). If the second element is not present, the API returns null.
datadog_api_client.v1.model.metrics_query_response module¶
- class MetricsQueryResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response Object that includes your query and the list of metrics retrieved.
- Parameters:
error (str, optional) – Message indicating the errors if status is not
ok
.from_date (int, optional) – Start of requested time window, milliseconds since Unix epoch.
group_by ([str], optional) – List of tag keys on which to group.
message (str, optional) – Message indicating
success
if status isok
.query (str, optional) – Query string
res_type (str, optional) – Type of response.
series ([MetricsQueryMetadata], optional) – List of timeseries queried.
status (str, optional) – Status of the query.
to_date (int, optional) – End of requested time window, milliseconds since Unix epoch.
datadog_api_client.v1.model.metrics_query_unit module¶
- class MetricsQueryUnit(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the metric unit family, scale factor, name, and short name.
- Parameters:
family (str, optional) – Unit family, allows for conversion between units of the same family, for scaling.
name (str, optional) – Unit name
plural (str, optional) – Plural form of the unit name.
scale_factor (float, optional) – Factor for scaling between units of the same family.
short_name (str, optional) – Abbreviation of the unit.
datadog_api_client.v1.model.monitor module¶
- class Monitor(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a monitor.
- Parameters:
created (datetime, optional) – Timestamp of the monitor creation.
creator (Creator, optional) – Object describing the creator of the shared element.
deleted (datetime, none_type, optional) – Whether or not the monitor is deleted. (Always
null
)id (int, optional) – ID of this monitor.
matching_downtimes ([MatchingDowntime], optional) – A list of active v1 downtimes that match this monitor.
message (str, optional) – A message to include with notifications for this monitor.
modified (datetime, optional) – Last timestamp when the monitor was edited.
multi (bool, optional) – Whether or not the monitor is broken down on different groups.
name (str, optional) – The monitor name.
options (MonitorOptions, optional) – List of options associated with your monitor.
overall_state (MonitorOverallStates, optional) – The different states your monitor can be in.
priority (int, none_type, optional) – Integer from 1 (high) to 5 (low) indicating alert severity.
query (str) – The monitor query.
restricted_roles ([str], none_type, optional) –
A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the Roles API and are located in the
data.id
field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. You can use the Restriction Policies API to manage write authorization for individual monitors by teams and users, in addition to roles.state (MonitorState, optional) – Wrapper object with the different monitor states.
tags ([str], optional) – Tags associated to your monitor.
type (MonitorType) – The type of the monitor. For more information about
type
, see the monitor options docs.
datadog_api_client.v1.model.monitor_device_id module¶
- class MonitorDeviceID(*args, **kwargs)¶
Bases:
ModelSimple
ID of the device the Synthetics monitor is running on. Same as SyntheticsDeviceID.
- Parameters:
value (str) – Must be one of [“laptop_large”, “tablet”, “mobile_small”, “chrome.laptop_large”, “chrome.tablet”, “chrome.mobile_small”, “firefox.laptop_large”, “firefox.tablet”, “firefox.mobile_small”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_formula_and_function_event_aggregation module¶
- class MonitorFormulaAndFunctionEventAggregation(*args, **kwargs)¶
Bases:
ModelSimple
Aggregation methods for event platform queries.
- Parameters:
value (str) – Must be one of [“count”, “cardinality”, “median”, “pc75”, “pc90”, “pc95”, “pc98”, “pc99”, “sum”, “min”, “max”, “avg”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_formula_and_function_event_query_definition module¶
- class MonitorFormulaAndFunctionEventQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
A formula and functions events query.
- Parameters:
compute (MonitorFormulaAndFunctionEventQueryDefinitionCompute) – Compute options.
data_source (MonitorFormulaAndFunctionEventsDataSource) – Data source for event platform-based queries.
group_by ([MonitorFormulaAndFunctionEventQueryGroupBy], optional) – Group by options.
indexes ([str], optional) – An array of index names to query in the stream. Omit or use
[]
to query all indexes at once.name (str) – Name of the query for use in formulas.
search (MonitorFormulaAndFunctionEventQueryDefinitionSearch, optional) – Search options.
datadog_api_client.v1.model.monitor_formula_and_function_event_query_definition_compute module¶
- class MonitorFormulaAndFunctionEventQueryDefinitionCompute(*args, **kwargs)¶
Bases:
ModelNormal
Compute options.
- Parameters:
aggregation (MonitorFormulaAndFunctionEventAggregation) – Aggregation methods for event platform queries.
interval (int, optional) – A time interval in milliseconds.
metric (str, optional) – Measurable attribute to compute.
datadog_api_client.v1.model.monitor_formula_and_function_event_query_definition_search module¶
- class MonitorFormulaAndFunctionEventQueryDefinitionSearch(*args, **kwargs)¶
Bases:
ModelNormal
Search options.
- Parameters:
query (str) – Events search string.
datadog_api_client.v1.model.monitor_formula_and_function_event_query_group_by module¶
- class MonitorFormulaAndFunctionEventQueryGroupBy(*args, **kwargs)¶
Bases:
ModelNormal
List of objects used to group by.
- Parameters:
facet (str) – Event facet.
limit (int, optional) – Number of groups to return.
sort (MonitorFormulaAndFunctionEventQueryGroupBySort, optional) – Options for sorting group by results.
datadog_api_client.v1.model.monitor_formula_and_function_event_query_group_by_sort module¶
- class MonitorFormulaAndFunctionEventQueryGroupBySort(*args, **kwargs)¶
Bases:
ModelNormal
Options for sorting group by results.
- Parameters:
aggregation (MonitorFormulaAndFunctionEventAggregation) – Aggregation methods for event platform queries.
metric (str, optional) – Metric used for sorting group by results.
order (QuerySortOrder, optional) – Direction of sort.
datadog_api_client.v1.model.monitor_formula_and_function_events_data_source module¶
- class MonitorFormulaAndFunctionEventsDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Data source for event platform-based queries.
- Parameters:
value (str) – Must be one of [“rum”, “ci_pipelines”, “ci_tests”, “audit”, “events”, “logs”, “spans”, “database_queries”, “network”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_formula_and_function_query_definition module¶
- class MonitorFormulaAndFunctionQueryDefinition(*args, **kwargs)¶
Bases:
ModelComposed
A formula and function query.
- Parameters:
compute (MonitorFormulaAndFunctionEventQueryDefinitionCompute) – Compute options.
data_source (MonitorFormulaAndFunctionEventsDataSource) – Data source for event platform-based queries.
group_by ([MonitorFormulaAndFunctionEventQueryGroupBy], optional) – Group by options.
indexes ([str], optional) – An array of index names to query in the stream. Omit or use [] to query all indexes at once.
name (str) – Name of the query for use in formulas.
search (MonitorFormulaAndFunctionEventQueryDefinitionSearch, optional) – Search options.
datadog_api_client.v1.model.monitor_group_search_response module¶
- class MonitorGroupSearchResponse(*args, **kwargs)¶
Bases:
ModelNormal
The response of a monitor group search.
- Parameters:
counts (MonitorGroupSearchResponseCounts, optional) – The counts of monitor groups per different criteria.
groups ([MonitorGroupSearchResult], optional) – The list of found monitor groups.
metadata (MonitorSearchResponseMetadata, optional) – Metadata about the response.
datadog_api_client.v1.model.monitor_group_search_response_counts module¶
- class MonitorGroupSearchResponseCounts(*args, **kwargs)¶
Bases:
ModelNormal
The counts of monitor groups per different criteria.
- Parameters:
status (MonitorSearchCount, optional) – Search facets.
type (MonitorSearchCount, optional) – Search facets.
datadog_api_client.v1.model.monitor_group_search_result module¶
- class MonitorGroupSearchResult(*args, **kwargs)¶
Bases:
ModelNormal
A single monitor group search result.
- Parameters:
group (str, optional) – The name of the group.
group_tags ([str], optional) – The list of tags of the monitor group.
last_nodata_ts (int, optional) – Latest timestamp the monitor group was in NO_DATA state.
last_triggered_ts (int, none_type, optional) – Latest timestamp the monitor group triggered.
monitor_id (int, optional) – The ID of the monitor.
monitor_name (str, optional) – The name of the monitor.
status (MonitorOverallStates, optional) – The different states your monitor can be in.
datadog_api_client.v1.model.monitor_options module¶
- class MonitorOptions(*args, **kwargs)¶
Bases:
ModelNormal
List of options associated with your monitor.
- Parameters:
aggregation (MonitorOptionsAggregation, optional) – Type of aggregation performed in the monitor query.
device_ids ([MonitorDeviceID], optional) – IDs of the device the Synthetics monitor is running on. Deprecated.
enable_logs_sample (bool, optional) – Whether or not to send a log sample when the log monitor triggers.
enable_samples (bool, optional) – Whether or not to send a list of samples when the monitor triggers. This is only used by CI Test and Pipeline monitors.
escalation_message (str, optional) – We recommend using the is_renotify , block in the original message instead. A message to include with a re-notification. Supports the
@username
notification we allow elsewhere. Not applicable ifrenotify_interval
isNone
.evaluation_delay (int, none_type, optional) – Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to
300
(5min), the timeframe is set tolast_5m
and the time is 7:00, the monitor evaluates data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation.group_retention_duration (str, optional) – The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: “60m”, “1h”, and “2d”. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
groupby_simple_monitor (bool, optional) – Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold. Use
notify_by
instead. Deprecated.include_tags (bool, optional) –
A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title.
Examples
If
True
,[Triggered on {host:h1}] Monitor Title
If
False
,[Triggered] Monitor Title
locked (bool, optional) – Whether or not the monitor is locked (only editable by creator and admins). Use
restricted_roles
instead. Deprecated.min_failure_duration (int, none_type, optional) – How long the test should be in failure before alerting (integer, number of seconds, max 7200).
min_location_failed (int, none_type, optional) – The minimum number of locations in failure at the same time during at least one moment in the
min_failure_duration
period (min_location_failed
andmin_failure_duration
are part of the advanced alerting rules - integer, >= 1).new_group_delay (int, none_type, optional) –
Time (in seconds) to skip evaluations for new groups.
For example, this option can be used to skip evaluations for new hosts while they initialize.
Must be a non negative integer.
new_host_delay (int, none_type, optional) –
Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non negative integer.
Use new_group_delay instead. Deprecated.
no_data_timeframe (int, none_type, optional) – The number of minutes before a monitor notifies after data stops reporting. Datadog recommends at least 2x the monitor timeframe for query alerts or 2 minutes for service checks. If omitted, 2x the evaluation timeframe is used for query alerts, and 24 hours is used for service checks.
notification_preset_name (MonitorOptionsNotificationPresets, optional) – Toggles the display of additional content sent in the monitor notification.
notify_audit (bool, optional) – A Boolean indicating whether tagged users is notified on changes to this monitor.
notify_by ([str], optional) – Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by
cluster
,namespace
, andpod
can be configured to only notify on each newcluster
violating the alert conditions by settingnotify_by
to["cluster"]
. Tags mentioned innotify_by
must be a subset of the grouping tags in the query. For example, a query grouped bycluster
andnamespace
cannot notify onregion
. Settingnotify_by
to[*]
configures the monitor to notify as a simple-alert.notify_no_data (bool, optional) – A Boolean indicating whether this monitor notifies when data stops reporting. Defaults to
false
.on_missing_data (OnMissingDataOption, optional) – Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
renotify_interval (int, none_type, optional) – The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved.
renotify_occurrences (int, none_type, optional) – The number of times re-notification messages should be sent on the current status at the provided re-notification interval.
renotify_statuses ([MonitorRenotifyStatusType], none_type, optional) – The types of monitor statuses for which re-notification messages are sent. Default: null if
renotify_interval
is null. Ifrenotify_interval
is set, defaults to renotify onAlert
andNo Data
.require_full_window (bool, optional) – A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to
false
for sparse metrics, otherwise some evaluations are skipped. Default is false. This setting only applies to metric monitors.scheduling_options (MonitorOptionsSchedulingOptions, optional) – Configuration options for scheduling.
silenced ({str: (int, none_type,)}, optional) – Information about the downtime applied to the monitor. Only shows v1 downtimes. Deprecated.
synthetics_check_id (str, none_type, optional) – ID of the corresponding Synthetic check. Deprecated.
threshold_windows (MonitorThresholdWindowOptions, optional) – Alerting time window options.
thresholds (MonitorThresholds, optional) – List of the different monitor threshold available.
timeout_h (int, none_type, optional) – The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
variables ([MonitorFormulaAndFunctionQueryDefinition], optional) – List of requests that can be used in the monitor query. This feature is currently in beta.
datadog_api_client.v1.model.monitor_options_aggregation module¶
- class MonitorOptionsAggregation(*args, **kwargs)¶
Bases:
ModelNormal
Type of aggregation performed in the monitor query.
- Parameters:
group_by (str, optional) – Group to break down the monitor on.
metric (str, optional) – Metric name used in the monitor.
type (str, optional) – Metric type used in the monitor.
datadog_api_client.v1.model.monitor_options_custom_schedule module¶
- class MonitorOptionsCustomSchedule(*args, **kwargs)¶
Bases:
ModelNormal
Configuration options for the custom schedule. This feature is in private beta.
- Parameters:
recurrences ([MonitorOptionsCustomScheduleRecurrence], optional) – Array of custom schedule recurrences.
datadog_api_client.v1.model.monitor_options_custom_schedule_recurrence module¶
- class MonitorOptionsCustomScheduleRecurrence(*args, **kwargs)¶
Bases:
ModelNormal
Configuration for a recurrence set on the monitor options for custom schedule.
- Parameters:
rrule (str, optional) – Defines the recurrence rule (RRULE) for a given schedule.
start (str, optional) – Defines the start date and time of the recurring schedule.
timezone (str, optional) – Defines the timezone the schedule runs on.
datadog_api_client.v1.model.monitor_options_notification_presets module¶
- class MonitorOptionsNotificationPresets(*args, **kwargs)¶
Bases:
ModelSimple
Toggles the display of additional content sent in the monitor notification.
- Parameters:
value (str) – If omitted defaults to “show_all”. Must be one of [“show_all”, “hide_query”, “hide_handles”, “hide_all”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_options_scheduling_options module¶
- class MonitorOptionsSchedulingOptions(*args, **kwargs)¶
Bases:
ModelNormal
Configuration options for scheduling.
- Parameters:
custom_schedule (MonitorOptionsCustomSchedule, optional) – Configuration options for the custom schedule. This feature is in private beta.
evaluation_window (MonitorOptionsSchedulingOptionsEvaluationWindow, optional) – Configuration options for the evaluation window. If
hour_starts
is set, no other fields may be set. Otherwise,day_starts
andmonth_starts
must be set together.
datadog_api_client.v1.model.monitor_options_scheduling_options_evaluation_window module¶
- class MonitorOptionsSchedulingOptionsEvaluationWindow(*args, **kwargs)¶
Bases:
ModelNormal
Configuration options for the evaluation window. If
hour_starts
is set, no other fields may be set. Otherwise,day_starts
andmonth_starts
must be set together.- Parameters:
day_starts (str, optional) – The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in
HH:mm
format.hour_starts (int, optional) – The minute of the hour at which a one hour cumulative evaluation window starts.
month_starts (int, optional) – The day of the month at which a one month cumulative evaluation window starts.
datadog_api_client.v1.model.monitor_overall_states module¶
- class MonitorOverallStates(*args, **kwargs)¶
Bases:
ModelSimple
The different states your monitor can be in.
- Parameters:
value (str) – Must be one of [“Alert”, “Ignored”, “No Data”, “OK”, “Skipped”, “Unknown”, “Warn”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_renotify_status_type module¶
- class MonitorRenotifyStatusType(*args, **kwargs)¶
Bases:
ModelSimple
The different statuses for which renotification is supported.
- Parameters:
value (str) – Must be one of [“alert”, “warn”, “no data”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_search_count module¶
- class MonitorSearchCount(*args, **kwargs)¶
Bases:
ModelSimple
Search facets.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_search_count_item module¶
- class MonitorSearchCountItem(*args, **kwargs)¶
Bases:
ModelNormal
A facet item.
- Parameters:
count (int, optional) – The number of found monitors with the listed value.
name (bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional) – The facet value.
datadog_api_client.v1.model.monitor_search_response module¶
- class MonitorSearchResponse(*args, **kwargs)¶
Bases:
ModelNormal
The response form a monitor search.
- Parameters:
counts (MonitorSearchResponseCounts, optional) – The counts of monitors per different criteria.
metadata (MonitorSearchResponseMetadata, optional) – Metadata about the response.
monitors ([MonitorSearchResult], optional) – The list of found monitors.
datadog_api_client.v1.model.monitor_search_response_counts module¶
- class MonitorSearchResponseCounts(*args, **kwargs)¶
Bases:
ModelNormal
The counts of monitors per different criteria.
- Parameters:
muted (MonitorSearchCount, optional) – Search facets.
status (MonitorSearchCount, optional) – Search facets.
tag (MonitorSearchCount, optional) – Search facets.
type (MonitorSearchCount, optional) – Search facets.
datadog_api_client.v1.model.monitor_search_response_metadata module¶
- class MonitorSearchResponseMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Metadata about the response.
- Parameters:
page (int, optional) – The page to start paginating from.
page_count (int, optional) – The number of pages.
per_page (int, optional) – The number of monitors to return per page.
total_count (int, optional) – The total number of monitors.
datadog_api_client.v1.model.monitor_search_result module¶
- class MonitorSearchResult(*args, **kwargs)¶
Bases:
ModelNormal
Holds search results.
- Parameters:
classification (str, optional) – Classification of the monitor.
creator (Creator, optional) – Object describing the creator of the shared element.
id (int, optional) – ID of the monitor.
last_triggered_ts (int, none_type, optional) – Latest timestamp the monitor triggered.
metrics ([str], optional) – Metrics used by the monitor.
name (str, optional) – The monitor name.
notifications ([MonitorSearchResultNotification], optional) – The notification triggered by the monitor.
org_id (int, optional) – The ID of the organization.
query (str, optional) – The monitor query.
scopes ([str], optional) – The scope(s) to which the downtime applies, for example
host:app2
. Provide multiple scopes as a comma-separated list, for exampleenv:dev,env:prod
. The resulting downtime applies to sources that matches ALL provided scopes (that isenv:dev AND env:prod
), NOT any of them.status (MonitorOverallStates, optional) – The different states your monitor can be in.
tags ([str], optional) – Tags associated with the monitor.
type (MonitorType, optional) –
The type of the monitor. For more information about
type
, see the monitor options docs.
datadog_api_client.v1.model.monitor_search_result_notification module¶
- class MonitorSearchResultNotification(*args, **kwargs)¶
Bases:
ModelNormal
A notification triggered by the monitor.
- Parameters:
handle (str, optional) – The email address that received the notification.
name (str, optional) – The username receiving the notification
datadog_api_client.v1.model.monitor_state module¶
- class MonitorState(*args, **kwargs)¶
Bases:
ModelNormal
Wrapper object with the different monitor states.
- Parameters:
groups ({str: (MonitorStateGroup,)}, optional) – Dictionary where the keys are groups (comma separated lists of tags) and the values are the list of groups your monitor is broken down on.
datadog_api_client.v1.model.monitor_state_group module¶
- class MonitorStateGroup(*args, **kwargs)¶
Bases:
ModelNormal
Monitor state for a single group.
- Parameters:
last_nodata_ts (int, optional) – Latest timestamp the monitor was in NO_DATA state.
last_notified_ts (int, optional) – Latest timestamp of the notification sent for this monitor group.
last_resolved_ts (int, optional) – Latest timestamp the monitor group was resolved.
last_triggered_ts (int, optional) – Latest timestamp the monitor group triggered.
name (str, optional) – The name of the monitor.
status (MonitorOverallStates, optional) – The different states your monitor can be in.
datadog_api_client.v1.model.monitor_summary_widget_definition module¶
- class MonitorSummaryWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards.
- Parameters:
color_preference (WidgetColorPreference, optional) – Which color to use on the widget.
count (int, optional) – The number of monitors to display. Deprecated.
display_format (WidgetMonitorSummaryDisplayFormat, optional) – What to display on the widget.
hide_zero_counts (bool, optional) – Whether to show counts of 0 or not.
query (str) – Query to filter the monitors with.
show_last_triggered (bool, optional) – Whether to show the time that has elapsed since the monitor/group triggered.
show_priority (bool, optional) – Whether to show the priorities column.
sort (WidgetMonitorSummarySort, optional) – Widget sorting methods.
start (int, optional) – The start of the list. Typically 0. Deprecated.
summary_type (WidgetSummaryType, optional) – Which summary type should be used.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (MonitorSummaryWidgetDefinitionType) – Type of the monitor summary widget.
datadog_api_client.v1.model.monitor_summary_widget_definition_type module¶
- class MonitorSummaryWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the monitor summary widget.
- Parameters:
value (str) – If omitted defaults to “manage_status”. Must be one of [“manage_status”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_threshold_window_options module¶
- class MonitorThresholdWindowOptions(*args, **kwargs)¶
Bases:
ModelNormal
Alerting time window options.
- Parameters:
recovery_window (str, none_type, optional) – Describes how long an anomalous metric must be normal before the alert recovers.
trigger_window (str, none_type, optional) – Describes how long a metric must be anomalous before an alert triggers.
datadog_api_client.v1.model.monitor_thresholds module¶
- class MonitorThresholds(*args, **kwargs)¶
Bases:
ModelNormal
List of the different monitor threshold available.
- Parameters:
critical (float, optional) – The monitor
CRITICAL
threshold.critical_recovery (float, none_type, optional) – The monitor
CRITICAL
recovery threshold.ok (float, none_type, optional) – The monitor
OK
threshold.unknown (float, none_type, optional) – The monitor UNKNOWN threshold.
warning (float, none_type, optional) – The monitor
WARNING
threshold.warning_recovery (float, none_type, optional) – The monitor
WARNING
recovery threshold.
datadog_api_client.v1.model.monitor_type module¶
- class MonitorType(*args, **kwargs)¶
Bases:
ModelSimple
The type of the monitor. For more information about type, see the [monitor options](https://docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
- Parameters:
value (str) – Must be one of [“composite”, “event alert”, “log alert”, “metric alert”, “process alert”, “query alert”, “rum alert”, “service check”, “synthetics alert”, “trace-analytics alert”, “slo alert”, “event-v2 alert”, “audit alert”, “ci-pipelines alert”, “ci-tests alert”, “error-tracking alert”, “database-monitoring alert”, “network-performance alert”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monitor_update_request module¶
- class MonitorUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a monitor update request.
- Parameters:
created (datetime, optional) – Timestamp of the monitor creation.
creator (Creator, optional) – Object describing the creator of the shared element.
deleted (datetime, none_type, optional) – Whether or not the monitor is deleted. (Always
null
)id (int, optional) – ID of this monitor.
message (str, optional) – A message to include with notifications for this monitor.
modified (datetime, optional) – Last timestamp when the monitor was edited.
multi (bool, optional) – Whether or not the monitor is broken down on different groups.
name (str, optional) – The monitor name.
options (MonitorOptions, optional) – List of options associated with your monitor.
overall_state (MonitorOverallStates, optional) – The different states your monitor can be in.
priority (int, none_type, optional) – Integer from 1 (high) to 5 (low) indicating alert severity.
query (str, optional) – The monitor query.
restricted_roles ([str], none_type, optional) –
A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the Roles API and are located in the
data.id
field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time.restricted_roles
is the successor oflocked
. For more information aboutlocked
andrestricted_roles
, see the monitor options docs.state (MonitorState, optional) – Wrapper object with the different monitor states.
tags ([str], optional) – Tags associated to your monitor.
type (MonitorType, optional) –
The type of the monitor. For more information about
type
, see the monitor options docs.
datadog_api_client.v1.model.monthly_usage_attribution_body module¶
- class MonthlyUsageAttributionBody(*args, **kwargs)¶
Bases:
ModelNormal
Usage Summary by tag for a given organization.
- Parameters:
month (datetime, optional) – Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].
org_name (str, optional) – The name of the organization.
public_id (str, optional) – The organization public ID.
region (str, optional) – The region of the Datadog instance that the organization belongs to.
tag_config_source (str, optional) – The source of the usage attribution tag configuration and the selected tags in the format
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
.tags (UsageAttributionTagNames, none_type, optional) –
Tag keys and values.
A
null
value here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total usage, not broken down by tags.updated_at (datetime, optional) – Datetime of the most recent update to the usage values.
values (MonthlyUsageAttributionValues, optional) – Fields in Usage Summary by tag(s).
datadog_api_client.v1.model.monthly_usage_attribution_metadata module¶
- class MonthlyUsageAttributionMetadata(*args, **kwargs)¶
Bases:
ModelNormal
The object containing document metadata.
- Parameters:
aggregates (UsageAttributionAggregates, optional) – An array of available aggregates.
pagination (MonthlyUsageAttributionPagination, optional) – The metadata for the current pagination.
datadog_api_client.v1.model.monthly_usage_attribution_pagination module¶
- class MonthlyUsageAttributionPagination(*args, **kwargs)¶
Bases:
ModelNormal
The metadata for the current pagination.
- Parameters:
next_record_id (str, none_type, optional) – The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of the
next_record_id
.
datadog_api_client.v1.model.monthly_usage_attribution_response module¶
- class MonthlyUsageAttributionResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the monthly Usage Summary by tag(s).
- Parameters:
metadata (MonthlyUsageAttributionMetadata, optional) – The object containing document metadata.
usage ([MonthlyUsageAttributionBody], optional) – Get usage summary by tag(s).
datadog_api_client.v1.model.monthly_usage_attribution_supported_metrics module¶
- class MonthlyUsageAttributionSupportedMetrics(*args, **kwargs)¶
Bases:
ModelSimple
Supported metrics for monthly usage attribution requests.
- Parameters:
value (str) – Must be one of [“api_usage”, “api_percentage”, “apm_fargate_usage”, “apm_fargate_percentage”, “appsec_fargate_usage”, “appsec_fargate_percentage”, “apm_host_usage”, “apm_host_percentage”, “apm_usm_usage”, “apm_usm_percentage”, “appsec_usage”, “appsec_percentage”, “asm_serverless_traced_invocations_usage”, “asm_serverless_traced_invocations_percentage”, “browser_usage”, “browser_percentage”, “ci_visibility_itr_usage”, “ci_visibility_itr_percentage”, “cloud_siem_usage”, “cloud_siem_percentage”, “container_excl_agent_usage”, “container_excl_agent_percentage”, “container_usage”, “container_percentage”, “cspm_containers_percentage”, “cspm_containers_usage”, “cspm_hosts_percentage”, “cspm_hosts_usage”, “custom_timeseries_usage”, “custom_timeseries_percentage”, “custom_ingested_timeseries_usage”, “custom_ingested_timeseries_percentage”, “cws_containers_percentage”, “cws_containers_usage”, “cws_hosts_percentage”, “cws_hosts_usage”, “data_jobs_monitoring_usage”, “data_jobs_monitoring_percentage”, “data_stream_monitoring_usage”, “data_stream_monitoring_percentage”, “dbm_hosts_percentage”, “dbm_hosts_usage”, “dbm_queries_percentage”, “dbm_queries_usage”, “error_tracking_usage”, “error_tracking_percentage”, “estimated_indexed_spans_usage”, “estimated_indexed_spans_percentage”, “estimated_ingested_spans_usage”, “estimated_ingested_spans_percentage”, “fargate_usage”, “fargate_percentage”, “functions_usage”, “functions_percentage”, “incident_management_monthly_active_users_usage”, “incident_management_monthly_active_users_percentage”, “infra_host_usage”, “infra_host_percentage”, “invocations_usage”, “invocations_percentage”, “lambda_traced_invocations_usage”, “lambda_traced_invocations_percentage”, “mobile_app_testing_percentage”, “mobile_app_testing_usage”, “ndm_netflow_usage”, “ndm_netflow_percentage”, “npm_host_usage”, “npm_host_percentage”, “obs_pipeline_bytes_usage”, “obs_pipeline_bytes_percentage”, “obs_pipelines_vcpu_usage”, “obs_pipelines_vcpu_percentage”, “online_archive_usage”, “online_archive_percentage”, “profiled_container_usage”, “profiled_container_percentage”, “profiled_fargate_usage”, “profiled_fargate_percentage”, “profiled_host_usage”, “profiled_host_percentage”, “serverless_apps_usage”, “serverless_apps_percentage”, “snmp_usage”, “snmp_percentage”, “universal_service_monitoring_usage”, “universal_service_monitoring_percentage”, “vuln_management_hosts_usage”, “vuln_management_hosts_percentage”, “sds_scanned_bytes_usage”, “sds_scanned_bytes_percentage”, “ci_test_indexed_spans_usage”, “ci_test_indexed_spans_percentage”, “ingested_logs_bytes_usage”, “ingested_logs_bytes_percentage”, “ci_pipeline_indexed_spans_usage”, “ci_pipeline_indexed_spans_percentage”, “indexed_spans_usage”, “indexed_spans_percentage”, “custom_event_usage”, “custom_event_percentage”, “logs_indexed_custom_retention_usage”, “logs_indexed_custom_retention_percentage”, “logs_indexed_360day_usage”, “logs_indexed_360day_percentage”, “logs_indexed_180day_usage”, “logs_indexed_180day_percentage”, “logs_indexed_90day_usage”, “logs_indexed_90day_percentage”, “logs_indexed_60day_usage”, “logs_indexed_60day_percentage”, “logs_indexed_45day_usage”, “logs_indexed_45day_percentage”, “logs_indexed_30day_usage”, “logs_indexed_30day_percentage”, “logs_indexed_15day_usage”, “logs_indexed_15day_percentage”, “logs_indexed_7day_usage”, “logs_indexed_7day_percentage”, “logs_indexed_3day_usage”, “logs_indexed_3day_percentage”, “logs_indexed_1day_usage”, “logs_indexed_1day_percentage”, “rum_replay_sessions_usage”, “rum_replay_sessions_percentage”, “rum_browser_mobile_sessions_usage”, “rum_browser_mobile_sessions_percentage”, “ingested_spans_bytes_usage”, “ingested_spans_bytes_percentage”, “siem_analyzed_logs_add_on_usage”, “siem_analyzed_logs_add_on_percentage”, “siem_ingested_bytes_usage”, “siem_ingested_bytes_percentage”, “workflow_executions_usage”, “workflow_executions_percentage”, “sca_fargate_usage”, “sca_fargate_percentage”, “*”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.monthly_usage_attribution_values module¶
- class MonthlyUsageAttributionValues(*args, **kwargs)¶
Bases:
ModelNormal
Fields in Usage Summary by tag(s).
- Parameters:
api_percentage (float, optional) – The percentage of synthetic API test usage by tag(s).
api_usage (float, optional) – The synthetic API test usage by tag(s).
apm_fargate_percentage (float, optional) – The percentage of APM ECS Fargate task usage by tag(s).
apm_fargate_usage (float, optional) – The APM ECS Fargate task usage by tag(s).
apm_host_percentage (float, optional) – The percentage of APM host usage by tag(s).
apm_host_usage (float, optional) – The APM host usage by tag(s).
apm_usm_percentage (float, optional) – The percentage of APM and Universal Service Monitoring host usage by tag(s).
apm_usm_usage (float, optional) – The APM and Universal Service Monitoring host usage by tag(s).
appsec_fargate_percentage (float, optional) – The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
appsec_fargate_usage (float, optional) – The Application Security Monitoring ECS Fargate task usage by tag(s).
appsec_percentage (float, optional) – The percentage of Application Security Monitoring host usage by tag(s).
appsec_usage (float, optional) – The Application Security Monitoring host usage by tag(s).
asm_serverless_traced_invocations_percentage (float, optional) – The percentage of Application Security Monitoring Serverless traced invocations usage by tag(s).
asm_serverless_traced_invocations_usage (float, optional) – The Application Security Monitoring Serverless traced invocations usage by tag(s).
browser_percentage (float, optional) – The percentage of synthetic browser test usage by tag(s).
browser_usage (float, optional) – The synthetic browser test usage by tag(s).
ci_pipeline_indexed_spans_percentage (float, optional) – The percentage of CI Pipeline Indexed Spans usage by tag(s).
ci_pipeline_indexed_spans_usage (float, optional) – The total CI Pipeline Indexed Spans usage by tag(s).
ci_test_indexed_spans_percentage (float, optional) – The percentage of CI Test Indexed Spans usage by tag(s).
ci_test_indexed_spans_usage (float, optional) – The total CI Test Indexed Spans usage by tag(s).
ci_visibility_itr_percentage (float, optional) – The percentage of Git committers for Intelligent Test Runner usage by tag(s).
ci_visibility_itr_usage (float, optional) – The Git committers for Intelligent Test Runner usage by tag(s).
cloud_siem_percentage (float, optional) – The percentage of Cloud Security Information and Event Management usage by tag(s).
cloud_siem_usage (float, optional) – The Cloud Security Information and Event Management usage by tag(s).
container_excl_agent_percentage (float, optional) – The percentage of container usage without the Datadog Agent by tag(s).
container_excl_agent_usage (float, optional) – The container usage without the Datadog Agent by tag(s).
container_percentage (float, optional) – The percentage of container usage by tag(s).
container_usage (float, optional) – The container usage by tag(s).
cspm_containers_percentage (float, optional) – The percentage of Cloud Security Management Pro container usage by tag(s).
cspm_containers_usage (float, optional) – The Cloud Security Management Pro container usage by tag(s).
cspm_hosts_percentage (float, optional) – The percentage of Cloud Security Management Pro host usage by tag(s).
cspm_hosts_usage (float, optional) – The Cloud Security Management Pro host usage by tag(s).
custom_event_percentage (float, optional) – The percentage of Custom Events usage by tag(s).
custom_event_usage (float, optional) – The total Custom Events usage by tag(s).
custom_ingested_timeseries_percentage (float, optional) – The percentage of ingested custom metrics usage by tag(s).
custom_ingested_timeseries_usage (float, optional) – The ingested custom metrics usage by tag(s).
custom_timeseries_percentage (float, optional) – The percentage of indexed custom metrics usage by tag(s).
custom_timeseries_usage (float, optional) – The indexed custom metrics usage by tag(s).
cws_containers_percentage (float, optional) – The percentage of Cloud Workload Security container usage by tag(s).
cws_containers_usage (float, optional) – The Cloud Workload Security container usage by tag(s).
cws_hosts_percentage (float, optional) – The percentage of Cloud Workload Security host usage by tag(s).
cws_hosts_usage (float, optional) – The Cloud Workload Security host usage by tag(s).
data_jobs_monitoring_usage (float, optional) – The Data Jobs Monitoring usage by tag(s).
data_stream_monitoring_usage (float, optional) – The Data Stream Monitoring usage by tag(s).
dbm_hosts_percentage (float, optional) – The percentage of Database Monitoring host usage by tag(s).
dbm_hosts_usage (float, optional) – The Database Monitoring host usage by tag(s).
dbm_queries_percentage (float, optional) – The percentage of Database Monitoring queries usage by tag(s).
dbm_queries_usage (float, optional) – The Database Monitoring queries usage by tag(s).
error_tracking_percentage (float, optional) – The percentage of error tracking events usage by tag(s).
error_tracking_usage (float, optional) – The error tracking events usage by tag(s).
estimated_indexed_spans_percentage (float, optional) – The percentage of estimated indexed spans usage by tag(s).
estimated_indexed_spans_usage (float, optional) – The estimated indexed spans usage by tag(s).
estimated_ingested_spans_percentage (float, optional) – The percentage of estimated ingested spans usage by tag(s).
estimated_ingested_spans_usage (float, optional) – The estimated ingested spans usage by tag(s).
fargate_percentage (float, optional) – The percentage of Fargate usage by tags.
fargate_usage (float, optional) – The Fargate usage by tags.
functions_percentage (float, optional) – The percentage of Lambda function usage by tag(s).
functions_usage (float, optional) – The Lambda function usage by tag(s).
incident_management_monthly_active_users_percentage (float, optional) – The percentage of Incident Management monthly active users usage by tag(s).
incident_management_monthly_active_users_usage (float, optional) – The Incident Management monthly active users usage by tag(s).
indexed_spans_percentage (float, optional) – The percentage of APM Indexed Spans usage by tag(s).
indexed_spans_usage (float, optional) – The total APM Indexed Spans usage by tag(s).
infra_host_percentage (float, optional) – The percentage of infrastructure host usage by tag(s).
infra_host_usage (float, optional) – The infrastructure host usage by tag(s).
ingested_logs_bytes_percentage (float, optional) – The percentage of Ingested Logs usage by tag(s).
ingested_logs_bytes_usage (float, optional) – The total Ingested Logs usage by tag(s).
ingested_spans_bytes_percentage (float, optional) – The percentage of APM Ingested Spans usage by tag(s).
ingested_spans_bytes_usage (float, optional) – The total APM Ingested Spans usage by tag(s).
invocations_percentage (float, optional) – The percentage of Lambda invocation usage by tag(s).
invocations_usage (float, optional) – The Lambda invocation usage by tag(s).
lambda_traced_invocations_percentage (float, optional) – The percentage of Serverless APM usage by tag(s).
lambda_traced_invocations_usage (float, optional) – The Serverless APM usage by tag(s).
logs_indexed_15day_percentage (float, optional) – The percentage of Indexed Logs (15-day Retention) usage by tag(s).
logs_indexed_15day_usage (float, optional) – The total Indexed Logs (15-day Retention) usage by tag(s).
logs_indexed_180day_percentage (float, optional) – The percentage of Indexed Logs (180-day Retention) usage by tag(s).
logs_indexed_180day_usage (float, optional) – The total Indexed Logs (180-day Retention) usage by tag(s).
logs_indexed_1day_percentage (float, optional) – The percentage of Indexed Logs (1-day Retention) usage by tag(s).
logs_indexed_1day_usage (float, optional) – The total Indexed Logs (1-day Retention) usage by tag(s).
logs_indexed_30day_percentage (float, optional) – The percentage of Indexed Logs (30-day Retention) usage by tag(s).
logs_indexed_30day_usage (float, optional) – The total Indexed Logs (30-day Retention) usage by tag(s).
logs_indexed_360day_percentage (float, optional) – The percentage of Indexed Logs (360-day Retention) usage by tag(s).
logs_indexed_360day_usage (float, optional) – The total Indexed Logs (360-day Retention) usage by tag(s).
logs_indexed_3day_percentage (float, optional) – The percentage of Indexed Logs (3-day Retention) usage by tag(s).
logs_indexed_3day_usage (float, optional) – The total Indexed Logs (3-day Retention) usage by tag(s).
logs_indexed_45day_percentage (float, optional) – The percentage of Indexed Logs (45-day Retention) usage by tag(s).
logs_indexed_45day_usage (float, optional) – The total Indexed Logs (45-day Retention) usage by tag(s).
logs_indexed_60day_percentage (float, optional) – The percentage of Indexed Logs (60-day Retention) usage by tag(s).
logs_indexed_60day_usage (float, optional) – The total Indexed Logs (60-day Retention) usage by tag(s).
logs_indexed_7day_percentage (float, optional) – The percentage of Indexed Logs (7-day Retention) usage by tag(s).
logs_indexed_7day_usage (float, optional) – The total Indexed Logs (7-day Retention) usage by tag(s).
logs_indexed_90day_percentage (float, optional) – The percentage of Indexed Logs (90-day Retention) usage by tag(s).
logs_indexed_90day_usage (float, optional) – The total Indexed Logs (90-day Retention) usage by tag(s).
logs_indexed_custom_retention_percentage (float, optional) – The percentage of Indexed Logs (Custom Retention) usage by tag(s).
logs_indexed_custom_retention_usage (float, optional) – The total Indexed Logs (Custom Retention) usage by tag(s).
mobile_app_testing_percentage (float, optional) – The percentage of Synthetic mobile application test usage by tag(s).
mobile_app_testing_usage (float, optional) – The Synthetic mobile application test usage by tag(s).
ndm_netflow_percentage (float, optional) – The percentage of Network Device Monitoring NetFlow usage by tag(s).
ndm_netflow_usage (float, optional) – The Network Device Monitoring NetFlow usage by tag(s).
npm_host_percentage (float, optional) – The percentage of network host usage by tag(s).
npm_host_usage (float, optional) – The network host usage by tag(s).
obs_pipeline_bytes_percentage (float, optional) – The percentage of observability pipeline bytes usage by tag(s).
obs_pipeline_bytes_usage (float, optional) – The observability pipeline bytes usage by tag(s).
obs_pipelines_vcpu_percentage (float, optional) – The percentage of observability pipeline per core usage by tag(s).
obs_pipelines_vcpu_usage (float, optional) – The observability pipeline per core usage by tag(s).
online_archive_percentage (float, optional) – The percentage of online archive usage by tag(s).
online_archive_usage (float, optional) – The online archive usage by tag(s).
profiled_container_percentage (float, optional) – The percentage of profiled container usage by tag(s).
profiled_container_usage (float, optional) – The profiled container usage by tag(s).
profiled_fargate_percentage (float, optional) – The percentage of profiled Fargate task usage by tag(s).
profiled_fargate_usage (float, optional) – The profiled Fargate task usage by tag(s).
profiled_host_percentage (float, optional) – The percentage of profiled hosts usage by tag(s).
profiled_host_usage (float, optional) – The profiled hosts usage by tag(s).
rum_browser_mobile_sessions_percentage (float, optional) – The percentage of RUM Browser and Mobile usage by tag(s).
rum_browser_mobile_sessions_usage (float, optional) – The total RUM Browser and Mobile usage by tag(s).
rum_replay_sessions_percentage (float, optional) – The percentage of RUM Session Replay usage by tag(s).
rum_replay_sessions_usage (float, optional) – The total RUM Session Replay usage by tag(s).
sca_fargate_percentage (float, optional) – The percentage of Software Composition Analysis Fargate task usage by tag(s).
sca_fargate_usage (float, optional) – The total Software Composition Analysis Fargate task usage by tag(s).
sds_scanned_bytes_percentage (float, optional) – The percentage of Sensitive Data Scanner usage by tag(s).
sds_scanned_bytes_usage (float, optional) – The total Sensitive Data Scanner usage by tag(s).
serverless_apps_percentage (float, optional) – The percentage of Serverless Apps usage by tag(s).
serverless_apps_usage (float, optional) – The total Serverless Apps usage by tag(s).
siem_analyzed_logs_add_on_percentage (float, optional) – The percentage of log events analyzed by Cloud SIEM usage by tag(s).
siem_analyzed_logs_add_on_usage (float, optional) – The log events analyzed by Cloud SIEM usage by tag(s).
siem_ingested_bytes_percentage (float, optional) – The percentage of SIEM usage by tag(s).
siem_ingested_bytes_usage (float, optional) – The total SIEM usage by tag(s).
snmp_percentage (float, optional) – The percentage of network device usage by tag(s).
snmp_usage (float, optional) – The network device usage by tag(s).
universal_service_monitoring_percentage (float, optional) – The percentage of universal service monitoring usage by tag(s).
universal_service_monitoring_usage (float, optional) – The universal service monitoring usage by tag(s).
vuln_management_hosts_percentage (float, optional) – The percentage of Application Vulnerability Management usage by tag(s).
vuln_management_hosts_usage (float, optional) – The Application Vulnerability Management usage by tag(s).
workflow_executions_percentage (float, optional) – The percentage of workflow executions usage by tag(s).
workflow_executions_usage (float, optional) – The total workflow executions usage by tag(s).
datadog_api_client.v1.model.note_widget_definition module¶
- class NoteWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The notes and links widget is similar to free text widget, but allows for more formatting options.
- Parameters:
background_color (str, optional) – Background color of the note.
content (str) – Content of the note.
font_size (str, optional) – Size of the text.
has_padding (bool, optional) – Whether to add padding or not.
show_tick (bool, optional) – Whether to show a tick or not.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
tick_edge (WidgetTickEdge, optional) – Define how you want to align the text on the widget.
tick_pos (str, optional) – Where to position the tick on an edge.
type (NoteWidgetDefinitionType) – Type of the note widget.
vertical_align (WidgetVerticalAlign, optional) – Vertical alignment.
datadog_api_client.v1.model.note_widget_definition_type module¶
- class NoteWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the note widget.
- Parameters:
value (str) – If omitted defaults to “note”. Must be one of [“note”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_absolute_time module¶
- class NotebookAbsoluteTime(*args, **kwargs)¶
Bases:
ModelNormal
Absolute timeframe.
- Parameters:
end (datetime) – The end time.
live (bool, optional) – Indicates whether the timeframe should be shifted to end at the current time.
start (datetime) – The start time.
datadog_api_client.v1.model.notebook_cell_create_request module¶
- class NotebookCellCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook cell create request.
- Parameters:
attributes (NotebookCellCreateRequestAttributes) – The attributes of a notebook cell in create cell request. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.type (NotebookCellResourceType) – Type of the Notebook Cell resource.
- additional_properties_type = None¶
datadog_api_client.v1.model.notebook_cell_create_request_attributes module¶
- class NotebookCellCreateRequestAttributes(*args, **kwargs)¶
Bases:
ModelComposed
The attributes of a notebook cell in create cell request. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.- Parameters:
definition (NotebookMarkdownCellDefinition) – Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_cell_resource_type module¶
- class NotebookCellResourceType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Notebook Cell resource.
- Parameters:
value (str) – If omitted defaults to “notebook_cells”. Must be one of [“notebook_cells”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_cell_response module¶
- class NotebookCellResponse(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook cell response.
- Parameters:
attributes (NotebookCellResponseAttributes) –
The attributes of a notebook cell response. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.id (str) – Notebook cell ID.
type (NotebookCellResourceType) – Type of the Notebook Cell resource.
datadog_api_client.v1.model.notebook_cell_response_attributes module¶
- class NotebookCellResponseAttributes(*args, **kwargs)¶
Bases:
ModelComposed
The attributes of a notebook cell response. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.- Parameters:
definition (NotebookMarkdownCellDefinition) – Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_cell_time module¶
- class NotebookCellTime(*args, **kwargs)¶
Bases:
ModelComposed
Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
- Parameters:
live_span (WidgetLiveSpan) – The available timeframes depend on the widget you are using.
end (datetime) – The end time.
live (bool, optional) – Indicates whether the timeframe should be shifted to end at the current time.
start (datetime) – The start time.
datadog_api_client.v1.model.notebook_cell_update_request module¶
- class NotebookCellUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook cell update request.
- Parameters:
attributes (NotebookCellUpdateRequestAttributes) –
The attributes of a notebook cell in update cell request. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.id (str) – Notebook cell ID.
type (NotebookCellResourceType) – Type of the Notebook Cell resource.
datadog_api_client.v1.model.notebook_cell_update_request_attributes module¶
- class NotebookCellUpdateRequestAttributes(*args, **kwargs)¶
Bases:
ModelComposed
The attributes of a notebook cell in update cell request. Valid cell types are
markdown
,timeseries
,toplist
,heatmap
,distribution
,log_stream
. More information on each graph visualization type.- Parameters:
definition (NotebookMarkdownCellDefinition) – Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_create_data module¶
- class NotebookCreateData(*args, **kwargs)¶
Bases:
ModelNormal
The data for a notebook create request.
- Parameters:
attributes (NotebookCreateDataAttributes) – The data attributes of a notebook.
type (NotebookResourceType) – Type of the Notebook resource.
datadog_api_client.v1.model.notebook_create_data_attributes module¶
- class NotebookCreateDataAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The data attributes of a notebook.
- Parameters:
cells ([NotebookCellCreateRequest]) – List of cells to display in the notebook.
metadata (NotebookMetadata, optional) – Metadata associated with the notebook.
name (str) – The name of the notebook.
status (NotebookStatus, optional) – Publication status of the notebook. For now, always “published”.
time (NotebookGlobalTime) – Notebook global timeframe.
datadog_api_client.v1.model.notebook_create_request module¶
- class NotebookCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook create request.
- Parameters:
data (NotebookCreateData) – The data for a notebook create request.
datadog_api_client.v1.model.notebook_distribution_cell_attributes module¶
- class NotebookDistributionCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
distribution
cell.- Parameters:
definition (DistributionWidgetDefinition) – The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_global_time module¶
- class NotebookGlobalTime(*args, **kwargs)¶
Bases:
ModelComposed
Notebook global timeframe.
- Parameters:
live_span (WidgetLiveSpan) – The available timeframes depend on the widget you are using.
end (datetime) – The end time.
live (bool, optional) – Indicates whether the timeframe should be shifted to end at the current time.
start (datetime) – The start time.
datadog_api_client.v1.model.notebook_graph_size module¶
- class NotebookGraphSize(*args, **kwargs)¶
Bases:
ModelSimple
The size of the graph.
- Parameters:
value (str) – Must be one of [“xs”, “s”, “m”, “l”, “xl”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_heat_map_cell_attributes module¶
- class NotebookHeatMapCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
heatmap
cell.- Parameters:
definition (HeatMapWidgetDefinition) – The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_log_stream_cell_attributes module¶
- class NotebookLogStreamCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
log_stream
cell.- Parameters:
definition (LogStreamWidgetDefinition) – The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
graph_size (NotebookGraphSize, optional) – The size of the graph.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_markdown_cell_attributes module¶
- class NotebookMarkdownCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
markdown
cell.- Parameters:
definition (NotebookMarkdownCellDefinition) – Text in a notebook is formatted with Markdown , which enables the use of headings, subheadings, links, images, lists, and code blocks.
datadog_api_client.v1.model.notebook_markdown_cell_definition module¶
- class NotebookMarkdownCellDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Text in a notebook is formatted with Markdown , which enables the use of headings, subheadings, links, images, lists, and code blocks.
- Parameters:
text (str) – The markdown content.
type (NotebookMarkdownCellDefinitionType) – Type of the markdown cell.
datadog_api_client.v1.model.notebook_markdown_cell_definition_type module¶
- class NotebookMarkdownCellDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the markdown cell.
- Parameters:
value (str) – If omitted defaults to “markdown”. Must be one of [“markdown”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_metadata module¶
- class NotebookMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Metadata associated with the notebook.
- Parameters:
is_template (bool, optional) – Whether or not the notebook is a template.
take_snapshots (bool, optional) – Whether or not the notebook takes snapshot image backups of the notebook’s fixed-time graphs.
type (NotebookMetadataType, none_type, optional) – Metadata type of the notebook.
datadog_api_client.v1.model.notebook_metadata_type module¶
- class NotebookMetadataType(*args, **kwargs)¶
Bases:
ModelSimple
Metadata type of the notebook.
- Parameters:
value (str) – Must be one of [“postmortem”, “runbook”, “investigation”, “documentation”, “report”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_relative_time module¶
- class NotebookRelativeTime(*args, **kwargs)¶
Bases:
ModelNormal
Relative timeframe.
- Parameters:
live_span (WidgetLiveSpan) – The available timeframes depend on the widget you are using.
datadog_api_client.v1.model.notebook_resource_type module¶
- class NotebookResourceType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Notebook resource.
- Parameters:
value (str) – If omitted defaults to “notebooks”. Must be one of [“notebooks”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_response module¶
- class NotebookResponse(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook response.
- Parameters:
data (NotebookResponseData, optional) – The data for a notebook.
datadog_api_client.v1.model.notebook_response_data module¶
- class NotebookResponseData(*args, **kwargs)¶
Bases:
ModelNormal
The data for a notebook.
- Parameters:
attributes (NotebookResponseDataAttributes) – The attributes of a notebook.
id (int) – Unique notebook ID, assigned when you create the notebook.
type (NotebookResourceType) – Type of the Notebook resource.
datadog_api_client.v1.model.notebook_response_data_attributes module¶
- class NotebookResponseDataAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook.
- Parameters:
author (NotebookAuthor, optional) – Attributes of user object returned by the API.
cells ([NotebookCellResponse]) – List of cells to display in the notebook.
created (datetime, optional) – UTC time stamp for when the notebook was created.
metadata (NotebookMetadata, optional) – Metadata associated with the notebook.
modified (datetime, optional) – UTC time stamp for when the notebook was last modified.
name (str) – The name of the notebook.
status (NotebookStatus, optional) – Publication status of the notebook. For now, always “published”.
time (NotebookGlobalTime) – Notebook global timeframe.
datadog_api_client.v1.model.notebook_split_by module¶
- class NotebookSplitBy(*args, **kwargs)¶
Bases:
ModelNormal
Object describing how to split the graph to display multiple visualizations per request.
- Parameters:
keys ([str]) – Keys to split on.
tags ([str]) – Tags to split on.
datadog_api_client.v1.model.notebook_status module¶
- class NotebookStatus(*args, **kwargs)¶
Bases:
ModelSimple
Publication status of the notebook. For now, always “published”.
- Parameters:
value (str) – If omitted defaults to “published”. Must be one of [“published”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notebook_timeseries_cell_attributes module¶
- class NotebookTimeseriesCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
timeseries
cell.- Parameters:
definition (TimeseriesWidgetDefinition) – The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_toplist_cell_attributes module¶
- class NotebookToplistCellAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook
toplist
cell.- Parameters:
definition (ToplistWidgetDefinition) – The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.
graph_size (NotebookGraphSize, optional) – The size of the graph.
split_by (NotebookSplitBy, optional) – Object describing how to split the graph to display multiple visualizations per request.
time (NotebookCellTime, none_type, optional) – Timeframe for the notebook cell. When ‘null’, the notebook global time is used.
datadog_api_client.v1.model.notebook_update_cell module¶
- class NotebookUpdateCell(*args, **kwargs)¶
Bases:
ModelComposed
Updating a notebook can either insert new cell(s) or update existing cell(s) by including the cell
id
. To delete existing cell(s), simply omit it from the list of cells.- Parameters:
attributes (NotebookCellCreateRequestAttributes) – The attributes of a notebook cell in create cell request. Valid cell types are markdown, timeseries, toplist, heatmap, distribution, log_stream. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)
type (NotebookCellResourceType) – Type of the Notebook Cell resource.
id (str) – Notebook cell ID.
datadog_api_client.v1.model.notebook_update_data module¶
- class NotebookUpdateData(*args, **kwargs)¶
Bases:
ModelNormal
The data for a notebook update request.
- Parameters:
attributes (NotebookUpdateDataAttributes) – The data attributes of a notebook.
type (NotebookResourceType) – Type of the Notebook resource.
datadog_api_client.v1.model.notebook_update_data_attributes module¶
- class NotebookUpdateDataAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The data attributes of a notebook.
- Parameters:
cells ([NotebookUpdateCell]) – List of cells to display in the notebook.
metadata (NotebookMetadata, optional) – Metadata associated with the notebook.
name (str) – The name of the notebook.
status (NotebookStatus, optional) – Publication status of the notebook. For now, always “published”.
time (NotebookGlobalTime) – Notebook global timeframe.
datadog_api_client.v1.model.notebook_update_request module¶
- class NotebookUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
The description of a notebook update request.
- Parameters:
data (NotebookUpdateData) – The data for a notebook update request.
datadog_api_client.v1.model.notebooks_response module¶
- class NotebooksResponse(*args, **kwargs)¶
Bases:
ModelNormal
Notebooks get all response.
- Parameters:
data ([NotebooksResponseData], optional) – List of notebook definitions.
meta (NotebooksResponseMeta, optional) – Searches metadata returned by the API.
datadog_api_client.v1.model.notebooks_response_data module¶
- class NotebooksResponseData(*args, **kwargs)¶
Bases:
ModelNormal
The data for a notebook in get all response.
- Parameters:
attributes (NotebooksResponseDataAttributes) – The attributes of a notebook in get all response.
id (int) – Unique notebook ID, assigned when you create the notebook.
type (NotebookResourceType) – Type of the Notebook resource.
datadog_api_client.v1.model.notebooks_response_data_attributes module¶
- class NotebooksResponseDataAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attributes of a notebook in get all response.
- Parameters:
author (NotebookAuthor, optional) – Attributes of user object returned by the API.
cells ([NotebookCellResponse], optional) – List of cells to display in the notebook.
created (datetime, optional) – UTC time stamp for when the notebook was created.
metadata (NotebookMetadata, optional) – Metadata associated with the notebook.
modified (datetime, optional) – UTC time stamp for when the notebook was last modified.
name (str) – The name of the notebook.
status (NotebookStatus, optional) – Publication status of the notebook. For now, always “published”.
time (NotebookGlobalTime, optional) – Notebook global timeframe.
datadog_api_client.v1.model.notebooks_response_meta module¶
- class NotebooksResponseMeta(*args, **kwargs)¶
Bases:
ModelNormal
Searches metadata returned by the API.
- Parameters:
page (NotebooksResponsePage, optional) – Pagination metadata returned by the API.
datadog_api_client.v1.model.notebooks_response_page module¶
- class NotebooksResponsePage(*args, **kwargs)¶
Bases:
ModelNormal
Pagination metadata returned by the API.
- Parameters:
total_count (int, optional) – The total number of notebooks that would be returned if the request was not filtered by
start
andcount
parameters.total_filtered_count (int, optional) – The total number of notebooks returned.
datadog_api_client.v1.model.notify_end_state module¶
- class NotifyEndState(*args, **kwargs)¶
Bases:
ModelSimple
A notification end state.
- Parameters:
value (str) – Must be one of [“alert”, “no data”, “warn”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.notify_end_type module¶
- class NotifyEndType(*args, **kwargs)¶
Bases:
ModelSimple
A notification end type.
- Parameters:
value (str) – Must be one of [“canceled”, “expired”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.on_missing_data_option module¶
- class OnMissingDataOption(*args, **kwargs)¶
Bases:
ModelSimple
- Controls how groups or monitors are treated if an evaluation does not return any data points.
The default option results in different behavior depending on the monitor query type. For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
- Parameters:
value (str) – Must be one of [“default”, “show_no_data”, “show_and_notify_no_data”, “resolve”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.org_downgraded_response module¶
- class OrgDowngradedResponse(*args, **kwargs)¶
Bases:
ModelNormal
Status of downgrade
- Parameters:
message (str, optional) – Information pertaining to the downgraded child organization.
datadog_api_client.v1.model.organization module¶
- class Organization(*args, **kwargs)¶
Bases:
ModelNormal
Create, edit, and manage organizations.
- Parameters:
billing (OrganizationBilling, optional) – A JSON array of billing type. Deprecated.
created (str, optional) – Date of the organization creation.
description (str, optional) – Description of the organization.
name (str, optional) – The name of the child organization, limited to 32 characters.
public_id (str, optional) – The
public_id
of the organization you are operating within.settings (OrganizationSettings, optional) – A JSON array of settings.
subscription (OrganizationSubscription, optional) – Subscription definition. Deprecated.
trial (bool, optional) – Only available for MSP customers. Allows child organizations to be created on a trial plan.
datadog_api_client.v1.model.organization_billing module¶
- class OrganizationBilling(*args, **kwargs)¶
Bases:
ModelNormal
A JSON array of billing type.
- Parameters:
type (str, optional) – The type of billing. Only
parent_billing
is supported.
datadog_api_client.v1.model.organization_create_body module¶
- class OrganizationCreateBody(*args, **kwargs)¶
Bases:
ModelNormal
Object describing an organization to create.
- Parameters:
billing (OrganizationBilling, optional) – A JSON array of billing type. Deprecated.
name (str) – The name of the new child-organization, limited to 32 characters.
subscription (OrganizationSubscription, optional) – Subscription definition. Deprecated.
datadog_api_client.v1.model.organization_create_response module¶
- class OrganizationCreateResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response object for an organization creation.
- Parameters:
api_key (ApiKey, optional) – Datadog API key.
application_key (ApplicationKey, optional) – An application key with its associated metadata.
org (Organization, optional) – Create, edit, and manage organizations.
user (User, optional) – Create, edit, and disable users.
datadog_api_client.v1.model.organization_list_response module¶
- class OrganizationListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response with the list of organizations.
- Parameters:
orgs ([Organization], optional) – Array of organization objects.
datadog_api_client.v1.model.organization_response module¶
- class OrganizationResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response with an organization.
- Parameters:
org (Organization, optional) – Create, edit, and manage organizations.
datadog_api_client.v1.model.organization_settings module¶
- class OrganizationSettings(*args, **kwargs)¶
Bases:
ModelNormal
A JSON array of settings.
- Parameters:
private_widget_share (bool, optional) – Whether or not the organization users can share widgets outside of Datadog.
saml (OrganizationSettingsSaml, optional) – Set the boolean property enabled to enable or disable single sign on with SAML. See the SAML documentation for more information about all SAML settings.
saml_autocreate_access_role (AccessRole, none_type, optional) – The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user).
saml_autocreate_users_domains (OrganizationSettingsSamlAutocreateUsersDomains, optional) – Has two properties,
enabled
(boolean) anddomains
, which is a list of domains without the @ symbol.saml_can_be_enabled (bool, optional) – Whether or not SAML can be enabled for this organization.
saml_idp_endpoint (str, optional) – Identity provider endpoint for SAML authentication.
saml_idp_initiated_login (OrganizationSettingsSamlIdpInitiatedLogin, optional) – Has one property enabled (boolean).
saml_idp_metadata_uploaded (bool, optional) – Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
saml_login_url (str, optional) – URL for SAML logging.
saml_strict_mode (OrganizationSettingsSamlStrictMode, optional) – Has one property enabled (boolean).
datadog_api_client.v1.model.organization_settings_saml module¶
- class OrganizationSettingsSaml(*args, **kwargs)¶
Bases:
ModelNormal
Set the boolean property enabled to enable or disable single sign on with SAML. See the SAML documentation for more information about all SAML settings.
- Parameters:
enabled (bool, optional) – Whether or not SAML is enabled for this organization.
datadog_api_client.v1.model.organization_settings_saml_autocreate_users_domains module¶
- class OrganizationSettingsSamlAutocreateUsersDomains(*args, **kwargs)¶
Bases:
ModelNormal
Has two properties,
enabled
(boolean) anddomains
, which is a list of domains without the @ symbol.- Parameters:
domains ([str], optional) – List of domains where the SAML automated user creation is enabled.
enabled (bool, optional) – Whether or not the automated user creation based on SAML domain is enabled.
datadog_api_client.v1.model.organization_settings_saml_idp_initiated_login module¶
- class OrganizationSettingsSamlIdpInitiatedLogin(*args, **kwargs)¶
Bases:
ModelNormal
Has one property enabled (boolean).
- Parameters:
enabled (bool, optional) – Whether SAML IdP initiated login is enabled, learn more in the SAML documentation.
datadog_api_client.v1.model.organization_settings_saml_strict_mode module¶
- class OrganizationSettingsSamlStrictMode(*args, **kwargs)¶
Bases:
ModelNormal
Has one property enabled (boolean).
- Parameters:
enabled (bool, optional) – Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Learn more on the SAML Strict documentation.
datadog_api_client.v1.model.organization_subscription module¶
- class OrganizationSubscription(*args, **kwargs)¶
Bases:
ModelNormal
Subscription definition.
- Parameters:
type (str, optional) – The subscription type. Types available are
trial
,free
, andpro
.
datadog_api_client.v1.model.pager_duty_service module¶
- class PagerDutyService(*args, **kwargs)¶
Bases:
ModelNormal
The PagerDuty service that is available for integration with Datadog.
- Parameters:
service_key (str) – Your service key in PagerDuty.
service_name (str) – Your service name associated with a service key in PagerDuty.
datadog_api_client.v1.model.pager_duty_service_key module¶
- class PagerDutyServiceKey(*args, **kwargs)¶
Bases:
ModelNormal
PagerDuty service object key.
- Parameters:
service_key (str) – Your service key in PagerDuty.
datadog_api_client.v1.model.pager_duty_service_name module¶
- class PagerDutyServiceName(*args, **kwargs)¶
Bases:
ModelNormal
PagerDuty service object name.
- Parameters:
service_name (str) – Your service name associated service key in PagerDuty.
datadog_api_client.v1.model.pagination module¶
- class Pagination(*args, **kwargs)¶
Bases:
ModelNormal
Pagination object.
- Parameters:
total_count (int, optional) – Total count.
total_filtered_count (int, optional) – Total count of elements matched by the filter.
datadog_api_client.v1.model.point module¶
- class Point(*args, **kwargs)¶
Bases:
ModelSimple
Array of timeseries points.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.powerpack_template_variable_contents module¶
- class PowerpackTemplateVariableContents(*args, **kwargs)¶
Bases:
ModelNormal
Powerpack template variable contents.
- Parameters:
name (str) – The name of the variable.
prefix (str, optional) – The tag prefix associated with the variable.
values ([str]) – One or many template variable values within the saved view, which will be unioned together using
OR
if more than one is specified.
datadog_api_client.v1.model.powerpack_template_variables module¶
- class PowerpackTemplateVariables(*args, **kwargs)¶
Bases:
ModelNormal
Powerpack template variables.
- Parameters:
controlled_by_powerpack ([PowerpackTemplateVariableContents], optional) – Template variables controlled at the powerpack level.
controlled_externally ([PowerpackTemplateVariableContents], optional) – Template variables controlled by the external resource, such as the dashboard this powerpack is on.
datadog_api_client.v1.model.powerpack_widget_definition module¶
- class PowerpackWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The powerpack widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
- Parameters:
background_color (str, optional) – Background color of the powerpack title.
banner_img (str, optional) – URL of image to display as a banner for the powerpack.
powerpack_id (str) – UUID of the associated powerpack.
show_title (bool, optional) – Whether to show the title or not.
template_variables (PowerpackTemplateVariables, optional) – Powerpack template variables.
title (str, optional) – Title of the widget.
type (PowerpackWidgetDefinitionType) – Type of the powerpack widget.
datadog_api_client.v1.model.powerpack_widget_definition_type module¶
- class PowerpackWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the powerpack widget.
- Parameters:
value (str) – If omitted defaults to “powerpack”. Must be one of [“powerpack”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.process_query_definition module¶
- class ProcessQueryDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The process query to use in the widget.
- Parameters:
filter_by ([str], optional) – List of processes.
limit (int, optional) – Max number of items in the filter list.
metric (str) – Your chosen metric.
search_by (str, optional) – Your chosen search term.
datadog_api_client.v1.model.query_sort_order module¶
- class QuerySortOrder(*args, **kwargs)¶
Bases:
ModelSimple
Direction of sort.
- Parameters:
value (str) – If omitted defaults to “desc”. Must be one of [“asc”, “desc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.query_value_widget_definition module¶
- class QueryValueWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Query values display the current value of a given metric, APM, or log query.
- Parameters:
autoscale (bool, optional) – Whether to use auto-scaling or not.
custom_links ([WidgetCustomLink], optional) – List of custom links.
custom_unit (str, optional) – Display a unit of your choice on the widget.
precision (int, optional) – Number of decimals to show. If not defined, the widget uses the raw value.
requests ([QueryValueWidgetRequest]) – Widget definition.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
time (WidgetTime, optional) – Time setting for the widget.
timeseries_background (TimeseriesBackground, optional) – Set a timeseries on the widget background.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (QueryValueWidgetDefinitionType) – Type of the query value widget.
datadog_api_client.v1.model.query_value_widget_definition_type module¶
- class QueryValueWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the query value widget.
- Parameters:
value (str) – If omitted defaults to “query_value”. Must be one of [“query_value”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.query_value_widget_request module¶
- class QueryValueWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated query value widget.
- Parameters:
aggregator (WidgetAggregator, optional) – Aggregator used for the request.
apm_query (LogQueryDefinition, optional) – The log query.
audit_query (LogQueryDefinition, optional) – The log query.
conditional_formats ([WidgetConditionalFormat], optional) – List of conditional formats.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – TODO.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
datadog_api_client.v1.model.reference_table_logs_lookup_processor module¶
- class ReferenceTableLogsLookupProcessor(*args, **kwargs)¶
Bases:
ModelNormal
Note : Reference Tables are in public beta. Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in a Reference Table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.
- Parameters:
is_enabled (bool, optional) – Whether or not the processor is enabled.
lookup_enrichment_table (str) – Name of the Reference Table for the source attribute and their associated target attribute values.
name (str, optional) – Name of the processor.
source (str) – Source attribute used to perform the lookup.
target (str) – Name of the attribute that contains the corresponding value in the mapping list.
type (LogsLookupProcessorType) – Type of logs lookup processor.
datadog_api_client.v1.model.response_meta_attributes module¶
- class ResponseMetaAttributes(*args, **kwargs)¶
Bases:
ModelNormal
Object describing meta attributes of response.
- Parameters:
page (Pagination, optional) – Pagination object.
datadog_api_client.v1.model.run_workflow_widget_definition module¶
- class RunWorkflowWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Run workflow is widget that allows you to run a workflow from a dashboard.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
inputs ([RunWorkflowWidgetInput], optional) – Array of workflow inputs to map to dashboard template variables.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (RunWorkflowWidgetDefinitionType) – Type of the run workflow widget.
workflow_id (str) – Workflow id.
datadog_api_client.v1.model.run_workflow_widget_definition_type module¶
- class RunWorkflowWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the run workflow widget.
- Parameters:
value (str) – If omitted defaults to “run_workflow”. Must be one of [“run_workflow”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.run_workflow_widget_input module¶
- class RunWorkflowWidgetInput(*args, **kwargs)¶
Bases:
ModelNormal
Object to map a dashboard template variable to a workflow input.
- Parameters:
name (str) – Name of the workflow input.
value (str) – Dashboard template variable. Can be suffixed with ‘.value’ or ‘.key’.
datadog_api_client.v1.model.scatter_plot_request module¶
- class ScatterPlotRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated scatter plot.
- Parameters:
aggregator (ScatterplotWidgetAggregator, optional) – Aggregator used for the request.
apm_query (LogQueryDefinition, optional) – The log query.
event_query (LogQueryDefinition, optional) – The log query.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Query definition.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
datadog_api_client.v1.model.scatter_plot_widget_definition module¶
- class ScatterPlotWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation.
- Parameters:
color_by_groups ([str], optional) – List of groups used for colors.
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests (ScatterPlotWidgetDefinitionRequests) – Widget definition.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ScatterPlotWidgetDefinitionType) – Type of the scatter plot widget.
xaxis (WidgetAxis, optional) – Axis controls for the widget.
yaxis (WidgetAxis, optional) – Axis controls for the widget.
datadog_api_client.v1.model.scatter_plot_widget_definition_requests module¶
- class ScatterPlotWidgetDefinitionRequests(*args, **kwargs)¶
Bases:
ModelNormal
Widget definition.
- Parameters:
table (ScatterplotTableRequest, optional) – Scatterplot request containing formulas and functions.
x (ScatterPlotRequest, optional) – Updated scatter plot.
y (ScatterPlotRequest, optional) – Updated scatter plot.
datadog_api_client.v1.model.scatter_plot_widget_definition_type module¶
- class ScatterPlotWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the scatter plot widget.
- Parameters:
value (str) – If omitted defaults to “scatterplot”. Must be one of [“scatterplot”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.scatterplot_dimension module¶
- class ScatterplotDimension(*args, **kwargs)¶
Bases:
ModelSimple
Dimension of the Scatterplot.
- Parameters:
value (str) – Must be one of [“x”, “y”, “radius”, “color”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.scatterplot_table_request module¶
- class ScatterplotTableRequest(*args, **kwargs)¶
Bases:
ModelNormal
Scatterplot request containing formulas and functions.
- Parameters:
formulas ([ScatterplotWidgetFormula], optional) – List of Scatterplot formulas that operate on queries.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
datadog_api_client.v1.model.scatterplot_widget_aggregator module¶
- class ScatterplotWidgetAggregator(*args, **kwargs)¶
Bases:
ModelSimple
Aggregator used for the request.
- Parameters:
value (str) – Must be one of [“avg”, “last”, “max”, “min”, “sum”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.scatterplot_widget_formula module¶
- class ScatterplotWidgetFormula(*args, **kwargs)¶
Bases:
ModelNormal
Formula to be used in a Scatterplot widget query.
- Parameters:
alias (str, optional) – Expression alias.
dimension (ScatterplotDimension) – Dimension of the Scatterplot.
formula (str) – String expression built from queries, formulas, and functions.
datadog_api_client.v1.model.search_service_level_objective module¶
- class SearchServiceLevelObjective(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective data container.
- Parameters:
data (SearchServiceLevelObjectiveData, optional) – A service level objective ID and attributes.
datadog_api_client.v1.model.search_service_level_objective_attributes module¶
- class SearchServiceLevelObjectiveAttributes(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
, andtags
).- Parameters:
all_tags ([str], optional) – A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty).
created_at (int, optional) –
Creation timestamp (UNIX time in seconds)
Always included in service level objective responses.
creator (SLOCreator, none_type, optional) – The creator of the SLO
description (str, none_type, optional) –
A user-defined description of the service level objective.
Always included in service level objective responses (but may be
null
). Optional in create/update requests.env_tags ([str], optional) – Tags with the
env
tag key.groups ([str], none_type, optional) – A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective. Included in service level objective responses if it is not empty.
modified_at (int, optional) –
Modification timestamp (UNIX time in seconds)
Always included in service level objective responses.
monitor_ids ([int], none_type, optional) – A list of monitor ids that defines the scope of a monitor service level objective.
name (str, optional) – The name of the service level objective object.
overall_status ([SLOOverallStatuses], optional) – calculated status and error budget remaining.
query (SearchSLOQuery, none_type, optional) – A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
service_tags ([str], optional) – Tags with the
service
tag key.slo_type (SLOType, optional) – The type of the service level objective.
status (SLOStatus, optional) – Status of the SLO’s primary timeframe.
team_tags ([str], optional) – Tags with the
team
tag key.thresholds ([SearchSLOThreshold], optional) – The thresholds (timeframes and associated targets) for this service level objective object.
datadog_api_client.v1.model.search_service_level_objective_data module¶
- class SearchServiceLevelObjectiveData(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective ID and attributes.
- Parameters:
attributes (SearchServiceLevelObjectiveAttributes, optional) – A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
, andtags
).id (str, optional) –
A unique identifier for the service level objective object.
Always included in service level objective responses.
type (str, optional) – The type of the object, must be
slo
.
datadog_api_client.v1.model.search_slo_query module¶
- class SearchSLOQuery(*args, **kwargs)¶
Bases:
ModelNormal
A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
- Parameters:
denominator (str, optional) – A Datadog metric query for total (valid) events.
metrics ([str], none_type, optional) – Metric names used in the query’s numerator and denominator. This field will return null and will be implemented in the next version of this endpoint.
numerator (str, optional) – A Datadog metric query for good events.
datadog_api_client.v1.model.search_slo_response module¶
- class SearchSLOResponse(*args, **kwargs)¶
Bases:
ModelNormal
A search SLO response containing results from the search query.
- Parameters:
data (SearchSLOResponseData, optional) – Data from search SLO response.
links (SearchSLOResponseLinks, optional) – Pagination links.
meta (SearchSLOResponseMeta, optional) – Searches metadata returned by the API.
datadog_api_client.v1.model.search_slo_response_data module¶
- class SearchSLOResponseData(*args, **kwargs)¶
Bases:
ModelNormal
Data from search SLO response.
- Parameters:
attributes (SearchSLOResponseDataAttributes, optional) – Attributes
type (str, optional) – Type of service level objective result.
datadog_api_client.v1.model.search_slo_response_data_attributes module¶
- class SearchSLOResponseDataAttributes(*args, **kwargs)¶
Bases:
ModelNormal
Attributes
- Parameters:
facets (SearchSLOResponseDataAttributesFacets, optional) – Facets
slos ([SearchServiceLevelObjective], optional) – SLOs
datadog_api_client.v1.model.search_slo_response_data_attributes_facets module¶
- class SearchSLOResponseDataAttributesFacets(*args, **kwargs)¶
Bases:
ModelNormal
Facets
- Parameters:
all_tags ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – All tags associated with an SLO.
creator_name ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – Creator of an SLO.
env_tags ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – Tags with the
env
tag key.service_tags ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – Tags with the
service
tag key.slo_type ([SearchSLOResponseDataAttributesFacetsObjectInt], optional) – Type of SLO.
target ([SearchSLOResponseDataAttributesFacetsObjectInt], optional) – SLO Target
team_tags ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – Tags with the
team
tag key.timeframe ([SearchSLOResponseDataAttributesFacetsObjectString], optional) – Timeframes of SLOs.
datadog_api_client.v1.model.search_slo_response_data_attributes_facets_object_int module¶
- class SearchSLOResponseDataAttributesFacetsObjectInt(*args, **kwargs)¶
Bases:
ModelNormal
Facet
- Parameters:
count (int, optional) – Count
name (float, optional) – Facet
datadog_api_client.v1.model.search_slo_response_data_attributes_facets_object_string module¶
- class SearchSLOResponseDataAttributesFacetsObjectString(*args, **kwargs)¶
Bases:
ModelNormal
Facet
- Parameters:
count (int, optional) – Count
name (str, optional) – Facet
datadog_api_client.v1.model.search_slo_response_links module¶
- class SearchSLOResponseLinks(*args, **kwargs)¶
Bases:
ModelNormal
Pagination links.
- Parameters:
first (str, optional) – Link to last page.
last (str, none_type, optional) – Link to first page.
next (str, optional) – Link to the next page.
prev (str, none_type, optional) – Link to previous page.
self (str, optional) – Link to current page.
datadog_api_client.v1.model.search_slo_response_meta module¶
- class SearchSLOResponseMeta(*args, **kwargs)¶
Bases:
ModelNormal
Searches metadata returned by the API.
- Parameters:
pagination (SearchSLOResponseMetaPage, optional) – Pagination metadata returned by the API.
datadog_api_client.v1.model.search_slo_response_meta_page module¶
- class SearchSLOResponseMetaPage(*args, **kwargs)¶
Bases:
ModelNormal
Pagination metadata returned by the API.
- Parameters:
first_number (int, optional) – The first number.
last_number (int, optional) – The last number.
next_number (int, optional) – The next number.
number (int, optional) – The page number.
prev_number (int, optional) – The previous page number.
size (int, optional) – The size of the response.
total (int, optional) – The total number of SLOs in the response.
type (str, optional) – Type of pagination.
datadog_api_client.v1.model.search_slo_threshold module¶
- class SearchSLOThreshold(*args, **kwargs)¶
Bases:
ModelNormal
SLO thresholds (target and optionally warning) for a single time window.
- Parameters:
target (float) – The target value for the service level indicator within the corresponding timeframe.
target_display (str, optional) –
A string representation of the target that indicates its precision. It uses trailing zeros to show significant decimal places (for example
98.00
).Always included in service level objective responses. Ignored in create/update requests.
timeframe (SearchSLOTimeframe) – The SLO time window options.
warning (float, none_type, optional) – The warning value for the service level objective.
warning_display (str, none_type, optional) –
A string representation of the warning target (see the description of the
target_display
field for details).Included in service level objective responses if a warning target exists. Ignored in create/update requests.
datadog_api_client.v1.model.search_slo_timeframe module¶
- class SearchSLOTimeframe(*args, **kwargs)¶
Bases:
ModelSimple
The SLO time window options.
- Parameters:
value (str) – Must be one of [“7d”, “30d”, “90d”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.selectable_template_variable_items module¶
- class SelectableTemplateVariableItems(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the template variable’s name, associated tag/attribute, default value and selectable values.
- Parameters:
default_value (str, optional) – The default value of the template variable.
name (str, optional) – Name of the template variable.
prefix (str, optional) – The tag/attribute key associated with the template variable.
visible_tags ([str], none_type, optional) – List of visible tag values on the shared dashboard.
datadog_api_client.v1.model.series module¶
- class Series(*args, **kwargs)¶
Bases:
ModelNormal
A metric to submit to Datadog. See Datadog metrics.
- Parameters:
host (str, optional) – The name of the host that produced the metric.
interval (int, none_type, optional) – If the type of the metric is rate or count, define the corresponding interval in seconds.
metric (str) – The name of the timeseries.
points ([Point]) – Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
tags ([str], optional) – A list of tags associated with the metric.
type (str, optional) – The type of the metric. Valid types are “”,
count
,gauge
, andrate
.
datadog_api_client.v1.model.service_check module¶
- class ServiceCheck(*args, **kwargs)¶
Bases:
ModelNormal
An object containing service check and status.
- Parameters:
check (str) – The check.
host_name (str) – The host name correlated with the check.
message (str, optional) – Message containing check status.
status (ServiceCheckStatus) – The status of a service check. Set to
0
for OK,1
for warning,2
for critical, and3
for unknown.tags ([str]) – Tags related to a check.
timestamp (int, optional) – Time of check.
datadog_api_client.v1.model.service_check_status module¶
- class ServiceCheckStatus(*args, **kwargs)¶
Bases:
ModelSimple
The status of a service check. Set to 0 for OK, 1 for warning, 2 for critical, and 3 for unknown.
- Parameters:
value (int) – Must be one of [0, 1, 2, 3].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.service_checks module¶
- class ServiceChecks(*args, **kwargs)¶
Bases:
ModelSimple
The service checks.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.service_level_objective module¶
- class ServiceLevelObjective(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
,tags
, etc.).- Parameters:
created_at (int, optional) –
Creation timestamp (UNIX time in seconds)
Always included in service level objective responses.
creator (Creator, optional) – Object describing the creator of the shared element.
description (str, none_type, optional) –
A user-defined description of the service level objective.
Always included in service level objective responses (but may be
null
). Optional in create/update requests.groups ([str], optional) –
A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.
Included in service level objective responses if it is not empty. Optional in create/update requests for monitor service level objectives, but may only be used when then length of the
monitor_ids
field is one.id (str, optional) –
A unique identifier for the service level objective object.
Always included in service level objective responses.
modified_at (int, optional) –
Modification timestamp (UNIX time in seconds)
Always included in service level objective responses.
monitor_ids ([int], optional) – A list of monitor ids that defines the scope of a monitor service level objective. Required if type is monitor.
monitor_tags ([str], optional) – The union of monitor tags for all monitors referenced by the
monitor_ids
field. Always included in service level objective responses for monitor-based service level objectives (but may be empty). Ignored in create/update requests. Does not affect which monitors are included in the service level objective (that is determined entirely by themonitor_ids
field).name (str) – The name of the service level objective object.
query (ServiceLevelObjectiveQuery, optional) – A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
sli_specification (SLOSliSpec, optional) – A generic SLI specification. This is currently used for time-slice SLOs only.
tags ([str], optional) – A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty). Optional in create/update requests.
target_threshold (float, optional) – The target threshold such that when the service level indicator is above this threshold over the given timeframe, the objective is being met.
thresholds ([SLOThreshold]) – The thresholds (timeframes and associated targets) for this service level objective object.
timeframe (SLOTimeframe, optional) – The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
type (SLOType) – The type of the service level objective.
warning_threshold (float, optional) – The optional warning threshold such that when the service level indicator is below this value for the given threshold, but above the target threshold, the objective appears in a “warning” state. This value must be greater than the target threshold.
datadog_api_client.v1.model.service_level_objective_query module¶
- class ServiceLevelObjectiveQuery(*args, **kwargs)¶
Bases:
ModelNormal
A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
- Parameters:
denominator (str) – A Datadog metric query for total (valid) events.
numerator (str) – A Datadog metric query for good events.
datadog_api_client.v1.model.service_level_objective_request module¶
- class ServiceLevelObjectiveRequest(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
,tags
, etc.).- Parameters:
description (str, none_type, optional) –
A user-defined description of the service level objective.
Always included in service level objective responses (but may be
null
). Optional in create/update requests.groups ([str], optional) –
A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.
Included in service level objective responses if it is not empty. Optional in create/update requests for monitor service level objectives, but may only be used when then length of the
monitor_ids
field is one.monitor_ids ([int], optional) – A list of monitor IDs that defines the scope of a monitor service level objective. Required if type is monitor.
name (str) – The name of the service level objective object.
query (ServiceLevelObjectiveQuery, optional) – A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
sli_specification (SLOSliSpec, optional) – A generic SLI specification. This is currently used for time-slice SLOs only.
tags ([str], optional) – A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty). Optional in create/update requests.
target_threshold (float, optional) – The target threshold such that when the service level indicator is above this threshold over the given timeframe, the objective is being met.
thresholds ([SLOThreshold]) – The thresholds (timeframes and associated targets) for this service level objective object.
timeframe (SLOTimeframe, optional) – The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
type (SLOType) – The type of the service level objective.
warning_threshold (float, optional) – The optional warning threshold such that when the service level indicator is below this value for the given threshold, but above the target threshold, the objective appears in a “warning” state. This value must be greater than the target threshold.
datadog_api_client.v1.model.service_map_widget_definition module¶
- class ServiceMapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
This widget displays a map of a service to all of the services that call it, and all of the services that it calls.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
filters ([str]) – Your environment and primary tag (or * if enabled for your account).
service (str) – The ID of the service you want to map.
title (str, optional) – The title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ServiceMapWidgetDefinitionType) – Type of the service map widget.
datadog_api_client.v1.model.service_map_widget_definition_type module¶
- class ServiceMapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the service map widget.
- Parameters:
value (str) – If omitted defaults to “servicemap”. Must be one of [“servicemap”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.service_summary_widget_definition module¶
- class ServiceSummaryWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.
- Parameters:
display_format (WidgetServiceSummaryDisplayFormat, optional) – Number of columns to display.
env (str) – APM environment.
service (str) – APM service.
show_breakdown (bool, optional) – Whether to show the latency breakdown or not.
show_distribution (bool, optional) – Whether to show the latency distribution or not.
show_errors (bool, optional) – Whether to show the error metrics or not.
show_hits (bool, optional) – Whether to show the hits metrics or not.
show_latency (bool, optional) – Whether to show the latency metrics or not.
show_resource_list (bool, optional) – Whether to show the resource list or not.
size_format (WidgetSizeFormat, optional) – Size of the widget.
span_name (str) – APM span name.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ServiceSummaryWidgetDefinitionType) – Type of the service summary widget.
datadog_api_client.v1.model.service_summary_widget_definition_type module¶
- class ServiceSummaryWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the service summary widget.
- Parameters:
value (str) – If omitted defaults to “trace_service”. Must be one of [“trace_service”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.signal_archive_reason module¶
- class SignalArchiveReason(*args, **kwargs)¶
Bases:
ModelSimple
Reason why a signal has been archived.
- Parameters:
value (str) – Must be one of [“none”, “false_positive”, “testing_or_maintenance”, “investigated_case_opened”, “other”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.signal_assignee_update_request module¶
- class SignalAssigneeUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Attributes describing an assignee update operation over a security signal.
- Parameters:
assignee (str) – The UUID of the user being assigned. Use empty string to return signal to unassigned.
version (int, optional) – Version of the updated signal. If server side version is higher, update will be rejected.
datadog_api_client.v1.model.signal_state_update_request module¶
- class SignalStateUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Attributes describing the change of state for a given state.
- Parameters:
archive_comment (str, optional) – Optional comment to explain why a signal is being archived.
archive_reason (SignalArchiveReason, optional) – Reason why a signal has been archived.
state (SignalTriageState) – The new triage state of the signal.
version (int, optional) – Version of the updated signal. If server side version is higher, update will be rejected.
datadog_api_client.v1.model.signal_triage_state module¶
- class SignalTriageState(*args, **kwargs)¶
Bases:
ModelSimple
The new triage state of the signal.
- Parameters:
value (str) – Must be one of [“open”, “archived”, “under_review”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slack_integration_channel module¶
- class SlackIntegrationChannel(*args, **kwargs)¶
Bases:
ModelNormal
The Slack channel configuration.
- Parameters:
display (SlackIntegrationChannelDisplay, optional) – Configuration options for what is shown in an alert event message.
name (str, optional) – Your channel name.
datadog_api_client.v1.model.slack_integration_channel_display module¶
- class SlackIntegrationChannelDisplay(*args, **kwargs)¶
Bases:
ModelNormal
Configuration options for what is shown in an alert event message.
- Parameters:
message (bool, optional) – Show the main body of the alert event.
notified (bool, optional) – Show the list of @-handles in the alert event.
snapshot (bool, optional) – Show the alert event’s snapshot image.
tags (bool, optional) – Show the scopes on which the monitor alerted.
datadog_api_client.v1.model.slack_integration_channels module¶
- class SlackIntegrationChannels(*args, **kwargs)¶
Bases:
ModelSimple
A list of configured Slack channels.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_bulk_delete module¶
- class SLOBulkDelete(*args, **kwargs)¶
Bases:
ModelNormal
A map of service level objective object IDs to arrays of timeframes, which indicate the thresholds to delete for each ID.
datadog_api_client.v1.model.slo_bulk_delete_error module¶
- class SLOBulkDeleteError(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the error.
- Parameters:
id (str) – The ID of the service level objective object associated with this error.
message (str) – The error message.
timeframe (SLOErrorTimeframe) – The timeframe of the threshold associated with this error or “all” if all thresholds are affected.
datadog_api_client.v1.model.slo_bulk_delete_response module¶
- class SLOBulkDeleteResponse(*args, **kwargs)¶
Bases:
ModelNormal
The bulk partial delete service level objective object endpoint response.
This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the “data” and “error” fields in this response indicate which deletions succeeded and failed.
- Parameters:
data (SLOBulkDeleteResponseData, optional) – An array of service level objective objects.
errors ([SLOBulkDeleteError], optional) – Array of errors object returned.
datadog_api_client.v1.model.slo_bulk_delete_response_data module¶
- class SLOBulkDeleteResponseData(*args, **kwargs)¶
Bases:
ModelNormal
An array of service level objective objects.
- Parameters:
deleted ([str], optional) – An array of service level objective object IDs that indicates which objects that were completely deleted.
updated ([str], optional) – An array of service level objective object IDs that indicates which objects that were modified (objects for which at least one threshold was deleted, but that were not completely deleted).
datadog_api_client.v1.model.slo_correction module¶
- class SLOCorrection(*args, **kwargs)¶
Bases:
ModelNormal
The response object of a list of SLO corrections.
- Parameters:
attributes (SLOCorrectionResponseAttributes, optional) – The attribute object associated with the SLO correction.
id (str, optional) – The ID of the SLO correction.
type (SLOCorrectionType, optional) – SLO correction resource type.
datadog_api_client.v1.model.slo_correction_category module¶
- class SLOCorrectionCategory(*args, **kwargs)¶
Bases:
ModelSimple
Category the SLO correction belongs to.
- Parameters:
value (str) – Must be one of [“Scheduled Maintenance”, “Outside Business Hours”, “Deployment”, “Other”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_correction_create_data module¶
- class SLOCorrectionCreateData(*args, **kwargs)¶
Bases:
ModelNormal
The data object associated with the SLO correction to be created.
- Parameters:
attributes (SLOCorrectionCreateRequestAttributes, optional) – The attribute object associated with the SLO correction to be created.
type (SLOCorrectionType) – SLO correction resource type.
datadog_api_client.v1.model.slo_correction_create_request module¶
- class SLOCorrectionCreateRequest(*args, **kwargs)¶
Bases:
ModelNormal
An object that defines a correction to be applied to an SLO.
- Parameters:
data (SLOCorrectionCreateData, optional) – The data object associated with the SLO correction to be created.
datadog_api_client.v1.model.slo_correction_create_request_attributes module¶
- class SLOCorrectionCreateRequestAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attribute object associated with the SLO correction to be created.
- Parameters:
category (SLOCorrectionCategory) – Category the SLO correction belongs to.
description (str, optional) – Description of the correction being made.
duration (int, optional) – Length of time (in seconds) for a specified
rrule
recurring SLO correction.end (int, optional) – Ending time of the correction in epoch seconds.
rrule (str, optional) – The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections are
FREQ
,INTERVAL
,COUNT
,UNTIL
andBYDAY
.slo_id (str) – ID of the SLO that this correction applies to.
start (int) – Starting time of the correction in epoch seconds.
timezone (str, optional) – The timezone to display in the UI for the correction times (defaults to “UTC”).
datadog_api_client.v1.model.slo_correction_list_response module¶
- class SLOCorrectionListResponse(*args, **kwargs)¶
Bases:
ModelNormal
A list of SLO correction objects.
- Parameters:
data ([SLOCorrection], optional) – The list of of SLO corrections objects.
meta (ResponseMetaAttributes, optional) – Object describing meta attributes of response.
datadog_api_client.v1.model.slo_correction_response module¶
- class SLOCorrectionResponse(*args, **kwargs)¶
Bases:
ModelNormal
The response object of an SLO correction.
- Parameters:
data (SLOCorrection, optional) – The response object of a list of SLO corrections.
datadog_api_client.v1.model.slo_correction_response_attributes module¶
- class SLOCorrectionResponseAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attribute object associated with the SLO correction.
- Parameters:
category (SLOCorrectionCategory, optional) – Category the SLO correction belongs to.
created_at (int, none_type, optional) – The epoch timestamp of when the correction was created at.
creator (Creator, optional) – Object describing the creator of the shared element.
description (str, optional) – Description of the correction being made.
duration (int, none_type, optional) – Length of time (in seconds) for a specified
rrule
recurring SLO correction.end (int, none_type, optional) – Ending time of the correction in epoch seconds.
modified_at (int, none_type, optional) – The epoch timestamp of when the correction was modified at.
modifier (SLOCorrectionResponseAttributesModifier, none_type, optional) – Modifier of the object.
rrule (str, none_type, optional) – The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections are
FREQ
,INTERVAL
,COUNT
,UNTIL
andBYDAY
.slo_id (str, optional) – ID of the SLO that this correction applies to.
start (int, optional) – Starting time of the correction in epoch seconds.
timezone (str, optional) – The timezone to display in the UI for the correction times (defaults to “UTC”).
datadog_api_client.v1.model.slo_correction_response_attributes_modifier module¶
- class SLOCorrectionResponseAttributesModifier(*args, **kwargs)¶
Bases:
ModelNormal
Modifier of the object.
- Parameters:
email (str, optional) – Email of the Modifier.
handle (str, optional) – Handle of the Modifier.
name (str, optional) – Name of the Modifier.
datadog_api_client.v1.model.slo_correction_type module¶
- class SLOCorrectionType(*args, **kwargs)¶
Bases:
ModelSimple
SLO correction resource type.
- Parameters:
value (str) – If omitted defaults to “correction”. Must be one of [“correction”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_correction_update_data module¶
- class SLOCorrectionUpdateData(*args, **kwargs)¶
Bases:
ModelNormal
The data object associated with the SLO correction to be updated.
- Parameters:
attributes (SLOCorrectionUpdateRequestAttributes, optional) – The attribute object associated with the SLO correction to be updated.
type (SLOCorrectionType, optional) – SLO correction resource type.
datadog_api_client.v1.model.slo_correction_update_request module¶
- class SLOCorrectionUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
An object that defines a correction to be applied to an SLO.
- Parameters:
data (SLOCorrectionUpdateData, optional) – The data object associated with the SLO correction to be updated.
datadog_api_client.v1.model.slo_correction_update_request_attributes module¶
- class SLOCorrectionUpdateRequestAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The attribute object associated with the SLO correction to be updated.
- Parameters:
category (SLOCorrectionCategory, optional) – Category the SLO correction belongs to.
description (str, optional) – Description of the correction being made.
duration (int, optional) – Length of time (in seconds) for a specified
rrule
recurring SLO correction.end (int, optional) – Ending time of the correction in epoch seconds.
rrule (str, optional) – The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections are
FREQ
,INTERVAL
,COUNT
,UNTIL
andBYDAY
.start (int, optional) – Starting time of the correction in epoch seconds.
timezone (str, optional) – The timezone to display in the UI for the correction times (defaults to “UTC”).
datadog_api_client.v1.model.slo_creator module¶
- class SLOCreator(*args, **kwargs)¶
Bases:
ModelNormal
The creator of the SLO
- Parameters:
email (str, optional) – Email of the creator.
id (int, optional) – User ID of the creator.
name (str, none_type, optional) – Name of the creator.
datadog_api_client.v1.model.slo_data_source_query_definition module¶
- class SLODataSourceQueryDefinition(*args, **kwargs)¶
Bases:
ModelComposed
A formula and function query.
- Parameters:
aggregator (FormulaAndFunctionMetricAggregation, optional) – The aggregation methods available for metrics queries.
cross_org_uuids ([str], optional) – The source organization UUID for cross organization queries. Feature in Private Beta.
data_source (FormulaAndFunctionMetricDataSource) – Data source for metrics queries.
name (str) – Name of the query for use in formulas.
query (str) – Metrics query definition.
datadog_api_client.v1.model.slo_delete_response module¶
- class SLODeleteResponse(*args, **kwargs)¶
Bases:
ModelNormal
A response list of all service level objective deleted.
- Parameters:
data ([str], optional) – An array containing the ID of the deleted service level objective object.
errors ({str: (str,)}, optional) – An dictionary containing the ID of the SLO as key and a deletion error as value.
datadog_api_client.v1.model.slo_error_budget_remaining_data module¶
- class SLOErrorBudgetRemainingData(*args, **kwargs)¶
Bases:
ModelNormal
A mapping of threshold
timeframe
to the remaining error budget.
datadog_api_client.v1.model.slo_error_timeframe module¶
- class SLOErrorTimeframe(*args, **kwargs)¶
Bases:
ModelSimple
- The timeframe of the threshold associated with this error
or “all” if all thresholds are affected.
- Parameters:
value (str) – Must be one of [“7d”, “30d”, “90d”, “all”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_formula module¶
- class SLOFormula(*args, **kwargs)¶
Bases:
ModelNormal
A formula that specifies how to combine the results of multiple queries.
- Parameters:
formula (str) – The formula string, which is an expression involving named queries.
datadog_api_client.v1.model.slo_history_metrics module¶
- class SLOHistoryMetrics(*args, **kwargs)¶
Bases:
ModelNormal
A
metric
based SLO history response.This is not included in responses for
monitor
based SLOs.- Parameters:
denominator (SLOHistoryMetricsSeries) – A representation of
metric
based SLO timeseries for the provided queries. This is the same response type frombatch_query
endpoint.interval (int) – The aggregated query interval for the series data. It’s implicit based on the query time window.
message (str, optional) – Optional message if there are specific query issues/warnings.
numerator (SLOHistoryMetricsSeries) – A representation of
metric
based SLO timeseries for the provided queries. This is the same response type frombatch_query
endpoint.query (str) – The combined numerator and denominator query CSV.
res_type (str) – The series result type. This mimics
batch_query
response type.resp_version (int) – The series response version type. This mimics
batch_query
response type.times ([float]) – An array of query timestamps in EPOCH milliseconds.
datadog_api_client.v1.model.slo_history_metrics_series module¶
- class SLOHistoryMetricsSeries(*args, **kwargs)¶
Bases:
ModelNormal
A representation of
metric
based SLO timeseries for the provided queries. This is the same response type frombatch_query
endpoint.- Parameters:
count (int) – Count of submitted metrics.
metadata (SLOHistoryMetricsSeriesMetadata, optional) – Query metadata.
sum (float) – Total sum of the query.
values ([float]) – The query values for each metric.
datadog_api_client.v1.model.slo_history_metrics_series_metadata module¶
- class SLOHistoryMetricsSeriesMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Query metadata.
- Parameters:
aggr (str, optional) – Query aggregator function.
expression (str, optional) – Query expression.
metric (str, optional) – Query metric used.
query_index (int, optional) – Query index from original combined query.
scope (str, optional) – Query scope.
unit ([SLOHistoryMetricsSeriesMetadataUnit, none_type], none_type, optional) – An array of metric units that contains up to two unit objects. For example, bytes represents one unit object and bytes per second represents two unit objects. If a metric query only has one unit object, the second array element is null.
datadog_api_client.v1.model.slo_history_metrics_series_metadata_unit module¶
- class SLOHistoryMetricsSeriesMetadataUnit(*args, **kwargs)¶
Bases:
ModelNormal
An Object of metric units.
- Parameters:
family (str, optional) – The family of metric unit, for example
bytes
is the family forkibibyte
,byte
, andbit
units.id (int, optional) – The ID of the metric unit.
name (str, optional) – The unit of the metric, for instance
byte
.plural (str, none_type, optional) – The plural Unit of metric, for instance
bytes
.scale_factor (float, optional) – The scale factor of metric unit, for instance
1.0
.short_name (str, none_type, optional) – A shorter and abbreviated version of the metric unit, for instance
B
.
datadog_api_client.v1.model.slo_history_monitor module¶
- class SLOHistoryMonitor(*args, **kwargs)¶
Bases:
ModelNormal
An object that holds an SLI value and its associated data. It can represent an SLO’s overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.
- Parameters:
error_budget_remaining (SLOErrorBudgetRemainingData, optional) – A mapping of threshold
timeframe
to the remaining error budget.errors ([SLOHistoryResponseErrorWithType], optional) – An array of error objects returned while querying the history data for the service level objective.
group (str, optional) – For groups in a grouped SLO, this is the group name.
history ([[float]], optional) – The state transition history for the monitor. It is represented as an array of pairs. Each pair is an array containing the timestamp of the transition as an integer in Unix epoch format in the first element, and the state as an integer in the second element. An integer value of
0
for state means uptime,1
means downtime, and2
means no data. Periods of no data are counted either as uptime or downtime depending on monitor settings. See SLO documentation for detailed information.monitor_modified (int, optional) – For
monitor
based SLOs, this is the last modified timestamp in epoch seconds of the monitor.monitor_type (str, optional) – For
monitor
based SLOs, this describes the type of monitor.name (str, optional) – For groups in a grouped SLO, this is the group name. For monitors in a multi-monitor SLO, this is the monitor name.
precision (float, optional) – The amount of decimal places the SLI value is accurate to for the given from
&&
to timestamp. Usespan_precision
instead. Deprecated.preview (bool, optional) – For
monitor
based SLOs, whentrue
this indicates that a replay is in progress to give an accurate uptime calculation.sli_value (float, none_type, optional) – The current SLI value of the SLO over the history window.
span_precision (float, optional) – The amount of decimal places the SLI value is accurate to for the given from
&&
to timestamp.uptime (float, optional) – Use
sli_value
instead. Deprecated.
datadog_api_client.v1.model.slo_history_response module¶
- class SLOHistoryResponse(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective history response.
- Parameters:
data (SLOHistoryResponseData, optional) – An array of service level objective objects.
errors ([SLOHistoryResponseError], none_type, optional) – A list of errors while querying the history data for the service level objective.
datadog_api_client.v1.model.slo_history_response_data module¶
- class SLOHistoryResponseData(*args, **kwargs)¶
Bases:
ModelNormal
An array of service level objective objects.
- Parameters:
from_ts (int, optional) – The
from
timestamp in epoch seconds.group_by ([str], optional) –
For
metric
based SLOs where the query includes a group-by clause, this represents the list of grouping parameters.This is not included in responses for
monitor
based SLOs.groups ([SLOHistoryMonitor], optional) –
For grouped SLOs, this represents SLI data for specific groups.
This is not included in the responses for
metric
based SLOs.monitors ([SLOHistoryMonitor], optional) –
For multi-monitor SLOs, this represents SLI data for specific monitors.
This is not included in the responses for
metric
based SLOs.overall (SLOHistorySLIData, optional) – An object that holds an SLI value and its associated data. It can represent an SLO’s overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.
series (SLOHistoryMetrics, optional) –
A
metric
based SLO history response.This is not included in responses for
monitor
based SLOs.thresholds ({str: (SLOThreshold,)}, optional) – mapping of string timeframe to the SLO threshold.
to_ts (int, optional) – The
to
timestamp in epoch seconds.type (SLOType, optional) – The type of the service level objective.
type_id (SLOTypeNumeric, optional) – A numeric representation of the type of the service level objective (
0
for monitor,1
for metric). Always included in service level objective responses. Ignored in create/update requests.
datadog_api_client.v1.model.slo_history_response_error module¶
- class SLOHistoryResponseError(*args, **kwargs)¶
Bases:
ModelNormal
A list of errors while querying the history data for the service level objective.
- Parameters:
error (str, optional) – Human readable error.
datadog_api_client.v1.model.slo_history_response_error_with_type module¶
- class SLOHistoryResponseErrorWithType(*args, **kwargs)¶
Bases:
ModelNormal
An object describing the error with error type and error message.
- Parameters:
error_message (str) – A message with more details about the error.
error_type (str) – Type of the error.
datadog_api_client.v1.model.slo_history_sli_data module¶
- class SLOHistorySLIData(*args, **kwargs)¶
Bases:
ModelNormal
An object that holds an SLI value and its associated data. It can represent an SLO’s overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.
- Parameters:
error_budget_remaining (SLOErrorBudgetRemainingData, optional) – A mapping of threshold
timeframe
to the remaining error budget.errors ([SLOHistoryResponseErrorWithType], optional) – An array of error objects returned while querying the history data for the service level objective.
group (str, optional) – For groups in a grouped SLO, this is the group name.
history ([[float]], optional) –
The state transition history for
monitor
ortime-slice
SLOs. It is represented as an array of pairs. Each pair is an array containing the timestamp of the transition as an integer in Unix epoch format in the first element, and the state as an integer in the second element. An integer value of0
for state means uptime,1
means downtime, and2
means no data. Periods of no data count as uptime in time-slice SLOs, while for monitor SLOs, no data is counted either as uptime or downtime depending on monitor settings. See SLO documentation for detailed information.monitor_modified (int, optional) – For
monitor
based SLOs, this is the last modified timestamp in epoch seconds of the monitor.monitor_type (str, optional) – For
monitor
based SLOs, this describes the type of monitor.name (str, optional) – For groups in a grouped SLO, this is the group name. For monitors in a multi-monitor SLO, this is the monitor name.
precision ({str: (float,)}, optional) – A mapping of threshold
timeframe
to number of accurate decimals, regardless of the from && to timestamp.preview (bool, optional) – For
monitor
based SLOs, whentrue
this indicates that a replay is in progress to give an accurate uptime calculation.sli_value (float, none_type, optional) – The current SLI value of the SLO over the history window.
span_precision (float, optional) – The amount of decimal places the SLI value is accurate to for the given from
&&
to timestamp.uptime (float, none_type, optional) – Use
sli_value
instead. Deprecated.
datadog_api_client.v1.model.slo_list_response module¶
- class SLOListResponse(*args, **kwargs)¶
Bases:
ModelNormal
A response with one or more service level objective.
- Parameters:
data ([ServiceLevelObjective], optional) – An array of service level objective objects.
errors ([str], optional) – An array of error messages. Each endpoint documents how/whether this field is used.
metadata (SLOListResponseMetadata, optional) – The metadata object containing additional information about the list of SLOs.
datadog_api_client.v1.model.slo_list_response_metadata module¶
- class SLOListResponseMetadata(*args, **kwargs)¶
Bases:
ModelNormal
The metadata object containing additional information about the list of SLOs.
- Parameters:
page (SLOListResponseMetadataPage, optional) – The object containing information about the pages of the list of SLOs.
datadog_api_client.v1.model.slo_list_response_metadata_page module¶
- class SLOListResponseMetadataPage(*args, **kwargs)¶
Bases:
ModelNormal
The object containing information about the pages of the list of SLOs.
- Parameters:
total_count (int, optional) – The total number of resources that could be retrieved ignoring the parameters and filters in the request.
total_filtered_count (int, optional) – The total number of resources that match the parameters and filters in the request. This attribute can be used by a client to determine the total number of pages.
datadog_api_client.v1.model.slo_list_widget_definition module¶
- class SLOListWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Use the SLO List widget to track your SLOs (Service Level Objectives) on dashboards.
- Parameters:
requests ([SLOListWidgetRequest]) – Array of one request object to display in the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (SLOListWidgetDefinitionType) – Type of the SLO List widget.
datadog_api_client.v1.model.slo_list_widget_definition_type module¶
- class SLOListWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the SLO List widget.
- Parameters:
value (str) – If omitted defaults to “slo_list”. Must be one of [“slo_list”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_list_widget_query module¶
- class SLOListWidgetQuery(*args, **kwargs)¶
Bases:
ModelNormal
Updated SLO List widget.
- Parameters:
limit (int, optional) – Maximum number of results to display in the table.
query_string (str) – Widget query.
sort ([WidgetFieldSort], optional) – Options for sorting results.
datadog_api_client.v1.model.slo_list_widget_request module¶
- class SLOListWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated SLO List widget.
- Parameters:
query (SLOListWidgetQuery) – Updated SLO List widget.
request_type (SLOListWidgetRequestType) – Widget request type.
datadog_api_client.v1.model.slo_list_widget_request_type module¶
- class SLOListWidgetRequestType(*args, **kwargs)¶
Bases:
ModelSimple
Widget request type.
- Parameters:
value (str) – If omitted defaults to “slo_list”. Must be one of [“slo_list”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_overall_statuses module¶
- class SLOOverallStatuses(*args, **kwargs)¶
Bases:
ModelNormal
Overall status of the SLO by timeframes.
- Parameters:
error (str, none_type, optional) – Error message if SLO status or error budget could not be calculated.
error_budget_remaining (float, none_type, optional) – Remaining error budget of the SLO in percentage.
indexed_at (int, optional) – timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.
raw_error_budget_remaining (SLORawErrorBudgetRemaining, none_type, optional) – Error budget remaining for an SLO.
span_precision (int, none_type, optional) – The amount of decimal places the SLI value is accurate to.
state (SLOState, optional) – State of the SLO.
status (float, none_type, optional) – The status of the SLO.
target (float, optional) – The target of the SLO.
timeframe (SLOTimeframe, optional) – The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
datadog_api_client.v1.model.slo_raw_error_budget_remaining module¶
- class SLORawErrorBudgetRemaining(*args, **kwargs)¶
Bases:
ModelNormal
Error budget remaining for an SLO.
- Parameters:
unit (str, optional) – Error budget remaining unit.
value (float, optional) – Error budget remaining value.
datadog_api_client.v1.model.slo_response module¶
- class SLOResponse(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective response containing a single service level objective.
- Parameters:
data (SLOResponseData, optional) – A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
,tags
, etc.).errors ([str], optional) – An array of error messages. Each endpoint documents how/whether this field is used.
datadog_api_client.v1.model.slo_response_data module¶
- class SLOResponseData(*args, **kwargs)¶
Bases:
ModelNormal
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (
name
,description
,tags
, etc.).- Parameters:
configured_alert_ids ([int], optional) – A list of SLO monitors IDs that reference this SLO. This field is returned only when
with_configured_alert_ids
parameter is true in query.created_at (int, optional) –
Creation timestamp (UNIX time in seconds)
Always included in service level objective responses.
creator (Creator, optional) – Object describing the creator of the shared element.
description (str, none_type, optional) –
A user-defined description of the service level objective.
Always included in service level objective responses (but may be
null
). Optional in create/update requests.groups ([str], optional) –
A list of (up to 20) monitor groups that narrow the scope of a monitor service level objective.
Included in service level objective responses if it is not empty. Optional in create/update requests for monitor service level objectives, but may only be used when then length of the
monitor_ids
field is one.id (str, optional) –
A unique identifier for the service level objective object.
Always included in service level objective responses.
modified_at (int, optional) –
Modification timestamp (UNIX time in seconds)
Always included in service level objective responses.
monitor_ids ([int], optional) – A list of monitor ids that defines the scope of a monitor service level objective. Required if type is monitor.
monitor_tags ([str], optional) – The union of monitor tags for all monitors referenced by the
monitor_ids
field. Always included in service level objective responses for monitor service level objectives (but may be empty). Ignored in create/update requests. Does not affect which monitors are included in the service level objective (that is determined entirely by themonitor_ids
field).name (str, optional) – The name of the service level objective object.
query (ServiceLevelObjectiveQuery, optional) – A metric-based SLO. Required if type is metric. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
sli_specification (SLOSliSpec, optional) – A generic SLI specification. This is currently used for time-slice SLOs only.
tags ([str], optional) – A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty). Optional in create/update requests.
target_threshold (float, optional) – The target threshold such that when the service level indicator is above this threshold over the given timeframe, the objective is being met.
thresholds ([SLOThreshold], optional) – The thresholds (timeframes and associated targets) for this service level objective object.
timeframe (SLOTimeframe, optional) – The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
type (SLOType, optional) – The type of the service level objective.
warning_threshold (float, optional) – The optional warning threshold such that when the service level indicator is below this value for the given threshold, but above the target threshold, the objective appears in a “warning” state. This value must be greater than the target threshold.
datadog_api_client.v1.model.slo_sli_spec module¶
- class SLOSliSpec(*args, **kwargs)¶
Bases:
ModelComposed
A generic SLI specification. This is currently used for time-slice SLOs only.
- Parameters:
time_slice (SLOTimeSliceCondition) – The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator, and 3. the threshold. Optionally, a fourth part, the query interval, can be provided.
datadog_api_client.v1.model.slo_state module¶
- class SLOState(*args, **kwargs)¶
Bases:
ModelSimple
State of the SLO.
- Parameters:
value (str) – Must be one of [“breached”, “warning”, “ok”, “no_data”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_status module¶
- class SLOStatus(*args, **kwargs)¶
Bases:
ModelNormal
Status of the SLO’s primary timeframe.
- Parameters:
calculation_error (str, none_type, optional) – Error message if SLO status or error budget could not be calculated.
error_budget_remaining (float, none_type, optional) – Remaining error budget of the SLO in percentage.
indexed_at (int, optional) – timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.
raw_error_budget_remaining (SLORawErrorBudgetRemaining, none_type, optional) – Error budget remaining for an SLO.
sli (float, none_type, optional) – The current service level indicator (SLI) of the SLO, also known as ‘status’. This is a percentage value from 0-100 (inclusive).
span_precision (int, none_type, optional) – The number of decimal places the SLI value is accurate to.
state (SLOState, optional) – State of the SLO.
datadog_api_client.v1.model.slo_threshold module¶
- class SLOThreshold(*args, **kwargs)¶
Bases:
ModelNormal
SLO thresholds (target and optionally warning) for a single time window.
- Parameters:
target (float) – The target value for the service level indicator within the corresponding timeframe.
target_display (str, optional) –
A string representation of the target that indicates its precision. It uses trailing zeros to show significant decimal places (for example
98.00
).Always included in service level objective responses. Ignored in create/update requests.
timeframe (SLOTimeframe) – The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
warning (float, optional) – The warning value for the service level objective.
warning_display (str, optional) –
A string representation of the warning target (see the description of the
target_display
field for details).Included in service level objective responses if a warning target exists. Ignored in create/update requests.
datadog_api_client.v1.model.slo_time_slice_comparator module¶
- class SLOTimeSliceComparator(*args, **kwargs)¶
Bases:
ModelSimple
The comparator used to compare the SLI value to the threshold.
- Parameters:
value (str) – Must be one of [“>”, “>=”, “<”, “<=”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_time_slice_condition module¶
- class SLOTimeSliceCondition(*args, **kwargs)¶
Bases:
ModelNormal
The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator, and 3. the threshold. Optionally, a fourth part, the query interval, can be provided.
- Parameters:
comparator (SLOTimeSliceComparator) – The comparator used to compare the SLI value to the threshold.
query (SLOTimeSliceQuery) – The queries and formula used to calculate the SLI value.
query_interval_seconds (SLOTimeSliceInterval, optional) – The interval used when querying data, which defines the size of a time slice. Two values are allowed: 60 (1 minute) and 300 (5 minutes). If not provided, the value defaults to 300 (5 minutes).
threshold (float) – The threshold value to which each SLI value will be compared.
datadog_api_client.v1.model.slo_time_slice_interval module¶
- class SLOTimeSliceInterval(*args, **kwargs)¶
Bases:
ModelSimple
- The interval used when querying data, which defines the size of a time slice.
Two values are allowed: 60 (1 minute) and 300 (5 minutes). If not provided, the value defaults to 300 (5 minutes).
- Parameters:
value (int) – Must be one of [60, 300].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_time_slice_query module¶
- class SLOTimeSliceQuery(*args, **kwargs)¶
Bases:
ModelNormal
The queries and formula used to calculate the SLI value.
- Parameters:
formulas ([SLOFormula]) – A list that contains exactly one formula, as only a single formula may be used in a time-slice SLO.
queries ([SLODataSourceQueryDefinition]) – A list of queries that are used to calculate the SLI value.
datadog_api_client.v1.model.slo_time_slice_spec module¶
- class SLOTimeSliceSpec(*args, **kwargs)¶
Bases:
ModelNormal
A time-slice SLI specification.
- Parameters:
time_slice (SLOTimeSliceCondition) – The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator, and 3. the threshold. Optionally, a fourth part, the query interval, can be provided.
- additional_properties_type = None¶
datadog_api_client.v1.model.slo_timeframe module¶
- class SLOTimeframe(*args, **kwargs)¶
Bases:
ModelSimple
- The SLO time window options. Note that “custom” is not a valid option for creating
or updating SLOs. It is only used when querying SLO history over custom timeframes.
- Parameters:
value (str) – Must be one of [“7d”, “30d”, “90d”, “custom”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_type module¶
- class SLOType(*args, **kwargs)¶
Bases:
ModelSimple
The type of the service level objective.
- Parameters:
value (str) – Must be one of [“metric”, “monitor”, “time_slice”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_type_numeric module¶
- class SLOTypeNumeric(*args, **kwargs)¶
Bases:
ModelSimple
- A numeric representation of the type of the service level objective (0 for
monitor, 1 for metric). Always included in service level objective responses. Ignored in create/update requests.
- Parameters:
value (int) – Must be one of [0, 1, 2].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.slo_widget_definition module¶
- class SLOWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.
- Parameters:
additional_query_filters (str, optional) – Additional filters applied to the SLO query.
global_time_target (str, optional) – Defined global time target.
show_error_budget (bool, optional) – Defined error budget.
slo_id (str, optional) – ID of the SLO displayed.
time_windows ([WidgetTimeWindows], optional) – Times being monitored.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (SLOWidgetDefinitionType) – Type of the SLO widget.
view_mode (WidgetViewMode, optional) – Define how you want the SLO to be displayed.
view_type (str) – Type of view displayed by the widget.
datadog_api_client.v1.model.slo_widget_definition_type module¶
- class SLOWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the SLO widget.
- Parameters:
value (str) – If omitted defaults to “slo”. Must be one of [“slo”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.split_config module¶
- class SplitConfig(*args, **kwargs)¶
Bases:
ModelNormal
Encapsulates all user choices about how to split a graph.
- Parameters:
limit (int) – Maximum number of graphs to display in the widget.
sort (SplitSort) – Controls the order in which graphs appear in the split.
split_dimensions ([SplitDimension]) – The dimension(s) on which to split the graph
static_splits ([[SplitVectorEntryItem]], optional) – Manual selection of tags making split graph widget static
datadog_api_client.v1.model.split_config_sort_compute module¶
- class SplitConfigSortCompute(*args, **kwargs)¶
Bases:
ModelNormal
Defines the metric and aggregation used as the sort value.
- Parameters:
aggregation (str) – How to aggregate the sort metric for the purposes of ordering.
metric (str) – The metric to use for sorting graphs.
datadog_api_client.v1.model.split_dimension module¶
- class SplitDimension(*args, **kwargs)¶
Bases:
ModelNormal
The property by which the graph splits
- Parameters:
one_graph_per (str) – The system interprets this attribute differently depending on the data source of the query being split. For metrics, it’s a tag. For the events platform, it’s an attribute or tag.
datadog_api_client.v1.model.split_graph_source_widget_definition module¶
- class SplitGraphSourceWidgetDefinition(*args, **kwargs)¶
Bases:
ModelComposed
The original widget we are splitting on.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests ([ChangeWidgetRequest]) –
Array of one request object to display in the widget.
- See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)
to learn how to build the REQUEST_SCHEMA.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ChangeWidgetDefinitionType) – Type of the change widget.
style (GeomapWidgetDefinitionStyle) – The style to apply to the widget.
view (GeomapWidgetDefinitionView) – The view of the world that the map should render.
autoscale (bool, optional) – Whether to use auto-scaling or not.
custom_unit (str, optional) – Display a unit of your choice on the widget.
precision (int, optional) – Number of decimals to show. If not defined, the widget uses the raw value.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
timeseries_background (TimeseriesBackground, optional) – Set a timeseries on the widget background.
color_by_groups ([str], optional) – List of groups used for colors.
xaxis (WidgetAxis, optional) – Axis controls for the widget.
yaxis (WidgetAxis, optional) – Axis controls for the widget.
hide_total (bool, optional) – Show the total value in this widget.
legend (SunburstWidgetLegend, optional) – Configuration of the legend.
has_search_bar (TableWidgetHasSearchBar, optional) – Controls the display of the search bar.
events ([WidgetEvent], optional) – List of widget events.
legend_columns ([TimeseriesWidgetLegendColumn], optional) – Columns displayed in the legend.
legend_layout (TimeseriesWidgetLegendLayout, optional) – Layout of the legend.
legend_size (str, optional) – Available legend sizes for a widget. Should be one of “0”, “2”, “4”, “8”, “16”, or “auto”.
markers ([WidgetMarker], optional) – List of markers.
right_yaxis (WidgetAxis, optional) – Axis controls for the widget.
show_legend (bool, optional) – (screenboard only) Show the legend for this widget.
color_by (TreeMapColorBy, optional) – (deprecated) The attribute formerly used to determine color in the widget.
group_by (TreeMapGroupBy, optional) – (deprecated) The attribute formerly used to group elements in the widget.
size_by (TreeMapSizeBy, optional) – (deprecated) The attribute formerly used to determine size in the widget.
datadog_api_client.v1.model.split_graph_viz_size module¶
- class SplitGraphVizSize(*args, **kwargs)¶
Bases:
ModelSimple
Size of the individual graphs in the split.
- Parameters:
value (str) – Must be one of [“xs”, “sm”, “md”, “lg”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.split_graph_widget_definition module¶
- class SplitGraphWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The split graph widget allows you to create repeating units of a graph - one for each value in a group (for example: one per service)
- Parameters:
has_uniform_y_axes (bool, optional) – Normalize y axes across graphs
size (SplitGraphVizSize) – Size of the individual graphs in the split.
source_widget_definition (SplitGraphSourceWidgetDefinition) – The original widget we are splitting on.
split_config (SplitConfig) – Encapsulates all user choices about how to split a graph.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
type (SplitGraphWidgetDefinitionType) – Type of the split graph widget
datadog_api_client.v1.model.split_graph_widget_definition_type module¶
- class SplitGraphWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the split graph widget
- Parameters:
value (str) – If omitted defaults to “split_group”. Must be one of [“split_group”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.split_sort module¶
- class SplitSort(*args, **kwargs)¶
Bases:
ModelNormal
Controls the order in which graphs appear in the split.
- Parameters:
compute (SplitConfigSortCompute, optional) – Defines the metric and aggregation used as the sort value.
order (WidgetSort) – Widget sorting methods.
datadog_api_client.v1.model.split_vector_entry_item module¶
- class SplitVectorEntryItem(*args, **kwargs)¶
Bases:
ModelNormal
The split graph list contains a graph for each value of the split dimension.
- Parameters:
tag_key (str) – The tag key.
tag_values ([str]) – The tag values.
datadog_api_client.v1.model.successful_signal_update_response module¶
- class SuccessfulSignalUpdateResponse(*args, **kwargs)¶
Bases:
ModelNormal
Updated signal data following a successfully performed update.
- Parameters:
status (str, optional) – Status of the response.
datadog_api_client.v1.model.sunburst_widget_definition module¶
- class SunburstWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
Sunbursts are spot on to highlight how groups contribute to the total of a query.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
hide_total (bool, optional) – Show the total value in this widget.
legend (SunburstWidgetLegend, optional) – Configuration of the legend.
requests ([SunburstWidgetRequest]) – List of sunburst widget requests.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (SunburstWidgetDefinitionType) – Type of the Sunburst widget.
datadog_api_client.v1.model.sunburst_widget_definition_type module¶
- class SunburstWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Sunburst widget.
- Parameters:
value (str) – If omitted defaults to “sunburst”. Must be one of [“sunburst”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.sunburst_widget_legend module¶
- class SunburstWidgetLegend(*args, **kwargs)¶
Bases:
ModelComposed
Configuration of the legend.
- Parameters:
type (SunburstWidgetLegendTableType) – Whether or not to show a table legend.
hide_percent (bool, optional) – Whether to hide the percentages of the groups.
hide_value (bool, optional) – Whether to hide the values of the groups.
datadog_api_client.v1.model.sunburst_widget_legend_inline_automatic module¶
- class SunburstWidgetLegendInlineAutomatic(*args, **kwargs)¶
Bases:
ModelNormal
Configuration of inline or automatic legends.
- Parameters:
hide_percent (bool, optional) – Whether to hide the percentages of the groups.
hide_value (bool, optional) – Whether to hide the values of the groups.
type (SunburstWidgetLegendInlineAutomaticType) – Whether to show the legend inline or let it be automatically generated.
datadog_api_client.v1.model.sunburst_widget_legend_inline_automatic_type module¶
- class SunburstWidgetLegendInlineAutomaticType(*args, **kwargs)¶
Bases:
ModelSimple
Whether to show the legend inline or let it be automatically generated.
- Parameters:
value (str) – Must be one of [“inline”, “automatic”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.sunburst_widget_legend_table module¶
- class SunburstWidgetLegendTable(*args, **kwargs)¶
Bases:
ModelNormal
Configuration of table-based legend.
- Parameters:
type (SunburstWidgetLegendTableType) – Whether or not to show a table legend.
datadog_api_client.v1.model.sunburst_widget_legend_table_type module¶
- class SunburstWidgetLegendTableType(*args, **kwargs)¶
Bases:
ModelSimple
Whether or not to show a table legend.
- Parameters:
value (str) – Must be one of [“table”, “none”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.sunburst_widget_request module¶
- class SunburstWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Request definition of sunburst widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
audit_query (LogQueryDefinition, optional) – The log query.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Widget query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
style (WidgetStyle, optional) – Widget style definition.
datadog_api_client.v1.model.synthetics_api_step module¶
- class SyntheticsAPIStep(*args, **kwargs)¶
Bases:
ModelComposed
The steps used in a Synthetic multi-step API test.
- Parameters:
allow_failure (bool, optional) – Determines whether or not to continue with test if this step fails.
assertions ([SyntheticsAssertion]) – Array of assertions used for the test.
extracted_values ([SyntheticsParsingOptions], optional) – Array of values to parse and save as variables from the response.
is_critical (bool, optional) – Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allowFailure is true.
name (str) – The name of the step.
request (SyntheticsTestRequest) – Object describing the Synthetic test request.
retry (SyntheticsTestOptionsRetry, optional) – Object describing the retry strategy to apply to a Synthetic test.
subtype (SyntheticsAPITestStepSubtype) – The subtype of the Synthetic multi-step API test step.
value (int) – The time to wait in seconds. Minimum value: 0. Maximum value: 180.
datadog_api_client.v1.model.synthetics_api_test module¶
- class SyntheticsAPITest(*args, **kwargs)¶
Bases:
ModelNormal
Object containing details about a Synthetic API test.
- Parameters:
config (SyntheticsAPITestConfig) – Configuration object for a Synthetic API test.
locations ([str]) – Array of locations used to run the test.
message (str) – Notification message associated with the test.
monitor_id (int, optional) – The associated monitor ID.
name (str) – Name of the test.
options (SyntheticsTestOptions) – Object describing the extra options for a Synthetic test.
public_id (str, optional) – The public ID for the test.
status (SyntheticsTestPauseStatus, optional) – Define whether you want to start (
live
) or pause (paused
) a Synthetic test.subtype (SyntheticsTestDetailsSubType, optional) – The subtype of the Synthetic API test,
http
,ssl
,tcp
,dns
,icmp
,udp
,websocket
,grpc
ormulti
.tags ([str], optional) – Array of tags attached to the test.
type (SyntheticsAPITestType) – Type of the Synthetic test,
api
.
datadog_api_client.v1.model.synthetics_api_test_config module¶
- class SyntheticsAPITestConfig(*args, **kwargs)¶
Bases:
ModelNormal
Configuration object for a Synthetic API test.
- Parameters:
assertions ([SyntheticsAssertion], optional) – Array of assertions used for the test. Required for single API tests.
config_variables ([SyntheticsConfigVariable], optional) – Array of variables used for the test.
request (SyntheticsTestRequest, optional) – Object describing the Synthetic test request.
steps ([SyntheticsAPIStep], optional) – When the test subtype is
multi
, the steps of the test.variables_from_script (str, optional) – Variables defined from JavaScript code.
datadog_api_client.v1.model.synthetics_api_test_failure_code module¶
- class SyntheticsApiTestFailureCode(*args, **kwargs)¶
Bases:
ModelSimple
Error code that can be returned by a Synthetic test.
- Parameters:
value (str) – Must be one of [“BODY_TOO_LARGE”, “DENIED”, “TOO_MANY_REDIRECTS”, “AUTHENTICATION_ERROR”, “DECRYPTION”, “INVALID_CHAR_IN_HEADER”, “HEADER_TOO_LARGE”, “HEADERS_INCOMPATIBLE_CONTENT_LENGTH”, “INVALID_REQUEST”, “REQUIRES_UPDATE”, “UNESCAPED_CHARACTERS_IN_REQUEST_PATH”, “MALFORMED_RESPONSE”, “INCORRECT_ASSERTION”, “CONNREFUSED”, “CONNRESET”, “DNS”, “HOSTUNREACH”, “NETUNREACH”, “TIMEOUT”, “SSL”, “OCSP”, “INVALID_TEST”, “TUNNEL”, “WEBSOCKET”, “UNKNOWN”, “INTERNAL_ERROR”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_api_test_result_data module¶
- class SyntheticsAPITestResultData(*args, **kwargs)¶
Bases:
ModelNormal
Object containing results for your Synthetic API test.
- Parameters:
cert (SyntheticsSSLCertificate, optional) – Object describing the SSL certificate used for a Synthetic test.
event_type (SyntheticsTestProcessStatus, optional) – Status of a Synthetic test.
failure (SyntheticsApiTestResultFailure, optional) – The API test failure details.
http_status_code (int, optional) – The API test HTTP status code.
request_headers ({str: (dict,)}, optional) – Request header object used for the API test.
response_body (str, optional) – Response body returned for the API test.
response_headers ({str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional) – Response headers returned for the API test.
response_size (int, optional) – Global size in byte of the API test response.
timings (SyntheticsTiming, optional) – Object containing all metrics and their values collected for a Synthetic API test. See the Synthetic Monitoring Metrics documentation.
datadog_api_client.v1.model.synthetics_api_test_result_failure module¶
- class SyntheticsApiTestResultFailure(*args, **kwargs)¶
Bases:
ModelNormal
The API test failure details.
- Parameters:
code (SyntheticsApiTestFailureCode, optional) – Error code that can be returned by a Synthetic test.
message (str, optional) – The API test error message.
datadog_api_client.v1.model.synthetics_api_test_result_full module¶
- class SyntheticsAPITestResultFull(*args, **kwargs)¶
Bases:
ModelNormal
Object returned describing a API test result.
- Parameters:
check (SyntheticsAPITestResultFullCheck, optional) – Object describing the API test configuration.
check_time (float, optional) – When the API test was conducted.
check_version (int, optional) – Version of the API test used.
probe_dc (str, optional) – Locations for which to query the API test results.
result (SyntheticsAPITestResultData, optional) – Object containing results for your Synthetic API test.
result_id (str, optional) – ID of the API test result.
status (SyntheticsTestMonitorStatus, optional) –
The status of your Synthetic monitor.
O
for not triggered1
for triggered2
for no data
datadog_api_client.v1.model.synthetics_api_test_result_full_check module¶
- class SyntheticsAPITestResultFullCheck(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the API test configuration.
- Parameters:
config (SyntheticsTestConfig) – Configuration object for a Synthetic test.
datadog_api_client.v1.model.synthetics_api_test_result_short module¶
- class SyntheticsAPITestResultShort(*args, **kwargs)¶
Bases:
ModelNormal
Object with the results of a single Synthetic API test.
- Parameters:
check_time (float, optional) – Last time the API test was performed.
probe_dc (str, optional) – Location from which the API test was performed.
result (SyntheticsAPITestResultShortResult, optional) – Result of the last API test run.
result_id (str, optional) – ID of the API test result.
status (SyntheticsTestMonitorStatus, optional) –
The status of your Synthetic monitor.
O
for not triggered1
for triggered2
for no data
datadog_api_client.v1.model.synthetics_api_test_result_short_result module¶
- class SyntheticsAPITestResultShortResult(*args, **kwargs)¶
Bases:
ModelNormal
Result of the last API test run.
- Parameters:
passed (bool, optional) – Describes if the test run has passed or failed.
timings (SyntheticsTiming, optional) –
Object containing all metrics and their values collected for a Synthetic API test. See the Synthetic Monitoring Metrics documentation.
datadog_api_client.v1.model.synthetics_api_test_step module¶
- class SyntheticsAPITestStep(*args, **kwargs)¶
Bases:
ModelNormal
The Test step used in a Synthetic multi-step API test.
- Parameters:
allow_failure (bool, optional) – Determines whether or not to continue with test if this step fails.
assertions ([SyntheticsAssertion]) – Array of assertions used for the test.
extracted_values ([SyntheticsParsingOptions], optional) – Array of values to parse and save as variables from the response.
is_critical (bool, optional) – Determines whether or not to consider the entire test as failed if this step fails. Can be used only if
allowFailure
istrue
.name (str) – The name of the step.
request (SyntheticsTestRequest) – Object describing the Synthetic test request.
retry (SyntheticsTestOptionsRetry, optional) – Object describing the retry strategy to apply to a Synthetic test.
subtype (SyntheticsAPITestStepSubtype) – The subtype of the Synthetic multi-step API test step.
datadog_api_client.v1.model.synthetics_api_test_step_subtype module¶
- class SyntheticsAPITestStepSubtype(*args, **kwargs)¶
Bases:
ModelSimple
The subtype of the Synthetic multi-step API test step.
- Parameters:
value (str) – Must be one of [“http”, “grpc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_api_test_type module¶
- class SyntheticsAPITestType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Synthetic test, api.
- Parameters:
value (str) – If omitted defaults to “api”. Must be one of [“api”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_api_wait_step module¶
- class SyntheticsAPIWaitStep(*args, **kwargs)¶
Bases:
ModelNormal
The Wait step used in a Synthetic multi-step API test.
- Parameters:
name (str) – The name of the step.
subtype (SyntheticsAPIWaitStepSubtype) – The subtype of the Synthetic multi-step API wait step.
value (int) – The time to wait in seconds. Minimum value: 0. Maximum value: 180.
datadog_api_client.v1.model.synthetics_api_wait_step_subtype module¶
- class SyntheticsAPIWaitStepSubtype(*args, **kwargs)¶
Bases:
ModelSimple
The subtype of the Synthetic multi-step API wait step.
- Parameters:
value (str) – If omitted defaults to “wait”. Must be one of [“wait”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion module¶
- class SyntheticsAssertion(*args, **kwargs)¶
Bases:
ModelComposed
Object describing the assertions type, their associated operator, which property they apply, and upon which target.
- Parameters:
operator (SyntheticsAssertionOperator) – Assertion operator to apply.
_property (str, optional) – The associated assertion property.
target (bool, date, datetime, dict, float, int, list, str, UUID, none_type) – Value used by the operator.
timings_scope (SyntheticsAssertionTimingsScope, optional) – Timings scope for response time assertions.
type (SyntheticsAssertionType) – Type of the assertion.
code (str) – The JavaScript code that performs the assertions.
datadog_api_client.v1.model.synthetics_assertion_body_hash_operator module¶
- class SyntheticsAssertionBodyHashOperator(*args, **kwargs)¶
Bases:
ModelSimple
Assertion operator to apply.
- Parameters:
value (str) – Must be one of [“md5”, “sha1”, “sha256”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_body_hash_target module¶
- class SyntheticsAssertionBodyHashTarget(*args, **kwargs)¶
Bases:
ModelNormal
An assertion which targets body hash.
- Parameters:
operator (SyntheticsAssertionBodyHashOperator) – Assertion operator to apply.
target (bool, date, datetime, dict, float, int, list, str, UUID, none_type) – Value used by the operator.
type (SyntheticsAssertionBodyHashType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_body_hash_type module¶
- class SyntheticsAssertionBodyHashType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the assertion.
- Parameters:
value (str) – If omitted defaults to “bodyHash”. Must be one of [“bodyHash”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_javascript module¶
- class SyntheticsAssertionJavascript(*args, **kwargs)¶
Bases:
ModelNormal
A JavaScript assertion.
- Parameters:
code (str) – The JavaScript code that performs the assertions.
type (SyntheticsAssertionJavascriptType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_javascript_type module¶
- class SyntheticsAssertionJavascriptType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the assertion.
- Parameters:
value (str) – If omitted defaults to “javascript”. Must be one of [“javascript”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_json_path_operator module¶
- class SyntheticsAssertionJSONPathOperator(*args, **kwargs)¶
Bases:
ModelSimple
Assertion operator to apply.
- Parameters:
value (str) – If omitted defaults to “validatesJSONPath”. Must be one of [“validatesJSONPath”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_json_path_target module¶
- class SyntheticsAssertionJSONPathTarget(*args, **kwargs)¶
Bases:
ModelNormal
An assertion for the
validatesJSONPath
operator.- Parameters:
operator (SyntheticsAssertionJSONPathOperator) – Assertion operator to apply.
_property (str, optional) – The associated assertion property.
target (SyntheticsAssertionJSONPathTargetTarget, optional) – Composed target for
validatesJSONPath
operator.type (SyntheticsAssertionType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_json_path_target_target module¶
- class SyntheticsAssertionJSONPathTargetTarget(*args, **kwargs)¶
Bases:
ModelNormal
Composed target for
validatesJSONPath
operator.- Parameters:
elements_operator (str, optional) – The element from the list of results to assert on. To choose from the first element in the list
firstElementMatches
, every element in the listeveryElementMatches
, at least one element in the listatLeastOneElementMatches
or the serialized value of the listserializationMatches
.json_path (str, optional) – The JSON path to assert.
operator (str, optional) – The specific operator to use on the path.
target_value (bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional) – The path target value to compare to.
datadog_api_client.v1.model.synthetics_assertion_json_schema_meta_schema module¶
- class SyntheticsAssertionJSONSchemaMetaSchema(*args, **kwargs)¶
Bases:
ModelSimple
The JSON Schema meta-schema version used in the assertion.
- Parameters:
value (str) – Must be one of [“draft-07”, “draft-06”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_json_schema_operator module¶
- class SyntheticsAssertionJSONSchemaOperator(*args, **kwargs)¶
Bases:
ModelSimple
Assertion operator to apply.
- Parameters:
value (str) – If omitted defaults to “validatesJSONSchema”. Must be one of [“validatesJSONSchema”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_json_schema_target module¶
- class SyntheticsAssertionJSONSchemaTarget(*args, **kwargs)¶
Bases:
ModelNormal
An assertion for the
validatesJSONSchema
operator.- Parameters:
operator (SyntheticsAssertionJSONSchemaOperator) – Assertion operator to apply.
target (SyntheticsAssertionJSONSchemaTargetTarget, optional) – Composed target for
validatesJSONSchema
operator.type (SyntheticsAssertionType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_json_schema_target_target module¶
- class SyntheticsAssertionJSONSchemaTargetTarget(*args, **kwargs)¶
Bases:
ModelNormal
Composed target for
validatesJSONSchema
operator.- Parameters:
json_schema (str, optional) – The JSON Schema to assert.
meta_schema (SyntheticsAssertionJSONSchemaMetaSchema, optional) – The JSON Schema meta-schema version used in the assertion.
datadog_api_client.v1.model.synthetics_assertion_operator module¶
- class SyntheticsAssertionOperator(*args, **kwargs)¶
Bases:
ModelSimple
Assertion operator to apply.
- Parameters:
value (str) – Must be one of [“contains”, “doesNotContain”, “is”, “isNot”, “lessThan”, “lessThanOrEqual”, “moreThan”, “moreThanOrEqual”, “matches”, “doesNotMatch”, “validates”, “isInMoreThan”, “isInLessThan”, “doesNotExist”, “isUndefined”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_target module¶
- class SyntheticsAssertionTarget(*args, **kwargs)¶
Bases:
ModelNormal
An assertion which uses a simple target.
- Parameters:
operator (SyntheticsAssertionOperator) – Assertion operator to apply.
_property (str, optional) – The associated assertion property.
target (bool, date, datetime, dict, float, int, list, str, UUID, none_type) – Value used by the operator.
timings_scope (SyntheticsAssertionTimingsScope, optional) – Timings scope for response time assertions.
type (SyntheticsAssertionType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_timings_scope module¶
- class SyntheticsAssertionTimingsScope(*args, **kwargs)¶
Bases:
ModelSimple
Timings scope for response time assertions.
- Parameters:
value (str) – Must be one of [“all”, “withoutDNS”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_type module¶
- class SyntheticsAssertionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the assertion.
- Parameters:
value (str) – Must be one of [“body”, “header”, “statusCode”, “certificate”, “responseTime”, “property”, “recordEvery”, “recordSome”, “tlsVersion”, “minTlsVersion”, “latency”, “packetLossPercentage”, “packetsReceived”, “networkHop”, “receivedMessage”, “grpcHealthcheckStatus”, “grpcMetadata”, “grpcProto”, “connection”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_x_path_operator module¶
- class SyntheticsAssertionXPathOperator(*args, **kwargs)¶
Bases:
ModelSimple
Assertion operator to apply.
- Parameters:
value (str) – If omitted defaults to “validatesXPath”. Must be one of [“validatesXPath”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_assertion_x_path_target module¶
- class SyntheticsAssertionXPathTarget(*args, **kwargs)¶
Bases:
ModelNormal
An assertion for the
validatesXPath
operator.- Parameters:
operator (SyntheticsAssertionXPathOperator) – Assertion operator to apply.
_property (str, optional) – The associated assertion property.
target (SyntheticsAssertionXPathTargetTarget, optional) – Composed target for
validatesXPath
operator.type (SyntheticsAssertionType) – Type of the assertion.
datadog_api_client.v1.model.synthetics_assertion_x_path_target_target module¶
- class SyntheticsAssertionXPathTargetTarget(*args, **kwargs)¶
Bases:
ModelNormal
Composed target for
validatesXPath
operator.- Parameters:
operator (str, optional) – The specific operator to use on the path.
target_value (bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional) – The path target value to compare to.
x_path (str, optional) – The X path to assert.
datadog_api_client.v1.model.synthetics_basic_auth module¶
- class SyntheticsBasicAuth(*args, **kwargs)¶
Bases:
ModelComposed
Object to handle basic authentication when performing the test.
- Parameters:
password (str) – Password to use for the basic authentication.
type (SyntheticsBasicAuthWebType, optional) – The type of basic authentication to use when performing the test.
username (str) – Username to use for the basic authentication.
access_key (str) – Access key for the SIGV4 authentication.
region (str, optional) – Region for the SIGV4 authentication.
secret_key (str) – Secret key for the SIGV4 authentication.
service_name (str, optional) – Service name for the SIGV4 authentication.
session_token (str, optional) – Session token for the SIGV4 authentication.
domain (str, optional) – Domain for the authentication to use when performing the test.
workstation (str, optional) – Workstation for the authentication to use when performing the test.
access_token_url (str) – Access token URL to use when performing the authentication.
audience (str, optional) – Audience to use when performing the authentication.
client_id (str) – Client ID to use when performing the authentication.
client_secret (str) – Client secret to use when performing the authentication.
resource (str, optional) – Resource to use when performing the authentication.
scope (str, optional) – Scope to use when performing the authentication.
token_api_authentication (SyntheticsBasicAuthOauthTokenApiAuthentication) – Type of token to use when performing the authentication.
datadog_api_client.v1.model.synthetics_basic_auth_digest module¶
- class SyntheticsBasicAuthDigest(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle digest authentication when performing the test.
- Parameters:
password (str) – Password to use for the digest authentication.
type (SyntheticsBasicAuthDigestType) – The type of basic authentication to use when performing the test.
username (str) – Username to use for the digest authentication.
datadog_api_client.v1.model.synthetics_basic_auth_digest_type module¶
- class SyntheticsBasicAuthDigestType(*args, **kwargs)¶
Bases:
ModelSimple
The type of basic authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “digest”. Must be one of [“digest”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_ntlm module¶
- class SyntheticsBasicAuthNTLM(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle
NTLM
authentication when performing the test.- Parameters:
domain (str, optional) – Domain for the authentication to use when performing the test.
password (str, optional) – Password for the authentication to use when performing the test.
type (SyntheticsBasicAuthNTLMType) – The type of authentication to use when performing the test.
username (str, optional) – Username for the authentication to use when performing the test.
workstation (str, optional) – Workstation for the authentication to use when performing the test.
datadog_api_client.v1.model.synthetics_basic_auth_ntlm_type module¶
- class SyntheticsBasicAuthNTLMType(*args, **kwargs)¶
Bases:
ModelSimple
The type of authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “ntlm”. Must be one of [“ntlm”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_oauth_client module¶
- class SyntheticsBasicAuthOauthClient(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle
oauth client
authentication when performing the test.- Parameters:
access_token_url (str) – Access token URL to use when performing the authentication.
audience (str, optional) – Audience to use when performing the authentication.
client_id (str) – Client ID to use when performing the authentication.
client_secret (str) – Client secret to use when performing the authentication.
resource (str, optional) – Resource to use when performing the authentication.
scope (str, optional) – Scope to use when performing the authentication.
token_api_authentication (SyntheticsBasicAuthOauthTokenApiAuthentication) – Type of token to use when performing the authentication.
type (SyntheticsBasicAuthOauthClientType) – The type of basic authentication to use when performing the test.
datadog_api_client.v1.model.synthetics_basic_auth_oauth_client_type module¶
- class SyntheticsBasicAuthOauthClientType(*args, **kwargs)¶
Bases:
ModelSimple
The type of basic authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “oauth-client”. Must be one of [“oauth-client”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_oauth_rop module¶
- class SyntheticsBasicAuthOauthROP(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle
oauth rop
authentication when performing the test.- Parameters:
access_token_url (str) – Access token URL to use when performing the authentication.
audience (str, optional) – Audience to use when performing the authentication.
client_id (str, optional) – Client ID to use when performing the authentication.
client_secret (str, optional) – Client secret to use when performing the authentication.
password (str) – Password to use when performing the authentication.
resource (str, optional) – Resource to use when performing the authentication.
scope (str, optional) – Scope to use when performing the authentication.
token_api_authentication (SyntheticsBasicAuthOauthTokenApiAuthentication) – Type of token to use when performing the authentication.
type (SyntheticsBasicAuthOauthROPType) – The type of basic authentication to use when performing the test.
username (str) – Username to use when performing the authentication.
datadog_api_client.v1.model.synthetics_basic_auth_oauth_rop_type module¶
- class SyntheticsBasicAuthOauthROPType(*args, **kwargs)¶
Bases:
ModelSimple
The type of basic authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “oauth-rop”. Must be one of [“oauth-rop”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_oauth_token_api_authentication module¶
- class SyntheticsBasicAuthOauthTokenApiAuthentication(*args, **kwargs)¶
Bases:
ModelSimple
Type of token to use when performing the authentication.
- Parameters:
value (str) – Must be one of [“header”, “body”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_sigv4 module¶
- class SyntheticsBasicAuthSigv4(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle
SIGV4
authentication when performing the test.- Parameters:
access_key (str) – Access key for the
SIGV4
authentication.region (str, optional) – Region for the
SIGV4
authentication.secret_key (str) – Secret key for the
SIGV4
authentication.service_name (str, optional) – Service name for the
SIGV4
authentication.session_token (str, optional) – Session token for the
SIGV4
authentication.type (SyntheticsBasicAuthSigv4Type) – The type of authentication to use when performing the test.
datadog_api_client.v1.model.synthetics_basic_auth_sigv4_type module¶
- class SyntheticsBasicAuthSigv4Type(*args, **kwargs)¶
Bases:
ModelSimple
The type of authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “sigv4”. Must be one of [“sigv4”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_basic_auth_web module¶
- class SyntheticsBasicAuthWeb(*args, **kwargs)¶
Bases:
ModelNormal
Object to handle basic authentication when performing the test.
- Parameters:
password (str) – Password to use for the basic authentication.
type (SyntheticsBasicAuthWebType, optional) – The type of basic authentication to use when performing the test.
username (str) – Username to use for the basic authentication.
datadog_api_client.v1.model.synthetics_basic_auth_web_type module¶
- class SyntheticsBasicAuthWebType(*args, **kwargs)¶
Bases:
ModelSimple
The type of basic authentication to use when performing the test.
- Parameters:
value (str) – If omitted defaults to “web”. Must be one of [“web”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_batch_details module¶
- class SyntheticsBatchDetails(*args, **kwargs)¶
Bases:
ModelNormal
Details about a batch response.
- Parameters:
data (SyntheticsBatchDetailsData, optional) – Wrapper object that contains the details of a batch.
datadog_api_client.v1.model.synthetics_batch_details_data module¶
- class SyntheticsBatchDetailsData(*args, **kwargs)¶
Bases:
ModelNormal
Wrapper object that contains the details of a batch.
- Parameters:
metadata (SyntheticsCIBatchMetadata, optional) – Metadata for the Synthetic tests run.
results ([SyntheticsBatchResult], optional) – List of results for the batch.
status (SyntheticsStatus, optional) – Determines whether or not the batch has passed, failed, or is in progress.
datadog_api_client.v1.model.synthetics_batch_result module¶
- class SyntheticsBatchResult(*args, **kwargs)¶
Bases:
ModelNormal
Object with the results of a Synthetic batch.
- Parameters:
device (SyntheticsDeviceID, optional) – The device ID.
duration (float, optional) – Total duration in millisecond of the test.
execution_rule (SyntheticsTestExecutionRule, optional) – Execution rule for a Synthetic test.
location (str, optional) – Name of the location.
result_id (str, optional) – The ID of the result to get.
retries (float, optional) – Number of times this result has been retried.
status (SyntheticsStatus, optional) – Determines whether or not the batch has passed, failed, or is in progress.
test_name (str, optional) – Name of the test.
test_public_id (str, optional) – The public ID of the Synthetic test.
test_type (SyntheticsTestDetailsType, optional) – Type of the Synthetic test, either
api
orbrowser
.
datadog_api_client.v1.model.synthetics_browser_error module¶
- class SyntheticsBrowserError(*args, **kwargs)¶
Bases:
ModelNormal
Error response object for a browser test.
- Parameters:
description (str) – Description of the error.
name (str) – Name of the error.
status (int, optional) – Status Code of the error.
type (SyntheticsBrowserErrorType) – Error type returned by a browser test.
datadog_api_client.v1.model.synthetics_browser_error_type module¶
- class SyntheticsBrowserErrorType(*args, **kwargs)¶
Bases:
ModelSimple
Error type returned by a browser test.
- Parameters:
value (str) – Must be one of [“network”, “js”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_browser_test module¶
- class SyntheticsBrowserTest(*args, **kwargs)¶
Bases:
ModelNormal
Object containing details about a Synthetic browser test.
- Parameters:
config (SyntheticsBrowserTestConfig) – Configuration object for a Synthetic browser test.
locations ([str]) – Array of locations used to run the test.
message (str) – Notification message associated with the test. Message can either be text or an empty string.
monitor_id (int, optional) – The associated monitor ID.
name (str) – Name of the test.
options (SyntheticsTestOptions) – Object describing the extra options for a Synthetic test.
public_id (str, optional) – The public ID of the test.
status (SyntheticsTestPauseStatus, optional) – Define whether you want to start (
live
) or pause (paused
) a Synthetic test.steps ([SyntheticsStep], optional) – Array of steps for the test.
tags ([str], optional) – Array of tags attached to the test.
type (SyntheticsBrowserTestType) – Type of the Synthetic test,
browser
.
datadog_api_client.v1.model.synthetics_browser_test_config module¶
- class SyntheticsBrowserTestConfig(*args, **kwargs)¶
Bases:
ModelNormal
Configuration object for a Synthetic browser test.
- Parameters:
assertions ([SyntheticsAssertion]) – Array of assertions used for the test.
config_variables ([SyntheticsConfigVariable], optional) – Array of variables used for the test.
request (SyntheticsTestRequest) – Object describing the Synthetic test request.
set_cookie (str, optional) – Cookies to be used for the request, using the Set-Cookie syntax.
variables ([SyntheticsBrowserVariable], optional) – Array of variables used for the test steps.
datadog_api_client.v1.model.synthetics_browser_test_failure_code module¶
- class SyntheticsBrowserTestFailureCode(*args, **kwargs)¶
Bases:
ModelSimple
Error code that can be returned by a Synthetic test.
- Parameters:
value (str) – Must be one of [“API_REQUEST_FAILURE”, “ASSERTION_FAILURE”, “DOWNLOAD_FILE_TOO_LARGE”, “ELEMENT_NOT_INTERACTABLE”, “EMAIL_VARIABLE_NOT_DEFINED”, “EVALUATE_JAVASCRIPT”, “EVALUATE_JAVASCRIPT_CONTEXT”, “EXTRACT_VARIABLE”, “FORBIDDEN_URL”, “FRAME_DETACHED”, “INCONSISTENCIES”, “INTERNAL_ERROR”, “INVALID_TYPE_TEXT_DELAY”, “INVALID_URL”, “INVALID_VARIABLE_PATTERN”, “INVISIBLE_ELEMENT”, “LOCATE_ELEMENT”, “NAVIGATE_TO_LINK”, “OPEN_URL”, “PRESS_KEY”, “SERVER_CERTIFICATE”, “SELECT_OPTION”, “STEP_TIMEOUT”, “SUB_TEST_NOT_PASSED”, “TEST_TIMEOUT”, “TOO_MANY_HTTP_REQUESTS”, “UNAVAILABLE_BROWSER”, “UNKNOWN”, “UNSUPPORTED_AUTH_SCHEMA”, “UPLOAD_FILES_ELEMENT_TYPE”, “UPLOAD_FILES_DIALOG”, “UPLOAD_FILES_DYNAMIC_ELEMENT”, “UPLOAD_FILES_NAME”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_browser_test_result_data module¶
- class SyntheticsBrowserTestResultData(*args, **kwargs)¶
Bases:
ModelNormal
Object containing results for your Synthetic browser test.
- Parameters:
browser_type (str, optional) – Type of browser device used for the browser test.
browser_version (str, optional) – Browser version used for the browser test.
device (SyntheticsDevice, optional) – Object describing the device used to perform the Synthetic test.
duration (float, optional) – Global duration in second of the browser test.
error (str, optional) – Error returned for the browser test.
failure (SyntheticsBrowserTestResultFailure, optional) – The browser test failure details.
passed (bool, optional) – Whether or not the browser test was conducted.
received_email_count (int, optional) – The amount of email received during the browser test.
start_url (str, optional) – Starting URL for the browser test.
step_details ([SyntheticsStepDetail], optional) – Array containing the different browser test steps.
thumbnails_bucket_key (bool, optional) – Whether or not a thumbnail is associated with the browser test.
time_to_interactive (float, optional) – Time in second to wait before the browser test starts after reaching the start URL.
datadog_api_client.v1.model.synthetics_browser_test_result_failure module¶
- class SyntheticsBrowserTestResultFailure(*args, **kwargs)¶
Bases:
ModelNormal
The browser test failure details.
- Parameters:
code (SyntheticsBrowserTestFailureCode, optional) – Error code that can be returned by a Synthetic test.
message (str, optional) – The browser test error message.
datadog_api_client.v1.model.synthetics_browser_test_result_full module¶
- class SyntheticsBrowserTestResultFull(*args, **kwargs)¶
Bases:
ModelNormal
Object returned describing a browser test result.
- Parameters:
check (SyntheticsBrowserTestResultFullCheck, optional) – Object describing the browser test configuration.
check_time (float, optional) – When the browser test was conducted.
check_version (int, optional) – Version of the browser test used.
probe_dc (str, optional) – Location from which the browser test was performed.
result (SyntheticsBrowserTestResultData, optional) – Object containing results for your Synthetic browser test.
result_id (str, optional) – ID of the browser test result.
status (SyntheticsTestMonitorStatus, optional) –
The status of your Synthetic monitor.
O
for not triggered1
for triggered2
for no data
datadog_api_client.v1.model.synthetics_browser_test_result_full_check module¶
- class SyntheticsBrowserTestResultFullCheck(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the browser test configuration.
- Parameters:
config (SyntheticsTestConfig) – Configuration object for a Synthetic test.
datadog_api_client.v1.model.synthetics_browser_test_result_short module¶
- class SyntheticsBrowserTestResultShort(*args, **kwargs)¶
Bases:
ModelNormal
Object with the results of a single Synthetic browser test.
- Parameters:
check_time (float, optional) – Last time the browser test was performed.
probe_dc (str, optional) – Location from which the Browser test was performed.
result (SyntheticsBrowserTestResultShortResult, optional) – Object with the result of the last browser test run.
result_id (str, optional) – ID of the browser test result.
status (SyntheticsTestMonitorStatus, optional) –
The status of your Synthetic monitor.
O
for not triggered1
for triggered2
for no data
datadog_api_client.v1.model.synthetics_browser_test_result_short_result module¶
- class SyntheticsBrowserTestResultShortResult(*args, **kwargs)¶
Bases:
ModelNormal
Object with the result of the last browser test run.
- Parameters:
device (SyntheticsDevice, optional) – Object describing the device used to perform the Synthetic test.
duration (float, optional) – Length in milliseconds of the browser test run.
error_count (int, optional) – Amount of errors collected for a single browser test run.
step_count_completed (int, optional) – Amount of browser test steps completed before failing.
step_count_total (int, optional) – Total amount of browser test steps.
datadog_api_client.v1.model.synthetics_browser_test_rum_settings module¶
- class SyntheticsBrowserTestRumSettings(*args, **kwargs)¶
Bases:
ModelNormal
The RUM data collection settings for the Synthetic browser test. Note: There are 3 ways to format RUM settings:
{ isEnabled: false }
RUM data is not collected.{ isEnabled: true }
RUM data is collected from the Synthetic test’s default application.{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }
RUM data is collected using the specified application.- Parameters:
application_id (str, optional) – RUM application ID used to collect RUM data for the browser test.
client_token_id (int, optional) – RUM application API key ID used to collect RUM data for the browser test.
is_enabled (bool) – Determines whether RUM data is collected during test runs.
datadog_api_client.v1.model.synthetics_browser_test_type module¶
- class SyntheticsBrowserTestType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Synthetic test, browser.
- Parameters:
value (str) – If omitted defaults to “browser”. Must be one of [“browser”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_browser_variable module¶
- class SyntheticsBrowserVariable(*args, **kwargs)¶
Bases:
ModelNormal
Object defining a variable that can be used in your browser test. See the Recording Steps documentation.
- Parameters:
example (str, optional) – Example for the variable.
id (str, optional) – ID for the variable. Global variables require an ID.
name (str) – Name of the variable.
pattern (str, optional) – Pattern of the variable.
secure (bool, optional) – Determines whether or not the browser test variable is obfuscated. Can only be used with browser variables of type
text
.type (SyntheticsBrowserVariableType) – Type of browser test variable.
datadog_api_client.v1.model.synthetics_browser_variable_type module¶
- class SyntheticsBrowserVariableType(*args, **kwargs)¶
Bases:
ModelSimple
Type of browser test variable.
- Parameters:
value (str) – Must be one of [“element”, “email”, “global”, “javascript”, “text”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_check_type module¶
- class SyntheticsCheckType(*args, **kwargs)¶
Bases:
ModelSimple
Type of assertion to apply in an API test.
- Parameters:
value (str) – Must be one of [“equals”, “notEquals”, “contains”, “notContains”, “startsWith”, “notStartsWith”, “greater”, “lower”, “greaterEquals”, “lowerEquals”, “matchRegex”, “between”, “isEmpty”, “notIsEmpty”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_ci_batch_metadata module¶
- class SyntheticsCIBatchMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Metadata for the Synthetic tests run.
- Parameters:
ci (SyntheticsCIBatchMetadataCI, optional) – Description of the CI provider.
git (SyntheticsCIBatchMetadataGit, optional) – Git information.
datadog_api_client.v1.model.synthetics_ci_batch_metadata_ci module¶
- class SyntheticsCIBatchMetadataCI(*args, **kwargs)¶
Bases:
ModelNormal
Description of the CI provider.
- Parameters:
pipeline (SyntheticsCIBatchMetadataPipeline, optional) – Description of the CI pipeline.
provider (SyntheticsCIBatchMetadataProvider, optional) – Description of the CI provider.
datadog_api_client.v1.model.synthetics_ci_batch_metadata_git module¶
- class SyntheticsCIBatchMetadataGit(*args, **kwargs)¶
Bases:
ModelNormal
Git information.
- Parameters:
branch (str, optional) – Branch name.
commit_sha (str, optional) – The commit SHA.
datadog_api_client.v1.model.synthetics_ci_batch_metadata_pipeline module¶
- class SyntheticsCIBatchMetadataPipeline(*args, **kwargs)¶
Bases:
ModelNormal
Description of the CI pipeline.
- Parameters:
url (str, optional) – URL of the pipeline.
datadog_api_client.v1.model.synthetics_ci_batch_metadata_provider module¶
- class SyntheticsCIBatchMetadataProvider(*args, **kwargs)¶
Bases:
ModelNormal
Description of the CI provider.
- Parameters:
name (str, optional) – Name of the CI provider.
datadog_api_client.v1.model.synthetics_ci_test module¶
- class SyntheticsCITest(*args, **kwargs)¶
Bases:
ModelNormal
Configuration for Continuous Testing.
- Parameters:
allow_insecure_certificates (bool, optional) – Disable certificate checks in API tests.
basic_auth (SyntheticsBasicAuth, optional) – Object to handle basic authentication when performing the test.
body (str, optional) – Body to include in the test.
body_type (str, optional) – Type of the data sent in a Synthetic API test.
cookies (str, optional) – Cookies for the request.
device_ids ([SyntheticsDeviceID], optional) – For browser test, array with the different device IDs used to run the test.
follow_redirects (bool, optional) – For API HTTP test, whether or not the test should follow redirects.
headers (SyntheticsTestHeaders, optional) – Headers to include when performing the test.
locations ([str], optional) – Array of locations used to run the test.
metadata (SyntheticsCIBatchMetadata, optional) – Metadata for the Synthetic tests run.
public_id (str) – The public ID of the Synthetic test to trigger.
retry (SyntheticsTestOptionsRetry, optional) – Object describing the retry strategy to apply to a Synthetic test.
start_url (str, optional) – Starting URL for the browser test.
variables ({str: (str,)}, optional) – Variables to replace in the test.
datadog_api_client.v1.model.synthetics_ci_test_body module¶
- class SyntheticsCITestBody(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the synthetics tests to trigger.
- Parameters:
tests ([SyntheticsCITest], optional) – Individual synthetics test.
datadog_api_client.v1.model.synthetics_config_variable module¶
- class SyntheticsConfigVariable(*args, **kwargs)¶
Bases:
ModelNormal
Object defining a variable that can be used in your test configuration.
- Parameters:
example (str, optional) – Example for the variable.
id (str, optional) – ID of the variable for global variables.
name (str) – Name of the variable.
pattern (str, optional) – Pattern of the variable.
secure (bool, optional) – Whether the value of this variable will be obfuscated in test results. Only for config variables of type
text
.type (SyntheticsConfigVariableType) – Type of the configuration variable.
datadog_api_client.v1.model.synthetics_config_variable_type module¶
- class SyntheticsConfigVariableType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the configuration variable.
- Parameters:
value (str) – Must be one of [“global”, “text”, “email”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_core_web_vitals module¶
- class SyntheticsCoreWebVitals(*args, **kwargs)¶
Bases:
ModelNormal
Core Web Vitals attached to a browser test step.
- Parameters:
_cls (float, optional) – Cumulative Layout Shift.
lcp (float, optional) – Largest Contentful Paint in milliseconds.
url (str, optional) – URL attached to the metrics.
datadog_api_client.v1.model.synthetics_delete_tests_payload module¶
- class SyntheticsDeleteTestsPayload(*args, **kwargs)¶
Bases:
ModelNormal
A JSON list of the ID or IDs of the Synthetic tests that you want to delete.
- Parameters:
force_delete_dependencies (bool, optional) – Delete the Synthetic test even if it’s referenced by other resources (for example, SLOs and composite monitors).
public_ids ([str], optional) – An array of Synthetic test IDs you want to delete.
datadog_api_client.v1.model.synthetics_delete_tests_response module¶
- class SyntheticsDeleteTestsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response object for deleting Synthetic tests.
- Parameters:
deleted_tests ([SyntheticsDeletedTest], optional) – Array of objects containing a deleted Synthetic test ID with the associated deletion timestamp.
datadog_api_client.v1.model.synthetics_deleted_test module¶
- class SyntheticsDeletedTest(*args, **kwargs)¶
Bases:
ModelNormal
Object containing a deleted Synthetic test ID with the associated deletion timestamp.
- Parameters:
deleted_at (datetime, optional) – Deletion timestamp of the Synthetic test ID.
public_id (str, optional) – The Synthetic test ID deleted.
datadog_api_client.v1.model.synthetics_device module¶
- class SyntheticsDevice(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the device used to perform the Synthetic test.
- Parameters:
height (int) – Screen height of the device.
id (SyntheticsDeviceID) – The device ID.
is_mobile (bool, optional) – Whether or not the device is a mobile.
name (str) – The device name.
width (int) – Screen width of the device.
datadog_api_client.v1.model.synthetics_device_id module¶
- class SyntheticsDeviceID(*args, **kwargs)¶
Bases:
ModelSimple
The device ID.
- Parameters:
value (str) – Must be one of [“laptop_large”, “tablet”, “mobile_small”, “chrome.laptop_large”, “chrome.tablet”, “chrome.mobile_small”, “firefox.laptop_large”, “firefox.tablet”, “firefox.mobile_small”, “edge.laptop_large”, “edge.tablet”, “edge.mobile_small”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_fetch_uptimes_payload module¶
- class SyntheticsFetchUptimesPayload(*args, **kwargs)¶
Bases:
ModelNormal
Object containing IDs of Synthetic tests and a timeframe.
- Parameters:
from_ts (int) – Timestamp in seconds (Unix epoch) for the start of uptime.
public_ids ([str]) – An array of Synthetic test IDs you want to delete.
to_ts (int) – Timestamp in seconds (Unix epoch) for the end of uptime.
datadog_api_client.v1.model.synthetics_get_api_test_latest_results_response module¶
- class SyntheticsGetAPITestLatestResultsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object with the latest Synthetic API test run.
- Parameters:
last_timestamp_fetched (int, optional) – Timestamp of the latest API test run.
results ([SyntheticsAPITestResultShort], optional) – Result of the latest API test run.
datadog_api_client.v1.model.synthetics_get_browser_test_latest_results_response module¶
- class SyntheticsGetBrowserTestLatestResultsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object with the latest Synthetic browser test run.
- Parameters:
last_timestamp_fetched (int, optional) – Timestamp of the latest browser test run.
results ([SyntheticsBrowserTestResultShort], optional) – Result of the latest browser test run.
datadog_api_client.v1.model.synthetics_global_variable module¶
- class SyntheticsGlobalVariable(*args, **kwargs)¶
Bases:
ModelNormal
Synthetic global variable.
- Parameters:
attributes (SyntheticsGlobalVariableAttributes, optional) – Attributes of the global variable.
description (str) – Description of the global variable.
id (str, optional) – Unique identifier of the global variable.
is_fido (bool, optional) – Determines if the global variable is a FIDO variable.
is_totp (bool, optional) – Determines if the global variable is a TOTP/MFA variable.
name (str) – Name of the global variable. Unique across Synthetic global variables.
parse_test_options (SyntheticsGlobalVariableParseTestOptions, optional) – Parser options to use for retrieving a Synthetic global variable from a Synthetic test. Used in conjunction with
parse_test_public_id
.parse_test_public_id (str, optional) – A Synthetic test ID to use as a test to generate the variable value.
tags ([str]) – Tags of the global variable.
value (SyntheticsGlobalVariableValue) – Value of the global variable.
datadog_api_client.v1.model.synthetics_global_variable_attributes module¶
- class SyntheticsGlobalVariableAttributes(*args, **kwargs)¶
Bases:
ModelNormal
Attributes of the global variable.
- Parameters:
restricted_roles (SyntheticsRestrictedRoles, optional) – A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
datadog_api_client.v1.model.synthetics_global_variable_options module¶
- class SyntheticsGlobalVariableOptions(*args, **kwargs)¶
Bases:
ModelNormal
Options for the Global Variable for MFA.
- Parameters:
totp_parameters (SyntheticsGlobalVariableTOTPParameters, optional) – Parameters for the TOTP/MFA variable
datadog_api_client.v1.model.synthetics_global_variable_parse_test_options module¶
- class SyntheticsGlobalVariableParseTestOptions(*args, **kwargs)¶
Bases:
ModelNormal
Parser options to use for retrieving a Synthetic global variable from a Synthetic test. Used in conjunction with
parse_test_public_id
.- Parameters:
field (str, optional) – When type is
http_header
, name of the header to use to extract the value.local_variable_name (str, optional) – When type is
local_variable
, name of the local variable to use to extract the value.parser (SyntheticsVariableParser, optional) – Details of the parser to use for the global variable.
type (SyntheticsGlobalVariableParseTestOptionsType) – Type of value to extract from a test for a Synthetic global variable.
datadog_api_client.v1.model.synthetics_global_variable_parse_test_options_type module¶
- class SyntheticsGlobalVariableParseTestOptionsType(*args, **kwargs)¶
Bases:
ModelSimple
Type of value to extract from a test for a Synthetic global variable.
- Parameters:
value (str) – Must be one of [“http_body”, “http_header”, “http_status_code”, “local_variable”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_global_variable_parser_type module¶
- class SyntheticsGlobalVariableParserType(*args, **kwargs)¶
Bases:
ModelSimple
Type of parser for a Synthetic global variable from a synthetics test.
- Parameters:
value (str) – Must be one of [“raw”, “json_path”, “regex”, “x_path”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_global_variable_request module¶
- class SyntheticsGlobalVariableRequest(*args, **kwargs)¶
Bases:
ModelNormal
Details of the global variable to create.
- Parameters:
attributes (SyntheticsGlobalVariableAttributes, optional) – Attributes of the global variable.
description (str) – Description of the global variable.
id (str, optional) – Unique identifier of the global variable.
is_fido (bool, optional) – Determines if the global variable is a FIDO variable.
is_totp (bool, optional) – Determines if the global variable is a TOTP/MFA variable.
name (str) – Name of the global variable. Unique across Synthetic global variables.
parse_test_options (SyntheticsGlobalVariableParseTestOptions, optional) – Parser options to use for retrieving a Synthetic global variable from a Synthetic test. Used in conjunction with
parse_test_public_id
.parse_test_public_id (str, optional) – A Synthetic test ID to use as a test to generate the variable value.
tags ([str]) – Tags of the global variable.
value (SyntheticsGlobalVariableValue, optional) – Value of the global variable.
datadog_api_client.v1.model.synthetics_global_variable_totp_parameters module¶
- class SyntheticsGlobalVariableTOTPParameters(*args, **kwargs)¶
Bases:
ModelNormal
Parameters for the TOTP/MFA variable
- Parameters:
digits (int, optional) – Number of digits for the OTP code.
refresh_interval (int, optional) – Interval for which to refresh the token (in seconds).
datadog_api_client.v1.model.synthetics_global_variable_value module¶
- class SyntheticsGlobalVariableValue(*args, **kwargs)¶
Bases:
ModelNormal
Value of the global variable.
- Parameters:
options (SyntheticsGlobalVariableOptions, optional) – Options for the Global Variable for MFA.
secure (bool, optional) – Determines if the value of the variable is hidden.
value (str, optional) – Value of the global variable. When reading a global variable, the value will not be present if the variable is hidden with the
secure
property.
datadog_api_client.v1.model.synthetics_list_global_variables_response module¶
- class SyntheticsListGlobalVariablesResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing an array of Synthetic global variables.
- Parameters:
variables ([SyntheticsGlobalVariable], optional) – Array of Synthetic global variables.
datadog_api_client.v1.model.synthetics_list_tests_response module¶
- class SyntheticsListTestsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing an array of Synthetic tests configuration.
- Parameters:
tests ([SyntheticsTestDetails], optional) – Array of Synthetic tests configuration.
datadog_api_client.v1.model.synthetics_local_variable_parsing_options_type module¶
- class SyntheticsLocalVariableParsingOptionsType(*args, **kwargs)¶
Bases:
ModelSimple
Property of the Synthetic Test Response to extract into a local variable.
- Parameters:
value (str) – Must be one of [“grpc_message”, “grpc_metadata”, “http_body”, “http_header”, “http_status_code”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_location module¶
- class SyntheticsLocation(*args, **kwargs)¶
Bases:
ModelNormal
Synthetic location that can be used when creating or editing a test.
- Parameters:
id (str, optional) – Unique identifier of the location.
name (str, optional) – Name of the location.
datadog_api_client.v1.model.synthetics_locations module¶
- class SyntheticsLocations(*args, **kwargs)¶
Bases:
ModelNormal
List of Synthetic locations.
- Parameters:
locations ([SyntheticsLocation], optional) – List of Synthetic locations.
datadog_api_client.v1.model.synthetics_mobile_step module¶
- class SyntheticsMobileStep(*args, **kwargs)¶
Bases:
ModelNormal
The steps used in a Synthetic mobile test.
- Parameters:
allow_failure (bool, optional) – A boolean set to allow this step to fail.
has_new_step_element (bool, optional) – A boolean set to determine if the step has a new step element.
is_critical (bool, optional) – A boolean to use in addition to
allowFailure
to determine if the test should be marked as failed when the step fails.name (str) – The name of the step.
no_screenshot (bool, optional) – A boolean set to not take a screenshot for the step.
params (SyntheticsMobileStepParams) – The parameters of a mobile step.
public_id (str, optional) – The public ID of the step.
timeout (int, optional) – The time before declaring a step failed.
type (SyntheticsMobileStepType) – Step type used in your mobile Synthetic test.
datadog_api_client.v1.model.synthetics_mobile_step_params module¶
- class SyntheticsMobileStepParams(*args, **kwargs)¶
Bases:
ModelNormal
The parameters of a mobile step.
- Parameters:
check (SyntheticsCheckType, optional) – Type of assertion to apply in an API test.
delay (int, optional) – Number of milliseconds to wait between inputs in a
typeText
step type.direction (SyntheticsMobileStepParamsDirection, optional) – The direction of the scroll for a
scrollToElement
step type.element (SyntheticsMobileStepParamsElement, optional) – Information about the element used for a step.
enabled (bool, optional) – Boolean to change the state of the wifi for a
toggleWiFi
step type.max_scrolls (int, optional) – Maximum number of scrolls to do for a
scrollToElement
step type.positions ([SyntheticsMobileStepParamsPositionsItems], optional) – List of positions for the
flick
step type. The maximum is 10 flicks per stepsubtest_public_id (str, optional) – Public ID of the test to be played as part of a
playSubTest
step type.value (SyntheticsMobileStepParamsValue, optional) – Values used in the step for in multiple step types.
variable (SyntheticsMobileStepParamsVariable, optional) – Variable object for
extractVariable
step type.with_enter (bool, optional) – Boolean to indicate if
Enter
should be pressed at the end of thetypeText
step type.x (float, optional) – Amount to scroll by on the
x
axis for ascroll
step type.y (float, optional) – Amount to scroll by on the
y
axis for ascroll
step type.
datadog_api_client.v1.model.synthetics_mobile_step_params_direction module¶
- class SyntheticsMobileStepParamsDirection(*args, **kwargs)¶
Bases:
ModelSimple
The direction of the scroll for a scrollToElement step type.
- Parameters:
value (str) – Must be one of [“up”, “down”, “left”, “right”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_mobile_step_params_element module¶
- class SyntheticsMobileStepParamsElement(*args, **kwargs)¶
Bases:
ModelNormal
Information about the element used for a step.
- Parameters:
context (str, optional) – Context of the element.
context_type (SyntheticsMobileStepParamsElementContextType, optional) – Type of the context that the element is in.
element_description (str, optional) – Description of the element.
multi_locator (dict, optional) – Multi-locator to find the element.
relative_position (SyntheticsMobileStepParamsElementRelativePosition, optional) – Position of the action relative to the element.
text_content (str, optional) – Text content of the element.
user_locator (SyntheticsMobileStepParamsElementUserLocator, optional) – User locator to find the element.
view_name (str, optional) – Name of the view of the element.
datadog_api_client.v1.model.synthetics_mobile_step_params_element_context_type module¶
- class SyntheticsMobileStepParamsElementContextType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the context that the element is in.
- Parameters:
value (str) – Must be one of [“native”, “web”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_mobile_step_params_element_relative_position module¶
- class SyntheticsMobileStepParamsElementRelativePosition(*args, **kwargs)¶
Bases:
ModelNormal
Position of the action relative to the element.
- Parameters:
x (float, optional) – The
relativePosition
on thex
axis for the element.y (float, optional) – The
relativePosition
on they
axis for the element.
datadog_api_client.v1.model.synthetics_mobile_step_params_element_user_locator module¶
- class SyntheticsMobileStepParamsElementUserLocator(*args, **kwargs)¶
Bases:
ModelNormal
User locator to find the element.
- Parameters:
fail_test_on_cannot_locate (bool, optional) – Whether if the the test should fail if the element cannot be found.
values ([SyntheticsMobileStepParamsElementUserLocatorValuesItems], optional) – Values of the user locator.
datadog_api_client.v1.model.synthetics_mobile_step_params_element_user_locator_values_items module¶
- class SyntheticsMobileStepParamsElementUserLocatorValuesItems(*args, **kwargs)¶
Bases:
ModelNormal
A single user locator object.
- Parameters:
type (SyntheticsMobileStepParamsElementUserLocatorValuesItemsType, optional) – Type of a user locator.
value (str, optional) – Value of a user locator.
datadog_api_client.v1.model.synthetics_mobile_step_params_element_user_locator_values_items_type module¶
- class SyntheticsMobileStepParamsElementUserLocatorValuesItemsType(*args, **kwargs)¶
Bases:
ModelSimple
Type of a user locator.
- Parameters:
value (str) – Must be one of [“accessibility-id”, “id”, “ios-predicate-string”, “ios-class-chain”, “xpath”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_mobile_step_params_positions_items module¶
- class SyntheticsMobileStepParamsPositionsItems(*args, **kwargs)¶
Bases:
ModelNormal
A description of a single position for a
flick
step type.- Parameters:
x (float, optional) – The
x
position for the flick.y (float, optional) – The
y
position for the flick.
datadog_api_client.v1.model.synthetics_mobile_step_params_value module¶
- class SyntheticsMobileStepParamsValue(*args, **kwargs)¶
Bases:
ModelComposed
Values used in the step for in multiple step types.
datadog_api_client.v1.model.synthetics_mobile_step_params_variable module¶
- class SyntheticsMobileStepParamsVariable(*args, **kwargs)¶
Bases:
ModelNormal
Variable object for
extractVariable
step type.- Parameters:
example (str) – An example for the variable.
name (str) – The variable name.
datadog_api_client.v1.model.synthetics_mobile_step_type module¶
- class SyntheticsMobileStepType(*args, **kwargs)¶
Bases:
ModelSimple
Step type used in your mobile Synthetic test.
- Parameters:
value (str) – Must be one of [“assertElementContent”, “assertScreenContains”, “assertScreenLacks”, “doubleTap”, “extractVariable”, “flick”, “openDeeplink”, “playSubTest”, “pressBack”, “restartApplication”, “rotate”, “scroll”, “scrollToElement”, “tap”, “toggleWiFi”, “typeText”, “wait”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_mobile_test module¶
- class SyntheticsMobileTest(*args, **kwargs)¶
Bases:
ModelNormal
Object containing details about a Synthetic mobile test.
- Parameters:
config (SyntheticsMobileTestConfig) – Configuration object for a Synthetic mobile test.
device_ids ([str], optional) – Array with the different device IDs used to run the test.
message (str, optional) – Notification message associated with the test.
monitor_id (int, optional) – The associated monitor ID.
name (str) – Name of the test.
options (SyntheticsMobileTestOptions) – Object describing the extra options for a Synthetic test.
public_id (str, optional) – The public ID of the test.
status (SyntheticsTestPauseStatus, optional) – Define whether you want to start (
live
) or pause (paused
) a Synthetic test.steps ([SyntheticsMobileStep], optional) – Array of steps for the test.
tags ([str], optional) – Array of tags attached to the test.
type (SyntheticsMobileTestType) – Type of the Synthetic test,
mobile
.
datadog_api_client.v1.model.synthetics_mobile_test_config module¶
- class SyntheticsMobileTestConfig(*args, **kwargs)¶
Bases:
ModelNormal
Configuration object for a Synthetic mobile test.
- Parameters:
initial_application_arguments (SyntheticsMobileTestInitialApplicationArguments, optional) – Initial application arguments for a mobile test.
variables ([SyntheticsConfigVariable], optional) – Array of variables used for the test steps.
datadog_api_client.v1.model.synthetics_mobile_test_initial_application_arguments module¶
- class SyntheticsMobileTestInitialApplicationArguments(*args, **kwargs)¶
Bases:
ModelNormal
Initial application arguments for a mobile test.
datadog_api_client.v1.model.synthetics_mobile_test_options module¶
- class SyntheticsMobileTestOptions(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the extra options for a Synthetic test.
- Parameters:
allow_application_crash (bool, optional) – A boolean to set if an application crash would mark the test as failed.
bindings ([SyntheticsTestRestrictionPolicyBinding], optional) – Array of bindings used for the mobile test.
ci (SyntheticsTestCiOptions, optional) – CI/CD options for a Synthetic test.
default_step_timeout (int, optional) – The default timeout for steps in the test (in seconds).
device_ids ([str]) – For mobile test, array with the different device IDs used to run the test.
disable_auto_accept_alert (bool, optional) – A boolean to disable auto accepting alerts.
min_failure_duration (int, optional) – Minimum amount of time in failure required to trigger an alert.
mobile_application (SyntheticsMobileTestsMobileApplication) – Mobile application for mobile synthetics test.
monitor_name (str, optional) – The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
monitor_options (SyntheticsTestOptionsMonitorOptions, optional) – Object containing the options for a Synthetic test as a monitor (for example, renotification).
monitor_priority (int, optional) – Integer from 1 (high) to 5 (low) indicating alert severity.
no_screenshot (bool, optional) – A boolean set to not take a screenshot for the step.
restricted_roles (SyntheticsRestrictedRoles, optional) – A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
retry (SyntheticsTestOptionsRetry, optional) – Object describing the retry strategy to apply to a Synthetic test.
scheduling (SyntheticsTestOptionsScheduling, optional) – Object containing timeframes and timezone used for advanced scheduling.
tick_every (int) – The frequency at which to run the Synthetic test (in seconds).
verbosity (int, optional) – The level of verbosity for the mobile test.
datadog_api_client.v1.model.synthetics_mobile_test_type module¶
- class SyntheticsMobileTestType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Synthetic test, mobile.
- Parameters:
value (str) – If omitted defaults to “mobile”. Must be one of [“mobile”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_mobile_tests_mobile_application module¶
- class SyntheticsMobileTestsMobileApplication(*args, **kwargs)¶
Bases:
ModelNormal
Mobile application for mobile synthetics test.
- Parameters:
application_id (str) – Application ID of the mobile application.
reference_id (str) – Reference ID of the mobile application.
reference_type (SyntheticsMobileTestsMobileApplicationReferenceType) – Reference type for the mobile application for a mobile synthetics test.
datadog_api_client.v1.model.synthetics_mobile_tests_mobile_application_reference_type module¶
- class SyntheticsMobileTestsMobileApplicationReferenceType(*args, **kwargs)¶
Bases:
ModelSimple
Reference type for the mobile application for a mobile synthetics test.
- Parameters:
value (str) – Must be one of [“latest”, “version”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_parsing_options module¶
- class SyntheticsParsingOptions(*args, **kwargs)¶
Bases:
ModelNormal
Parsing options for variables to extract.
- Parameters:
field (str, optional) – When type is
http_header
orgrpc_metadata
, name of the header or metadatum to extract.name (str, optional) – Name of the variable to extract.
parser (SyntheticsVariableParser, optional) – Details of the parser to use for the global variable.
secure (bool, optional) – Determines whether or not the extracted value will be obfuscated.
type (SyntheticsLocalVariableParsingOptionsType, optional) – Property of the Synthetic Test Response to extract into a local variable.
datadog_api_client.v1.model.synthetics_patch_test_body module¶
- class SyntheticsPatchTestBody(*args, **kwargs)¶
Bases:
ModelNormal
Wrapper around an array of JSON Patch operations to perform on the test
- Parameters:
data ([SyntheticsPatchTestOperation], optional) –
Array of JSON Patch operations to perform on the test
datadog_api_client.v1.model.synthetics_patch_test_operation module¶
- class SyntheticsPatchTestOperation(*args, **kwargs)¶
Bases:
ModelNormal
A single JSON Patch operation to perform on the test
- Parameters:
op (SyntheticsPatchTestOperationName, optional) – The operation to perform
path (str, optional) – The path to the value to modify
value (bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional) –
A value to use in a JSON Patch operation
datadog_api_client.v1.model.synthetics_patch_test_operation_name module¶
- class SyntheticsPatchTestOperationName(*args, **kwargs)¶
Bases:
ModelSimple
The operation to perform
- Parameters:
value (str) – Must be one of [“add”, “remove”, “replace”, “move”, “copy”, “test”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_playing_tab module¶
- class SyntheticsPlayingTab(*args, **kwargs)¶
Bases:
ModelSimple
Navigate between different tabs for your browser test.
- Parameters:
value (int) – Must be one of [-1, 0, 1, 2, 3].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_private_location module¶
- class SyntheticsPrivateLocation(*args, **kwargs)¶
Bases:
ModelNormal
Object containing information about the private location to create.
- Parameters:
description (str) – Description of the private location.
id (str, optional) – Unique identifier of the private location.
metadata (SyntheticsPrivateLocationMetadata, optional) – Object containing metadata about the private location.
name (str) – Name of the private location.
secrets (SyntheticsPrivateLocationSecrets, optional) – Secrets for the private location. Only present in the response when creating the private location.
tags ([str]) – Array of tags attached to the private location.
datadog_api_client.v1.model.synthetics_private_location_creation_response module¶
- class SyntheticsPrivateLocationCreationResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object that contains the new private location, the public key for result encryption, and the configuration skeleton.
- Parameters:
config (dict, optional) – Configuration skeleton for the private location. See installation instructions of the private location on how to use this configuration.
private_location (SyntheticsPrivateLocation, optional) – Object containing information about the private location to create.
result_encryption (SyntheticsPrivateLocationCreationResponseResultEncryption, optional) – Public key for the result encryption.
datadog_api_client.v1.model.synthetics_private_location_creation_response_result_encryption module¶
- class SyntheticsPrivateLocationCreationResponseResultEncryption(*args, **kwargs)¶
Bases:
ModelNormal
Public key for the result encryption.
- Parameters:
id (str, optional) – Fingerprint for the encryption key.
key (str, optional) – Public key for result encryption.
datadog_api_client.v1.model.synthetics_private_location_metadata module¶
- class SyntheticsPrivateLocationMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Object containing metadata about the private location.
- Parameters:
restricted_roles (SyntheticsRestrictedRoles, optional) – A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
datadog_api_client.v1.model.synthetics_private_location_secrets module¶
- class SyntheticsPrivateLocationSecrets(*args, **kwargs)¶
Bases:
ModelNormal
Secrets for the private location. Only present in the response when creating the private location.
- Parameters:
authentication (SyntheticsPrivateLocationSecretsAuthentication, optional) – Authentication part of the secrets.
config_decryption (SyntheticsPrivateLocationSecretsConfigDecryption, optional) – Private key for the private location.
datadog_api_client.v1.model.synthetics_private_location_secrets_authentication module¶
- class SyntheticsPrivateLocationSecretsAuthentication(*args, **kwargs)¶
Bases:
ModelNormal
Authentication part of the secrets.
- Parameters:
id (str, optional) – Access key for the private location.
key (str, optional) – Secret access key for the private location.
datadog_api_client.v1.model.synthetics_private_location_secrets_config_decryption module¶
- class SyntheticsPrivateLocationSecretsConfigDecryption(*args, **kwargs)¶
Bases:
ModelNormal
Private key for the private location.
- Parameters:
key (str, optional) – Private key for the private location.
datadog_api_client.v1.model.synthetics_restricted_roles module¶
- class SyntheticsRestrictedRoles(*args, **kwargs)¶
Bases:
ModelSimple
A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_ssl_certificate module¶
- class SyntheticsSSLCertificate(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the SSL certificate used for a Synthetic test.
- Parameters:
cipher (str, optional) – Cipher used for the connection.
exponent (float, optional) – Exponent associated to the certificate.
ext_key_usage ([str], optional) – Array of extensions and details used for the certificate.
fingerprint (str, optional) – MD5 digest of the DER-encoded Certificate information.
fingerprint256 (str, optional) – SHA-1 digest of the DER-encoded Certificate information.
issuer (SyntheticsSSLCertificateIssuer, optional) – Object describing the issuer of a SSL certificate.
modulus (str, optional) – Modulus associated to the SSL certificate private key.
protocol (str, optional) – TLS protocol used for the test.
serial_number (str, optional) – Serial Number assigned by Symantec to the SSL certificate.
subject (SyntheticsSSLCertificateSubject, optional) – Object describing the SSL certificate used for the test.
valid_from (datetime, optional) – Date from which the SSL certificate is valid.
valid_to (datetime, optional) – Date until which the SSL certificate is valid.
datadog_api_client.v1.model.synthetics_ssl_certificate_issuer module¶
- class SyntheticsSSLCertificateIssuer(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the issuer of a SSL certificate.
- Parameters:
c (str, optional) – Country Name that issued the certificate.
cn (str, optional) – Common Name that issued certificate.
l (str, optional) – Locality that issued the certificate.
o (str, optional) – Organization that issued the certificate.
ou (str, optional) – Organizational Unit that issued the certificate.
st (str, optional) – State Or Province Name that issued the certificate.
datadog_api_client.v1.model.synthetics_ssl_certificate_subject module¶
- class SyntheticsSSLCertificateSubject(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the SSL certificate used for the test.
- Parameters:
c (str, optional) – Country Name associated with the certificate.
cn (str, optional) – Common Name that associated with the certificate.
l (str, optional) – Locality associated with the certificate.
o (str, optional) – Organization associated with the certificate.
ou (str, optional) – Organizational Unit associated with the certificate.
st (str, optional) – State Or Province Name associated with the certificate.
alt_name (str, optional) – Subject Alternative Name associated with the certificate.
datadog_api_client.v1.model.synthetics_status module¶
- class SyntheticsStatus(*args, **kwargs)¶
Bases:
ModelSimple
Determines whether or not the batch has passed, failed, or is in progress.
- Parameters:
value (str) – Must be one of [“passed”, “skipped”, “failed”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_step module¶
- class SyntheticsStep(*args, **kwargs)¶
Bases:
ModelNormal
The steps used in a Synthetic browser test.
- Parameters:
allow_failure (bool, optional) – A boolean set to allow this step to fail.
is_critical (bool, optional) – A boolean to use in addition to
allowFailure
to determine if the test should be marked as failed when the step fails.name (str, optional) – The name of the step.
no_screenshot (bool, optional) – A boolean set to not take a screenshot for the step.
params (dict, optional) – The parameters of the step.
timeout (int, optional) – The time before declaring a step failed.
type (SyntheticsStepType, optional) – Step type used in your Synthetic test.
datadog_api_client.v1.model.synthetics_step_detail module¶
- class SyntheticsStepDetail(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a step for a Synthetic test.
- Parameters:
allow_failure (bool, optional) – Whether or not the step was allowed to fail.
browser_errors ([SyntheticsBrowserError], optional) – Array of errors collected for a browser test.
check_type (SyntheticsCheckType, optional) – Type of assertion to apply in an API test.
description (str, optional) – Description of the test.
duration (float, optional) – Total duration in millisecond of the test.
error (str, optional) – Error returned by the test.
failure (SyntheticsBrowserTestResultFailure, optional) – The browser test failure details.
playing_tab (SyntheticsPlayingTab, optional) – Navigate between different tabs for your browser test.
screenshot_bucket_key (bool, optional) – Whether or not screenshots where collected by the test.
skipped (bool, optional) – Whether or not to skip this step.
snapshot_bucket_key (bool, optional) – Whether or not snapshots where collected by the test.
step_id (int, optional) – The step ID.
sub_test_step_details ([SyntheticsStepDetail], optional) – If this step includes a sub-test. Subtests documentation.
time_to_interactive (float, optional) – Time before starting the step.
type (SyntheticsStepType, optional) – Step type used in your Synthetic test.
url (str, optional) – URL to perform the step against.
value (bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional) – Value for the step.
vitals_metrics ([SyntheticsCoreWebVitals], optional) – Array of Core Web Vitals metrics for the step.
warnings ([SyntheticsStepDetailWarning], optional) – Warning collected that didn’t failed the step.
datadog_api_client.v1.model.synthetics_step_detail_warning module¶
- class SyntheticsStepDetailWarning(*args, **kwargs)¶
Bases:
ModelNormal
Object collecting warnings for a given step.
- Parameters:
message (str) – Message for the warning.
type (SyntheticsWarningType) – User locator used.
datadog_api_client.v1.model.synthetics_step_type module¶
- class SyntheticsStepType(*args, **kwargs)¶
Bases:
ModelSimple
Step type used in your Synthetic test.
- Parameters:
value (str) – Must be one of [“assertCurrentUrl”, “assertElementAttribute”, “assertElementContent”, “assertElementPresent”, “assertEmail”, “assertFileDownload”, “assertFromJavascript”, “assertPageContains”, “assertPageLacks”, “click”, “extractFromJavascript”, “extractVariable”, “goToEmailLink”, “goToUrl”, “goToUrlAndMeasureTti”, “hover”, “playSubTest”, “pressKey”, “refresh”, “runApiTest”, “scroll”, “selectOption”, “typeText”, “uploadFiles”, “wait”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_call_type module¶
- class SyntheticsTestCallType(*args, **kwargs)¶
Bases:
ModelSimple
The type of gRPC call to perform.
- Parameters:
value (str) – Must be one of [“healthcheck”, “unary”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_ci_options module¶
- class SyntheticsTestCiOptions(*args, **kwargs)¶
Bases:
ModelNormal
CI/CD options for a Synthetic test.
- Parameters:
execution_rule (SyntheticsTestExecutionRule) – Execution rule for a Synthetic test.
datadog_api_client.v1.model.synthetics_test_config module¶
- class SyntheticsTestConfig(*args, **kwargs)¶
Bases:
ModelNormal
Configuration object for a Synthetic test.
- Parameters:
assertions ([SyntheticsAssertion], optional) – Array of assertions used for the test. Required for single API tests.
config_variables ([SyntheticsConfigVariable], optional) – Array of variables used for the test.
request (SyntheticsTestRequest, optional) – Object describing the Synthetic test request.
variables ([SyntheticsBrowserVariable], optional) – Browser tests only - array of variables used for the test steps.
datadog_api_client.v1.model.synthetics_test_details module¶
- class SyntheticsTestDetails(*args, **kwargs)¶
Bases:
ModelNormal
Object containing details about your Synthetic test.
- Parameters:
config (SyntheticsTestConfig, optional) – Configuration object for a Synthetic test.
creator (Creator, optional) – Object describing the creator of the shared element.
locations ([str], optional) – Array of locations used to run the test.
message (str, optional) – Notification message associated with the test.
monitor_id (int, optional) – The associated monitor ID.
name (str, optional) – Name of the test.
options (SyntheticsTestOptions, optional) – Object describing the extra options for a Synthetic test.
public_id (str, optional) – The test public ID.
status (SyntheticsTestPauseStatus, optional) – Define whether you want to start (
live
) or pause (paused
) a Synthetic test.steps ([SyntheticsStep], optional) – For browser test, the steps of the test.
subtype (SyntheticsTestDetailsSubType, optional) – The subtype of the Synthetic API test,
http
,ssl
,tcp
,dns
,icmp
,udp
,websocket
,grpc
ormulti
.tags ([str], optional) – Array of tags attached to the test.
type (SyntheticsTestDetailsType, optional) – Type of the Synthetic test, either
api
orbrowser
.
datadog_api_client.v1.model.synthetics_test_details_sub_type module¶
- class SyntheticsTestDetailsSubType(*args, **kwargs)¶
Bases:
ModelSimple
- The subtype of the Synthetic API test, http, ssl, tcp,
dns, icmp, udp, websocket, grpc or multi.
- Parameters:
value (str) – Must be one of [“http”, “ssl”, “tcp”, “dns”, “multi”, “icmp”, “udp”, “websocket”, “grpc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_details_type module¶
- class SyntheticsTestDetailsType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the Synthetic test, either api or browser.
- Parameters:
value (str) – Must be one of [“api”, “browser”, “mobile”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_execution_rule module¶
- class SyntheticsTestExecutionRule(*args, **kwargs)¶
Bases:
ModelSimple
Execution rule for a Synthetic test.
- Parameters:
value (str) – Must be one of [“blocking”, “non_blocking”, “skipped”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_headers module¶
- class SyntheticsTestHeaders(*args, **kwargs)¶
Bases:
ModelNormal
Headers to include when performing the test.
datadog_api_client.v1.model.synthetics_test_metadata module¶
- class SyntheticsTestMetadata(*args, **kwargs)¶
Bases:
ModelNormal
Metadata to include when performing the gRPC test.
datadog_api_client.v1.model.synthetics_test_monitor_status module¶
- class SyntheticsTestMonitorStatus(*args, **kwargs)¶
Bases:
ModelSimple
- The status of your Synthetic monitor.
O for not triggered
1 for triggered
2 for no data
- Parameters:
value (int) – Must be one of [0, 1, 2].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_options module¶
- class SyntheticsTestOptions(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the extra options for a Synthetic test.
- Parameters:
accept_self_signed (bool, optional) – For SSL test, whether or not the test should allow self signed certificates.
allow_insecure (bool, optional) – Allows loading insecure content for an HTTP request in an API test.
check_certificate_revocation (bool, optional) – For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
ci (SyntheticsTestCiOptions, optional) – CI/CD options for a Synthetic test.
device_ids ([SyntheticsDeviceID], optional) – For browser test, array with the different device IDs used to run the test.
disable_cors (bool, optional) – Whether or not to disable CORS mechanism.
disable_csp (bool, optional) – Disable Content Security Policy for browser tests.
enable_profiling (bool, optional) – Enable profiling for browser tests.
enable_security_testing (bool, optional) – Enable security testing for browser tests. Security testing is not available anymore. This field is deprecated and won’t be used. Deprecated.
follow_redirects (bool, optional) – For API HTTP test, whether or not the test should follow redirects.
http_version (SyntheticsTestOptionsHTTPVersion, optional) – HTTP version to use for a Synthetic test.
ignore_server_certificate_error (bool, optional) – Ignore server certificate error for browser tests.
initial_navigation_timeout (int, optional) – Timeout before declaring the initial step as failed (in seconds) for browser tests.
min_failure_duration (int, optional) – Minimum amount of time in failure required to trigger an alert.
min_location_failed (int, optional) – Minimum number of locations in failure required to trigger an alert.
monitor_name (str, optional) – The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
monitor_options (SyntheticsTestOptionsMonitorOptions, optional) – Object containing the options for a Synthetic test as a monitor (for example, renotification).
monitor_priority (int, optional) – Integer from 1 (high) to 5 (low) indicating alert severity.
no_screenshot (bool, optional) – Prevents saving screenshots of the steps.
restricted_roles (SyntheticsRestrictedRoles, optional) – A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
retry (SyntheticsTestOptionsRetry, optional) – Object describing the retry strategy to apply to a Synthetic test.
rum_settings (SyntheticsBrowserTestRumSettings, optional) –
The RUM data collection settings for the Synthetic browser test. Note: There are 3 ways to format RUM settings:
{ isEnabled: false }
RUM data is not collected.{ isEnabled: true }
RUM data is collected from the Synthetic test’s default application.{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }
RUM data is collected using the specified application.scheduling (SyntheticsTestOptionsScheduling, optional) – Object containing timeframes and timezone used for advanced scheduling.
tick_every (int, optional) – The frequency at which to run the Synthetic test (in seconds).
datadog_api_client.v1.model.synthetics_test_options_monitor_options module¶
- class SyntheticsTestOptionsMonitorOptions(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the options for a Synthetic test as a monitor (for example, renotification).
- Parameters:
escalation_message (str, optional) – Message to include in the escalation notification.
notification_preset_name (SyntheticsTestOptionsMonitorOptionsNotificationPresetName, optional) – The name of the preset for the notification for the monitor.
renotify_interval (int, optional) – Time interval before renotifying if the test is still failing (in minutes).
renotify_occurrences (int, optional) – The number of times to renotify if the test is still failing.
datadog_api_client.v1.model.synthetics_test_options_monitor_options_notification_preset_name module¶
- class SyntheticsTestOptionsMonitorOptionsNotificationPresetName(*args, **kwargs)¶
Bases:
ModelSimple
The name of the preset for the notification for the monitor.
- Parameters:
value (str) – Must be one of [“show_all”, “hide_all”, “hide_query”, “hide_handles”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_options_retry module¶
- class SyntheticsTestOptionsRetry(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the retry strategy to apply to a Synthetic test.
- Parameters:
count (int, optional) – Number of times a test needs to be retried before marking a location as failed. Defaults to 0.
interval (float, optional) – Time interval between retries (in milliseconds). Defaults to 300ms.
datadog_api_client.v1.model.synthetics_test_options_scheduling module¶
- class SyntheticsTestOptionsScheduling(*args, **kwargs)¶
Bases:
ModelNormal
Object containing timeframes and timezone used for advanced scheduling.
- Parameters:
timeframes ([SyntheticsTestOptionsSchedulingTimeframe]) – Array containing objects describing the scheduling pattern to apply to each day.
timezone (str) – Timezone in which the timeframe is based.
datadog_api_client.v1.model.synthetics_test_options_scheduling_timeframe module¶
- class SyntheticsTestOptionsSchedulingTimeframe(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a timeframe.
- Parameters:
day (int) – Number representing the day of the week.
_from (str) – The hour of the day on which scheduling starts.
to (str) – The hour of the day on which scheduling ends.
datadog_api_client.v1.model.synthetics_test_pause_status module¶
- class SyntheticsTestPauseStatus(*args, **kwargs)¶
Bases:
ModelSimple
- Define whether you want to start (live) or pause (paused) a
Synthetic test.
- Parameters:
value (str) – Must be one of [“live”, “paused”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_process_status module¶
- class SyntheticsTestProcessStatus(*args, **kwargs)¶
Bases:
ModelSimple
Status of a Synthetic test.
- Parameters:
value (str) – Must be one of [“not_scheduled”, “scheduled”, “finished”, “finished_with_error”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_request module¶
- class SyntheticsTestRequest(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the Synthetic test request.
- Parameters:
allow_insecure (bool, optional) – Allows loading insecure content for an HTTP request in a multistep test step.
basic_auth (SyntheticsBasicAuth, optional) – Object to handle basic authentication when performing the test.
body (str, optional) – Body to include in the test.
body_type (SyntheticsTestRequestBodyType, optional) – Type of the request body.
call_type (SyntheticsTestCallType, optional) – The type of gRPC call to perform.
certificate (SyntheticsTestRequestCertificate, optional) – Client certificate to use when performing the test request.
certificate_domains ([str], optional) – By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in
certificateDomains
.compressed_json_descriptor (str, optional) – A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
compressed_proto_file (str, optional) – A protobuf file that needs to be gzipped first then base64 encoded.
dns_server (str, optional) – DNS server to use for DNS tests.
dns_server_port (str, optional) – DNS server port to use for DNS tests.
files ([SyntheticsTestRequestBodyFile], optional) – Files to be used as part of the request in the test.
follow_redirects (bool, optional) – Specifies whether or not the request follows redirects.
headers (SyntheticsTestHeaders, optional) – Headers to include when performing the test.
host (str, optional) – Host name to perform the test with.
http_version (SyntheticsTestOptionsHTTPVersion, optional) – HTTP version to use for a Synthetic test.
message (str, optional) – Message to send for UDP or WebSocket tests.
metadata (SyntheticsTestMetadata, optional) – Metadata to include when performing the gRPC test.
method (str, optional) – Either the HTTP method/verb to use or a gRPC method available on the service set in the
service
field. Required ifsubtype
isHTTP
or ifsubtype
isgrpc
andcallType
isunary
.no_saving_response_body (bool, optional) – Determines whether or not to save the response body.
number_of_packets (int, optional) – Number of pings to use per test.
persist_cookies (bool, optional) – Persist cookies across redirects.
port (SyntheticsTestRequestPort, optional) – Port to use when performing the test.
proxy (SyntheticsTestRequestProxy, optional) – The proxy to perform the test.
query (dict, optional) – Query to use for the test.
servername (str, optional) – For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
service (str, optional) – The gRPC service on which you want to perform the gRPC call.
should_track_hops (bool, optional) – Turns on a traceroute probe to discover all gateways along the path to the host destination.
timeout (float, optional) – Timeout in seconds for the test.
url (str, optional) – URL to perform the test with.
datadog_api_client.v1.model.synthetics_test_request_body_file module¶
- class SyntheticsTestRequestBodyFile(*args, **kwargs)¶
Bases:
ModelNormal
Object describing a file to be used as part of the request in the test.
- Parameters:
bucket_key (str, optional) – Bucket key of the file.
content (str, optional) – Content of the file.
name (str, optional) – Name of the file.
original_file_name (str, optional) – Original name of the file.
size (int, optional) – Size of the file.
type (str, optional) – Type of the file.
datadog_api_client.v1.model.synthetics_test_request_body_type module¶
- class SyntheticsTestRequestBodyType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the request body.
- Parameters:
value (str) – Must be one of [“text/plain”, “application/json”, “text/xml”, “text/html”, “application/x-www-form-urlencoded”, “graphql”, “application/octet-stream”, “multipart/form-data”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_request_certificate module¶
- class SyntheticsTestRequestCertificate(*args, **kwargs)¶
Bases:
ModelNormal
Client certificate to use when performing the test request.
- Parameters:
cert (SyntheticsTestRequestCertificateItem, optional) – Define a request certificate.
key (SyntheticsTestRequestCertificateItem, optional) – Define a request certificate.
datadog_api_client.v1.model.synthetics_test_request_certificate_item module¶
- class SyntheticsTestRequestCertificateItem(*args, **kwargs)¶
Bases:
ModelNormal
Define a request certificate.
- Parameters:
content (str, optional) – Content of the certificate or key.
filename (str, optional) – File name for the certificate or key.
updated_at (str, optional) – Date of update of the certificate or key, ISO format.
datadog_api_client.v1.model.synthetics_test_request_port module¶
- class SyntheticsTestRequestPort(*args, **kwargs)¶
Bases:
ModelComposed
Port to use when performing the test.
datadog_api_client.v1.model.synthetics_test_request_proxy module¶
- class SyntheticsTestRequestProxy(*args, **kwargs)¶
Bases:
ModelNormal
The proxy to perform the test.
- Parameters:
headers (SyntheticsTestHeaders, optional) – Headers to include when performing the test.
url (str) – URL of the proxy to perform the test.
datadog_api_client.v1.model.synthetics_test_restriction_policy_binding module¶
- class SyntheticsTestRestrictionPolicyBinding(*args, **kwargs)¶
Bases:
ModelNormal
Objects describing the binding used for a mobile test.
- Parameters:
principals ([str], optional) – List of principals for a mobile test binding.
relation (SyntheticsTestRestrictionPolicyBindingRelation, optional) – The type of relation for the binding.
datadog_api_client.v1.model.synthetics_test_restriction_policy_binding_relation module¶
- class SyntheticsTestRestrictionPolicyBindingRelation(*args, **kwargs)¶
Bases:
ModelSimple
The type of relation for the binding.
- Parameters:
value (str) – Must be one of [“editor”, “viewer”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.synthetics_test_uptime module¶
- class SyntheticsTestUptime(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the uptime for a Synthetic test ID.
- Parameters:
from_ts (int, optional) – Timestamp in seconds for the start of uptime.
overall (SyntheticsUptime, optional) – Object containing the uptime information.
public_id (str, optional) – A Synthetic test ID.
to_ts (int, optional) – Timestamp in seconds for the end of uptime.
datadog_api_client.v1.model.synthetics_timing module¶
- class SyntheticsTiming(*args, **kwargs)¶
Bases:
ModelNormal
Object containing all metrics and their values collected for a Synthetic API test. See the Synthetic Monitoring Metrics documentation.
- Parameters:
dns (float, optional) – The duration in millisecond of the DNS lookup.
download (float, optional) – The time in millisecond to download the response.
first_byte (float, optional) – The time in millisecond to first byte.
handshake (float, optional) – The duration in millisecond of the TLS handshake.
redirect (float, optional) – The time in millisecond spent during redirections.
ssl (float, optional) – The duration in millisecond of the TLS handshake.
tcp (float, optional) – Time in millisecond to establish the TCP connection.
total (float, optional) – The overall time in millisecond the request took to be processed.
wait (float, optional) – Time spent in millisecond waiting for a response.
datadog_api_client.v1.model.synthetics_trigger_body module¶
- class SyntheticsTriggerBody(*args, **kwargs)¶
Bases:
ModelNormal
Object describing the Synthetic tests to trigger.
- Parameters:
tests ([SyntheticsTriggerTest]) – Individual Synthetic test.
datadog_api_client.v1.model.synthetics_trigger_ci_test_location module¶
- class SyntheticsTriggerCITestLocation(*args, **kwargs)¶
Bases:
ModelNormal
Synthetic location.
- Parameters:
id (int, optional) – Unique identifier of the location.
name (str, optional) – Name of the location.
datadog_api_client.v1.model.synthetics_trigger_ci_test_run_result module¶
- class SyntheticsTriggerCITestRunResult(*args, **kwargs)¶
Bases:
ModelNormal
Information about a single test run.
- Parameters:
device (SyntheticsDeviceID, optional) – The device ID.
location (int, optional) – The location ID of the test run.
public_id (str, optional) – The public ID of the Synthetic test.
result_id (str, optional) – ID of the result.
datadog_api_client.v1.model.synthetics_trigger_ci_tests_response module¶
- class SyntheticsTriggerCITestsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Object containing information about the tests triggered.
- Parameters:
batch_id (str, none_type, optional) – The public ID of the batch triggered.
locations ([SyntheticsTriggerCITestLocation], optional) – List of Synthetic locations.
results ([SyntheticsTriggerCITestRunResult], optional) – Information about the tests runs.
triggered_check_ids ([str], optional) – The public IDs of the Synthetic test triggered.
datadog_api_client.v1.model.synthetics_trigger_test module¶
- class SyntheticsTriggerTest(*args, **kwargs)¶
Bases:
ModelNormal
Test configuration for Synthetics
- Parameters:
metadata (SyntheticsCIBatchMetadata, optional) – Metadata for the Synthetic tests run.
public_id (str) – The public ID of the Synthetic test to trigger.
datadog_api_client.v1.model.synthetics_update_test_pause_status_payload module¶
- class SyntheticsUpdateTestPauseStatusPayload(*args, **kwargs)¶
Bases:
ModelNormal
Object to start or pause an existing Synthetic test.
- Parameters:
new_status (SyntheticsTestPauseStatus, optional) – Define whether you want to start (
live
) or pause (paused
) a Synthetic test.
datadog_api_client.v1.model.synthetics_uptime module¶
- class SyntheticsUptime(*args, **kwargs)¶
Bases:
ModelNormal
Object containing the uptime information.
- Parameters:
errors ([SLOHistoryResponseErrorWithType], none_type, optional) – An array of error objects returned while querying the history data for the service level objective.
group (str, optional) – The location name
history ([[float]], optional) – The state transition history for the monitor, represented as an array of pairs. Each pair is an array where the first element is the transition timestamp in Unix epoch format (integer) and the second element is the state (integer). For the state, an integer value of
0
indicates uptime,1
indicates downtime, and2
indicates no data.span_precision (float, optional) – The number of decimal places to which the SLI value is accurate for the given from-to timestamps.
uptime (float, optional) – The overall uptime.
datadog_api_client.v1.model.synthetics_variable_parser module¶
- class SyntheticsVariableParser(*args, **kwargs)¶
Bases:
ModelNormal
Details of the parser to use for the global variable.
- Parameters:
type (SyntheticsGlobalVariableParserType) – Type of parser for a Synthetic global variable from a synthetics test.
value (str, optional) – Regex or JSON path used for the parser. Not used with type
raw
.
datadog_api_client.v1.model.synthetics_warning_type module¶
- class SyntheticsWarningType(*args, **kwargs)¶
Bases:
ModelSimple
User locator used.
- Parameters:
value (str) – If omitted defaults to “user_locator”. Must be one of [“user_locator”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_cell_display_mode module¶
- class TableWidgetCellDisplayMode(*args, **kwargs)¶
Bases:
ModelSimple
Define a display mode for the table cell.
- Parameters:
value (str) – Must be one of [“number”, “bar”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_definition module¶
- class TableWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
has_search_bar (TableWidgetHasSearchBar, optional) – Controls the display of the search bar.
requests ([TableWidgetRequest]) – Widget definition.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (TableWidgetDefinitionType) – Type of the table widget.
datadog_api_client.v1.model.table_widget_definition_type module¶
- class TableWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the table widget.
- Parameters:
value (str) – If omitted defaults to “query_table”. Must be one of [“query_table”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_has_search_bar module¶
- class TableWidgetHasSearchBar(*args, **kwargs)¶
Bases:
ModelSimple
Controls the display of the search bar.
- Parameters:
value (str) – Must be one of [“always”, “never”, “auto”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_request module¶
- class TableWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated table widget.
- Parameters:
aggregator (WidgetAggregator, optional) – Aggregator used for the request.
alias (str, optional) – The column name (defaults to the metric name).
apm_query (LogQueryDefinition, optional) – The log query.
apm_stats_query (ApmStatsQueryDefinition, optional) – The APM stats query for table and distributions widgets.
cell_display_mode ([TableWidgetCellDisplayMode], optional) – A list of display modes for each table cell.
conditional_formats ([WidgetConditionalFormat], optional) – List of conditional formats.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
limit (int, optional) – For metric queries, the number of lines to show in the table. Only one request should have this property.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
order (WidgetSort, optional) – Widget sorting methods.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Query definition.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
sort (WidgetSortBy, optional) – The controls for sorting the widget.
text_formats ([[TableWidgetTextFormatRule]], optional) – List of text formats for columns produced by tags.
datadog_api_client.v1.model.table_widget_text_format_match module¶
- class TableWidgetTextFormatMatch(*args, **kwargs)¶
Bases:
ModelNormal
Match rule for the table widget text format.
- Parameters:
type (TableWidgetTextFormatMatchType) – Match or compare option.
value (str) – Table Widget Match String.
datadog_api_client.v1.model.table_widget_text_format_match_type module¶
- class TableWidgetTextFormatMatchType(*args, **kwargs)¶
Bases:
ModelSimple
Match or compare option.
- Parameters:
value (str) – Must be one of [“is”, “is_not”, “contains”, “does_not_contain”, “starts_with”, “ends_with”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_text_format_palette module¶
- class TableWidgetTextFormatPalette(*args, **kwargs)¶
Bases:
ModelSimple
Color-on-color palette to highlight replaced text.
- Parameters:
value (str) – If omitted defaults to “white_on_green”. Must be one of [“white_on_red”, “white_on_yellow”, “white_on_green”, “black_on_light_red”, “black_on_light_yellow”, “black_on_light_green”, “red_on_white”, “yellow_on_white”, “green_on_white”, “custom_bg”, “custom_text”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_text_format_replace module¶
- class TableWidgetTextFormatReplace(*args, **kwargs)¶
Bases:
ModelComposed
Replace rule for the table widget text format.
- Parameters:
type (TableWidgetTextFormatReplaceAllType) – Table widget text format replace all type.
_with (str) – Replace All type.
substring (str) – Text that will be replaced.
datadog_api_client.v1.model.table_widget_text_format_replace_all module¶
- class TableWidgetTextFormatReplaceAll(*args, **kwargs)¶
Bases:
ModelNormal
Match All definition.
- Parameters:
type (TableWidgetTextFormatReplaceAllType) – Table widget text format replace all type.
_with (str) – Replace All type.
datadog_api_client.v1.model.table_widget_text_format_replace_all_type module¶
- class TableWidgetTextFormatReplaceAllType(*args, **kwargs)¶
Bases:
ModelSimple
Table widget text format replace all type.
- Parameters:
value (str) – If omitted defaults to “all”. Must be one of [“all”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_text_format_replace_substring module¶
- class TableWidgetTextFormatReplaceSubstring(*args, **kwargs)¶
Bases:
ModelNormal
Match Sub-string definition.
- Parameters:
substring (str) – Text that will be replaced.
type (TableWidgetTextFormatReplaceSubstringType) – Table widget text format replace sub-string type.
_with (str) – Text that will replace original sub-string.
datadog_api_client.v1.model.table_widget_text_format_replace_substring_type module¶
- class TableWidgetTextFormatReplaceSubstringType(*args, **kwargs)¶
Bases:
ModelSimple
Table widget text format replace sub-string type.
- Parameters:
value (str) – If omitted defaults to “substring”. Must be one of [“substring”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.table_widget_text_format_rule module¶
- class TableWidgetTextFormatRule(*args, **kwargs)¶
Bases:
ModelNormal
Text format rules.
- Parameters:
custom_bg_color (str, optional) – Hex representation of the custom background color. Used with custom background palette option.
custom_fg_color (str, optional) – Hex representation of the custom text color. Used with custom text palette option.
match (TableWidgetTextFormatMatch) – Match rule for the table widget text format.
palette (TableWidgetTextFormatPalette, optional) – Color-on-color palette to highlight replaced text.
replace (TableWidgetTextFormatReplace, optional) – Replace rule for the table widget text format.
datadog_api_client.v1.model.tag_to_hosts module¶
- class TagToHosts(*args, **kwargs)¶
Bases:
ModelNormal
In this object, the key is the tag, the value is a list of host names that are reporting that tag.
- Parameters:
tags ({str: ([str],)}, optional) – A list of tags to apply to the host.
datadog_api_client.v1.model.target_format_type module¶
- class TargetFormatType(*args, **kwargs)¶
Bases:
ModelSimple
- If the target_type of the remapper is attribute, try to cast the value to a new specific type.
If the cast is not possible, the original type is kept. string, integer, or double are the possible types. If the target_type is tag, this parameter may not be specified.
- Parameters:
value (str) – Must be one of [“auto”, “string”, “integer”, “double”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.timeseries_background module¶
- class TimeseriesBackground(*args, **kwargs)¶
Bases:
ModelNormal
Set a timeseries on the widget background.
- Parameters:
type (TimeseriesBackgroundType) – Timeseries is made using an area or bars.
yaxis (WidgetAxis, optional) – Axis controls for the widget.
datadog_api_client.v1.model.timeseries_background_type module¶
- class TimeseriesBackgroundType(*args, **kwargs)¶
Bases:
ModelSimple
Timeseries is made using an area or bars.
- Parameters:
value (str) – If omitted defaults to “area”. Must be one of [“bars”, “area”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.timeseries_widget_definition module¶
- class TimeseriesWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
events ([WidgetEvent], optional) – List of widget events.
legend_columns ([TimeseriesWidgetLegendColumn], optional) – Columns displayed in the legend.
legend_layout (TimeseriesWidgetLegendLayout, optional) – Layout of the legend.
legend_size (str, optional) – Available legend sizes for a widget. Should be one of “0”, “2”, “4”, “8”, “16”, or “auto”.
markers ([WidgetMarker], optional) – List of markers.
requests ([TimeseriesWidgetRequest]) – List of timeseries widget requests.
right_yaxis (WidgetAxis, optional) – Axis controls for the widget.
show_legend (bool, optional) – (screenboard only) Show the legend for this widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (TimeseriesWidgetDefinitionType) – Type of the timeseries widget.
yaxis (WidgetAxis, optional) – Axis controls for the widget.
datadog_api_client.v1.model.timeseries_widget_definition_type module¶
- class TimeseriesWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the timeseries widget.
- Parameters:
value (str) – If omitted defaults to “timeseries”. Must be one of [“timeseries”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.timeseries_widget_expression_alias module¶
- class TimeseriesWidgetExpressionAlias(*args, **kwargs)¶
Bases:
ModelNormal
Define an expression alias.
- Parameters:
alias_name (str, optional) – Expression alias.
expression (str) – Expression name.
datadog_api_client.v1.model.timeseries_widget_legend_column module¶
- class TimeseriesWidgetLegendColumn(*args, **kwargs)¶
Bases:
ModelSimple
Legend column.
- Parameters:
value (str) – Must be one of [“value”, “avg”, “sum”, “min”, “max”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.timeseries_widget_legend_layout module¶
- class TimeseriesWidgetLegendLayout(*args, **kwargs)¶
Bases:
ModelSimple
Layout of the legend.
- Parameters:
value (str) – Must be one of [“auto”, “horizontal”, “vertical”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.timeseries_widget_request module¶
- class TimeseriesWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated timeseries widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
audit_query (LogQueryDefinition, optional) – The log query.
display_type (WidgetDisplayType, optional) – Type of display to use for the request.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
metadata ([TimeseriesWidgetExpressionAlias], optional) – Used to define expression aliases.
network_query (LogQueryDefinition, optional) – The log query.
on_right_yaxis (bool, optional) – Whether or not to display a second y-axis on the right.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Widget query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
style (WidgetRequestStyle, optional) – Define request widget style.
datadog_api_client.v1.model.toplist_widget_definition module¶
- class ToplistWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests ([ToplistWidgetRequest]) – List of top list widget requests.
style (ToplistWidgetStyle, optional) – Style customization for a top list widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (ToplistWidgetDefinitionType) – Type of the top list widget.
datadog_api_client.v1.model.toplist_widget_definition_type module¶
- class ToplistWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the top list widget.
- Parameters:
value (str) – If omitted defaults to “toplist”. Must be one of [“toplist”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.toplist_widget_display module¶
- class ToplistWidgetDisplay(*args, **kwargs)¶
Bases:
ModelComposed
Top list widget display options.
- Parameters:
legend (ToplistWidgetLegend, optional) – Top list widget stacked legend behavior.
type (ToplistWidgetStackedType) – Top list widget stacked display type.
datadog_api_client.v1.model.toplist_widget_flat module¶
- class ToplistWidgetFlat(*args, **kwargs)¶
Bases:
ModelNormal
Top list widget flat display.
- Parameters:
type (ToplistWidgetFlatType) – Top list widget flat display type.
datadog_api_client.v1.model.toplist_widget_flat_type module¶
- class ToplistWidgetFlatType(*args, **kwargs)¶
Bases:
ModelSimple
Top list widget flat display type.
- Parameters:
value (str) – If omitted defaults to “flat”. Must be one of [“flat”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.toplist_widget_legend module¶
- class ToplistWidgetLegend(*args, **kwargs)¶
Bases:
ModelSimple
Top list widget stacked legend behavior.
- Parameters:
value (str) – Must be one of [“automatic”, “inline”, “none”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.toplist_widget_request module¶
- class ToplistWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
Updated top list widget.
- Parameters:
apm_query (LogQueryDefinition, optional) – The log query.
audit_query (LogQueryDefinition, optional) – The log query.
conditional_formats ([WidgetConditionalFormat], optional) – List of conditional formats.
event_query (LogQueryDefinition, optional) – The log query.
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
log_query (LogQueryDefinition, optional) – The log query.
network_query (LogQueryDefinition, optional) – The log query.
process_query (ProcessQueryDefinition, optional) – The process query to use in the widget.
profile_metrics_query (LogQueryDefinition, optional) – The log query.
q (str, optional) – Widget query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
rum_query (LogQueryDefinition, optional) – The log query.
security_query (LogQueryDefinition, optional) – The log query.
sort (WidgetSortBy, optional) – The controls for sorting the widget.
style (WidgetRequestStyle, optional) – Define request widget style.
datadog_api_client.v1.model.toplist_widget_scaling module¶
- class ToplistWidgetScaling(*args, **kwargs)¶
Bases:
ModelSimple
Top list widget scaling definition.
- Parameters:
value (str) – Must be one of [“absolute”, “relative”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.toplist_widget_stacked module¶
- class ToplistWidgetStacked(*args, **kwargs)¶
Bases:
ModelNormal
Top list widget stacked display options.
- Parameters:
legend (ToplistWidgetLegend, optional) – Top list widget stacked legend behavior.
type (ToplistWidgetStackedType) – Top list widget stacked display type.
datadog_api_client.v1.model.toplist_widget_stacked_type module¶
- class ToplistWidgetStackedType(*args, **kwargs)¶
Bases:
ModelSimple
Top list widget stacked display type.
- Parameters:
value (str) – If omitted defaults to “stacked”. Must be one of [“stacked”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.toplist_widget_style module¶
- class ToplistWidgetStyle(*args, **kwargs)¶
Bases:
ModelNormal
Style customization for a top list widget.
- Parameters:
display (ToplistWidgetDisplay, optional) – Top list widget display options.
palette (str, optional) – Color palette to apply to the widget.
scaling (ToplistWidgetScaling, optional) – Top list widget scaling definition.
datadog_api_client.v1.model.topology_map_widget_definition module¶
- class TopologyMapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
This widget displays a topology of nodes and edges for different data sources. It replaces the service map widget.
- Parameters:
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests ([TopologyRequest]) – One or more Topology requests.
title (str, optional) – Title of your widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (TopologyMapWidgetDefinitionType) – Type of the topology map widget.
datadog_api_client.v1.model.topology_map_widget_definition_type module¶
- class TopologyMapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the topology map widget.
- Parameters:
value (str) – If omitted defaults to “topology_map”. Must be one of [“topology_map”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.topology_query module¶
- class TopologyQuery(*args, **kwargs)¶
Bases:
ModelNormal
Query to service-based topology data sources like the service map or data streams.
- Parameters:
data_source (TopologyQueryDataSource, optional) – Name of the data source
filters ([str], optional) – Your environment and primary tag (or * if enabled for your account).
service (str, optional) – Name of the service
datadog_api_client.v1.model.topology_query_data_source module¶
- class TopologyQueryDataSource(*args, **kwargs)¶
Bases:
ModelSimple
Name of the data source
- Parameters:
value (str) – Must be one of [“data_streams”, “service_map”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.topology_request module¶
- class TopologyRequest(*args, **kwargs)¶
Bases:
ModelNormal
Request that will return nodes and edges to be used by topology map.
- Parameters:
query (TopologyQuery, optional) – Query to service-based topology data sources like the service map or data streams.
request_type (TopologyRequestType, optional) – Widget request type.
datadog_api_client.v1.model.topology_request_type module¶
- class TopologyRequestType(*args, **kwargs)¶
Bases:
ModelSimple
Widget request type.
- Parameters:
value (str) – If omitted defaults to “topology”. Must be one of [“topology”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.tree_map_color_by module¶
- class TreeMapColorBy(*args, **kwargs)¶
Bases:
ModelSimple
(deprecated) The attribute formerly used to determine color in the widget.
- Parameters:
value (str) – If omitted defaults to “user”. Must be one of [“user”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.tree_map_group_by module¶
- class TreeMapGroupBy(*args, **kwargs)¶
Bases:
ModelSimple
(deprecated) The attribute formerly used to group elements in the widget.
- Parameters:
value (str) – Must be one of [“user”, “family”, “process”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.tree_map_size_by module¶
- class TreeMapSizeBy(*args, **kwargs)¶
Bases:
ModelSimple
(deprecated) The attribute formerly used to determine size in the widget.
- Parameters:
value (str) – Must be one of [“pct_cpu”, “pct_mem”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.tree_map_widget_definition module¶
- class TreeMapWidgetDefinition(*args, **kwargs)¶
Bases:
ModelNormal
The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team.
- Parameters:
color_by (TreeMapColorBy, optional) – (deprecated) The attribute formerly used to determine color in the widget. Deprecated.
custom_links ([WidgetCustomLink], optional) – List of custom links.
group_by (TreeMapGroupBy, optional) – (deprecated) The attribute formerly used to group elements in the widget. Deprecated.
requests ([TreeMapWidgetRequest]) – List of treemap widget requests.
size_by (TreeMapSizeBy, optional) – (deprecated) The attribute formerly used to determine size in the widget. Deprecated.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – Title of your widget.
type (TreeMapWidgetDefinitionType) – Type of the treemap widget.
datadog_api_client.v1.model.tree_map_widget_definition_type module¶
- class TreeMapWidgetDefinitionType(*args, **kwargs)¶
Bases:
ModelSimple
Type of the treemap widget.
- Parameters:
value (str) – If omitted defaults to “treemap”. Must be one of [“treemap”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.tree_map_widget_request module¶
- class TreeMapWidgetRequest(*args, **kwargs)¶
Bases:
ModelNormal
An updated treemap widget.
- Parameters:
formulas ([WidgetFormula], optional) – List of formulas that operate on queries.
q (str, optional) – The widget metrics query.
queries ([FormulaAndFunctionQueryDefinition], optional) – List of queries that can be returned directly or used in formulas.
response_format (FormulaAndFunctionResponseFormat, optional) – Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
datadog_api_client.v1.model.usage_analyzed_logs_hour module¶
- class UsageAnalyzedLogsHour(*args, **kwargs)¶
Bases:
ModelNormal
The number of analyzed logs for each hour for a given organization.
- Parameters:
analyzed_logs (int, none_type, optional) – Contains the number of analyzed logs.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_analyzed_logs_response module¶
- class UsageAnalyzedLogsResponse(*args, **kwargs)¶
Bases:
ModelNormal
A response containing the number of analyzed logs for each hour for a given organization.
- Parameters:
usage ([UsageAnalyzedLogsHour], optional) – Get hourly usage for analyzed logs.
datadog_api_client.v1.model.usage_attribution_aggregates module¶
- class UsageAttributionAggregates(*args, **kwargs)¶
Bases:
ModelSimple
An array of available aggregates.
- Parameters:
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.usage_attribution_aggregates_body module¶
- class UsageAttributionAggregatesBody(*args, **kwargs)¶
Bases:
ModelNormal
The object containing the aggregates.
- Parameters:
agg_type (str, optional) – The aggregate type.
field (str, optional) – The field.
value (float, optional) – The value for a given field.
datadog_api_client.v1.model.usage_attribution_tag_names module¶
- class UsageAttributionTagNames(*args, **kwargs)¶
Bases:
ModelNormal
Tag keys and values.
A
null
value here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total usage, not broken down by tags.
datadog_api_client.v1.model.usage_audit_logs_hour module¶
- class UsageAuditLogsHour(*args, **kwargs)¶
Bases:
ModelNormal
Audit logs usage for a given organization for a given hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
lines_indexed (int, none_type, optional) – The total number of audit logs lines indexed during a given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_audit_logs_response module¶
- class UsageAuditLogsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the audit logs usage for each hour for a given organization.
- Parameters:
usage ([UsageAuditLogsHour], optional) – Get hourly usage for audit logs.
datadog_api_client.v1.model.usage_billable_summary_body module¶
- class UsageBillableSummaryBody(*args, **kwargs)¶
Bases:
ModelNormal
Response with properties for each aggregated usage type.
- Parameters:
account_billable_usage (int, optional) – The total account usage.
elapsed_usage_hours (int, optional) – Elapsed usage hours for some billable product.
first_billable_usage_hour (datetime, optional) – The first billable hour for the org.
last_billable_usage_hour (datetime, optional) – The last billable hour for the org.
org_billable_usage (int, optional) – The number of units used within the billable timeframe.
percentage_in_account (float, optional) – The percentage of account usage the org represents.
usage_unit (str, optional) – Units pertaining to the usage.
datadog_api_client.v1.model.usage_billable_summary_hour module¶
- class UsageBillableSummaryHour(*args, **kwargs)¶
Bases:
ModelNormal
Response with monthly summary of data billed by Datadog.
- Parameters:
account_name (str, optional) – The account name.
account_public_id (str, optional) – The account public ID.
billing_plan (str, optional) – The billing plan.
end_date (datetime, optional) – Shows the last date of usage.
num_orgs (int, optional) – The number of organizations.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
ratio_in_month (float, optional) – Shows usage aggregation for a billing period.
region (str, optional) – The region of the organization.
start_date (datetime, optional) – Shows the first date of usage.
usage (UsageBillableSummaryKeys, optional) – Response with aggregated usage types.
datadog_api_client.v1.model.usage_billable_summary_keys module¶
- class UsageBillableSummaryKeys(*args, **kwargs)¶
Bases:
ModelNormal
Response with aggregated usage types.
- Parameters:
apm_fargate_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_fargate_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_profiler_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_profiler_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
apm_trace_search_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
application_security_fargate_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
application_security_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
application_security_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_pipeline_indexed_spans_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_pipeline_maximum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_pipeline_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_test_indexed_spans_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_testing_maximum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ci_testing_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cloud_cost_management_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cloud_cost_management_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cspm_container_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cspm_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cspm_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
custom_event_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cws_container_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cws_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
cws_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
dbm_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
dbm_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
dbm_normalized_queries_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
dbm_normalized_queries_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_apm_and_profiler_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_apm_and_profiler_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_profiler_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_profiler_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
fargate_container_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
incident_management_maximum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
incident_management_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
infra_and_apm_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
infra_and_apm_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
infra_container_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
infra_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
infra_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ingested_spans_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ingested_timeseries_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
ingested_timeseries_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
iot_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
iot_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
lambda_function_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
lambda_function_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_forwarding_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_15day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_180day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_1day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_30day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_360day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_3day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_45day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_60day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_7day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_90day_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_custom_retention_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_indexed_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
logs_ingested_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
network_device_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
network_device_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
npm_flow_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
npm_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
npm_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
observability_pipeline_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
online_archive_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
prof_container_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
prof_host_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
prof_host_top99p (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
rum_lite_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
rum_replay_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
rum_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
rum_units_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
sensitive_data_scanner_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
serverless_apm_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
serverless_infra_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
serverless_infra_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
serverless_invocation_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
siem_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
standard_timeseries_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
synthetics_api_tests_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
synthetics_app_testing_maximum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
synthetics_browser_checks_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
timeseries_average (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
timeseries_sum (UsageBillableSummaryBody, optional) – Response with properties for each aggregated usage type.
datadog_api_client.v1.model.usage_billable_summary_response module¶
- class UsageBillableSummaryResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response with monthly summary of data billed by Datadog.
- Parameters:
usage ([UsageBillableSummaryHour], optional) – An array of objects regarding usage of billable summary.
datadog_api_client.v1.model.usage_ci_visibility_hour module¶
- class UsageCIVisibilityHour(*args, **kwargs)¶
Bases:
ModelNormal
CI visibility usage in a given hour.
- Parameters:
ci_pipeline_indexed_spans (int, none_type, optional) – The number of spans for pipelines in the queried hour.
ci_test_indexed_spans (int, none_type, optional) – The number of spans for tests in the queried hour.
ci_visibility_itr_committers (int, none_type, optional) – Shows the total count of all active Git committers for Intelligent Test Runner in the current month. A committer is active if they commit at least 3 times in a given month.
ci_visibility_pipeline_committers (int, none_type, optional) – Shows the total count of all active Git committers for Pipelines in the current month. A committer is active if they commit at least 3 times in a given month.
ci_visibility_test_committers (int, none_type, optional) – The total count of all active Git committers for tests in the current month. A committer is active if they commit at least 3 times in a given month.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_ci_visibility_response module¶
- class UsageCIVisibilityResponse(*args, **kwargs)¶
Bases:
ModelNormal
CI visibility usage response
- Parameters:
usage ([UsageCIVisibilityHour], optional) – Response containing CI visibility usage.
datadog_api_client.v1.model.usage_cloud_security_posture_management_hour module¶
- class UsageCloudSecurityPostureManagementHour(*args, **kwargs)¶
Bases:
ModelNormal
Cloud Security Management Pro usage for a given organization for a given hour.
- Parameters:
aas_host_count (float, none_type, optional) – The number of Cloud Security Management Pro Azure app services hosts during a given hour.
aws_host_count (float, none_type, optional) – The number of Cloud Security Management Pro AWS hosts during a given hour.
azure_host_count (float, none_type, optional) – The number of Cloud Security Management Pro Azure hosts during a given hour.
compliance_host_count (float, none_type, optional) – The number of Cloud Security Management Pro hosts during a given hour.
container_count (float, none_type, optional) – The total number of Cloud Security Management Pro containers during a given hour.
gcp_host_count (float, none_type, optional) – The number of Cloud Security Management Pro GCP hosts during a given hour.
host_count (float, none_type, optional) – The total number of Cloud Security Management Pro hosts during a given hour.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_cloud_security_posture_management_response module¶
- class UsageCloudSecurityPostureManagementResponse(*args, **kwargs)¶
Bases:
ModelNormal
The response containing the Cloud Security Management Pro usage for each hour for a given organization.
- Parameters:
usage ([UsageCloudSecurityPostureManagementHour], optional) – Get hourly usage for Cloud Security Management Pro.
datadog_api_client.v1.model.usage_custom_reports_attributes module¶
- class UsageCustomReportsAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The response containing attributes for custom reports.
- Parameters:
computed_on (str, optional) – The date the specified custom report was computed.
end_date (str, optional) – The ending date of custom report.
size (int, optional) – size
start_date (str, optional) – The starting date of custom report.
tags ([str], optional) – A list of tags to apply to custom reports.
datadog_api_client.v1.model.usage_custom_reports_data module¶
- class UsageCustomReportsData(*args, **kwargs)¶
Bases:
ModelNormal
The response containing the date and type for custom reports.
- Parameters:
attributes (UsageCustomReportsAttributes, optional) – The response containing attributes for custom reports.
id (str, optional) – The date for specified custom reports.
type (UsageReportsType, optional) – The type of reports.
datadog_api_client.v1.model.usage_custom_reports_meta module¶
- class UsageCustomReportsMeta(*args, **kwargs)¶
Bases:
ModelNormal
The object containing document metadata.
- Parameters:
page (UsageCustomReportsPage, optional) – The object containing page total count.
datadog_api_client.v1.model.usage_custom_reports_page module¶
- class UsageCustomReportsPage(*args, **kwargs)¶
Bases:
ModelNormal
The object containing page total count.
- Parameters:
total_count (int, optional) – Total page count.
datadog_api_client.v1.model.usage_custom_reports_response module¶
- class UsageCustomReportsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing available custom reports.
- Parameters:
data ([UsageCustomReportsData], optional) – An array of available custom reports.
meta (UsageCustomReportsMeta, optional) – The object containing document metadata.
datadog_api_client.v1.model.usage_cws_hour module¶
- class UsageCWSHour(*args, **kwargs)¶
Bases:
ModelNormal
Cloud Workload Security usage for a given organization for a given hour.
- Parameters:
cws_container_count (int, none_type, optional) – The total number of Cloud Workload Security container hours from the start of the given hour’s month until the given hour.
cws_host_count (int, none_type, optional) – The total number of Cloud Workload Security host hours from the start of the given hour’s month until the given hour.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_cws_response module¶
- class UsageCWSResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the Cloud Workload Security usage for each hour for a given organization.
- Parameters:
usage ([UsageCWSHour], optional) – Get hourly usage for Cloud Workload Security.
datadog_api_client.v1.model.usage_dbm_hour module¶
- class UsageDBMHour(*args, **kwargs)¶
Bases:
ModelNormal
Database Monitoring usage for a given organization for a given hour.
- Parameters:
dbm_host_count (int, none_type, optional) – The total number of Database Monitoring host hours from the start of the given hour’s month until the given hour.
dbm_queries_count (int, none_type, optional) – The total number of normalized Database Monitoring queries from the start of the given hour’s month until the given hour.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_dbm_response module¶
- class UsageDBMResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the Database Monitoring usage for each hour for a given organization.
- Parameters:
usage ([UsageDBMHour], optional) – Get hourly usage for Database Monitoring
datadog_api_client.v1.model.usage_fargate_hour module¶
- class UsageFargateHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of Fargate tasks run and hourly usage.
- Parameters:
apm_fargate_count (int, none_type, optional) – The high-water mark of APM ECS Fargate tasks during the given hour.
appsec_fargate_count (int, none_type, optional) – The Application Security Monitoring ECS Fargate tasks during the given hour.
avg_profiled_fargate_tasks (int, none_type, optional) – The average profiled task count for Fargate Profiling.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
tasks_count (int, none_type, optional) – The number of Fargate tasks run.
datadog_api_client.v1.model.usage_fargate_response module¶
- class UsageFargateResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of Fargate tasks run and hourly usage.
- Parameters:
usage ([UsageFargateHour], optional) – Array with the number of hourly Fargate tasks recorded for a given organization.
datadog_api_client.v1.model.usage_host_hour module¶
- class UsageHostHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of hosts/containers recorded for each hour for a given organization.
- Parameters:
agent_host_count (int, none_type, optional) – Contains the total number of infrastructure hosts reporting during a given hour that were running the Datadog Agent.
alibaba_host_count (int, none_type, optional) – Contains the total number of hosts that reported through Alibaba integration (and were NOT running the Datadog Agent).
apm_azure_app_service_host_count (int, none_type, optional) – Contains the total number of Azure App Services hosts using APM.
apm_host_count (int, none_type, optional) – Shows the total number of hosts using APM during the hour, these are counted as billable (except during trial periods).
aws_host_count (int, none_type, optional) – Contains the total number of hosts that reported through the AWS integration (and were NOT running the Datadog Agent).
azure_host_count (int, none_type, optional) – Contains the total number of hosts that reported through Azure integration (and were NOT running the Datadog Agent).
container_count (int, none_type, optional) – Shows the total number of containers reported by the Docker integration during the hour.
gcp_host_count (int, none_type, optional) – Contains the total number of hosts that reported through the Google Cloud integration (and were NOT running the Datadog Agent).
heroku_host_count (int, none_type, optional) – Contains the total number of Heroku dynos reported by the Datadog Agent.
host_count (int, none_type, optional) – Contains the total number of billable infrastructure hosts reporting during a given hour. This is the sum of
agent_host_count
,aws_host_count
, andgcp_host_count
.hour (datetime, none_type, optional) – The hour for the usage.
infra_azure_app_service (int, none_type, optional) – Contains the total number of hosts that reported through the Azure App Services integration (and were NOT running the Datadog Agent).
opentelemetry_apm_host_count (int, none_type, optional) – Contains the total number of hosts using APM reported by Datadog exporter for the OpenTelemetry Collector.
opentelemetry_host_count (int, none_type, optional) – Contains the total number of hosts reported by Datadog exporter for the OpenTelemetry Collector.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
vsphere_host_count (int, none_type, optional) – Contains the total number of hosts that reported through vSphere integration (and were NOT running the Datadog Agent).
datadog_api_client.v1.model.usage_hosts_response module¶
- class UsageHostsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Host usage response.
- Parameters:
usage ([UsageHostHour], optional) – An array of objects related to host usage.
datadog_api_client.v1.model.usage_incident_management_hour module¶
- class UsageIncidentManagementHour(*args, **kwargs)¶
Bases:
ModelNormal
Incident management usage for a given organization for a given hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
monthly_active_users (int, none_type, optional) – Contains the total number monthly active users from the start of the given hour’s month until the given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_incident_management_response module¶
- class UsageIncidentManagementResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the incident management usage for each hour for a given organization.
- Parameters:
usage ([UsageIncidentManagementHour], optional) – Get hourly usage for incident management.
datadog_api_client.v1.model.usage_indexed_spans_hour module¶
- class UsageIndexedSpansHour(*args, **kwargs)¶
Bases:
ModelNormal
The hours of indexed spans usage.
- Parameters:
hour (datetime, optional) – The hour for the usage.
indexed_events_count (int, none_type, optional) – Contains the number of spans indexed.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_indexed_spans_response module¶
- class UsageIndexedSpansResponse(*args, **kwargs)¶
Bases:
ModelNormal
A response containing indexed spans usage.
- Parameters:
usage ([UsageIndexedSpansHour], optional) – Array with the number of hourly traces indexed for a given organization.
datadog_api_client.v1.model.usage_ingested_spans_hour module¶
- class UsageIngestedSpansHour(*args, **kwargs)¶
Bases:
ModelNormal
Ingested spans usage for a given organization for a given hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
ingested_events_bytes (int, none_type, optional) – Contains the total number of bytes ingested for APM spans during a given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_ingested_spans_response module¶
- class UsageIngestedSpansResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the ingested spans usage for each hour for a given organization.
- Parameters:
usage ([UsageIngestedSpansHour], optional) – Get hourly usage for ingested spans.
datadog_api_client.v1.model.usage_iot_hour module¶
- class UsageIoTHour(*args, **kwargs)¶
Bases:
ModelNormal
IoT usage for a given organization for a given hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
iot_device_count (int, none_type, optional) – The total number of IoT devices during a given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_iot_response module¶
- class UsageIoTResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the IoT usage for each hour for a given organization.
- Parameters:
usage ([UsageIoTHour], optional) – Get hourly usage for IoT.
datadog_api_client.v1.model.usage_lambda_hour module¶
- class UsageLambdaHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of Lambda functions and sum of the invocations of all Lambda functions for each hour for a given organization.
- Parameters:
func_count (int, none_type, optional) – Contains the number of different functions for each region and AWS account.
hour (datetime, optional) – The hour for the usage.
invocations_sum (int, none_type, optional) – Contains the sum of invocations of all functions.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_lambda_response module¶
- class UsageLambdaResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of Lambda functions and sum of the invocations of all Lambda functions for each hour for a given organization.
- Parameters:
usage ([UsageLambdaHour], optional) – Get hourly usage for Lambda.
datadog_api_client.v1.model.usage_logs_by_index_hour module¶
- class UsageLogsByIndexHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of indexed logs for each hour and index for a given organization.
- Parameters:
event_count (int, optional) – The total number of indexed logs for the queried hour.
hour (datetime, optional) – The hour for the usage.
index_id (str, optional) – The index ID for this usage.
index_name (str, optional) – The user specified name for this index ID.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
retention (int, optional) – The retention period (in days) for this index ID.
datadog_api_client.v1.model.usage_logs_by_index_response module¶
- class UsageLogsByIndexResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of indexed logs for each hour and index for a given organization.
- Parameters:
usage ([UsageLogsByIndexHour], optional) – An array of objects regarding hourly usage of logs by index response.
datadog_api_client.v1.model.usage_logs_by_retention_hour module¶
- class UsageLogsByRetentionHour(*args, **kwargs)¶
Bases:
ModelNormal
The number of indexed logs for each hour for a given organization broken down by retention period.
- Parameters:
indexed_events_count (int, none_type, optional) – Total logs indexed with this retention period during a given hour.
live_indexed_events_count (int, none_type, optional) – Live logs indexed with this retention period during a given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
rehydrated_indexed_events_count (int, none_type, optional) – Rehydrated logs indexed with this retention period during a given hour.
retention (str, none_type, optional) – The retention period in days or “custom” for all custom retention usage.
datadog_api_client.v1.model.usage_logs_by_retention_response module¶
- class UsageLogsByRetentionResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the indexed logs usage broken down by retention period for an organization during a given hour.
- Parameters:
usage ([UsageLogsByRetentionHour], optional) – Get hourly usage for indexed logs by retention period.
datadog_api_client.v1.model.usage_logs_hour module¶
- class UsageLogsHour(*args, **kwargs)¶
Bases:
ModelNormal
Hour usage for logs.
- Parameters:
billable_ingested_bytes (int, none_type, optional) – Contains the number of billable log bytes ingested.
hour (datetime, optional) – The hour for the usage.
indexed_events_count (int, none_type, optional) – Contains the number of log events indexed.
ingested_events_bytes (int, none_type, optional) – Contains the number of log bytes ingested.
logs_forwarding_events_bytes (int, none_type, optional) – Contains the number of logs forwarded bytes (data available as of April 1st 2023)
logs_live_indexed_count (int, none_type, optional) – Contains the number of live log events indexed (data available as of December 1, 2020).
logs_live_ingested_bytes (int, none_type, optional) – Contains the number of live log bytes ingested (data available as of December 1, 2020).
logs_rehydrated_indexed_count (int, none_type, optional) – Contains the number of rehydrated log events indexed (data available as of December 1, 2020).
logs_rehydrated_ingested_bytes (int, none_type, optional) – Contains the number of rehydrated log bytes ingested (data available as of December 1, 2020).
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_logs_response module¶
- class UsageLogsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of logs for each hour.
- Parameters:
usage ([UsageLogsHour], optional) – An array of objects regarding hourly usage of logs.
datadog_api_client.v1.model.usage_metric_category module¶
- class UsageMetricCategory(*args, **kwargs)¶
Bases:
ModelSimple
Contains the metric category.
- Parameters:
value (str) – Must be one of [“standard”, “custom”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.usage_network_flows_hour module¶
- class UsageNetworkFlowsHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of netflow events indexed for each hour for a given organization.
- Parameters:
hour (datetime, optional) – The hour for the usage.
indexed_events_count (int, none_type, optional) – Contains the number of netflow events indexed.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_network_flows_response module¶
- class UsageNetworkFlowsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of netflow events indexed for each hour for a given organization.
- Parameters:
usage ([UsageNetworkFlowsHour], optional) – Get hourly usage for Network Flows.
datadog_api_client.v1.model.usage_network_hosts_hour module¶
- class UsageNetworkHostsHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of active NPM hosts for each hour for a given organization.
- Parameters:
host_count (int, none_type, optional) – Contains the number of active NPM hosts.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_network_hosts_response module¶
- class UsageNetworkHostsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of active NPM hosts for each hour for a given organization.
- Parameters:
usage ([UsageNetworkHostsHour], optional) – Get hourly usage for NPM hosts.
datadog_api_client.v1.model.usage_online_archive_hour module¶
- class UsageOnlineArchiveHour(*args, **kwargs)¶
Bases:
ModelNormal
Online Archive usage in a given hour.
- Parameters:
hour (datetime, optional) – The hour for the usage.
online_archive_events_count (int, none_type, optional) – Total count of online archived events within the hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_online_archive_response module¶
- class UsageOnlineArchiveResponse(*args, **kwargs)¶
Bases:
ModelNormal
Online Archive usage response.
- Parameters:
usage ([UsageOnlineArchiveHour], optional) – Response containing Online Archive usage.
datadog_api_client.v1.model.usage_profiling_hour module¶
- class UsageProfilingHour(*args, **kwargs)¶
Bases:
ModelNormal
The number of profiled hosts for each hour for a given organization.
- Parameters:
aas_count (int, none_type, optional) – Contains the total number of profiled Azure app services reporting during a given hour.
avg_container_agent_count (int, none_type, optional) – Get average number of container agents for that hour.
host_count (int, none_type, optional) – Contains the total number of profiled hosts reporting during a given hour.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_profiling_response module¶
- class UsageProfilingResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of profiled hosts for each hour for a given organization.
- Parameters:
usage ([UsageProfilingHour], optional) – Get hourly usage for profiled hosts.
datadog_api_client.v1.model.usage_reports_type module¶
- class UsageReportsType(*args, **kwargs)¶
Bases:
ModelSimple
The type of reports.
- Parameters:
value (str) – If omitted defaults to “reports”. Must be one of [“reports”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.usage_rum_sessions_hour module¶
- class UsageRumSessionsHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of RUM sessions recorded for each hour for a given organization.
- Parameters:
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
replay_session_count (int, optional) – Contains the number of RUM Session Replay counts (data available beginning November 1, 2021).
session_count (int, none_type, optional) – Contains the number of browser RUM lite Sessions.
session_count_android (int, none_type, optional) – Contains the number of mobile RUM sessions on Android (data available beginning December 1, 2020).
session_count_flutter (int, none_type, optional) – Contains the number of mobile RUM sessions on Flutter (data available beginning March 1, 2023).
session_count_ios (int, none_type, optional) – Contains the number of mobile RUM sessions on iOS (data available beginning December 1, 2020).
session_count_reactnative (int, none_type, optional) – Contains the number of mobile RUM sessions on React Native (data available beginning May 1, 2022).
datadog_api_client.v1.model.usage_rum_sessions_response module¶
- class UsageRumSessionsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of RUM sessions for each hour for a given organization.
- Parameters:
usage ([UsageRumSessionsHour], optional) – Get hourly usage for RUM sessions.
datadog_api_client.v1.model.usage_rum_units_hour module¶
- class UsageRumUnitsHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of RUM Units used for each hour for a given organization (data available as of November 1, 2021).
- Parameters:
browser_rum_units (int, none_type, optional) – The number of browser RUM units.
mobile_rum_units (int, none_type, optional) – The number of mobile RUM units.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
rum_units (int, none_type, optional) – Total RUM units across mobile and browser RUM.
datadog_api_client.v1.model.usage_rum_units_response module¶
- class UsageRumUnitsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of RUM Units for each hour for a given organization.
- Parameters:
usage ([UsageRumUnitsHour], optional) – Get hourly usage for RUM Units.
datadog_api_client.v1.model.usage_sds_hour module¶
- class UsageSDSHour(*args, **kwargs)¶
Bases:
ModelNormal
Sensitive Data Scanner usage for a given organization for a given hour.
- Parameters:
apm_scanned_bytes (int, none_type, optional) – The total number of bytes scanned of APM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
events_scanned_bytes (int, none_type, optional) – The total number of bytes scanned of Events usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
hour (datetime, optional) – The hour for the usage.
logs_scanned_bytes (int, none_type, optional) – The total number of bytes scanned of logs usage by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
rum_scanned_bytes (int, none_type, optional) – The total number of bytes scanned of RUM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
total_scanned_bytes (int, none_type, optional) – The total number of bytes scanned across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
datadog_api_client.v1.model.usage_sds_response module¶
- class UsageSDSResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the Sensitive Data Scanner usage for each hour for a given organization.
- Parameters:
usage ([UsageSDSHour], optional) – Get hourly usage for Sensitive Data Scanner.
datadog_api_client.v1.model.usage_snmp_hour module¶
- class UsageSNMPHour(*args, **kwargs)¶
Bases:
ModelNormal
The number of SNMP devices for each hour for a given organization.
- Parameters:
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
snmp_devices (int, none_type, optional) – Contains the number of SNMP devices.
datadog_api_client.v1.model.usage_snmp_response module¶
- class UsageSNMPResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of SNMP devices for each hour for a given organization.
- Parameters:
usage ([UsageSNMPHour], optional) – Get hourly usage for SNMP devices.
datadog_api_client.v1.model.usage_sort module¶
- class UsageSort(*args, **kwargs)¶
Bases:
ModelSimple
The field to sort by.
- Parameters:
value (str) – If omitted defaults to “start_date”. Must be one of [“computed_on”, “size”, “start_date”, “end_date”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.usage_sort_direction module¶
- class UsageSortDirection(*args, **kwargs)¶
Bases:
ModelSimple
The direction to sort by.
- Parameters:
value (str) – If omitted defaults to “desc”. Must be one of [“desc”, “asc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.usage_specified_custom_reports_attributes module¶
- class UsageSpecifiedCustomReportsAttributes(*args, **kwargs)¶
Bases:
ModelNormal
The response containing attributes for specified custom reports.
- Parameters:
computed_on (str, optional) – The date the specified custom report was computed.
end_date (str, optional) – The ending date of specified custom report.
location (str, optional) – A downloadable file for the specified custom reporting file.
size (int, optional) – size
start_date (str, optional) – The starting date of specified custom report.
tags ([str], optional) – A list of tags to apply to specified custom reports.
datadog_api_client.v1.model.usage_specified_custom_reports_data module¶
- class UsageSpecifiedCustomReportsData(*args, **kwargs)¶
Bases:
ModelNormal
Response containing date and type for specified custom reports.
- Parameters:
attributes (UsageSpecifiedCustomReportsAttributes, optional) – The response containing attributes for specified custom reports.
id (str, optional) – The date for specified custom reports.
type (UsageReportsType, optional) – The type of reports.
datadog_api_client.v1.model.usage_specified_custom_reports_meta module¶
- class UsageSpecifiedCustomReportsMeta(*args, **kwargs)¶
Bases:
ModelNormal
The object containing document metadata.
- Parameters:
page (UsageSpecifiedCustomReportsPage, optional) – The object containing page total count for specified ID.
datadog_api_client.v1.model.usage_specified_custom_reports_page module¶
- class UsageSpecifiedCustomReportsPage(*args, **kwargs)¶
Bases:
ModelNormal
The object containing page total count for specified ID.
- Parameters:
total_count (int, optional) – Total page count.
datadog_api_client.v1.model.usage_specified_custom_reports_response module¶
- class UsageSpecifiedCustomReportsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Returns available specified custom reports.
- Parameters:
data (UsageSpecifiedCustomReportsData, optional) – Response containing date and type for specified custom reports.
meta (UsageSpecifiedCustomReportsMeta, optional) – The object containing document metadata.
datadog_api_client.v1.model.usage_summary_date module¶
- class UsageSummaryDate(*args, **kwargs)¶
Bases:
ModelNormal
Response with hourly report of all data billed by Datadog all organizations.
- Parameters:
agent_host_top99p (int, optional) – Shows the 99th percentile of all agent hosts over all hours in the current date for all organizations.
apm_azure_app_service_host_top99p (int, optional) – Shows the 99th percentile of all Azure app services using APM over all hours in the current date all organizations.
apm_devsecops_host_top99p (int, optional) – Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
apm_fargate_count_avg (int, optional) – Shows the average of all APM ECS Fargate tasks over all hours in the current date for all organizations.
apm_host_top99p (int, optional) – Shows the 99th percentile of all distinct APM hosts over all hours in the current date for all organizations.
appsec_fargate_count_avg (int, optional) – Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current date for all organizations.
asm_serverless_sum (int, optional) – Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current date for all organizations.
audit_logs_lines_indexed_sum (int, optional) – Shows the sum of audit logs lines indexed over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
audit_trail_enabled_hwm (int, optional) – Shows the number of organizations that had Audit Trail enabled in the current date.
avg_profiled_fargate_tasks (int, optional) – The average profiled task count for Fargate Profiling.
aws_host_top99p (int, optional) – Shows the 99th percentile of all AWS hosts over all hours in the current date for all organizations.
aws_lambda_func_count (int, optional) – Shows the average of the number of functions that executed 1 or more times each hour in the current date for all organizations.
aws_lambda_invocations_sum (int, optional) – Shows the sum of all AWS Lambda invocations over all hours in the current date for all organizations.
azure_app_service_top99p (int, optional) – Shows the 99th percentile of all Azure app services over all hours in the current date for all organizations.
billable_ingested_bytes_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current date for all organizations.
browser_rum_lite_session_count_sum (int, optional) – Shows the sum of all browser lite sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
browser_rum_replay_session_count_sum (int, optional) – Shows the sum of all browser replay sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024).
browser_rum_units_sum (int, optional) – Shows the sum of all browser RUM units over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
ci_pipeline_indexed_spans_sum (int, optional) – Shows the sum of all CI pipeline indexed spans over all hours in the current month for all organizations.
ci_test_indexed_spans_sum (int, optional) – Shows the sum of all CI test indexed spans over all hours in the current month for all organizations.
ci_visibility_itr_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current month for all organizations.
ci_visibility_pipeline_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility pipeline committers over all hours in the current month for all organizations.
ci_visibility_test_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
cloud_cost_management_aws_host_count_avg (int, optional) – Host count average of Cloud Cost Management for AWS for the given date and given organization.
cloud_cost_management_azure_host_count_avg (int, optional) – Host count average of Cloud Cost Management for Azure for the given date and given organization.
cloud_cost_management_gcp_host_count_avg (int, optional) – Host count average of Cloud Cost Management for GCP for the given date and given organization.
cloud_cost_management_host_count_avg (int, optional) – Host count average of Cloud Cost Management for all cloud providers for the given date and given organization.
cloud_siem_events_sum (int, optional) – Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
code_analysis_sa_committers_hwm (int, optional) – Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org.
code_analysis_sca_committers_hwm (int, optional) – Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
container_avg (int, optional) – Shows the average of all distinct containers over all hours in the current date for all organizations.
container_excl_agent_avg (int, optional) – Shows the average of containers without the Datadog Agent over all hours in the current date for all organizations.
container_hwm (int, optional) – Shows the high-water mark of all distinct containers over all hours in the current date for all organizations.
csm_container_enterprise_compliance_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current date for the given org.
csm_container_enterprise_cws_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current date for the given org.
csm_container_enterprise_total_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current date for the given org.
csm_host_enterprise_aas_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current date for the given org.
csm_host_enterprise_aws_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current date for the given org.
csm_host_enterprise_azure_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current date for the given org.
csm_host_enterprise_compliance_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current date for the given org.
csm_host_enterprise_cws_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current date for the given org.
csm_host_enterprise_gcp_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current date for the given org.
csm_host_enterprise_total_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
cspm_aas_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current date for all organizations.
cspm_aws_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current date for all organizations.
cspm_azure_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current date for all organizations.
cspm_container_avg (int, optional) – Shows the average number of Cloud Security Management Pro containers over all hours in the current date for all organizations.
cspm_container_hwm (int, optional) – Shows the high-water mark of Cloud Security Management Pro containers over all hours in the current date for all organizations.
cspm_gcp_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current date for all organizations.
cspm_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for all organizations.
custom_ts_avg (int, optional) – Shows the average number of distinct custom metrics over all hours in the current date for all organizations.
cws_container_count_avg (int, optional) – Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for all organizations.
cws_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for all organizations.
data_jobs_monitoring_host_hr_sum (int, optional) – Shows the sum of all Data Jobs Monitoring hosts over all hours in the current date for the given org.
date (datetime, optional) – The date for the usage.
dbm_host_top99p (int, optional) – Shows the 99th percentile of all Database Monitoring hosts over all hours in the current date for all organizations.
dbm_queries_count_avg (int, optional) – Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations.
error_tracking_events_sum (int, optional) – Shows the sum of all Error Tracking events over all hours in the current date for the given org.
fargate_tasks_count_avg (int, optional) – Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
fargate_tasks_count_hwm (int, optional) – Shows the average of all Fargate tasks over all hours in the current date for all organizations.
flex_logs_compute_large_avg (int, optional) – Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
flex_logs_compute_medium_avg (int, optional) – Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org.
flex_logs_compute_small_avg (int, optional) – Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org.
flex_logs_compute_xsmall_avg (int, optional) – Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org.
flex_logs_starter_avg (int, optional) – Shows the average number of Flex Logs Starter Instances over all hours in the current date for the given org.
flex_logs_starter_storage_index_avg (int, optional) – Shows the average number of Flex Logs Starter Storage Index Instances over all hours in the current date for the given org.
flex_logs_starter_storage_retention_adjustment_avg (int, optional) – Shows the average number of Flex Logs Starter Storage Retention Adjustment Instances over all hours in the current date for the given org.
flex_stored_logs_avg (int, optional) – Shows the average of all Flex Stored Logs over all hours in the current date for the given org.
forwarding_events_bytes_sum (int, optional) – Shows the sum of all log bytes forwarded over all hours in the current date for all organizations.
gcp_host_top99p (int, optional) – Shows the 99th percentile of all GCP hosts over all hours in the current date for all organizations.
heroku_host_top99p (int, optional) – Shows the 99th percentile of all Heroku dynos over all hours in the current date for all organizations.
incident_management_monthly_active_users_hwm (int, optional) – Shows the high-water mark of incident management monthly active users over all hours in the current date for all organizations.
indexed_events_count_sum (int, optional) – Shows the sum of all log events indexed over all hours in the current date for all organizations.
infra_host_top99p (int, optional) – Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations.
ingested_events_bytes_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current date for all organizations.
iot_device_sum (int, optional) – Shows the sum of all IoT devices over all hours in the current date for all organizations.
iot_device_top99p (int, optional) – Shows the 99th percentile of all IoT devices over all hours in the current date all organizations.
mobile_rum_lite_session_count_sum (int, optional) – Shows the sum of all mobile lite sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM sessions on Android over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM sessions on Flutter over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM sessions on iOS over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM sessions on React Native over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM sessions on Roku over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_sum (int, optional) – Shows the sum of all mobile RUM sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_units_sum (int, optional) – Shows the sum of all mobile RUM units over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
ndm_netflow_events_sum (int, optional) – Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current date for the given org.
netflow_indexed_events_count_sum (int, optional) – Shows the sum of all Network flows indexed over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
npm_host_top99p (int, optional) – Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations.
observability_pipelines_bytes_processed_sum (int, optional) – Sum of all observability pipelines bytes processed over all hours in the current date for the given org.
oci_host_sum (int, optional) – Shows the sum of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
oci_host_top99p (int, optional) – Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
online_archive_events_count_sum (int, optional) – Sum of all online archived events over all hours in the current date for all organizations.
opentelemetry_apm_host_top99p (int, optional) – Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
opentelemetry_host_top99p (int, optional) – Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
orgs ([UsageSummaryDateOrg], optional) – Organizations associated with a user.
profiling_aas_count_top99p (int, optional) – Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.
profiling_host_top99p (int, optional) – Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.
rum_browser_and_mobile_session_count (int, optional) – Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
rum_browser_legacy_session_count_sum (int, optional) – Shows the sum of all browser RUM legacy sessions over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_browser_lite_session_count_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_browser_replay_session_count_sum (int, optional) – Shows the sum of all browser RUM Session Replay counts over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_lite_session_count_sum (int, optional) – Shows the sum of all RUM lite sessions (browser and mobile) over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Android over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM legacy Sessions on Flutter over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on iOS over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on React Native over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Roku over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Android over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Flutter over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on iOS over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on React Native over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_replay_session_count_sum (int, optional) – Shows the sum of all RUM Session Replay counts over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
rum_session_count_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
rum_total_session_count_sum (int, optional) – Shows the sum of RUM sessions (browser and mobile) over all hours in the current date for all organizations.
rum_units_sum (int, optional) – Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations (To be deprecated on October 1st, 2024). Deprecated.
sca_fargate_count_avg (int, optional) – Shows the average of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.
sca_fargate_count_hwm (int, optional) – Shows the sum of the high-water marks of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.
sds_apm_scanned_bytes_sum (int, optional) – Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
sds_events_scanned_bytes_sum (int, optional) – Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
sds_logs_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
sds_rum_scanned_bytes_sum (int, optional) – Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
sds_total_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
serverless_apps_azure_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Azure for the given date and given org.
serverless_apps_google_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Google Cloud for the given date and given org.
serverless_apps_total_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Azure and Google Cloud for the given date and given org.
siem_analyzed_logs_add_on_count_sum (int, optional) – Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current date for the given org.
synthetics_browser_check_calls_count_sum (int, optional) – Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations.
synthetics_check_calls_count_sum (int, optional) – Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
synthetics_mobile_test_runs_sum (int, optional) – Shows the sum of all Synthetic mobile application tests over all hours in the current date for all organizations.
synthetics_parallel_testing_max_slots_hwm (int, optional) – Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for all organizations.
trace_search_indexed_events_count_sum (int, optional) – Shows the sum of all Indexed Spans indexed over all hours in the current date for all organizations.
twol_ingested_events_bytes_sum (int, optional) – Shows the sum of all ingested APM span bytes over all hours in the current date for all organizations.
universal_service_monitoring_host_top99p (int, optional) – Shows the 99th percentile of all universal service management hosts over all hours in the current date for the given org.
vsphere_host_top99p (int, optional) – Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations.
vuln_management_host_count_top99p (int, optional) – Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
workflow_executions_usage_sum (int, optional) – Sum of all workflows executed over all hours in the current date for all organizations.
datadog_api_client.v1.model.usage_summary_date_org module¶
- class UsageSummaryDateOrg(*args, **kwargs)¶
Bases:
ModelNormal
Global hourly report of all data billed by Datadog for a given organization.
- Parameters:
account_name (str, optional) – The account name.
account_public_id (str, optional) – The account public id.
agent_host_top99p (int, optional) – Shows the 99th percentile of all agent hosts over all hours in the current date for the given org.
apm_azure_app_service_host_top99p (int, optional) – Shows the 99th percentile of all Azure app services using APM over all hours in the current date for the given org.
apm_devsecops_host_top99p (int, optional) – Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
apm_fargate_count_avg (int, optional) – Shows the average of all APM ECS Fargate tasks over all hours in the current month for the given org.
apm_host_top99p (int, optional) – Shows the 99th percentile of all distinct APM hosts over all hours in the current date for the given org.
appsec_fargate_count_avg (int, optional) – Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current month for the given org.
asm_serverless_sum (int, optional) – Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current month for the given org.
audit_logs_lines_indexed_sum (int, optional) – Shows the sum of all audit logs lines indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
audit_trail_enabled_hwm (int, optional) – Shows whether Audit Trail is enabled for the current date for the given org.
avg_profiled_fargate_tasks (int, optional) – The average profiled task count for Fargate Profiling.
aws_host_top99p (int, optional) – Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org.
aws_lambda_func_count (int, optional) – Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.
aws_lambda_invocations_sum (int, optional) – Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.
azure_app_service_top99p (int, optional) – Shows the 99th percentile of all Azure app services over all hours in the current date for the given org.
billable_ingested_bytes_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current date for the given org.
browser_rum_lite_session_count_sum (int, optional) – Shows the sum of all browser lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
browser_rum_replay_session_count_sum (int, optional) – Shows the sum of all browser replay sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).
browser_rum_units_sum (int, optional) – Shows the sum of all browser RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
ci_pipeline_indexed_spans_sum (int, optional) – Shows the sum of all CI pipeline indexed spans over all hours in the current date for the given org.
ci_test_indexed_spans_sum (int, optional) – Shows the sum of all CI test indexed spans over all hours in the current date for the given org.
ci_visibility_itr_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current date for the given org.
ci_visibility_pipeline_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility pipeline committers over all hours in the current date for the given org.
ci_visibility_test_committers_hwm (int, optional) – Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.
cloud_cost_management_aws_host_count_avg (int, optional) – Host count average of Cloud Cost Management for AWS for the given date and given org.
cloud_cost_management_azure_host_count_avg (int, optional) – Host count average of Cloud Cost Management for Azure for the given date and given org.
cloud_cost_management_gcp_host_count_avg (int, optional) – Host count average of Cloud Cost Management for GCP for the given date and given org.
cloud_cost_management_host_count_avg (int, optional) – Host count average of Cloud Cost Management for all cloud providers for the given date and given org.
cloud_siem_events_sum (int, optional) – Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
code_analysis_sa_committers_hwm (int, optional) – Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org.
code_analysis_sca_committers_hwm (int, optional) – Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.
container_avg (int, optional) – Shows the average of all distinct containers over all hours in the current date for the given org.
container_excl_agent_avg (int, optional) – Shows the average of containers without the Datadog Agent over all hours in the current date for the given organization.
container_hwm (int, optional) – Shows the high-water mark of all distinct containers over all hours in the current date for the given org.
csm_container_enterprise_compliance_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current date for the given org.
csm_container_enterprise_cws_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current date for the given org.
csm_container_enterprise_total_count_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current date for the given org.
csm_host_enterprise_aas_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current date for the given org.
csm_host_enterprise_aws_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current date for the given org.
csm_host_enterprise_azure_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current date for the given org.
csm_host_enterprise_compliance_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current date for the given org.
csm_host_enterprise_cws_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current date for the given org.
csm_host_enterprise_gcp_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current date for the given org.
csm_host_enterprise_total_host_count_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
cspm_aas_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current date for the given org.
cspm_aws_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current date for the given org.
cspm_azure_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current date for the given org.
cspm_container_avg (int, optional) – Shows the average number of Cloud Security Management Pro containers over all hours in the current date for the given org.
cspm_container_hwm (int, optional) – Shows the high-water mark of Cloud Security Management Pro containers over all hours in the current date for the given org.
cspm_gcp_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current date for the given org.
cspm_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.
custom_historical_ts_avg (int, optional) – Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.
custom_live_ts_avg (int, optional) – Shows the average number of distinct live custom metrics over all hours in the current date for the given org.
custom_ts_avg (int, optional) – Shows the average number of distinct custom metrics over all hours in the current date for the given org.
cws_container_count_avg (int, optional) – Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for the given org.
cws_host_top99p (int, optional) – Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for the given org.
data_jobs_monitoring_host_hr_sum (int, optional) – Shows the sum of all Data Jobs Monitoring hosts over all hours in the current date for the given org.
dbm_host_top99p_sum (int, optional) – Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for the given org.
dbm_queries_avg_sum (int, optional) – Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.
error_tracking_events_sum (int, optional) – Shows the sum of all Error Tracking events over all hours in the current date for the given org.
fargate_tasks_count_avg (int, optional) – The average task count for Fargate.
fargate_tasks_count_hwm (int, optional) – Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org.
flex_logs_compute_large_avg (int, optional) – Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
flex_logs_compute_medium_avg (int, optional) – Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org.
flex_logs_compute_small_avg (int, optional) – Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org.
flex_logs_compute_xsmall_avg (int, optional) – Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org.
flex_logs_starter_avg (int, optional) – Shows the average number of Flex Logs Starter Instances over all hours in the current date for the given org.
flex_logs_starter_storage_index_avg (int, optional) – Shows the average number of Flex Logs Starter Storage Index Instances over all hours in the current date for the given org.
flex_logs_starter_storage_retention_adjustment_avg (int, optional) – Shows the average number of Flex Logs Starter Storage Retention Adjustment Instances over all hours in the current date for the given org.
flex_stored_logs_avg (int, optional) – Shows the average of all Flex Stored Logs over all hours in the current date for the given org.
forwarding_events_bytes_sum (int, optional) – Shows the sum of all log bytes forwarded over all hours in the current date for the given org.
gcp_host_top99p (int, optional) – Shows the 99th percentile of all GCP hosts over all hours in the current date for the given org.
heroku_host_top99p (int, optional) – Shows the 99th percentile of all Heroku dynos over all hours in the current date for the given org.
id (str, optional) – The organization id.
incident_management_monthly_active_users_hwm (int, optional) – Shows the high-water mark of incident management monthly active users over all hours in the current date for the given org.
indexed_events_count_sum (int, optional) – Shows the sum of all log events indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
infra_host_top99p (int, optional) – Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org.
ingested_events_bytes_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current date for the given org.
iot_device_agg_sum (int, optional) – Shows the sum of all IoT devices over all hours in the current date for the given org.
iot_device_top99p_sum (int, optional) – Shows the 99th percentile of all IoT devices over all hours in the current date for the given org.
mobile_rum_lite_session_count_sum (int, optional) – Shows the sum of all mobile lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM sessions on Android over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM sessions on Flutter over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM sessions on iOS over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM sessions on React Native over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM sessions on Roku over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_sum (int, optional) – Shows the sum of all mobile RUM sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_units_sum (int, optional) – Shows the sum of all mobile RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
name (str, optional) – The organization name.
ndm_netflow_events_sum (int, optional) – Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current date for the given org.
netflow_indexed_events_count_sum (int, optional) – Shows the sum of all Network flows indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
npm_host_top99p (int, optional) – Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org.
observability_pipelines_bytes_processed_sum (int, optional) – Sum of all observability pipelines bytes processed over all hours in the current date for the given org.
oci_host_sum (int, optional) – Shows the sum of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
oci_host_top99p (int, optional) – Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
online_archive_events_count_sum (int, optional) – Sum of all online archived events over all hours in the current date for the given org.
opentelemetry_apm_host_top99p (int, optional) – Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
opentelemetry_host_top99p (int, optional) – Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
profiling_aas_count_top99p (int, optional) – Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.
profiling_host_top99p (int, optional) – Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.
public_id (str, optional) – The organization public id.
region (str, optional) – The region of the organization.
rum_browser_and_mobile_session_count (int, optional) – Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).
rum_browser_legacy_session_count_sum (int, optional) – Shows the sum of all browser RUM legacy sessions over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_browser_lite_session_count_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_browser_replay_session_count_sum (int, optional) – Shows the sum of all browser RUM Session Replay counts over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_lite_session_count_sum (int, optional) – Shows the sum of all RUM lite sessions (browser and mobile) over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Android over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Flutter over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on iOS over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on React Native over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Roku over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_android_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Android over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_flutter_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Flutter over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_ios_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on iOS over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_reactnative_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on React Native over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_roku_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_replay_session_count_sum (int, optional) – Shows the sum of all RUM Session Replay counts over all hours in the current date for the given org (To be introduced on October 1st, 2024).
rum_session_count_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
rum_total_session_count_sum (int, optional) – Shows the sum of RUM sessions (browser and mobile) over all hours in the current date for the given org.
rum_units_sum (int, optional) – Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024). Deprecated.
sca_fargate_count_avg (int, optional) – Shows the average of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.
sca_fargate_count_hwm (int, optional) – Shows the sum of the high-water marks of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.
sds_apm_scanned_bytes_sum (int, optional) – Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for the given org.
sds_events_scanned_bytes_sum (int, optional) – Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for the given org.
sds_logs_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for the given org.
sds_rum_scanned_bytes_sum (int, optional) – Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for the given org.
sds_total_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for the given org.
serverless_apps_azure_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Azure for the given date and given org.
serverless_apps_google_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Google Cloud for the given date and given org.
serverless_apps_total_count_avg (int, optional) – Shows the average of the number of Serverless Apps for Azure and Google Cloud for the given date and given org.
siem_analyzed_logs_add_on_count_sum (int, optional) – Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current date for the given org.
synthetics_browser_check_calls_count_sum (int, optional) – Shows the sum of all Synthetic browser tests over all hours in the current date for the given org.
synthetics_check_calls_count_sum (int, optional) – Shows the sum of all Synthetic API tests over all hours in the current date for the given org.
synthetics_mobile_test_runs_sum (int, optional) – Shows the sum of all Synthetic mobile application tests over all hours in the current date for the given org.
synthetics_parallel_testing_max_slots_hwm (int, optional) – Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for the given org.
trace_search_indexed_events_count_sum (int, optional) – Shows the sum of all Indexed Spans indexed over all hours in the current date for the given org.
twol_ingested_events_bytes_sum (int, optional) – Shows the sum of all ingested APM span bytes over all hours in the current date for the given org.
universal_service_monitoring_host_top99p (int, optional) – Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current date for the given org.
vsphere_host_top99p (int, optional) – Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.
vuln_management_host_count_top99p (int, optional) – Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.
workflow_executions_usage_sum (int, optional) – Sum of all workflows executed over all hours in the current date for the given org.
datadog_api_client.v1.model.usage_summary_response module¶
- class UsageSummaryResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization.
- Parameters:
agent_host_top99p_sum (int, optional) – Shows the 99th percentile of all agent hosts over all hours in the current month for all organizations.
apm_azure_app_service_host_top99p_sum (int, optional) – Shows the 99th percentile of all Azure app services using APM over all hours in the current month all organizations.
apm_devsecops_host_top99p_sum (int, optional) – Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current month for all organizations.
apm_fargate_count_avg_sum (int, optional) – Shows the average of all APM ECS Fargate tasks over all hours in the current month for all organizations.
apm_host_top99p_sum (int, optional) – Shows the 99th percentile of all distinct APM hosts over all hours in the current month for all organizations.
appsec_fargate_count_avg_sum (int, optional) – Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current month for all organizations.
asm_serverless_agg_sum (int, optional) – Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current months for all organizations.
audit_logs_lines_indexed_agg_sum (int, optional) – Shows the sum of all audit logs lines indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
audit_trail_enabled_hwm_sum (int, optional) – Shows the total number of organizations that had Audit Trail enabled over a specific number of months.
avg_profiled_fargate_tasks_sum (int, optional) – Shows the average of all profiled Fargate tasks over all hours in the current month for all organizations.
aws_host_top99p_sum (int, optional) – Shows the 99th percentile of all AWS hosts over all hours in the current month for all organizations.
aws_lambda_func_count (int, optional) – Shows the average of the number of functions that executed 1 or more times each hour in the current month for all organizations.
aws_lambda_invocations_sum (int, optional) – Shows the sum of all AWS Lambda invocations over all hours in the current month for all organizations.
azure_app_service_top99p_sum (int, optional) – Shows the 99th percentile of all Azure app services over all hours in the current month for all organizations.
azure_host_top99p_sum (int, optional) – Shows the 99th percentile of all Azure hosts over all hours in the current month for all organizations.
billable_ingested_bytes_agg_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current month for all organizations.
browser_rum_lite_session_count_agg_sum (int, optional) – Shows the sum of all browser lite sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
browser_rum_replay_session_count_agg_sum (int, optional) – Shows the sum of all browser replay sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
browser_rum_units_agg_sum (int, optional) – Shows the sum of all browser RUM units over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
ci_pipeline_indexed_spans_agg_sum (int, optional) – Shows the sum of all CI pipeline indexed spans over all hours in the current month for all organizations.
ci_test_indexed_spans_agg_sum (int, optional) – Shows the sum of all CI test indexed spans over all hours in the current month for all organizations.
ci_visibility_itr_committers_hwm_sum (int, optional) – Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current month for all organizations.
ci_visibility_pipeline_committers_hwm_sum (int, optional) – Shows the high-water mark of all CI visibility pipeline committers over all hours in the current month for all organizations.
ci_visibility_test_committers_hwm_sum (int, optional) – Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
cloud_cost_management_aws_host_count_avg_sum (int, optional) – Sum of the host count average for Cloud Cost Management for AWS.
cloud_cost_management_azure_host_count_avg_sum (int, optional) – Sum of the host count average for Cloud Cost Management for Azure.
cloud_cost_management_gcp_host_count_avg_sum (int, optional) – Sum of the host count average for Cloud Cost Management for GCP.
cloud_cost_management_host_count_avg_sum (int, optional) – Sum of the host count average for Cloud Cost Management for all cloud providers.
cloud_siem_events_agg_sum (int, optional) – Shows the sum of all Cloud Security Information and Event Management events over all hours in the current month for all organizations.
code_analysis_sa_committers_hwm_sum (int, optional) – Shows the high-water mark of all Static Analysis committers over all hours in the current month for all organizations.
code_analysis_sca_committers_hwm_sum (int, optional) – Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current month for all organizations.
container_avg_sum (int, optional) – Shows the average of all distinct containers over all hours in the current month for all organizations.
container_excl_agent_avg_sum (int, optional) – Shows the average of the containers without the Datadog Agent over all hours in the current month for all organizations.
container_hwm_sum (int, optional) – Shows the sum of the high-water marks of all distinct containers over all hours in the current month for all organizations.
csm_container_enterprise_compliance_count_agg_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current month for all organizations.
csm_container_enterprise_cws_count_agg_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current month for all organizations.
csm_container_enterprise_total_count_agg_sum (int, optional) – Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current month for all organizations.
csm_host_enterprise_aas_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current month for all organizations.
csm_host_enterprise_aws_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current month for all organizations.
csm_host_enterprise_azure_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current month for all organizations.
csm_host_enterprise_compliance_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current month for all organizations.
csm_host_enterprise_cws_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current month for all organizations.
csm_host_enterprise_gcp_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current month for all organizations.
csm_host_enterprise_total_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current month for all organizations.
cspm_aas_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current month for all organizations.
cspm_aws_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current month for all organizations.
cspm_azure_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current month for all organizations.
cspm_container_avg_sum (int, optional) – Shows the average number of Cloud Security Management Pro containers over all hours in the current month for all organizations.
cspm_container_hwm_sum (int, optional) – Shows the sum of the the high-water marks of Cloud Security Management Pro containers over all hours in the current month for all organizations.
cspm_gcp_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current month for all organizations.
cspm_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current month for all organizations.
custom_historical_ts_sum (int, optional) – Shows the average number of distinct historical custom metrics over all hours in the current month for all organizations.
custom_live_ts_sum (int, optional) – Shows the average number of distinct live custom metrics over all hours in the current month for all organizations.
custom_ts_sum (int, optional) – Shows the average number of distinct custom metrics over all hours in the current month for all organizations.
cws_containers_avg_sum (int, optional) – Shows the average of all distinct Cloud Workload Security containers over all hours in the current month for all organizations.
cws_host_top99p_sum (int, optional) – Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current month for all organizations.
data_jobs_monitoring_host_hr_agg_sum (int, optional) – Shows the sum of Data Jobs Monitoring hosts over all hours in the current months for all organizations
dbm_host_top99p_sum (int, optional) – Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for all organizations.
dbm_queries_avg_sum (int, optional) – Shows the average of all distinct Database Monitoring Normalized Queries over all hours in the current month for all organizations.
end_date (datetime, optional) – Shows the last date of usage in the current month for all organizations.
error_tracking_events_agg_sum (int, optional) – Shows the sum of all Error Tracking events over all hours in the current months for all organizations.
fargate_tasks_count_avg_sum (int, optional) – Shows the average of all Fargate tasks over all hours in the current month for all organizations.
fargate_tasks_count_hwm_sum (int, optional) – Shows the sum of the high-water marks of all Fargate tasks over all hours in the current month for all organizations.
flex_logs_compute_large_avg_sum (int, optional) – Shows the average number of Flex Logs Compute Large Instances over all hours in the current months for all organizations.
flex_logs_compute_medium_avg_sum (int, optional) – Shows the average number of Flex Logs Compute Medium Instances over all hours in the current months for all organizations.
flex_logs_compute_small_avg_sum (int, optional) – Shows the average number of Flex Logs Compute Small Instances over all hours in the current months for all organizations.
flex_logs_compute_xsmall_avg_sum (int, optional) – Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current months for all organizations.
flex_logs_starter_avg_sum (int, optional) – Shows the average number of Flex Logs Starter Instances over all hours in the current months for all organizations.
flex_logs_starter_storage_index_avg_sum (int, optional) – Shows the average number of Flex Logs Starter Storage Index Instances over all hours in the current months for all organizations.
flex_logs_starter_storage_retention_adjustment_avg_sum (int, optional) – Shows the average number of Flex Logs Starter Storage Retention Adjustment Instances over all hours in the current months for all organizations.
flex_stored_logs_avg_sum (int, optional) – Shows the average of all Flex Stored Logs over all hours in the current months for all organizations.
forwarding_events_bytes_agg_sum (int, optional) – Shows the sum of all logs forwarding bytes over all hours in the current month for all organizations (data available as of April 1, 2023)
gcp_host_top99p_sum (int, optional) – Shows the 99th percentile of all GCP hosts over all hours in the current month for all organizations.
heroku_host_top99p_sum (int, optional) – Shows the 99th percentile of all Heroku dynos over all hours in the current month for all organizations.
incident_management_monthly_active_users_hwm_sum (int, optional) – Shows sum of the the high-water marks of incident management monthly active users in the current month for all organizations.
indexed_events_count_agg_sum (int, optional) – Shows the sum of all log events indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
infra_host_top99p_sum (int, optional) – Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current month for all organizations.
ingested_events_bytes_agg_sum (int, optional) – Shows the sum of all log bytes ingested over all hours in the current month for all organizations.
iot_device_agg_sum (int, optional) – Shows the sum of all IoT devices over all hours in the current month for all organizations.
iot_device_top99p_sum (int, optional) – Shows the 99th percentile of all IoT devices over all hours in the current month of all organizations.
last_updated (datetime, optional) – Shows the the most recent hour in the current month for all organizations for which all usages were calculated.
live_indexed_events_agg_sum (int, optional) – Shows the sum of all live logs indexed over all hours in the current month for all organization (To be deprecated on October 1st, 2024). Deprecated.
live_ingested_bytes_agg_sum (int, optional) – Shows the sum of all live logs bytes ingested over all hours in the current month for all organizations (data available as of December 1, 2020).
logs_by_retention (LogsByRetention, optional) – Object containing logs usage data broken down by retention period.
mobile_rum_lite_session_count_agg_sum (int, optional) – Shows the sum of all mobile lite sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_android_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions on Android over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_flutter_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions on Flutter over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_ios_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions on iOS over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_reactnative_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions on React Native over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_session_count_roku_agg_sum (int, optional) – Shows the sum of all mobile RUM sessions on Roku over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
mobile_rum_units_agg_sum (int, optional) – Shows the sum of all mobile RUM units over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
ndm_netflow_events_agg_sum (int, optional) – Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current month for all organizations.
netflow_indexed_events_count_agg_sum (int, optional) – Shows the sum of all Network flows indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
npm_host_top99p_sum (int, optional) – Shows the 99th percentile of all distinct Networks hosts over all hours in the current month for all organizations.
observability_pipelines_bytes_processed_agg_sum (int, optional) – Sum of all observability pipelines bytes processed over all hours in the current month for all organizations.
oci_host_agg_sum (int, optional) – Shows the sum of Oracle Cloud Infrastructure hosts over all hours in the current months for all organizations
oci_host_top99p_sum (int, optional) – Shows the 99th percentile of Oracle Cloud Infrastructure hosts over all hours in the current months for all organizations
online_archive_events_count_agg_sum (int, optional) – Sum of all online archived events over all hours in the current month for all organizations.
opentelemetry_apm_host_top99p_sum (int, optional) – Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations.
opentelemetry_host_top99p_sum (int, optional) – Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations.
profiling_aas_count_top99p_sum (int, optional) – Shows the 99th percentile of all profiled Azure app services over all hours in the current month for all organizations.
profiling_container_agent_count_avg (int, optional) – Shows the average number of profiled containers over all hours in the current month for all organizations.
profiling_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all profiled hosts over all hours in the current month for all organizations.
rehydrated_indexed_events_agg_sum (int, optional) – Shows the sum of all rehydrated logs indexed over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
rehydrated_ingested_bytes_agg_sum (int, optional) – Shows the sum of all rehydrated logs bytes ingested over all hours in the current month for all organizations (data available as of December 1, 2020).
rum_browser_and_mobile_session_count (int, optional) – Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
rum_browser_legacy_session_count_agg_sum (int, optional) – Shows the sum of all browser RUM legacy sessions over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_browser_lite_session_count_agg_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_browser_replay_session_count_agg_sum (int, optional) – Shows the sum of all browser RUM Session Replay counts over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_lite_session_count_agg_sum (int, optional) – Shows the sum of all RUM lite sessions (browser and mobile) over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_android_agg_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Android over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_flutter_agg_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Flutter over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_ios_agg_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on iOS over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_reactnative_agg_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on React Native over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_legacy_session_count_roku_agg_sum (int, optional) – Shows the sum of all mobile RUM legacy sessions on Roku over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_android_agg_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Android over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_flutter_agg_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Flutter over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_ios_agg_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on iOS over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_reactnative_agg_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on React Native over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_mobile_lite_session_count_roku_agg_sum (int, optional) – Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_replay_session_count_agg_sum (int, optional) – Shows the sum of all RUM Session Replay counts over all hours in the current month for all organizations (To be introduced on October 1st, 2024).
rum_session_count_agg_sum (int, optional) – Shows the sum of all browser RUM lite sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
rum_total_session_count_agg_sum (int, optional) – Shows the sum of RUM sessions (browser and mobile) over all hours in the current month for all organizations.
rum_units_agg_sum (int, optional) – Shows the sum of all browser and mobile RUM units over all hours in the current month for all organizations (To be deprecated on October 1st, 2024). Deprecated.
sca_fargate_count_avg_sum (int, optional) – Shows the average of all Software Composition Analysis Fargate tasks over all hours in the current months for all organizations.
sca_fargate_count_hwm_sum (int, optional) – Shows the sum of the high-water marks of all Software Composition Analysis Fargate tasks over all hours in the current months for all organizations.
sds_apm_scanned_bytes_sum (int, optional) – Sum of all APM bytes scanned with sensitive data scanner in the current month for all organizations.
sds_events_scanned_bytes_sum (int, optional) – Sum of all event stream events bytes scanned with sensitive data scanner in the current month for all organizations.
sds_logs_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
sds_rum_scanned_bytes_sum (int, optional) – Sum of all RUM bytes scanned with sensitive data scanner in the current month for all organizations.
sds_total_scanned_bytes_sum (int, optional) – Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
serverless_apps_azure_count_avg_sum (int, optional) – Sum of the average number of Serverless Apps for Azure in the current month for all organizations.
serverless_apps_google_count_avg_sum (int, optional) – Sum of the average number of Serverless Apps for Google Cloud in the current month for all organizations.
serverless_apps_total_count_avg_sum (int, optional) – Sum of the average number of Serverless Apps for Azure and Google Cloud in the current month for all organizations.
siem_analyzed_logs_add_on_count_agg_sum (int, optional) – Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current month for all organizations.
start_date (datetime, optional) – Shows the first date of usage in the current month for all organizations.
synthetics_browser_check_calls_count_agg_sum (int, optional) – Shows the sum of all Synthetic browser tests over all hours in the current month for all organizations.
synthetics_check_calls_count_agg_sum (int, optional) – Shows the sum of all Synthetic API tests over all hours in the current month for all organizations.
synthetics_mobile_test_runs_agg_sum (int, optional) – Shows the sum of Synthetic mobile application tests over all hours in the current month for all organizations.
synthetics_parallel_testing_max_slots_hwm_sum (int, optional) – Shows the sum of the high-water marks of used synthetics parallel testing slots over all hours in the current month for all organizations.
trace_search_indexed_events_count_agg_sum (int, optional) – Shows the sum of all Indexed Spans indexed over all hours in the current month for all organizations.
twol_ingested_events_bytes_agg_sum (int, optional) – Shows the sum of all ingested APM span bytes over all hours in the current month for all organizations.
universal_service_monitoring_host_top99p_sum (int, optional) – Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current month for all organizations.
usage ([UsageSummaryDate], optional) – An array of objects regarding hourly usage.
vsphere_host_top99p_sum (int, optional) – Shows the 99th percentile of all vSphere hosts over all hours in the current month for all organizations.
vuln_management_host_count_top99p_sum (int, optional) – Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current month for all organizations.
workflow_executions_usage_agg_sum (int, optional) – Sum of all workflows executed over all hours in the current month for all organizations.
datadog_api_client.v1.model.usage_synthetics_api_hour module¶
- class UsageSyntheticsAPIHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of Synthetics API tests run for each hour for a given organization.
- Parameters:
check_calls_count (int, none_type, optional) – Contains the number of Synthetics API tests run.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_synthetics_api_response module¶
- class UsageSyntheticsAPIResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of Synthetics API tests run for each hour for a given organization.
- Parameters:
usage ([UsageSyntheticsAPIHour], optional) – Get hourly usage for Synthetics API tests.
datadog_api_client.v1.model.usage_synthetics_browser_hour module¶
- class UsageSyntheticsBrowserHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of Synthetics Browser tests run for each hour for a given organization.
- Parameters:
browser_check_calls_count (int, none_type, optional) – Contains the number of Synthetics Browser tests run.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_synthetics_browser_response module¶
- class UsageSyntheticsBrowserResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of Synthetics Browser tests run for each hour for a given organization.
- Parameters:
usage ([UsageSyntheticsBrowserHour], optional) – Get hourly usage for Synthetics Browser tests.
datadog_api_client.v1.model.usage_synthetics_hour module¶
- class UsageSyntheticsHour(*args, **kwargs)¶
Bases:
ModelNormal
The number of synthetics tests run for each hour for a given organization.
- Parameters:
check_calls_count (int, optional) – Contains the number of Synthetics API tests run.
hour (datetime, optional) – The hour for the usage.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_synthetics_response module¶
- class UsageSyntheticsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of Synthetics API tests run for each hour for a given organization.
- Parameters:
usage ([UsageSyntheticsHour], optional) – Array with the number of hourly Synthetics test run for a given organization.
datadog_api_client.v1.model.usage_timeseries_hour module¶
- class UsageTimeseriesHour(*args, **kwargs)¶
Bases:
ModelNormal
The hourly usage of timeseries.
- Parameters:
hour (datetime, optional) – The hour for the usage.
num_custom_input_timeseries (int, optional) – Contains the number of custom metrics that are inputs for aggregations (metric configured is custom).
num_custom_output_timeseries (int, optional) – Contains the number of custom metrics that are outputs for aggregations (metric configured is custom).
num_custom_timeseries (int, optional) – Contains sum of non-aggregation custom metrics and custom metrics that are outputs for aggregations.
org_name (str, optional) – The organization name.
public_id (str, optional) – The organization public ID.
datadog_api_client.v1.model.usage_timeseries_response module¶
- class UsageTimeseriesResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing hourly usage of timeseries.
- Parameters:
usage ([UsageTimeseriesHour], optional) – An array of objects regarding hourly usage of timeseries.
datadog_api_client.v1.model.usage_top_avg_metrics_hour module¶
- class UsageTopAvgMetricsHour(*args, **kwargs)¶
Bases:
ModelNormal
Number of hourly recorded custom metrics for a given organization.
- Parameters:
avg_metric_hour (int, optional) – Average number of timeseries per hour in which the metric occurs.
max_metric_hour (int, optional) – Maximum number of timeseries per hour in which the metric occurs.
metric_category (UsageMetricCategory, optional) – Contains the metric category.
metric_name (str, optional) – Contains the custom metric name.
datadog_api_client.v1.model.usage_top_avg_metrics_metadata module¶
- class UsageTopAvgMetricsMetadata(*args, **kwargs)¶
Bases:
ModelNormal
The object containing document metadata.
- Parameters:
day (datetime, optional) – The day value from the user request that contains the returned usage data. (If day was used the request)
month (datetime, optional) – The month value from the user request that contains the returned usage data. (If month was used the request)
pagination (UsageTopAvgMetricsPagination, optional) – The metadata for the current pagination.
datadog_api_client.v1.model.usage_top_avg_metrics_pagination module¶
- class UsageTopAvgMetricsPagination(*args, **kwargs)¶
Bases:
ModelNormal
The metadata for the current pagination.
- Parameters:
limit (int, optional) – Maximum amount of records to be returned.
next_record_id (str, none_type, optional) – The cursor to get the next results (if any). To make the next request, use the same parameters and add
next_record_id
.total_number_of_records (int, none_type, optional) – Total number of records.
datadog_api_client.v1.model.usage_top_avg_metrics_response module¶
- class UsageTopAvgMetricsResponse(*args, **kwargs)¶
Bases:
ModelNormal
Response containing the number of hourly recorded custom metrics for a given organization.
- Parameters:
metadata (UsageTopAvgMetricsMetadata, optional) – The object containing document metadata.
usage ([UsageTopAvgMetricsHour], optional) – Number of hourly recorded custom metrics for a given organization.
datadog_api_client.v1.model.user module¶
- class User(*args, **kwargs)¶
Bases:
ModelNormal
Create, edit, and disable users.
- Parameters:
access_role (AccessRole, none_type, optional) – The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user).
disabled (bool, optional) – The new disabled status of the user.
email (str, optional) – The new email of the user.
handle (str, optional) – The user handle, must be a valid email.
icon (str, optional) – Gravatar icon associated to the user.
name (str, optional) – The name of the user.
verified (bool, optional) – Whether or not the user logged in Datadog at least once.
datadog_api_client.v1.model.user_disable_response module¶
- class UserDisableResponse(*args, **kwargs)¶
Bases:
ModelNormal
Array of user disabled for a given organization.
- Parameters:
message (str, optional) – Information pertaining to a user disabled for a given organization.
datadog_api_client.v1.model.user_list_response module¶
- class UserListResponse(*args, **kwargs)¶
Bases:
ModelNormal
Array of Datadog users for a given organization.
- Parameters:
users ([User], optional) – Array of users.
datadog_api_client.v1.model.user_response module¶
- class UserResponse(*args, **kwargs)¶
Bases:
ModelNormal
A Datadog User.
- Parameters:
user (User, optional) – Create, edit, and disable users.
datadog_api_client.v1.model.webhooks_integration module¶
- class WebhooksIntegration(*args, **kwargs)¶
Bases:
ModelNormal
Datadog-Webhooks integration.
- Parameters:
custom_headers (str, none_type, optional) – If
null
, uses no header. If given a JSON payload, these will be headers attached to your webhook.encode_as (WebhooksIntegrationEncoding, optional) – Encoding type. Can be given either
json
orform
.name (str) – The name of the webhook. It corresponds with
<WEBHOOK_NAME>
. Learn more on how to use it in monitor notifications.payload (str, none_type, optional) – If
null
, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. Webhooks variable usage.url (str) – URL of the webhook.
datadog_api_client.v1.model.webhooks_integration_custom_variable module¶
- class WebhooksIntegrationCustomVariable(*args, **kwargs)¶
Bases:
ModelNormal
Custom variable for Webhook integration.
- Parameters:
is_secret (bool) – Make custom variable is secret or not. If the custom variable is secret, the value is not returned in the response payload.
name (str) – The name of the variable. It corresponds with
<CUSTOM_VARIABLE_NAME>
.value (str) – Value of the custom variable.
datadog_api_client.v1.model.webhooks_integration_custom_variable_response module¶
- class WebhooksIntegrationCustomVariableResponse(*args, **kwargs)¶
Bases:
ModelNormal
Custom variable for Webhook integration.
- Parameters:
is_secret (bool) – Make custom variable is secret or not. If the custom variable is secret, the value is not returned in the response payload.
name (str) – The name of the variable. It corresponds with
<CUSTOM_VARIABLE_NAME>
. It must only contains upper-case characters, integers or underscores.value (str, optional) – Value of the custom variable. It won’t be returned if the variable is secret.
datadog_api_client.v1.model.webhooks_integration_custom_variable_update_request module¶
- class WebhooksIntegrationCustomVariableUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Update request of a custom variable object.
All properties are optional.
- Parameters:
is_secret (bool, optional) – Make custom variable is secret or not. If the custom variable is secret, the value is not returned in the response payload.
name (str, optional) – The name of the variable. It corresponds with
<CUSTOM_VARIABLE_NAME>
. It must only contains upper-case characters, integers or underscores.value (str, optional) – Value of the custom variable.
datadog_api_client.v1.model.webhooks_integration_encoding module¶
- class WebhooksIntegrationEncoding(*args, **kwargs)¶
Bases:
ModelSimple
Encoding type. Can be given either json or form.
- Parameters:
value (str) – If omitted defaults to “json”. Must be one of [“json”, “form”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.webhooks_integration_update_request module¶
- class WebhooksIntegrationUpdateRequest(*args, **kwargs)¶
Bases:
ModelNormal
Update request of a Webhooks integration object.
All properties are optional.
- Parameters:
custom_headers (str, optional) – If
null
, uses no header. If given a JSON payload, these will be headers attached to your webhook.encode_as (WebhooksIntegrationEncoding, optional) – Encoding type. Can be given either
json
orform
.name (str, optional) –
The name of the webhook. It corresponds with
<WEBHOOK_NAME>
. Learn more on how to use it in monitor notifications.payload (str, none_type, optional) –
If
null
, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. Webhooks variable usage.url (str, optional) – URL of the webhook.
datadog_api_client.v1.model.widget module¶
- class Widget(*args, **kwargs)¶
Bases:
ModelNormal
Information about widget.
- NoteThe
layout
property is required for widgets in dashboards withfree
layout_type
. For the new dashboard layout , the
layout
property depends on thereflow_type
of the dashboard.
- If `reflow_type` is `fixed`, `layout` is required. - If `reflow_type` is `auto`, `layout` should not be set.
- Parameters:
definition (WidgetDefinition) – Definition of the widget.
id (int, optional) – ID of the widget.
layout (WidgetLayout, optional) – The layout for a widget on a
free
or new dashboard layout dashboard.
- NoteThe
datadog_api_client.v1.model.widget_aggregator module¶
- class WidgetAggregator(*args, **kwargs)¶
Bases:
ModelSimple
Aggregator used for the request.
- Parameters:
value (str) – Must be one of [“avg”, “last”, “max”, “min”, “sum”, “percentile”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_axis module¶
- class WidgetAxis(*args, **kwargs)¶
Bases:
ModelNormal
Axis controls for the widget.
- Parameters:
include_zero (bool, optional) – Set to
true
to include zero.label (str, optional) – The label of the axis to display on the graph. Only usable on Scatterplot Widgets.
max (str, optional) – Specifies maximum numeric value to show on the axis. Defaults to
auto
.min (str, optional) – Specifies minimum numeric value to show on the axis. Defaults to
auto
.scale (str, optional) – Specifies the scale type. Possible values are
linear
,log
,sqrt
, andpow##
(for examplepow2
orpow0.5
).
datadog_api_client.v1.model.widget_change_type module¶
- class WidgetChangeType(*args, **kwargs)¶
Bases:
ModelSimple
Show the absolute or the relative change.
- Parameters:
value (str) – Must be one of [“absolute”, “relative”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_color_preference module¶
- class WidgetColorPreference(*args, **kwargs)¶
Bases:
ModelSimple
Which color to use on the widget.
- Parameters:
value (str) – Must be one of [“background”, “text”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_comparator module¶
- class WidgetComparator(*args, **kwargs)¶
Bases:
ModelSimple
Comparator to apply.
- Parameters:
value (str) – Must be one of [“=”, “>”, “>=”, “<”, “<=”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_compare_to module¶
- class WidgetCompareTo(*args, **kwargs)¶
Bases:
ModelSimple
Timeframe used for the change comparison.
- Parameters:
value (str) – Must be one of [“hour_before”, “day_before”, “week_before”, “month_before”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_conditional_format module¶
- class WidgetConditionalFormat(*args, **kwargs)¶
Bases:
ModelNormal
Define a conditional format for the widget.
- Parameters:
comparator (WidgetComparator) – Comparator to apply.
custom_bg_color (str, optional) – Color palette to apply to the background, same values available as palette.
custom_fg_color (str, optional) – Color palette to apply to the foreground, same values available as palette.
hide_value (bool, optional) – True hides values.
image_url (str, optional) – Displays an image as the background.
metric (str, optional) – Metric from the request to correlate this conditional format with.
palette (WidgetPalette) – Color palette to apply.
timeframe (str, optional) – Defines the displayed timeframe.
value (float) – Value for the comparator.
datadog_api_client.v1.model.widget_custom_link module¶
- class WidgetCustomLink(*args, **kwargs)¶
Bases:
ModelNormal
Custom links help you connect a data value to a URL, like a Datadog page or your AWS console.
- Parameters:
is_hidden (bool, optional) – The flag for toggling context menu link visibility.
label (str, optional) – The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.
link (str, optional) – The URL of the custom link. URL must include
http
orhttps
. A relative URL must start with/
.override_label (str, optional) – The label ID that refers to a context menu link. Can be
logs
,hosts
,traces
,profiles
,processes
,containers
, orrum
.
datadog_api_client.v1.model.widget_definition module¶
- class WidgetDefinition(*args, **kwargs)¶
Bases:
ModelComposed
- Parameters:
alert_id (str) – ID of the alert to use in the widget.
time (WidgetTime, optional) – Time setting for the widget.
title (str, optional) – The title of the widget.
title_align (WidgetTextAlign, optional) – How to align the text on the widget.
title_size (str, optional) – Size of the title.
type (AlertGraphWidgetDefinitionType) – Type of the alert graph widget.
viz_type (WidgetVizType) – Whether to display the Alert Graph as a timeseries or a top list.
precision (int, optional) – Number of decimal to show. If not defined, will use the raw value.
text_align (WidgetTextAlign, optional) – How to align the text on the widget.
unit (str, optional) – Unit to display with the value.
custom_links ([WidgetCustomLink], optional) – List of custom links.
requests ([ChangeWidgetRequest]) –
Array of one request object to display in the widget.
- See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)
to learn how to build the REQUEST_SCHEMA.
check (str) – Name of the check to use in the widget.
group (str, optional) – Group reporting a single check.
group_by ([str], optional) – List of tag prefixes to group by in the case of a cluster check.
grouping (WidgetGrouping) – The kind of grouping to use.
tags ([str], optional) – List of tags used to filter the groups reporting a cluster check.
legend_size (str, optional) – (Deprecated) The widget legend was replaced by a tooltip and sidebar.
markers ([WidgetMarker], optional) – List of markers.
show_legend (bool, optional) – (Deprecated) The widget legend was replaced by a tooltip and sidebar.
xaxis (DistributionWidgetXAxis, optional) – X Axis controls for the distribution widget.
yaxis (DistributionWidgetYAxis, optional) – Y Axis controls for the distribution widget.
event_size (WidgetEventSize, optional) – Size to use to display an event.
query (str) – Query to filter the event stream with.
tags_execution (str, optional) – The execution method for multi-value filters. Can be either and or or.
color (str, optional) – Color of the text.
font_size (str, optional) – Size of the text.
text (str) – Text to display.
style (GeomapWidgetDefinitionStyle) – The style to apply to the widget.
view (GeomapWidgetDefinitionView) – The view of the world that the map should render.
background_color (str, optional) – Background color of the group title.
banner_img (str, optional) – URL of image to display as a banner for the group.
layout_type (WidgetLayoutType) – Layout type of the group.
show_title (bool, optional) – Whether to show the title or not.
widgets ([Widget]) – List of widget groups.
events ([WidgetEvent], optional) – List of widget events.
no_group_hosts (bool, optional) – Whether to show the hosts that don’t fit in a group.
no_metric_hosts (bool, optional) – Whether to show the hosts with no metrics.
node_type (WidgetNodeType, optional) – Which type of node to use in the map.
notes (str, optional) – Notes on the title.
scope ([str], optional) – List of tags used to filter the map.
url (str) – URL of the iframe.
has_background (bool, optional) – Whether to display a background or not.
has_border (bool, optional) – Whether to display a border or not.
horizontal_align (WidgetHorizontalAlign, optional) – Horizontal alignment.
margin (WidgetMargin, optional) – Size of the margins around the image. Note: small and large values are deprecated.
sizing (WidgetImageSizing, optional) – How to size the image on the widget. The values are based on the image object-fit CSS properties. Note: zoom, fit and center values are deprecated.
url_dark_theme (str, optional) – URL of the image in dark mode.
vertical_align (WidgetVerticalAlign, optional) – Vertical alignment.
columns ([str], optional) – Which columns to display on the widget.
indexes ([str], optional) – An array of index names to query in the stream. Use [] to query all indexes at once.
logset (str, optional) – ID of the log set to use.
message_display (WidgetMessageDisplay, optional) – Amount of log lines to display
show_date_column (bool, optional) – Whether to show the date column or not
show_message_column (bool, optional) – Whether to show the message column or not
sort (WidgetFieldSort, optional) – Which column and order to sort by
color_preference (WidgetColorPreference, optional) – Which color to use on the widget.
count (int, optional) – The number of monitors to display.
display_format (WidgetMonitorSummaryDisplayFormat, optional) – What to display on the widget.
hide_zero_counts (bool, optional) – Whether to show counts of 0 or not.
show_last_triggered (bool, optional) – Whether to show the time that has elapsed since the monitor/group triggered.
show_priority (bool, optional) – Whether to show the priorities column.
start (int, optional) – The start of the list. Typically 0.
summary_type (WidgetSummaryType, optional) – Which summary type should be used.
content (str) – Content of the note.
has_padding (bool, optional) – Whether to add padding or not.
show_tick (bool, optional) – Whether to show a tick or not.
tick_edge (WidgetTickEdge, optional) – Define how you want to align the text on the widget.
tick_pos (str, optional) – Where to position the tick on an edge.
powerpack_id (str) – UUID of the associated powerpack.
template_variables (PowerpackTemplateVariables, optional) – Powerpack template variables.
autoscale (bool, optional) – Whether to use auto-scaling or not.
custom_unit (str, optional) – Display a unit of your choice on the widget.
timeseries_background (TimeseriesBackground, optional) – Set a timeseries on the widget background.
inputs ([RunWorkflowWidgetInput], optional) – Array of workflow inputs to map to dashboard template variables.
workflow_id (str) – Workflow id.
additional_query_filters (str, optional) – Additional filters applied to the SLO query.
global_time_target (str, optional) – Defined global time target.
show_error_budget (bool, optional) – Defined error budget.
slo_id (str, optional) – ID of the SLO displayed.
time_windows ([WidgetTimeWindows], optional) – Times being monitored.
view_mode (WidgetViewMode, optional) – Define how you want the SLO to be displayed.
view_type (str) – Type of view displayed by the widget.
color_by_groups ([str], optional) – List of groups used for colors.
filters ([str]) – Your environment and primary tag (or * if enabled for your account).
service (str) – The ID of the service you want to map.
env (str) – APM environment.
show_breakdown (bool, optional) – Whether to show the latency breakdown or not.
show_distribution (bool, optional) – Whether to show the latency distribution or not.
show_errors (bool, optional) – Whether to show the error metrics or not.
show_hits (bool, optional) – Whether to show the hits metrics or not.
show_latency (bool, optional) – Whether to show the latency metrics or not.
show_resource_list (bool, optional) – Whether to show the resource list or not.
size_format (WidgetSizeFormat, optional) – Size of the widget.
span_name (str) – APM span name.
has_uniform_y_axes (bool, optional) – Normalize y axes across graphs
size (SplitGraphVizSize) – Size of the individual graphs in the split.
source_widget_definition (SplitGraphSourceWidgetDefinition) – The original widget we are splitting on.
split_config (SplitConfig) – Encapsulates all user choices about how to split a graph.
hide_total (bool, optional) – Show the total value in this widget.
legend (SunburstWidgetLegend, optional) – Configuration of the legend.
has_search_bar (TableWidgetHasSearchBar, optional) – Controls the display of the search bar.
legend_columns ([TimeseriesWidgetLegendColumn], optional) – Columns displayed in the legend.
legend_layout (TimeseriesWidgetLegendLayout, optional) – Layout of the legend.
right_yaxis (WidgetAxis, optional) – Axis controls for the widget.
color_by (TreeMapColorBy, optional) – (deprecated) The attribute formerly used to determine color in the widget.
size_by (TreeMapSizeBy, optional) – (deprecated) The attribute formerly used to determine size in the widget.
datadog_api_client.v1.model.widget_display_type module¶
- class WidgetDisplayType(*args, **kwargs)¶
Bases:
ModelSimple
Type of display to use for the request.
- Parameters:
value (str) – Must be one of [“area”, “bars”, “line”, “overlay”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_event module¶
- class WidgetEvent(*args, **kwargs)¶
Bases:
ModelNormal
Event overlay control options.
See the dedicated Events JSON schema documentation to learn how to build the
<EVENTS_SCHEMA>
.- Parameters:
q (str) – Query definition.
tags_execution (str, optional) – The execution method for multi-value filters.
datadog_api_client.v1.model.widget_event_size module¶
- class WidgetEventSize(*args, **kwargs)¶
Bases:
ModelSimple
Size to use to display an event.
- Parameters:
value (str) – Must be one of [“s”, “l”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_field_sort module¶
- class WidgetFieldSort(*args, **kwargs)¶
Bases:
ModelNormal
Which column and order to sort by
- Parameters:
column (str) – Facet path for the column
order (WidgetSort) – Widget sorting methods.
datadog_api_client.v1.model.widget_formula module¶
- class WidgetFormula(*args, **kwargs)¶
Bases:
ModelNormal
Formula to be used in a widget query.
- Parameters:
alias (str, optional) – Expression alias.
cell_display_mode (TableWidgetCellDisplayMode, optional) – Define a display mode for the table cell.
conditional_formats ([WidgetConditionalFormat], optional) – List of conditional formats.
formula (str) – String expression built from queries, formulas, and functions.
limit (WidgetFormulaLimit, optional) – Options for limiting results returned.
style (WidgetFormulaStyle, optional) – Styling options for widget formulas.
datadog_api_client.v1.model.widget_formula_limit module¶
- class WidgetFormulaLimit(*args, **kwargs)¶
Bases:
ModelNormal
Options for limiting results returned.
- Parameters:
count (int, optional) – Number of results to return.
order (QuerySortOrder, optional) – Direction of sort.
datadog_api_client.v1.model.widget_formula_sort module¶
- class WidgetFormulaSort(*args, **kwargs)¶
Bases:
ModelNormal
The formula to sort the widget by.
- Parameters:
index (int) – The index of the formula to sort by.
order (WidgetSort) – Widget sorting methods.
type (FormulaType) – Set the sort type to formula.
datadog_api_client.v1.model.widget_formula_style module¶
- class WidgetFormulaStyle(*args, **kwargs)¶
Bases:
ModelNormal
Styling options for widget formulas.
- Parameters:
palette (str, optional) – The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors
palette_index (int, optional) – Index specifying which color to use within the palette.
datadog_api_client.v1.model.widget_group_sort module¶
- class WidgetGroupSort(*args, **kwargs)¶
Bases:
ModelNormal
The group to sort the widget by.
- Parameters:
name (str) – The name of the group.
order (WidgetSort) – Widget sorting methods.
type (GroupType) – Set the sort type to group.
datadog_api_client.v1.model.widget_grouping module¶
- class WidgetGrouping(*args, **kwargs)¶
Bases:
ModelSimple
The kind of grouping to use.
- Parameters:
value (str) – Must be one of [“check”, “cluster”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_horizontal_align module¶
- class WidgetHorizontalAlign(*args, **kwargs)¶
Bases:
ModelSimple
Horizontal alignment.
- Parameters:
value (str) – Must be one of [“center”, “left”, “right”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_image_sizing module¶
- class WidgetImageSizing(*args, **kwargs)¶
Bases:
ModelSimple
- How to size the image on the widget. The values are based on the image object-fit CSS properties.
Note: zoom, fit and center values are deprecated.
- Parameters:
value (str) – Must be one of [“fill”, “contain”, “cover”, “none”, “scale-down”, “zoom”, “fit”, “center”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_layout module¶
- class WidgetLayout(*args, **kwargs)¶
Bases:
ModelNormal
The layout for a widget on a
free
or new dashboard layout dashboard.- Parameters:
height (int) – The height of the widget. Should be a non-negative integer.
is_column_break (bool, optional) – Whether the widget should be the first one on the second column in high density or not. Note : Only for the new dashboard layout and only one widget in the dashboard should have this property set to
true
.width (int) – The width of the widget. Should be a non-negative integer.
x (int) – The position of the widget on the x (horizontal) axis. Should be a non-negative integer.
y (int) – The position of the widget on the y (vertical) axis. Should be a non-negative integer.
datadog_api_client.v1.model.widget_layout_type module¶
- class WidgetLayoutType(*args, **kwargs)¶
Bases:
ModelSimple
Layout type of the group.
- Parameters:
value (str) – If omitted defaults to “ordered”. Must be one of [“ordered”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_legacy_live_span module¶
- class WidgetLegacyLiveSpan(*args, **kwargs)¶
Bases:
ModelNormal
Wrapper for live span
- Parameters:
live_span (WidgetLiveSpan, optional) – The available timeframes depend on the widget you are using.
- additional_properties_type = None¶
datadog_api_client.v1.model.widget_line_type module¶
- class WidgetLineType(*args, **kwargs)¶
Bases:
ModelSimple
Type of lines displayed.
- Parameters:
value (str) – Must be one of [“dashed”, “dotted”, “solid”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_line_width module¶
- class WidgetLineWidth(*args, **kwargs)¶
Bases:
ModelSimple
Width of line displayed.
- Parameters:
value (str) – Must be one of [“normal”, “thick”, “thin”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_live_span module¶
- class WidgetLiveSpan(*args, **kwargs)¶
Bases:
ModelSimple
The available timeframes depend on the widget you are using.
- Parameters:
value (str) – Must be one of [“1m”, “5m”, “10m”, “15m”, “30m”, “1h”, “4h”, “1d”, “2d”, “1w”, “1mo”, “3mo”, “6mo”, “week_to_date”, “month_to_date”, “1y”, “alert”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_live_span_unit module¶
- class WidgetLiveSpanUnit(*args, **kwargs)¶
Bases:
ModelSimple
Unit of the time span.
- Parameters:
value (str) – Must be one of [“minute”, “hour”, “day”, “week”, “month”, “year”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_margin module¶
- class WidgetMargin(*args, **kwargs)¶
Bases:
ModelSimple
- Size of the margins around the image.
Note: small and large values are deprecated.
- Parameters:
value (str) – Must be one of [“sm”, “md”, “lg”, “small”, “large”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_marker module¶
- class WidgetMarker(*args, **kwargs)¶
Bases:
ModelNormal
Markers allow you to add visual conditional formatting for your graphs.
- Parameters:
display_type (str, optional) –
Combination of:
A severity error, warning, ok, or info
A line type: dashed, solid, or bold In this case of a Distribution widget, this can be set to be
x_axis_percentile
.
label (str, optional) – Label to display over the marker.
time (str, optional) – Timestamp for the widget.
value (str) – Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.
datadog_api_client.v1.model.widget_message_display module¶
- class WidgetMessageDisplay(*args, **kwargs)¶
Bases:
ModelSimple
Amount of log lines to display
- Parameters:
value (str) – Must be one of [“inline”, “expanded-md”, “expanded-lg”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_monitor_summary_display_format module¶
- class WidgetMonitorSummaryDisplayFormat(*args, **kwargs)¶
Bases:
ModelSimple
What to display on the widget.
- Parameters:
value (str) – Must be one of [“counts”, “countsAndList”, “list”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_monitor_summary_sort module¶
- class WidgetMonitorSummarySort(*args, **kwargs)¶
Bases:
ModelSimple
Widget sorting methods.
- Parameters:
value (str) – Must be one of [“name”, “group”, “status”, “tags”, “triggered”, “group,asc”, “group,desc”, “name,asc”, “name,desc”, “status,asc”, “status,desc”, “tags,asc”, “tags,desc”, “triggered,asc”, “triggered,desc”, “priority,asc”, “priority,desc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_new_fixed_span module¶
- class WidgetNewFixedSpan(*args, **kwargs)¶
Bases:
ModelNormal
Used for fixed span times, such as ‘March 1 to March 7’.
- Parameters:
_from (int) – Start time in seconds since epoch.
to (int) – End time in seconds since epoch.
type (WidgetNewFixedSpanType) – Type “fixed” denotes a fixed span.
datadog_api_client.v1.model.widget_new_fixed_span_type module¶
- class WidgetNewFixedSpanType(*args, **kwargs)¶
Bases:
ModelSimple
Type “fixed” denotes a fixed span.
- Parameters:
value (str) – If omitted defaults to “fixed”. Must be one of [“fixed”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_new_live_span module¶
- class WidgetNewLiveSpan(*args, **kwargs)¶
Bases:
ModelNormal
Used for arbitrary live span times, such as 17 minutes or 6 hours.
- Parameters:
type (WidgetNewLiveSpanType) – Type “live” denotes a live span in the new format.
unit (WidgetLiveSpanUnit) – Unit of the time span.
value (int) – Value of the time span.
datadog_api_client.v1.model.widget_new_live_span_type module¶
- class WidgetNewLiveSpanType(*args, **kwargs)¶
Bases:
ModelSimple
Type “live” denotes a live span in the new format.
- Parameters:
value (str) – If omitted defaults to “live”. Must be one of [“live”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_node_type module¶
- class WidgetNodeType(*args, **kwargs)¶
Bases:
ModelSimple
Which type of node to use in the map.
- Parameters:
value (str) – Must be one of [“host”, “container”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_order_by module¶
- class WidgetOrderBy(*args, **kwargs)¶
Bases:
ModelSimple
What to order by.
- Parameters:
value (str) – Must be one of [“change”, “name”, “present”, “past”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_palette module¶
- class WidgetPalette(*args, **kwargs)¶
Bases:
ModelSimple
Color palette to apply.
- Parameters:
value (str) – Must be one of [“blue”, “custom_bg”, “custom_image”, “custom_text”, “gray_on_white”, “grey”, “green”, “orange”, “red”, “red_on_white”, “white_on_gray”, “white_on_green”, “green_on_white”, “white_on_red”, “white_on_yellow”, “yellow_on_white”, “black_on_light_yellow”, “black_on_light_green”, “black_on_light_red”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_request_style module¶
- class WidgetRequestStyle(*args, **kwargs)¶
Bases:
ModelNormal
Define request widget style.
- Parameters:
line_type (WidgetLineType, optional) – Type of lines displayed.
line_width (WidgetLineWidth, optional) – Width of line displayed.
palette (str, optional) – Color palette to apply to the widget.
datadog_api_client.v1.model.widget_service_summary_display_format module¶
- class WidgetServiceSummaryDisplayFormat(*args, **kwargs)¶
Bases:
ModelSimple
Number of columns to display.
- Parameters:
value (str) – Must be one of [“one_column”, “two_column”, “three_column”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_size_format module¶
- class WidgetSizeFormat(*args, **kwargs)¶
Bases:
ModelSimple
Size of the widget.
- Parameters:
value (str) – Must be one of [“small”, “medium”, “large”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_sort module¶
- class WidgetSort(*args, **kwargs)¶
Bases:
ModelSimple
Widget sorting methods.
- Parameters:
value (str) – Must be one of [“asc”, “desc”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_sort_by module¶
- class WidgetSortBy(*args, **kwargs)¶
Bases:
ModelNormal
The controls for sorting the widget.
- Parameters:
count (int, optional) – The number of items to limit the widget to.
order_by ([WidgetSortOrderBy], optional) – The array of items to sort the widget by in order.
datadog_api_client.v1.model.widget_sort_order_by module¶
- class WidgetSortOrderBy(*args, **kwargs)¶
Bases:
ModelComposed
The item to sort the widget by.
- Parameters:
index (int) – The index of the formula to sort by.
order (WidgetSort) – Widget sorting methods.
type (FormulaType) – Set the sort type to formula.
name (str) – The name of the group.
datadog_api_client.v1.model.widget_style module¶
- class WidgetStyle(*args, **kwargs)¶
Bases:
ModelNormal
Widget style definition.
- Parameters:
palette (str, optional) – Color palette to apply to the widget.
datadog_api_client.v1.model.widget_summary_type module¶
- class WidgetSummaryType(*args, **kwargs)¶
Bases:
ModelSimple
Which summary type should be used.
- Parameters:
value (str) – Must be one of [“monitors”, “groups”, “combined”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_text_align module¶
- class WidgetTextAlign(*args, **kwargs)¶
Bases:
ModelSimple
How to align the text on the widget.
- Parameters:
value (str) – Must be one of [“center”, “left”, “right”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_tick_edge module¶
- class WidgetTickEdge(*args, **kwargs)¶
Bases:
ModelSimple
Define how you want to align the text on the widget.
- Parameters:
value (str) – Must be one of [“bottom”, “left”, “right”, “top”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_time module¶
- class WidgetTime(*args, **kwargs)¶
Bases:
ModelComposed
Time setting for the widget.
- Parameters:
live_span (WidgetLiveSpan, optional) – The available timeframes depend on the widget you are using.
type (WidgetNewLiveSpanType) – Type “live” denotes a live span in the new format.
unit (WidgetLiveSpanUnit) – Unit of the time span.
value (int) – Value of the time span.
_from (int) – Start time in seconds since epoch.
to (int) – End time in seconds since epoch.
datadog_api_client.v1.model.widget_time_windows module¶
- class WidgetTimeWindows(*args, **kwargs)¶
Bases:
ModelSimple
Define a time window.
- Parameters:
value (str) – Must be one of [“7d”, “30d”, “90d”, “week_to_date”, “previous_week”, “month_to_date”, “previous_month”, “global_time”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_vertical_align module¶
- class WidgetVerticalAlign(*args, **kwargs)¶
Bases:
ModelSimple
Vertical alignment.
- Parameters:
value (str) – Must be one of [“center”, “top”, “bottom”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_view_mode module¶
- class WidgetViewMode(*args, **kwargs)¶
Bases:
ModelSimple
Define how you want the SLO to be displayed.
- Parameters:
value (str) – Must be one of [“overall”, “component”, “both”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.
datadog_api_client.v1.model.widget_viz_type module¶
- class WidgetVizType(*args, **kwargs)¶
Bases:
ModelSimple
Whether to display the Alert Graph as a timeseries or a top list.
- Parameters:
value (str) – Must be one of [“timeseries”, “toplist”].
_check_type (bool) – If True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True.
_path_to_item (tuple/list) – This is a list of keys or values to drill down to the model in received_data when deserializing a response.
_spec_property_naming (bool) – True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default).
_configuration (Configuration) – The instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done.