instana

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//BuiltinEventSpecificationFieldName constant value for the schema field name
	BuiltinEventSpecificationFieldName = "name"
	//BuiltinEventSpecificationFieldDescription constant value for the schema field description
	BuiltinEventSpecificationFieldDescription = "description"
	//BuiltinEventSpecificationFieldShortPluginID constant value for the schema field short_plugin_id
	BuiltinEventSpecificationFieldShortPluginID = "short_plugin_id"
	//BuiltinEventSpecificationFieldSeverity constant value for the schema field severity
	BuiltinEventSpecificationFieldSeverity = "severity"
	//BuiltinEventSpecificationFieldSeverityCode constant value for the schema field severity_code
	BuiltinEventSpecificationFieldSeverityCode = "severity_code"
	//BuiltinEventSpecificationFieldTriggering constant value for the schema field triggering
	BuiltinEventSpecificationFieldTriggering = "triggering"
	//BuiltinEventSpecificationFieldEnabled constant value for the schema field enabled
	BuiltinEventSpecificationFieldEnabled = "enabled"

	//DataSourceBuiltinEvent the name of the terraform-provider-instana data sourcefor builtin event specifications
	DataSourceBuiltinEvent = "instana_builtin_event_spec"
)
View Source
const (
	//SyntheticLocationFieldLabel constant value for the schema field label
	SyntheticLocationFieldLabel = "label"
	//SyntheticLocationFieldDescription constant value for the computed schema field description
	SyntheticLocationFieldDescription = "description"
	//SyntheticLocationFieldLocationType constant value for the schema field location_type
	SyntheticLocationFieldLocationType = "location_type"
	//DataSourceSyntheticLocation the name of the terraform-provider-instana data sourcefor synthetic location specifications
	DataSourceSyntheticLocation = "instana_synthetic_location"
)
View Source
const (
	//AlertingChannelFieldName constant value for the schema field name
	AlertingChannelFieldName = "name"
	//AlertingChannelFieldFullName constant value for the schema field full_name
	AlertingChannelFieldFullName = "full_name"
)
View Source
const (
	//AlertingChannelEmailFieldEmails const for the emails field of the alerting channel
	AlertingChannelEmailFieldEmails = "emails"
	//ResourceInstanaAlertingChannelEmail the name of the terraform-provider-instana resource to manage alerting channels of type email
	ResourceInstanaAlertingChannelEmail = "instana_alerting_channel_email"
)
View Source
const (
	//AlertingChannelOpsGenieFieldAPIKey const for the api key field of the alerting channel OpsGenie
	AlertingChannelOpsGenieFieldAPIKey = "api_key"
	//AlertingChannelOpsGenieFieldTags const for the tags field of the alerting channel OpsGenie
	AlertingChannelOpsGenieFieldTags = "tags"
	//AlertingChannelOpsGenieFieldRegion const for the region field of the alerting channel OpsGenie
	AlertingChannelOpsGenieFieldRegion = "region"
	//ResourceInstanaAlertingChannelOpsGenie the name of the terraform-provider-instana resource to manage alerting channels of type OpsGenie
	ResourceInstanaAlertingChannelOpsGenie = "instana_alerting_channel_ops_genie"
)
View Source
const (
	//AlertingChannelPagerDutyFieldServiceIntegrationKey const for the emails field of the alerting channel
	AlertingChannelPagerDutyFieldServiceIntegrationKey = "service_integration_key"
	//ResourceInstanaAlertingChannelPagerDuty the name of the terraform-provider-instana resource to manage alerting channels of type PagerDuty
	ResourceInstanaAlertingChannelPagerDuty = "instana_alerting_channel_pager_duty"
)
View Source
const (
	//AlertingChannelSlackFieldWebhookURL const for the webhookUrl field of the Slack alerting channel
	AlertingChannelSlackFieldWebhookURL = "webhook_url"
	//AlertingChannelSlackFieldIconURL const for the iconURL field of the Slack alerting channel
	AlertingChannelSlackFieldIconURL = "icon_url"
	//AlertingChannelSlackFieldChannel const for the channel field of the Slack alerting channel
	AlertingChannelSlackFieldChannel = "channel"
	//ResourceInstanaAlertingChannelSlack the name of the terraform-provider-instana resource to manage alerting channels of type Slack
	ResourceInstanaAlertingChannelSlack = "instana_alerting_channel_slack"
)
View Source
const (
	//AlertingChannelSplunkFieldURL const for the url field of the Splunk alerting channel
	AlertingChannelSplunkFieldURL = "url"
	//AlertingChannelSplunkFieldToken const for the token field of the Splunk alerting channel
	AlertingChannelSplunkFieldToken = "token"
	//ResourceInstanaAlertingChannelSplunk the name of the terraform-provider-instana resource to manage alerting channels of type Splunk
	ResourceInstanaAlertingChannelSplunk = "instana_alerting_channel_splunk"
)
View Source
const (
	//AlertingChannelVictorOpsFieldAPIKey const for the apiKey field of the VictorOps alerting channel
	AlertingChannelVictorOpsFieldAPIKey = "api_key"
	//AlertingChannelVictorOpsFieldRoutingKey const for the routingKey field of the VictorOps alerting channel
	AlertingChannelVictorOpsFieldRoutingKey = "routing_key"
	//ResourceInstanaAlertingChannelVictorOps the name of the terraform-provider-instana resource to manage alerting channels of type VictorOps
	ResourceInstanaAlertingChannelVictorOps = "instana_alerting_channel_victor_ops"
)
View Source
const (
	//AlertingChannelWebhookBasedFieldWebhookURL const for the webhookUrl field of the alerting channel
	AlertingChannelWebhookBasedFieldWebhookURL = "webhook_url"
	//ResourceInstanaAlertingChannelOffice365 the name of the terraform-provider-instana resource to manage alerting channels of type Office 365
	ResourceInstanaAlertingChannelOffice365 = "instana_alerting_channel_office_365"
	//ResourceInstanaAlertingChannelGoogleChat the name of the terraform-provider-instana resource to manage alerting channels of type Google Chat
	ResourceInstanaAlertingChannelGoogleChat = "instana_alerting_channel_google_chat"
)
View Source
const (
	//AlertingChannelWebhookFieldWebhookURLs const for the webhooks field of the Webhook alerting channel
	AlertingChannelWebhookFieldWebhookURLs = "webhook_urls"
	//AlertingChannelWebhookFieldHTTPHeaders const for the http headers field of the Webhook alerting channel
	AlertingChannelWebhookFieldHTTPHeaders = "http_headers"
	//ResourceInstanaAlertingChannelWebhook the name of the terraform-provider-instana resource to manage alerting channels of type webhook
	ResourceInstanaAlertingChannelWebhook = "instana_alerting_channel_webhook"
)
View Source
const (
	//ResourceInstanaAlertingChannel the name of the terraform-provider-instana resource to manage alerting channels
	ResourceInstanaAlertingChannel = "instana_alerting_channel"

	//AlertingChannelFieldChannelEmail const for schema field of the email channel
	AlertingChannelFieldChannelEmail = "email"
	//AlertingChannelFieldChannelOpsGenie const for schema field of the OpsGenie channel
	AlertingChannelFieldChannelOpsGenie = "ops_genie"
	//AlertingChannelFieldChannelPageDuty const for schema field of the PagerDuty channel
	AlertingChannelFieldChannelPageDuty = "pager_duty"
	//AlertingChannelFieldChannelSlack const for schema field of the Slack channel
	AlertingChannelFieldChannelSlack = "slack"
	//AlertingChannelFieldChannelSplunk const for schema field of the Splunk channel
	AlertingChannelFieldChannelSplunk = "splunk"
	//AlertingChannelFieldChannelVictorOps const for schema field of the Victor Ops channel
	AlertingChannelFieldChannelVictorOps = "victor_ops"
	//AlertingChannelFieldChannelWebhook const for schema field of the Webhook channel
	AlertingChannelFieldChannelWebhook = "webhook"
	//AlertingChannelFieldChannelOffice365 const for schema field of the Office 365 channel
	AlertingChannelFieldChannelOffice365 = "office_365"
	//AlertingChannelFieldChannelGoogleChat const for schema field of the Google Chat channel
	AlertingChannelFieldChannelGoogleChat = "google_chat"
)
View Source
const (
	//AlertingConfigFieldAlertName constant value for the schema field alert_name
	AlertingConfigFieldAlertName = "alert_name"
	//AlertingConfigFieldFullAlertName constant value for the schema field full_alert_name
	AlertingConfigFieldFullAlertName = "full_alert_name"
	//AlertingConfigFieldIntegrationIds constant value for the schema field integration_ids
	AlertingConfigFieldIntegrationIds = "integration_ids"
	//AlertingConfigFieldEventFilterQuery constant value for the schema field event_filter_query
	AlertingConfigFieldEventFilterQuery = "event_filter_query"
	//AlertingConfigFieldEventFilterEventTypes constant value for the schema field event_filter_event_types
	AlertingConfigFieldEventFilterEventTypes = "event_filter_event_types"
	//AlertingConfigFieldEventFilterRuleIDs constant value for the schema field event_filter_rule_ids
	AlertingConfigFieldEventFilterRuleIDs = "event_filter_rule_ids"
)
View Source
const (
	//APITokenFieldAccessGrantingToken constant value for the schema field access_granting_token
	APITokenFieldAccessGrantingToken = "access_granting_token"
	//APITokenFieldInternalID constant value for the schema field internal_id
	APITokenFieldInternalID = "internal_id"
	//APITokenFieldName constant value for the schema field name
	APITokenFieldName = "name"
	//APITokenFieldFullName constant value for the schema field full_name
	APITokenFieldFullName = "full_name"
	//APITokenFieldCanConfigureServiceMapping constant value for the schema field can_configure_service_mapping
	APITokenFieldCanConfigureServiceMapping = "can_configure_service_mapping"
	//APITokenFieldCanConfigureEumApplications constant value for the schema field can_configure_eum_applications
	APITokenFieldCanConfigureEumApplications = "can_configure_eum_applications"
	//APITokenFieldCanConfigureMobileAppMonitoring constant value for the schema field can_configure_mobile_app_monitoring
	APITokenFieldCanConfigureMobileAppMonitoring = "can_configure_mobile_app_monitoring"
	//APITokenFieldCanConfigureUsers constant value for the schema field can_configure_users
	APITokenFieldCanConfigureUsers = "can_configure_users"
	//APITokenFieldCanInstallNewAgents constant value for the schema field can_install_new_agents
	APITokenFieldCanInstallNewAgents = "can_install_new_agents"
	//APITokenFieldCanSeeUsageInformation constant value for the schema field can_see_usage_information
	APITokenFieldCanSeeUsageInformation = "can_see_usage_information"
	//APITokenFieldCanConfigureIntegrations constant value for the schema field can_configure_integrations
	APITokenFieldCanConfigureIntegrations = "can_configure_integrations"
	//APITokenFieldCanSeeOnPremiseLicenseInformation constant value for the schema field can_see_on_premise_license_information
	APITokenFieldCanSeeOnPremiseLicenseInformation = "can_see_on_premise_license_information"
	//APITokenFieldCanConfigureCustomAlerts constant value for the schema field can_configure_custom_alerts
	APITokenFieldCanConfigureCustomAlerts = "can_configure_custom_alerts"
	//APITokenFieldCanConfigureAPITokens constant value for the schema field can_configure_api_tokens
	APITokenFieldCanConfigureAPITokens = "can_configure_api_tokens"
	//APITokenFieldCanConfigureAgentRunMode constant value for the schema field can_configure_agent_run_mode
	APITokenFieldCanConfigureAgentRunMode = "can_configure_agent_run_mode"
	//APITokenFieldCanViewAuditLog constant value for the schema field can_view_audit_log
	APITokenFieldCanViewAuditLog = "can_view_audit_log"
	//APITokenFieldCanConfigureAgents constant value for the schema field can_configure_agents
	APITokenFieldCanConfigureAgents = "can_configure_agents"
	//APITokenFieldCanConfigureAuthenticationMethods constant value for the schema field can_configure_authentication_methods
	APITokenFieldCanConfigureAuthenticationMethods = "can_configure_authentication_methods"
	//APITokenFieldCanConfigureApplications constant value for the schema field can_configure_applications
	APITokenFieldCanConfigureApplications = "can_configure_applications"
	//APITokenFieldCanConfigureTeams constant value for the schema field can_configure_teams
	APITokenFieldCanConfigureTeams = "can_configure_teams"
	//APITokenFieldCanConfigureReleases constant value for the schema field can_configure_releases
	APITokenFieldCanConfigureReleases = "can_configure_releases"
	//APITokenFieldCanConfigureLogManagement constant value for the schema field can_configure_log_management
	APITokenFieldCanConfigureLogManagement = "can_configure_log_management"
	//APITokenFieldCanCreatePublicCustomDashboards constant value for the schema field can_create_public_custom_dashboards
	APITokenFieldCanCreatePublicCustomDashboards = "can_create_public_custom_dashboards"
	//APITokenFieldCanViewLogs constant value for the schema field can_view_logs
	APITokenFieldCanViewLogs = "can_view_logs"
	//APITokenFieldCanViewTraceDetails constant value for the schema field can_view_trace_details
	APITokenFieldCanViewTraceDetails = "can_view_trace_details"
	//APITokenFieldCanConfigureSessionSettings constant value for the schema field can_configure_session_settings
	APITokenFieldCanConfigureSessionSettings = "can_configure_session_settings"
	//APITokenFieldCanConfigureServiceLevelIndicators constant value for the schema field can_configure_service_level_indicators
	APITokenFieldCanConfigureServiceLevelIndicators = "can_configure_service_level_indicators"
	//APITokenFieldCanConfigureGlobalAlertPayload constant value for the schema field can_configure_global_alert_payload
	APITokenFieldCanConfigureGlobalAlertPayload = "can_configure_global_alert_payload"
	//APITokenFieldCanConfigureGlobalAlertConfigs constant value for the schema field can_configure_global_alert_configs
	APITokenFieldCanConfigureGlobalAlertConfigs = "can_configure_global_alert_configs"
	//APITokenFieldCanViewAccountAndBillingInformation constant value for the schema field can_view_account_and_billing_information
	APITokenFieldCanViewAccountAndBillingInformation = "can_view_account_and_billing_information"
	//APITokenFieldCanEditAllAccessibleCustomDashboards constant value for the schema field can_edit_all_accessible_custom_dashboards
	APITokenFieldCanEditAllAccessibleCustomDashboards = "can_edit_all_accessible_custom_dashboards"
)
View Source
const (
	//ApplicationAlertConfigFieldAlertChannelIDs constant value for field alerting_channel_ids of resource instana_application_alert_config
	ApplicationAlertConfigFieldAlertChannelIDs = "alert_channel_ids"
	//ApplicationAlertConfigFieldApplications constant value for field applications of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplications = "application"
	//ApplicationAlertConfigFieldApplicationsApplicationID constant value for field applications.application_id of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsApplicationID = "application_id"
	//ApplicationAlertConfigFieldApplicationsInclusive constant value for field applications.inclusive of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsInclusive = "inclusive"

	//ApplicationAlertConfigFieldApplicationsServices constant value for field applications.services of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsServices = "service"
	//ApplicationAlertConfigFieldApplicationsServicesServiceID constant value for field applications.services.service_id of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsServicesServiceID = "service_id"
	//ApplicationAlertConfigFieldApplicationsServicesEndpoints constant value for field applications.services.endpoints of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsServicesEndpoints = "endpoint"
	//ApplicationAlertConfigFieldApplicationsServicesEndpointsEndpointID constant value for field applications.services.endpoints.endpoint_id of resource instana_application_alert_config
	ApplicationAlertConfigFieldApplicationsServicesEndpointsEndpointID = "endpoint_id"
	//ApplicationAlertConfigFieldBoundaryScope constant value for field boundary_scope of resource instana_application_alert_config
	ApplicationAlertConfigFieldBoundaryScope = "boundary_scope"
	//ApplicationAlertConfigFieldCustomPayloadFields constant value for field custom_payload_fields of resource instana_application_alert_config
	ApplicationAlertConfigFieldCustomPayloadFields = "custom_payload_field"
	//ApplicationAlertConfigFieldCustomPayloadFieldsKey constant value for field custom_payload_fields.key of resource instana_application_alert_config
	ApplicationAlertConfigFieldCustomPayloadFieldsKey = "key"
	//ApplicationAlertConfigFieldCustomPayloadFieldsValue constant value for field custom_payload_fields.value of resource instana_application_alert_config
	ApplicationAlertConfigFieldCustomPayloadFieldsValue = "value"
	//ApplicationAlertConfigFieldDescription constant value for field description of resource instana_application_alert_config
	ApplicationAlertConfigFieldDescription = "description"
	//ApplicationAlertConfigFieldEvaluationType constant value for field evaluation_type of resource instana_application_alert_config
	ApplicationAlertConfigFieldEvaluationType = "evaluation_type"
	//ApplicationAlertConfigFieldGranularity constant value for field granularity of resource instana_application_alert_config
	ApplicationAlertConfigFieldGranularity = "granularity"
	//ApplicationAlertConfigFieldIncludeInternal constant value for field include_internal of resource instana_application_alert_config
	ApplicationAlertConfigFieldIncludeInternal = "include_internal"
	//ApplicationAlertConfigFieldIncludeSynthetic constant value for field include_synthetic of resource instana_application_alert_config
	ApplicationAlertConfigFieldIncludeSynthetic = "include_synthetic"
	//ApplicationAlertConfigFieldName constant value for field name of resource instana_application_alert_config
	ApplicationAlertConfigFieldName = "name"
	//ApplicationAlertConfigFieldFullName constant value for field full_name of resource instana_application_alert_config
	ApplicationAlertConfigFieldFullName = "full_name"
	//ApplicationAlertConfigFieldRule constant value for field rule of resource instana_application_alert_config
	ApplicationAlertConfigFieldRule = "rule"
	//ApplicationAlertConfigFieldRuleMetricName constant value for field rule.*.metric_name of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleMetricName = "metric_name"
	//ApplicationAlertConfigFieldRuleAggregation constant value for field rule.*.aggregation of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleAggregation = "aggregation"
	//ApplicationAlertConfigFieldRuleStableHash constant value for field rule.*.stable_hash of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleStableHash = "stable_hash"
	//ApplicationAlertConfigFieldRuleErrorRate constant value for field rule.error_rate of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleErrorRate = "error_rate"
	//ApplicationAlertConfigFieldRuleLogs constant value for field rule.logs of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleLogs = "logs"
	//ApplicationAlertConfigFieldRuleLogsLevel constant value for field rule.logs.level of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleLogsLevel = "level"
	//ApplicationAlertConfigFieldRuleLogsMessage constant value for field rule.logs.message of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleLogsMessage = "message"
	//ApplicationAlertConfigFieldRuleLogsOperator constant value for field rule.logs.operator of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleLogsOperator = "operator"
	//ApplicationAlertConfigFieldRuleSlowness constant value for field rule.slowness of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleSlowness = "slowness"
	//ApplicationAlertConfigFieldRuleStatusCode constant value for field rule.status_code of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleStatusCode = "status_code"
	//ApplicationAlertConfigFieldRuleStatusCodeStart constant value for field rule.status_code.status_code_start of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleStatusCodeStart = "status_code_start"
	//ApplicationAlertConfigFieldRuleStatusCodeEnd constant value for field rule.status_code.status_code_end of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleStatusCodeEnd = "status_code_end"
	//ApplicationAlertConfigFieldRuleThroughput constant value for field rule.throughput of resource instana_application_alert_config
	ApplicationAlertConfigFieldRuleThroughput = "throughput"
	//ApplicationAlertConfigFieldSeverity constant value for field severity of resource instana_application_alert_config
	ApplicationAlertConfigFieldSeverity = "severity"
	//ApplicationAlertConfigFieldTagFilter constant value for field tag_filter of resource instana_application_alert_config
	ApplicationAlertConfigFieldTagFilter = "tag_filter"
	//ApplicationAlertConfigFieldTimeThreshold constant value for field time_threshold of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThreshold = "time_threshold"
	//ApplicationAlertConfigFieldTimeThresholdTimeWindow constant value for field time_threshold.time_window of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdTimeWindow = "time_window"
	//ApplicationAlertConfigFieldTimeThresholdRequestImpact constant value for field time_threshold.request_impact of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdRequestImpact = "request_impact"
	//ApplicationAlertConfigFieldTimeThresholdRequestImpactRequests constant value for field time_threshold.request_impact.requests of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdRequestImpactRequests = "requests"
	//ApplicationAlertConfigFieldTimeThresholdViolationsInPeriod constant value for field time_threshold.violations_in_period of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdViolationsInPeriod = "violations_in_period"
	//ApplicationAlertConfigFieldTimeThresholdViolationsInPeriodViolations constant value for field time_threshold.violations_in_period.violations of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdViolationsInPeriodViolations = "violations"
	//ApplicationAlertConfigFieldTimeThresholdViolationsInSequence constant value for field time_threshold.violations_in_sequence of resource instana_application_alert_config
	ApplicationAlertConfigFieldTimeThresholdViolationsInSequence = "violations_in_sequence"
	//ApplicationAlertConfigFieldTriggering constant value for field triggering of resource instana_application_alert_config
	ApplicationAlertConfigFieldTriggering = "triggering"
)
View Source
const (
	//ApplicationConfigFieldLabel const for the label field of the application config
	ApplicationConfigFieldLabel = "label"
	//ApplicationConfigFieldFullLabel const for the full label field of the application config. The field is computed and contains the label which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level
	ApplicationConfigFieldFullLabel = "full_label"
	//ApplicationConfigFieldScope const for the scope field of the application config
	ApplicationConfigFieldScope = "scope"
	//ApplicationConfigFieldBoundaryScope const for the boundary_scope field of the application config
	ApplicationConfigFieldBoundaryScope = "boundary_scope"
	//ApplicationConfigFieldMatchSpecification const for the match_specification field of the application config
	ApplicationConfigFieldMatchSpecification = "match_specification"
	//ApplicationConfigFieldNormalizedMatchSpecification const for the normalized_match_specification field of the application config
	ApplicationConfigFieldNormalizedMatchSpecification = "normalized_match_specification"
	//ApplicationConfigFieldTagFilter const for the tag_filter field of the application config
	ApplicationConfigFieldTagFilter = "tag_filter"
)
View Source
const (
	//CustomDashboardFieldTitle constant value for the schema field title
	CustomDashboardFieldTitle = "title"
	//CustomDashboardFieldFullTitle constant value for the computed schema field full_title
	CustomDashboardFieldFullTitle = "full_title"
	//CustomDashboardFieldAccessRule constant value for the schema field access_rule
	CustomDashboardFieldAccessRule = "access_rule"
	//CustomDashboardFieldAccessRuleAccessType constant value for the schema field access_rule.access_type
	CustomDashboardFieldAccessRuleAccessType = "access_type"
	//CustomDashboardFieldAccessRuleRelatedID constant value for the schema field access_rule.related_id
	CustomDashboardFieldAccessRuleRelatedID = "related_id"
	//CustomDashboardFieldAccessRuleRelationType constant value for the schema field access_rule.relation_type
	CustomDashboardFieldAccessRuleRelationType = "relation_type"
	//CustomDashboardFieldWidgets constant value for the schema field widgets
	CustomDashboardFieldWidgets = "widgets"
)
View Source
const (
	//EntityVerificationRuleFieldMatchingEntityType constant value for the schema field matching_entity_type
	EntityVerificationRuleFieldMatchingEntityType = ruleFieldPrefix + "matching_entity_type"
	//EntityVerificationRuleFieldMatchingOperator constant value for the schema field matching_operator
	EntityVerificationRuleFieldMatchingOperator = ruleFieldPrefix + "matching_operator"
	//EntityVerificationRuleFieldMatchingEntityLabel constant value for the schema field matching_entity_label
	EntityVerificationRuleFieldMatchingEntityLabel = ruleFieldPrefix + "matching_entity_label"
	//EntityVerificationRuleFieldOfflineDuration constant value for the schema field offline_duration
	EntityVerificationRuleFieldOfflineDuration = ruleFieldPrefix + "offline_duration"
)
View Source
const (
	//ThresholdRuleFieldMetricName constant value for the schema field rule_metric_name
	ThresholdRuleFieldMetricName = ruleFieldPrefix + "metric_name"
	//ThresholdRuleFieldRollup constant value for the schema field rule_rollup
	ThresholdRuleFieldRollup = ruleFieldPrefix + "rollup"
	//ThresholdRuleFieldWindow constant value for the schema field rule_window
	ThresholdRuleFieldWindow = ruleFieldPrefix + "window"
	//ThresholdRuleFieldAggregation constant value for the schema field rule_aggregation
	ThresholdRuleFieldAggregation = ruleFieldPrefix + "aggregation"
	//ThresholdRuleFieldConditionOperator constant value for the schema field rule_condition_operator
	ThresholdRuleFieldConditionOperator = ruleFieldPrefix + "condition_operator"
	//ThresholdRuleFieldConditionValue constant value for the schema field rule_condition_value
	ThresholdRuleFieldConditionValue = ruleFieldPrefix + "condition_value"

	//ThresholdRuleFieldMetricPatternPrefix constant value for the schema field rule_metric_pattern_prefix
	ThresholdRuleFieldMetricPatternPrefix = thresholdRuleFieldMetricPattern + "prefix"
	//ThresholdRuleFieldMetricPatternPostfix constant value for the schema field rule_metric_pattern_postfix
	ThresholdRuleFieldMetricPatternPostfix = thresholdRuleFieldMetricPattern + "postfix"
	//ThresholdRuleFieldMetricPatternPlaceholder constant value for the schema field rule_metric_pattern_placeholder
	ThresholdRuleFieldMetricPatternPlaceholder = thresholdRuleFieldMetricPattern + "placeholder"
	//ThresholdRuleFieldMetricPatternOperator constant value for the schema field rule_metric_pattern_operator
	ThresholdRuleFieldMetricPatternOperator = thresholdRuleFieldMetricPattern + "operator"
)
View Source
const (
	CustomEventSpecificationFieldRules                  = "rules"
	CustomEventSpecificationFieldEntityVerificationRule = "entity_verification"
	CustomEventSpecificationFieldSystemRule             = "system"
	CustomEventSpecificationFieldThresholdRule          = "threshold"

	CustomEventSpecificationRuleFieldSeverity                              = "severity"
	CustomEventSpecificationEntityVerificationRuleFieldMatchingEntityType  = "matching_entity_type"
	CustomEventSpecificationEntityVerificationRuleFieldMatchingOperator    = "matching_operator"
	CustomEventSpecificationEntityVerificationRuleFieldMatchingEntityLabel = "matching_entity_label"
	CustomEventSpecificationEntityVerificationRuleFieldOfflineDuration     = "offline_duration"
	CustomEventSpecificationSystemRuleFieldSystemRuleId                    = "system_rule_id"
	CustomEventSpecificationThresholdRuleFieldMetricName                   = "metric_name"
	CustomEventSpecificationThresholdRuleFieldRollup                       = "rollup"
	CustomEventSpecificationThresholdRuleFieldWindow                       = "window"
	CustomEventSpecificationThresholdRuleFieldAggregation                  = "aggregation"
	CustomEventSpecificationThresholdRuleFieldConditionOperator            = "condition_operator"
	CustomEventSpecificationThresholdRuleFieldConditionValue               = "condition_value"
	CustomEventSpecificationThresholdRuleFieldMetricPattern                = "metric_pattern"
	CustomEventSpecificationThresholdRuleFieldMetricPatternPrefix          = "prefix"
	CustomEventSpecificationThresholdRuleFieldMetricPatternPostfix         = "postfix"
	CustomEventSpecificationThresholdRuleFieldMetricPatternPlaceholder     = "placeholder"
	CustomEventSpecificationThresholdRuleFieldMetricPatternOperator        = "operator"
)
View Source
const (
	//CustomEventSpecificationFieldName constant value for the schema field name
	CustomEventSpecificationFieldName = "name"
	//CustomEventSpecificationFieldFullName constant value for the schema field full_name. The field is computed and contains the name which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level
	CustomEventSpecificationFieldFullName = "full_name"
	//CustomEventSpecificationFieldEntityType constant value for the schema field entity type
	CustomEventSpecificationFieldEntityType = "entity_type"
	//CustomEventSpecificationFieldQuery constant value for the schema field query
	CustomEventSpecificationFieldQuery = "query"
	//CustomEventSpecificationFieldTriggering constant value for the schema field triggering
	CustomEventSpecificationFieldTriggering = "triggering"
	//CustomEventSpecificationFieldDescription constant value for the schema field description
	CustomEventSpecificationFieldDescription = "description"
	//CustomEventSpecificationFieldExpirationTime constant value for the schema field expiration_time
	CustomEventSpecificationFieldExpirationTime = "expiration_time"
	//CustomEventSpecificationFieldEnabled constant value for the schema field enabled
	CustomEventSpecificationFieldEnabled = "enabled"

	//CustomEventSpecificationRuleSeverity constant value for the schema field severity of a rule specification
	CustomEventSpecificationRuleSeverity = ruleFieldPrefix + "severity"
)
View Source
const (
	//GroupFieldName constant value for the schema field name
	GroupFieldName = "name"
	//GroupFieldFullName constant value for the schema field full_name
	GroupFieldFullName = "full_name"
	//GroupFieldMembers constant value for the schema field members
	GroupFieldMembers = "member"
	//GroupFieldMemberEmail constant value for the schema field email
	GroupFieldMemberEmail = "email"
	//GroupFieldMemberUserID constant value for the schema field user_id
	GroupFieldMemberUserID = "user_id"
	//GroupFieldPermissionSet constant value for the schema field permission_set
	GroupFieldPermissionSet = "permission_set"
	//GroupFieldPermissionSetApplicationIDs constant value for the schema field application_ids
	GroupFieldPermissionSetApplicationIDs = "application_ids"
	//GroupFieldPermissionSetInfraDFQFilter constant value for the schema field infra_dfq_filter
	GroupFieldPermissionSetInfraDFQFilter = "infra_dfq_filter"
	//GroupFieldPermissionSetKubernetesClusterUUIDs constant value for the schema field kubernetes_cluster_uuids
	GroupFieldPermissionSetKubernetesClusterUUIDs = "kubernetes_cluster_uuids"
	//GroupFieldPermissionSetKubernetesNamespaceUIDs constant value for the schema field kubernetes_namespaces_uuids
	GroupFieldPermissionSetKubernetesNamespaceUIDs = "kubernetes_namespaces_uuids"
	//GroupFieldPermissionSetMobileAppIDs constant value for the schema field mobile_app_ids
	GroupFieldPermissionSetMobileAppIDs = "mobile_app_ids"
	//GroupFieldPermissionSetWebsiteIDs constant value for the schema field website_ids
	GroupFieldPermissionSetWebsiteIDs = "website_ids"
	//GroupFieldPermissionSetPermissions constant value for the schema field permissions
	GroupFieldPermissionSetPermissions = "permissions"
)
View Source
const (
	//SliConfigFieldName constant value for the schema field name
	SliConfigFieldName = "name"
	//SliConfigFieldFullName constant value for schema field full_name
	SliConfigFieldFullName = "full_name"
	//SliConfigFieldInitialEvaluationTimestamp constant value for the schema field initial_evaluation_timestamp
	SliConfigFieldInitialEvaluationTimestamp = "initial_evaluation_timestamp"
	//SliConfigFieldMetricConfiguration constant value for the schema field metric_configuration
	SliConfigFieldMetricConfiguration = "metric_configuration"
	//SliConfigFieldMetricName constant value for the schema field metric_configuration.metric_name
	SliConfigFieldMetricName = "metric_name"
	//SliConfigFieldMetricAggregation constant value for the schema field metric_configuration.aggregation
	SliConfigFieldMetricAggregation = "aggregation"
	//SliConfigFieldMetricThreshold constant value for the schema field metric_configuration.threshold
	SliConfigFieldMetricThreshold = "threshold"
	//SliConfigFieldSliEntity constant value for the schema field sli_entity
	SliConfigFieldSliEntity = "sli_entity"
	//SliConfigFieldSliType constant value for the schema field sli_entity.type
	SliConfigFieldSliType = "type"
	//SliConfigFieldApplicationID constant value for the schema field sli_entity.application_id
	SliConfigFieldApplicationID = "application_id"
	//SliConfigFieldServiceID constant value for the schema field sli_entity.service_id
	SliConfigFieldServiceID = "service_id"
	//SliConfigFieldEndpointID constant value for the schema field sli_entity.endpoint_id
	SliConfigFieldEndpointID = "endpoint_id"
	//SliConfigFieldBoundaryScope constant value for the schema field sli_entity.boundary_scope
	SliConfigFieldBoundaryScope = "boundary_scope"
)
View Source
const (
	//SyntheticTestFieldLabel constant value for the schema field label
	SyntheticTestFieldLabel = "label"
	//SyntheticTestFieldDescription constant value for the computed schema field description
	SyntheticTestFieldDescription = "description"
	//SyntheticTestFieldActive constant value for the schema field active
	SyntheticTestFieldActive = "active"
	//SyntheticTestFieldConfiguration constant value for the schema field configuration
	SyntheticTestFieldConfiguration = "configuration"
	//SyntheticTestFieldCustomProperties constant value for the schema field custom_properties
	SyntheticTestFieldCustomProperties = "custom_properties"
	//SyntheticTestFieldLocations constant value for the schema field locations
	SyntheticTestFieldLocations = "locations"
	//SyntheticTestFieldPlaybackMode constant value for the schema field playback_mode
	SyntheticTestFieldPlaybackMode = "playback_mode"
	//SyntheticTestFieldTestFrequency constant value for the schema field test_frequency
	SyntheticTestFieldTestFrequency = "test_frequency"
	//SyntheticTestFieldConfigMarkSyntheticCall constant value for the schema field configuration.mark_synthetic_call
	SyntheticTestFieldConfigMarkSyntheticCall = "mark_synthetic_call"
	//SyntheticTestFieldConfigRetries constant value for the schema field configuration.retries
	SyntheticTestFieldConfigRetries = "retries"
	//SyntheticTestFieldConfigRetryInterval constant value for the schema field configuration.retry_interval
	SyntheticTestFieldConfigRetryInterval = "retry_interval"
	//SyntheticTestFieldConfigSyntheticType constant value for the schema field configuration.synthetic_type
	SyntheticTestFieldConfigSyntheticType = "synthetic_type"
	//SyntheticTestFieldConfigTimeout constant value for the schema field configuration.timeout
	SyntheticTestFieldConfigTimeout = "timeout"
	//SyntheticTestFieldConfigUrl constant value for the schema field configuration.url
	SyntheticTestFieldConfigUrl = "url"
	//SyntheticTestFieldConfigOperation constant value for the schema field configuration.operation
	SyntheticTestFieldConfigOperation = "operation"
	//SyntheticTestFieldConfigHeaders constant value for the schema field configuration.headers
	SyntheticTestFieldConfigHeaders = "headers"
	//SyntheticTestFieldConfigBody constant value for the schema field configuration.body
	SyntheticTestFieldConfigBody = "body"
	//SyntheticTestFieldConfigValidationString constant value for the schema field configuration.validation_string
	SyntheticTestFieldConfigValidationString = "validation_string"
	//SyntheticTestFieldConfigFollowRedirect constant value for the schema field configuration.follow_redirect
	SyntheticTestFieldConfigFollowRedirect = "follow_redirect"
	//SyntheticTestFieldConfigAllowInsecure constant value for the schema field configuration.allow_insecure
	SyntheticTestFieldConfigAllowInsecure = "allow_insecure"
	//SyntheticTestFieldConfigExpectStatus constant value for the schema field configuration.expect_status
	SyntheticTestFieldConfigExpectStatus = "expect_status"
	//SyntheticTestFieldConfigExpectMatch constant value for the schema field configuration.expect_match
	SyntheticTestFieldConfigExpectMatch = "expect_match"
	//SyntheticTestFieldConfigExpectExists constant value for the schema field configuration.expect_exists
	SyntheticTestFieldConfigExpectExists = "expect_exists"
	//SyntheticTestFieldConfigExpectNotEmpty constant value for the schema field configuration.expect_not_empty
	SyntheticTestFieldConfigExpectNotEmpty = "expect_not_empty"
	//SyntheticTestFieldConfigScript constant value for the schema field configuration.script
	SyntheticTestFieldConfigScript = "script"
)
View Source
const (
	//WebsiteAlertConfigFieldAlertChannelIDs constant value for field alerting_channel_ids of resource instana_website_alert_config
	WebsiteAlertConfigFieldAlertChannelIDs = "alert_channel_ids"
	//WebsiteAlertConfigFieldWebsiteID constant value for field websites.website_id of resource instana_website_alert_config
	WebsiteAlertConfigFieldWebsiteID = "website_id"
	//WebsiteAlertConfigFieldCustomPayloadFields constant value for field custom_payload_fields of resource instana_website_alert_config
	WebsiteAlertConfigFieldCustomPayloadFields = "custom_payload_field"
	//WebsiteAlertConfigFieldCustomPayloadFieldsKey constant value for field custom_payload_fields.key of resource instana_website_alert_config
	WebsiteAlertConfigFieldCustomPayloadFieldsKey = "key"
	//WebsiteAlertConfigFieldCustomPayloadFieldsValue constant value for field custom_payload_fields.value of resource instana_website_alert_config
	WebsiteAlertConfigFieldCustomPayloadFieldsValue = "value"
	//WebsiteAlertConfigFieldDescription constant value for field description of resource instana_website_alert_config
	WebsiteAlertConfigFieldDescription = "description"
	//WebsiteAlertConfigFieldGranularity constant value for field granularity of resource instana_website_alert_config
	WebsiteAlertConfigFieldGranularity = "granularity"
	//WebsiteAlertConfigFieldName constant value for field name of resource instana_website_alert_config
	WebsiteAlertConfigFieldName = "name"
	//WebsiteAlertConfigFieldFullName constant value for field full_name of resource instana_website_alert_config
	WebsiteAlertConfigFieldFullName = "full_name"

	//WebsiteAlertConfigFieldRule constant value for field rule of resource instana_website_alert_config
	WebsiteAlertConfigFieldRule = "rule"
	//WebsiteAlertConfigFieldRuleMetricName constant value for field rule.*.metric_name of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleMetricName = "metric_name"
	//WebsiteAlertConfigFieldRuleAggregation constant value for field rule.*.aggregation of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleAggregation = "aggregation"
	//WebsiteAlertConfigFieldRuleOperator constant value for field rule.*.operator of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleOperator = "operator"
	//WebsiteAlertConfigFieldRuleValue constant value for field rule.*.value of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleValue = "value"
	//WebsiteAlertConfigFieldRuleSlowness constant value for field rule.slowness of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleSlowness = "slowness"
	//WebsiteAlertConfigFieldRuleStatusCode constant value for field rule.status_code of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleStatusCode = "status_code"
	//WebsiteAlertConfigFieldRuleThroughput constant value for field rule.throughput of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleThroughput = "throughput"
	//WebsiteAlertConfigFieldRuleSpecificJsError constant value for field rule.specific_js_error of resource instana_website_alert_config
	WebsiteAlertConfigFieldRuleSpecificJsError = "specific_js_error"

	//WebsiteAlertConfigFieldSeverity constant value for field severity of resource instana_website_alert_config
	WebsiteAlertConfigFieldSeverity = "severity"
	//WebsiteAlertConfigFieldTagFilter constant value for field tag_filter of resource instana_website_alert_config
	WebsiteAlertConfigFieldTagFilter = "tag_filter"

	//WebsiteAlertConfigFieldTimeThreshold constant value for field time_threshold of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThreshold = "time_threshold"
	//WebsiteAlertConfigFieldTimeThresholdTimeWindow constant value for field time_threshold.time_window of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdTimeWindow = "time_window"
	//WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequence constant value for field time_threshold.user_impact_of_violations_in_sequence of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequence = "user_impact_of_violations_in_sequence"
	//WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceImpactMeasurementMethod constant value for field time_threshold.user_impact_of_violations_in_sequence.impact_measurement_method of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceImpactMeasurementMethod = "impact_measurement_method"
	//WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceUserPercentage constant value for field time_threshold.user_impact_of_violations_in_sequence.user_percentage of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceUserPercentage = "user_percentage"
	//WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceUsers constant value for field time_threshold.user_impact_of_violations_in_sequence.users of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdUserImpactOfViolationsInSequenceUsers = "users"
	//WebsiteAlertConfigFieldTimeThresholdViolationsInPeriod constant value for field time_threshold.violations_in_period of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdViolationsInPeriod = "violations_in_period"
	//WebsiteAlertConfigFieldTimeThresholdViolationsInPeriodViolations constant value for field time_threshold.violations_in_period.violations of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdViolationsInPeriodViolations = "violations"
	//WebsiteAlertConfigFieldTimeThresholdViolationsInSequence constant value for field time_threshold.violations_in_sequence of resource instana_website_alert_config
	WebsiteAlertConfigFieldTimeThresholdViolationsInSequence = "violations_in_sequence"
	//WebsiteAlertConfigFieldTriggering constant value for field triggering of resource instana_website_alert_config
	WebsiteAlertConfigFieldTriggering = "triggering"
)
View Source
const (
	//WebsiteMonitoringConfigFieldName constant value for the schema field name
	WebsiteMonitoringConfigFieldName = "name"
	//WebsiteMonitoringConfigFieldFullName constant value for the schema field full_name
	WebsiteMonitoringConfigFieldFullName = "full_name"
	//WebsiteMonitoringConfigFieldAppName constant value for the schema field app_name
	WebsiteMonitoringConfigFieldAppName = "app_name"
)
View Source
const (
	//ResourceFieldThreshold constant value for field threshold
	ResourceFieldThreshold = "threshold"
	//ResourceFieldThresholdLastUpdated constant value for field threshold.*.last_updated
	ResourceFieldThresholdLastUpdated = "last_updated"
	//ResourceFieldThresholdOperator constant value for field threshold.*.operator
	ResourceFieldThresholdOperator = "operator"
	//ResourceFieldThresholdHistoricBaseline constant value for field threshold.historic_baseline
	ResourceFieldThresholdHistoricBaseline = "historic_baseline"
	//ResourceFieldThresholdHistoricBaselineBaseline constant value for field threshold.historic_baseline.baseline
	ResourceFieldThresholdHistoricBaselineBaseline = "baseline"
	//ResourceFieldThresholdHistoricBaselineDeviationFactor constant value for field threshold.historic_baseline.deviation_factor
	ResourceFieldThresholdHistoricBaselineDeviationFactor = "deviation_factor"
	//ResourceFieldThresholdHistoricBaselineSeasonality constant value for field threshold.historic_baseline.seasonality
	ResourceFieldThresholdHistoricBaselineSeasonality = "seasonality"
	//ResourceFieldThresholdStatic constant value for field threshold.static
	ResourceFieldThresholdStatic = "static"
	//ResourceFieldThresholdStaticValue constant value for field threshold.static.value
	ResourceFieldThresholdStaticValue = "value"
)
View Source
const (
	//DataSourceAlertingChannel the name of the terraform-provider-instana data source to read alerting channel
	DataSourceAlertingChannel = "instana_alerting_channel"
)
View Source
const (
	//DataSourceAlertingChannelOffice365 the name of the terraform-provider-instana resource to manage alerting channels of type Office 365
	DataSourceAlertingChannelOffice365 = "instana_alerting_channel_office_365"
)
View Source
const EntityVerificationRuleEntityType = "host"

EntityVerificationRuleEntityType the fix entity_type of entity verification rules

View Source
const ResourceInstanaAPIToken = "instana_api_token"

ResourceInstanaAPIToken the name of the terraform-provider-instana resource to manage API tokens

View Source
const ResourceInstanaAlertingConfig = "instana_alerting_config"

ResourceInstanaAlertingConfig the name of the terraform-provider-instana resource to manage alerting configurations

View Source
const ResourceInstanaApplicationAlertConfig = "instana_application_alert_config"

ResourceInstanaApplicationAlertConfig the name of the terraform-provider-instana resource to manage application alert configs

View Source
const ResourceInstanaApplicationConfig = "instana_application_config"

ResourceInstanaApplicationConfig the name of the terraform-provider-instana resource to manage application config

View Source
const ResourceInstanaCustomDashboard = "instana_custom_dashboard"

ResourceInstanaCustomDashboard the name of the terraform-provider-instana resource to manage custom dashboards

View Source
const ResourceInstanaCustomEventSpecification = "instana_custom_event_specification"

ResourceInstanaCustomEventSpecification the name of the terraform-provider-instana resource to manage custom event specifications

View Source
const ResourceInstanaCustomEventSpecificationEntityVerificationRule = "instana_custom_event_spec_entity_verification_rule"

ResourceInstanaCustomEventSpecificationEntityVerificationRule the name of the terraform-provider-instana resource to manage custom event specifications with entity verification rule

View Source
const ResourceInstanaCustomEventSpecificationSystemRule = "instana_custom_event_spec_system_rule"

ResourceInstanaCustomEventSpecificationSystemRule the name of the terraform-provider-instana resource to manage custom event specifications with system rule

View Source
const ResourceInstanaCustomEventSpecificationThresholdRule = "instana_custom_event_spec_threshold_rule"

ResourceInstanaCustomEventSpecificationThresholdRule the name of the terraform-provider-instana resource to manage custom event specifications with threshold rule

View Source
const ResourceInstanaGlobalApplicationAlertConfig = "instana_global_application_alert_config"

ResourceInstanaGlobalApplicationAlertConfig the name of the terraform-provider-instana resource to manage global application alert configs

View Source
const ResourceInstanaGroup = "instana_rbac_group"

ResourceInstanaGroup the name of the terraform-provider-instana resource to manage groups for role based access control

View Source
const ResourceInstanaSliConfig = "instana_sli_config"

ResourceInstanaSliConfig the name of the terraform-provider-instana resource to manage SLI configurations

View Source
const ResourceInstanaSyntheticLocation = "instana_synthetic_location"

ResourceInstanaSyntheticLocation the name of the terraform-provider-instana resource to manage synthetic locations

View Source
const ResourceInstanaSyntheticTest = "instana_synthetic_test"

ResourceInstanaSyntheticTest the name of the terraform-provider-instana resource to manage synthetic tests

View Source
const ResourceInstanaWebsiteAlertConfig = "instana_website_alert_config"

ResourceInstanaWebsiteAlertConfig the name of the terraform-provider-instana resource to manage website alert configs

View Source
const ResourceInstanaWebsiteMonitoringConfig = "instana_website_monitoring_config"

ResourceInstanaWebsiteMonitoringConfig the name of the terraform-provider-instana resource to manage website monitoring configurations

View Source
const SchemaFieldAPIToken = "api_token"

SchemaFieldAPIToken the name of the provider configuration option for the api token

View Source
const SchemaFieldDefaultNamePrefix = "default_name_prefix"

SchemaFieldDefaultNamePrefix the default prefix which should be added to all resource names/labels

View Source
const SchemaFieldDefaultNameSuffix = "default_name_suffix"

SchemaFieldDefaultNameSuffix the default prefix which should be added to all resource names/labels

View Source
const SchemaFieldEndpoint = "endpoint"

SchemaFieldEndpoint the name of the provider configuration option for the instana endpoint

View Source
const SchemaFieldTlsSkipVerify = "tls_skip_verify"

SchemaFieldTlsSkipVerify flag to deactivate skip tls verification

View Source
const SystemRuleEntityType = "any"

SystemRuleEntityType the fix entity_type of entity verification rules

View Source
const (
	//SystemRuleSpecificationSystemRuleID constant value for the schema field system_rule_id of a rule specification
	SystemRuleSpecificationSystemRuleID = ruleFieldPrefix + "system_rule_id"
)

Variables

View Source
var (
	//ApplicationConfigLabel schema for the application config field label
	ApplicationConfigLabel = &schema.Schema{
		Type:        schema.TypeString,
		Required:    true,
		Description: "The label of the application config",
	}
	//ApplicationConfigFullLabel schema for the application config field full_label
	ApplicationConfigFullLabel = &schema.Schema{
		Type:        schema.TypeString,
		Computed:    true,
		Description: "The the full label field of the application config. The field is computed and contains the label which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level",
	}
	//ApplicationConfigScope schema for the application config field scope
	ApplicationConfigScope = &schema.Schema{
		Type:         schema.TypeString,
		Required:     false,
		Optional:     true,
		Default:      string(restapi.ApplicationConfigScopeIncludeNoDownstream),
		ValidateFunc: validation.StringInSlice(restapi.SupportedApplicationConfigScopes.ToStringSlice(), false),
		Description:  "The scope of the application config",
	}
	//ApplicationConfigBoundaryScope schema for the application config field boundary_scope
	ApplicationConfigBoundaryScope = &schema.Schema{
		Type:         schema.TypeString,
		Required:     false,
		Optional:     true,
		Default:      string(restapi.BoundaryScopeDefault),
		ValidateFunc: validation.StringInSlice(restapi.SupportedApplicationConfigBoundaryScopes.ToStringSlice(), false),
		Description:  "The boundary scope of the application config",
	}
	//ApplicationConfigMatchSpecification schema for the application config field match_specification
	ApplicationConfigMatchSpecification = &schema.Schema{
		Type:         schema.TypeString,
		Optional:     true,
		ExactlyOneOf: []string{ApplicationConfigFieldMatchSpecification, ApplicationConfigFieldTagFilter},
		Description:  "The match specification of the application config",
		Deprecated:   fmt.Sprintf("%s is deprecated. Please migrate to %s", ApplicationConfigFieldMatchSpecification, ApplicationConfigFieldTagFilter),
		DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
			normalized, err := filterexpression.Normalize(new)
			if err == nil {
				return normalized == old
			}
			return old == new
		},
		StateFunc: func(val interface{}) string {
			normalized, err := filterexpression.Normalize(val.(string))
			if err == nil {
				return normalized
			}
			return val.(string)
		},
		ValidateFunc: func(val interface{}, key string) (warns []string, errs []error) {
			v := val.(string)
			if _, err := filterexpression.NewParser().Parse(v); err != nil {
				errs = append(errs, fmt.Errorf("%q is not a valid match expression; %s", key, err))
			}

			return
		},
	}
	//ApplicationConfigNormalizedMatchSpecification schema for the application config field normalized_match_specification
	ApplicationConfigNormalizedMatchSpecification = &schema.Schema{
		Type:        schema.TypeString,
		Optional:    true,
		Computed:    true,
		Description: "The normalized match specification of the application config",
	}
	//ApplicationConfigTagFilter schema for the application config field tag_filter
	ApplicationConfigTagFilter = &schema.Schema{
		Type:         schema.TypeString,
		Optional:     true,
		ExactlyOneOf: []string{ApplicationConfigFieldMatchSpecification, ApplicationConfigFieldTagFilter},
		Description:  "The tag filter of the application config",
		DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
			normalized, err := tagfilter.Normalize(new)
			if err == nil {
				return normalized == old
			}
			return old == new
		},
		StateFunc: func(val interface{}) string {
			normalized, err := tagfilter.Normalize(val.(string))
			if err == nil {
				return normalized
			}
			return val.(string)
		},
		ValidateFunc: func(val interface{}, key string) (warns []string, errs []error) {
			v := val.(string)
			if _, err := tagfilter.NewParser().Parse(v); err != nil {
				errs = append(errs, fmt.Errorf("%q is not a valid tag filter; %s", key, err))
			}

			return
		},
	}
)
View Source
var (
	//SliConfigName schema field definition of instana_sli_config field name
	SliConfigName = &schema.Schema{
		Type:         schema.TypeString,
		Required:     true,
		ValidateFunc: validation.StringLenBetween(0, 256),
		Description:  "The name of the SLI config",
	}

	//SliConfigFullName schema field definition of instana_sli_config field full_name
	SliConfigFullName = &schema.Schema{
		Type:        schema.TypeString,
		Computed:    true,
		Description: "The full name of the SLI config. The field is computed and contains the name which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level",
	}

	//SliConfigInitialEvaluationTimestamp schema field definition of instana_sli_config field initial_evaluation_timestamp
	SliConfigInitialEvaluationTimestamp = &schema.Schema{
		Type:        schema.TypeInt,
		Optional:    true,
		Default:     0,
		Description: "Initial evaluation timestamp for the SLI config",
	}

	//SliConfigMetricConfiguration schema field definition of instana_sli_config field metric_configuration
	SliConfigMetricConfiguration = &schema.Schema{
		Type:        schema.TypeList,
		Required:    true,
		Description: "Metric configuration for the SLI config",
		MaxItems:    1,
		Elem: &schema.Resource{
			Schema: map[string]*schema.Schema{

				SliConfigFieldMetricName: {
					Type:        schema.TypeString,
					Required:    true,
					Description: "The metric name for the metric configuration",
				},

				SliConfigFieldMetricAggregation: {
					Type:         schema.TypeString,
					Required:     true,
					ValidateFunc: validation.StringInSlice([]string{"SUM", "MEAN", "MAX", "MIN", "P25", "P50", "P75", "P90", "P95", "P98", "P99", "DISTINCT_COUNT"}, true),
					Description:  "The aggregation type for the metric configuration (SUM, MEAN, MAX, MIN, P25, P50, P75, P90, P95, P98, P99, DISTINCT_COUNT)",
				},

				SliConfigFieldMetricThreshold: {
					Type:        schema.TypeFloat,
					Required:    true,
					Description: "The threshold for the metric configuration",
					ValidateFunc: func(val interface{}, key string) (warns []string, errs []error) {
						v := val.(float64)
						if v <= 0 {
							errs = append(errs, fmt.Errorf("metric threshold must be greater than 0"))
						}
						return
					},
				},
			},
		},
	}

	//SliConfigSliEntity schema field definition of instana_sli_config field sli_entity
	SliConfigSliEntity = &schema.Schema{
		Type:        schema.TypeList,
		Required:    true,
		Description: "The entity to use for the SLI config",
		MaxItems:    1,
		Elem: &schema.Resource{
			Schema: map[string]*schema.Schema{

				SliConfigFieldSliType: {
					Type:         schema.TypeString,
					Required:     true,
					ValidateFunc: validation.StringInSlice([]string{"application", "custom", "availability"}, true),
					Description:  "The entity type (application, custom, availability)",
				},

				SliConfigFieldApplicationID: {
					Type:        schema.TypeString,
					Optional:    true,
					Description: "The application ID of the entity",
				},

				SliConfigFieldServiceID: {
					Type:        schema.TypeString,
					Optional:    true,
					Description: "The service ID of the entity",
				},

				SliConfigFieldEndpointID: {
					Type:        schema.TypeString,
					Optional:    true,
					Description: "The endpoint ID of the entity",
				},

				SliConfigFieldBoundaryScope: {
					Type:         schema.TypeString,
					Required:     true,
					ValidateFunc: validation.StringInSlice([]string{"ALL", "INBOUND"}, true),
					Description:  "The boundary scope for the entity configuration (ALL, INBOUND)",
				},
			},
		},
	}
)
View Source
var AlertingChannelEmailEmailsSchemaField = &schema.Schema{
	Type:     schema.TypeSet,
	MinItems: 1,
	Elem: &schema.Schema{
		Type: schema.TypeString,
	},
	Required:    true,
	Description: "The list of emails of the Email alerting channel",
}

AlertingChannelEmailEmailsSchemaField schema definition for instana alerting channel emails field

View Source
var AlertingChannelWebhookHTTPHeadersSchemaField = &schema.Schema{
	Type: schema.TypeMap,
	Elem: &schema.Schema{
		Type: schema.TypeString,
	},
	Optional:    true,
	Description: "The optional map of HTTP headers of the Webhook alerting channel",
}

AlertingChannelWebhookHTTPHeadersSchemaField schema field definition of instana_alerting_channel_webhook field http_headers

View Source
var AlertingChannelWebhookWebhookURLsSchemaField = &schema.Schema{
	Type:     schema.TypeSet,
	MinItems: 1,
	Elem: &schema.Schema{
		Type: schema.TypeString,
	},
	Required:    true,
	Description: "The list of webhook urls of the Webhook alerting channel",
}

AlertingChannelWebhookWebhookURLsSchemaField schema field definition of instana_alerting_channel_webhook field webhook_urls

View Source
var AlertingConfigSchemaAlertName = &schema.Schema{
	Type:         schema.TypeString,
	Required:     true,
	Description:  "Configures the alert name of the alerting configuration",
	ValidateFunc: validation.StringLenBetween(1, 200),
}

AlertingConfigSchemaAlertName schema field definition of instana_alerting_config field alert_name

View Source
var AlertingConfigSchemaEventFilterEventTypes = &schema.Schema{
	Type:     schema.TypeSet,
	MinItems: 0,
	MaxItems: len(supportedEventTypes),
	Elem: &schema.Schema{
		Type:         schema.TypeString,
		ValidateFunc: validation.StringInSlice(supportedEventTypes, false),
	},
	Required:      false,
	Optional:      true,
	ConflictsWith: []string{AlertingConfigFieldEventFilterRuleIDs},
	Description:   "Configures the list of Event Types IDs which should trigger an alert.",
}

AlertingConfigSchemaEventFilterEventTypes schema field definition of instana_alerting_config field event_filter_event_types

View Source
var AlertingConfigSchemaEventFilterQuery = &schema.Schema{
	Type:         schema.TypeString,
	Required:     false,
	Optional:     true,
	Description:  "Configures a filter query to to filter rules or event types for a limited set of entities",
	ValidateFunc: validation.StringLenBetween(0, 2048),
}

AlertingConfigSchemaEventFilterQuery schema field definition of instana_alerting_config field event_filter_query

View Source
var AlertingConfigSchemaEventFilterRuleIDs = &schema.Schema{
	Type:     schema.TypeSet,
	MinItems: 0,
	MaxItems: 1024,
	Elem: &schema.Schema{
		Type: schema.TypeString,
	},
	Required:      false,
	Optional:      true,
	ConflictsWith: []string{AlertingConfigFieldEventFilterEventTypes},
	Description:   "Configures the list of Rule IDs which should trigger an alert.",
}

AlertingConfigSchemaEventFilterRuleIDs schema field definition of instana_alerting_config field event_filter_rule_ids

View Source
var AlertingConfigSchemaFullAlertName = &schema.Schema{
	Type:        schema.TypeString,
	Computed:    true,
	Description: "The the full alert name field of the alerting configuration. The field is computed and contains the name which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level",
}

AlertingConfigSchemaFullAlertName schema field definition of instana_alerting_config field full_alert_name

View Source
var AlertingConfigSchemaIntegrationIds = &schema.Schema{
	Type:     schema.TypeSet,
	MinItems: 0,
	MaxItems: 1024,
	Elem: &schema.Schema{
		Type: schema.TypeString,
	},
	Required:    true,
	Description: "Configures the list of Integration IDs (Alerting Channels).",
}

AlertingConfigSchemaIntegrationIds schema field definition of instana_alerting_config field integration_ids

View Source
var WebsiteMonitoringConfigSchemaAppName = &schema.Schema{
	Type:        schema.TypeString,
	Required:    false,
	Computed:    true,
	Description: "Configures the calculated app name of the website monitoring configuration",
}

WebsiteMonitoringConfigSchemaAppName schema field definition of instana_website_monitoring_config field app_name

View Source
var WebsiteMonitoringConfigSchemaFullName = &schema.Schema{
	Type:        schema.TypeString,
	Required:    false,
	Computed:    true,
	Description: "Configures the full name field of the website monitoring configuration. The field is computed and contains the name which is sent to instana. The computation depends on the configured default_name_prefix and default_name_suffix at provider level",
}

WebsiteMonitoringConfigSchemaFullName schema field definition of instana_website_monitoring_config field full_name

View Source
var WebsiteMonitoringConfigSchemaName = &schema.Schema{
	Type:        schema.TypeString,
	Required:    true,
	Description: "Configures the name of the website monitoring configuration",
}

WebsiteMonitoringConfigSchemaName schema field definition of instana_website_monitoring_config field name

Functions

func ConvertInterfaceSlice added in v1.3.0

func ConvertInterfaceSlice[T any](input []interface{}) []T

ConvertInterfaceSlice converts the given interface slice to the desired target slice

func ConvertSeverityFromInstanaAPIToTerraformRepresentation added in v0.2.0

func ConvertSeverityFromInstanaAPIToTerraformRepresentation(severity int) (string, error)

ConvertSeverityFromInstanaAPIToTerraformRepresentation converts the integer representation of the Instana API to the string representation of the Terraform provider

func ConvertSeverityFromTerraformToInstanaAPIRepresentation added in v0.2.0

func ConvertSeverityFromTerraformToInstanaAPIRepresentation(severity string) (int, error)

ConvertSeverityFromTerraformToInstanaAPIRepresentation converts the string representation of the Terraform to the int representation of the Instana API provider

func GetFloat32PointerFromResourceData added in v1.3.0

func GetFloat32PointerFromResourceData(d *schema.ResourceData, key string) *float32

GetFloat32PointerFromResourceData gets a float32 value from the resource data and either returns a pointer to the value or nil if the value is not defined

func GetFloat64PointerFromResourceData added in v0.2.0

func GetFloat64PointerFromResourceData(d *schema.ResourceData, key string) *float64

GetFloat64PointerFromResourceData gets a float64 value from the resource data and either returns a pointer to the value or nil if the value is not defined

func GetInt32PointerFromResourceData added in v1.3.0

func GetInt32PointerFromResourceData(d *schema.ResourceData, key string) *int32

GetInt32PointerFromResourceData gets a int32 value from the resource data and either returns a pointer to the value or nil if the value is not defined

func GetIntPointerFromResourceData added in v0.2.0

func GetIntPointerFromResourceData(d *schema.ResourceData, key string) *int

GetIntPointerFromResourceData gets a int value from the resource data and either returns a pointer to the value or nil if the value is not defined

func GetPointerFromMap added in v1.8.0

func GetPointerFromMap[T any](d map[string]interface{}, key string) *T

GetPointerFromMap gets a pointer of the given type from the map or nil if the value is not defined

func GetStringPointerFromResourceData added in v0.2.0

func GetStringPointerFromResourceData(d *schema.ResourceData, key string) *string

GetStringPointerFromResourceData gets a string value from the resource data and either returns a pointer to the value or nil if the value is not defined

func MergeSchemaMap added in v0.11.0

func MergeSchemaMap(mapA map[string]*schema.Schema, mapB map[string]*schema.Schema) map[string]*schema.Schema

MergeSchemaMap merges the provided maps into a single map

func NormalizeJSONString added in v1.5.0

func NormalizeJSONString(jsonString string) string

func Provider

func Provider() *schema.Provider

Provider interface implementation of hashicorp terraform provider

func RandomID

func RandomID() string

RandomID generates a random ID for a resource

func ReadArrayParameterFromMap added in v1.8.0

func ReadArrayParameterFromMap[T any](data map[string]interface{}, key string) []T

ReadArrayParameterFromMap reads an array parameter from a resource

func ReadSetParameterFromMap added in v1.8.0

func ReadSetParameterFromMap[T any](data map[string]interface{}, key string) []T

ReadSetParameterFromMap reads a set parameter from a map and returns it as a slice

func ReadStringArrayParameterFromResource added in v0.2.0

func ReadStringArrayParameterFromResource(d *schema.ResourceData, key string) []string

ReadStringArrayParameterFromResource reads a string array parameter from a resource

func ReadStringSetParameterFromResource added in v0.8.2

func ReadStringSetParameterFromResource(d *schema.ResourceData, key string) []string

ReadStringSetParameterFromResource reads a string set parameter from a resource and returns it as a slice of strings

Types

type DataSource added in v0.11.0

type DataSource interface {
	CreateResource() *schema.Resource
}

DataSource interface definition of a Terraform DataSource implementation in this provider

func NewAlertingChannelDataSource added in v1.9.0

func NewAlertingChannelDataSource() DataSource

NewAlertingChannelDataSource creates a new DataSource for alerting channel

func NewAlertingChannelOffice365DataSource added in v1.7.0

func NewAlertingChannelOffice365DataSource() DataSource

NewAlertingChannelOffice365DataSource creates a new DataSource for Office 365 alerting channel

func NewBuiltinEventDataSource added in v0.11.0

func NewBuiltinEventDataSource() DataSource

NewBuiltinEventDataSource creates a new DataSource for Builtin Events

func NewSyntheticLocationDataSource added in v1.6.0

func NewSyntheticLocationDataSource() DataSource

NewSyntheticLocationDataSource creates a new DataSource for Synthetic Locations

type ProviderMeta added in v0.4.0

type ProviderMeta struct {
	InstanaAPI            restapi.InstanaAPI
	ResourceNameFormatter utils.ResourceNameFormatter
}

ProviderMeta data structure for the meta data which is configured and provided to the resources by this provider

type ResourceHandle added in v0.8.0

type ResourceHandle interface {
	//MetaData returns the meta data of this ResourceHandle
	MetaData() *ResourceMetaData
	//StateUpgraders returns the slice of state upgraders used to migrate states from one version to another
	StateUpgraders() []schema.StateUpgrader

	//GetRestResource provides the restapi.RestResource used by the ResourceHandle
	GetRestResource(api restapi.InstanaAPI) restapi.RestResource
	//UpdateState updates the state of the resource provided as schema.ResourceData with the input data from the Instana API provided as restapi.InstanaDataObject
	UpdateState(d *schema.ResourceData, obj restapi.InstanaDataObject, formatter utils.ResourceNameFormatter) error
	//MapStateToDataObject maps the current state of the resource provided as schema.ResourceData to the API model of the Instana API represented as an implementation of restapi.InstanaDataObject
	MapStateToDataObject(d *schema.ResourceData, formatter utils.ResourceNameFormatter) (restapi.InstanaDataObject, error)
	//SetComputedFields calculate and set the calculated value of computed fields of the given resource
	SetComputedFields(d *schema.ResourceData)
}

ResourceHandle resource specific implementation which provides meta data and maps data from/to terraform state. Together with TerraformResource terraform schema resources can be created

func NewAPITokenResourceHandle added in v1.0.0

func NewAPITokenResourceHandle() ResourceHandle

NewAPITokenResourceHandle creates a ResourceHandle instance for the terraform resource API token

func NewAlertingChannelEmailResourceHandle added in v0.8.0

func NewAlertingChannelEmailResourceHandle() ResourceHandle

NewAlertingChannelEmailResourceHandle creates the resource handle for Alerting Channels of type Email

func NewAlertingChannelGoogleChatResourceHandle added in v0.8.0

func NewAlertingChannelGoogleChatResourceHandle() ResourceHandle

NewAlertingChannelGoogleChatResourceHandle creates the terraform resource for Alerting Channels of type Google Chat

func NewAlertingChannelOffice356ResourceHandle added in v0.8.0

func NewAlertingChannelOffice356ResourceHandle() ResourceHandle

NewAlertingChannelOffice356ResourceHandle creates the terraform resource for Alerting Channels of type Office 356

func NewAlertingChannelOpsGenieResourceHandle added in v0.8.0

func NewAlertingChannelOpsGenieResourceHandle() ResourceHandle

NewAlertingChannelOpsGenieResourceHandle creates the resource handle for Alerting Channels of type OpsGenie

func NewAlertingChannelPagerDutyResourceHandle added in v0.8.0

func NewAlertingChannelPagerDutyResourceHandle() ResourceHandle

NewAlertingChannelPagerDutyResourceHandle creates the resource handle for Alerting Channels of type PagerDuty

func NewAlertingChannelResourceHandle added in v1.8.0

func NewAlertingChannelResourceHandle() ResourceHandle

NewAlertingChannelResourceHandle creates the resource handle for Alerting Channels

func NewAlertingChannelSlackResourceHandle added in v0.8.0

func NewAlertingChannelSlackResourceHandle() ResourceHandle

NewAlertingChannelSlackResourceHandle creates the resource handle for Alerting Channels of type Email

func NewAlertingChannelSplunkResourceHandle added in v0.8.0

func NewAlertingChannelSplunkResourceHandle() ResourceHandle

NewAlertingChannelSplunkResourceHandle creates the resource handle for Alerting Channels of type Email

func NewAlertingChannelVictorOpsResourceHandle added in v0.8.0

func NewAlertingChannelVictorOpsResourceHandle() ResourceHandle

NewAlertingChannelVictorOpsResourceHandle creates the resource handle for Alerting Channels of type Email

func NewAlertingChannelWebhookResourceHandle added in v0.8.0

func NewAlertingChannelWebhookResourceHandle() ResourceHandle

NewAlertingChannelWebhookResourceHandle creates the resource handle for Alerting Channels of type Webhook

func NewAlertingConfigResourceHandle added in v0.8.0

func NewAlertingConfigResourceHandle() ResourceHandle

NewAlertingConfigResourceHandle creates the resource handle for Alerting Configuration

func NewApplicationAlertConfigResourceHandle added in v1.3.0

func NewApplicationAlertConfigResourceHandle() ResourceHandle

NewApplicationAlertConfigResourceHandle creates a new instance of the ResourceHandle for application alert configs

func NewApplicationConfigResourceHandle added in v0.8.0

func NewApplicationConfigResourceHandle() ResourceHandle

NewApplicationConfigResourceHandle creates a new instance of the ResourceHandle for application configs

func NewCustomDashboardResourceHandle added in v1.5.0

func NewCustomDashboardResourceHandle() ResourceHandle

NewCustomDashboardResourceHandle creates the resource handle for RBAC Groups

func NewCustomEventSpecificationResourceHandle added in v1.8.0

func NewCustomEventSpecificationResourceHandle() ResourceHandle

NewCustomEventSpecificationResourceHandle creates a new ResourceHandle for the terraform resource of custom event specifications

func NewCustomEventSpecificationWithEntityVerificationRuleResourceHandle added in v0.8.0

func NewCustomEventSpecificationWithEntityVerificationRuleResourceHandle() ResourceHandle

NewCustomEventSpecificationWithEntityVerificationRuleResourceHandle creates a new ResourceHandle for the terraform resource of custom event specifications with entity verification rules

func NewCustomEventSpecificationWithSystemRuleResourceHandle added in v0.8.0

func NewCustomEventSpecificationWithSystemRuleResourceHandle() ResourceHandle

NewCustomEventSpecificationWithSystemRuleResourceHandle creates a new ResourceHandle for the terraform resource of custom event specifications with system rules

func NewCustomEventSpecificationWithThresholdRuleResourceHandle added in v0.8.0

func NewCustomEventSpecificationWithThresholdRuleResourceHandle() ResourceHandle

NewCustomEventSpecificationWithThresholdRuleResourceHandle creates a new ResourceHandle for the terraform resource of custom event specifications with system rules

func NewGlobalApplicationAlertConfigResourceHandle added in v1.3.0

func NewGlobalApplicationAlertConfigResourceHandle() ResourceHandle

NewGlobalApplicationAlertConfigResourceHandle creates a new instance of the ResourceHandle for global application alert configs

func NewGroupResourceHandle added in v1.1.0

func NewGroupResourceHandle() ResourceHandle

NewGroupResourceHandle creates the resource handle for RBAC Groups

func NewSliConfigResourceHandle added in v0.10.0

func NewSliConfigResourceHandle() ResourceHandle

NewSliConfigResourceHandle creates the resource handle for SLI configuration

func NewSyntheticTestResourceHandle added in v1.6.0

func NewSyntheticTestResourceHandle() ResourceHandle

NewSyntheticTestResourceHandle creates the resource handle Synthetic Tests

func NewWebsiteAlertConfigResourceHandle added in v1.4.0

func NewWebsiteAlertConfigResourceHandle() ResourceHandle

NewWebsiteAlertConfigResourceHandle creates the resource handle for Website Alert Configs

func NewWebsiteMonitoringConfigResourceHandle added in v0.10.0

func NewWebsiteMonitoringConfigResourceHandle() ResourceHandle

NewWebsiteMonitoringConfigResourceHandle creates the resource handle for Alerting Configuration

type ResourceMetaData added in v0.11.0

type ResourceMetaData struct {
	ResourceName       string
	Schema             map[string]*schema.Schema
	SchemaVersion      int
	SkipIDGeneration   bool
	ResourceIDField    *string
	DeprecationMessage string
}

ResourceMetaData the meta data of a terraform ResourceHandle

type TerraformResource added in v0.8.0

type TerraformResource interface {
	Create(d *schema.ResourceData, meta interface{}) error
	Read(d *schema.ResourceData, meta interface{}) error
	Update(d *schema.ResourceData, meta interface{}) error
	Delete(d *schema.ResourceData, meta interface{}) error
	ToSchemaResource() *schema.Resource
}

TerraformResource internal simplified representation of a Terraform resource

func NewTerraformResource added in v0.8.0

func NewTerraformResource(handle ResourceHandle) TerraformResource

NewTerraformResource creates a new terraform resource for the given handle

type TestHelper added in v0.2.0

type TestHelper interface {
	WithMocking(t *testing.T, testFunction func(ctrl *gomock.Controller, meta *ProviderMeta, mockInstanApi *mocks.MockInstanaAPI, mockFormatter *mocks.MockResourceNameFormatter))
	CreateProviderMetaMock(ctrl *gomock.Controller) (*ProviderMeta, *mocks.MockInstanaAPI, *mocks.MockResourceNameFormatter)
	CreateEmptyResourceDataForResourceHandle(resourceHandle ResourceHandle) *schema.ResourceData
	CreateResourceDataForResourceHandle(resourceHandle ResourceHandle, data map[string]interface{}) *schema.ResourceData
	ResourceFormatter() utils.ResourceNameFormatter
}

TestHelper definition of the test helper utility

func NewTestHelper added in v0.2.0

func NewTestHelper(t *testing.T) TestHelper

NewTestHelper creates a new instance of TestHelper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL