diff --git a/Makefile b/Makefile index 47e6484..9a37433 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,14 @@ PROJECT_NAME ?= crossplane-provider-newrelic PROJECT_REPO ?= github.com/crossplane-contrib/$(PROJECT_NAME) -export TERRAFORM_VERSION ?= 1.6.6 +export TERRAFORM_VERSION ?= 1.8.3 export TERRAFORM_PROVIDER_SOURCE ?= newrelic/newrelic export TERRAFORM_PROVIDER_REPO ?= https://github.com/newrelic/terraform-provider-newrelic -export TERRAFORM_PROVIDER_VERSION ?= 3.28.1 +export TERRAFORM_PROVIDER_VERSION ?= 3.36.0 export TERRAFORM_PROVIDER_DOWNLOAD_NAME ?= terraform-provider-newrelic export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX ?= https://github.com/newrelic/terraform-provider-newrelic/releases/download/v$(TERRAFORM_PROVIDER_VERSION) -export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-newrelic_v3.28.1 +export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-newrelic_v3.36.0 export TERRAFORM_DOCS_PATH ?= website/docs/r PLATFORMS ?= linux_amd64 linux_arm64 @@ -49,10 +49,10 @@ GO_SUBDIRS += cmd internal apis # ==================================================================================== # Setup Kubernetes tools -KIND_VERSION = v0.15.0 -UP_VERSION = v0.20.0 +KIND_VERSION = v0.22.0 +UP_VERSION = v0.28.0 UP_CHANNEL = stable -UPTEST_VERSION = v0.6.1 +UPTEST_VERSION = v0.11.1 -include build/makelib/k8s_tools.mk # ==================================================================================== diff --git a/apis/alert/v1alpha1/zz_channel_terraformed.go b/apis/alert/v1alpha1/zz_channel_terraformed.go new file mode 100644 index 0000000..71af293 --- /dev/null +++ b/apis/alert/v1alpha1/zz_channel_terraformed.go @@ -0,0 +1,129 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Channel +func (mg *Channel) GetTerraformResourceType() string { + return "newrelic_notification_channel" +} + +// GetConnectionDetailsMapping for this Channel +func (tr *Channel) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Channel +func (tr *Channel) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Channel +func (tr *Channel) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Channel +func (tr *Channel) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Channel +func (tr *Channel) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Channel +func (tr *Channel) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Channel +func (tr *Channel) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Channel +func (tr *Channel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Channel using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Channel) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Channel) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/alert/v1alpha1/zz_channel_types.go b/apis/alert/v1alpha1/zz_channel_types.go index 11258d4..2eaa2c7 100755 --- a/apis/alert/v1alpha1/zz_channel_types.go +++ b/apis/alert/v1alpha1/zz_channel_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -223,13 +219,14 @@ type ChannelStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // Channel is the Schema for the Channels API. Create and manage a notification channel for notifications in New Relic. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type Channel struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/alert/v1alpha1/zz_destination_terraformed.go b/apis/alert/v1alpha1/zz_destination_terraformed.go new file mode 100644 index 0000000..df5849c --- /dev/null +++ b/apis/alert/v1alpha1/zz_destination_terraformed.go @@ -0,0 +1,129 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Destination +func (mg *Destination) GetTerraformResourceType() string { + return "newrelic_notification_destination" +} + +// GetConnectionDetailsMapping for this Destination +func (tr *Destination) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auth_basic[*].password": "spec.forProvider.authBasic[*].passwordSecretRef", "auth_custom_header[*].value": "spec.forProvider.authCustomHeader[*].valueSecretRef", "auth_token[*].token": "spec.forProvider.authToken[*].tokenSecretRef", "secure_url[*].secure_suffix": "spec.forProvider.secureUrl[*].secureSuffixSecretRef"} +} + +// GetObservation of this Destination +func (tr *Destination) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Destination +func (tr *Destination) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Destination +func (tr *Destination) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Destination +func (tr *Destination) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Destination +func (tr *Destination) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Destination +func (tr *Destination) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Destination +func (tr *Destination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Destination using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Destination) LateInitialize(attrs []byte) (bool, error) { + params := &DestinationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Destination) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/alert/v1alpha1/zz_destination_types.go b/apis/alert/v1alpha1/zz_destination_types.go index 2bec2da..7c84265 100755 --- a/apis/alert/v1alpha1/zz_destination_types.go +++ b/apis/alert/v1alpha1/zz_destination_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -40,6 +36,29 @@ type AuthBasicParameters struct { User *string `json:"user" tf:"user,omitempty"` } +type AuthCustomHeaderInitParameters struct { + + // The key of the header. + Key *string `json:"key,omitempty" tf:"key,omitempty"` +} + +type AuthCustomHeaderObservation struct { + + // The key of the header. + Key *string `json:"key,omitempty" tf:"key,omitempty"` +} + +type AuthCustomHeaderParameters struct { + + // The key of the header. + // +kubebuilder:validation:Optional + Key *string `json:"key" tf:"key,omitempty"` + + // The secret value of the header. + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + type AuthTokenInitParameters struct { // The prefix of the token auth. @@ -76,6 +95,10 @@ type DestinationInitParameters struct { // Basic username and password authentication credentials. AuthBasic []AuthBasicInitParameters `json:"authBasic,omitempty" tf:"auth_basic,omitempty"` + // A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + // Custom header based authentication + AuthCustomHeader []AuthCustomHeaderInitParameters `json:"authCustomHeader,omitempty" tf:"auth_custom_header,omitempty"` + // A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. // Token authentication credentials. AuthToken []AuthTokenInitParameters `json:"authToken,omitempty" tf:"auth_token,omitempty"` @@ -88,6 +111,10 @@ type DestinationInitParameters struct { // Notification destination property type. Property []DestinationPropertyInitParameters `json:"property,omitempty" tf:"property,omitempty"` + // A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + // URL in secure format + SecureURL []SecureURLInitParameters `json:"secureUrl,omitempty" tf:"secure_url,omitempty"` + // The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. // (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). Type *string `json:"type,omitempty" tf:"type,omitempty"` @@ -106,10 +133,18 @@ type DestinationObservation struct { // Basic username and password authentication credentials. AuthBasic []AuthBasicObservation `json:"authBasic,omitempty" tf:"auth_basic,omitempty"` + // A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + // Custom header based authentication + AuthCustomHeader []AuthCustomHeaderObservation `json:"authCustomHeader,omitempty" tf:"auth_custom_header,omitempty"` + // A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. // Token authentication credentials. AuthToken []AuthTokenObservation `json:"authToken,omitempty" tf:"auth_token,omitempty"` + // The unique entity identifier of the destination in New Relic. + // Destination entity GUID + GUID *string `json:"guid,omitempty" tf:"guid,omitempty"` + // The ID of the destination. ID *string `json:"id,omitempty" tf:"id,omitempty"` @@ -124,6 +159,10 @@ type DestinationObservation struct { // Notification destination property type. Property []DestinationPropertyObservation `json:"property,omitempty" tf:"property,omitempty"` + // A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + // URL in secure format + SecureURL []SecureURLObservation `json:"secureUrl,omitempty" tf:"secure_url,omitempty"` + // The status of the destination. Status *string `json:"status,omitempty" tf:"status,omitempty"` @@ -148,6 +187,11 @@ type DestinationParameters struct { // +kubebuilder:validation:Optional AuthBasic []AuthBasicParameters `json:"authBasic,omitempty" tf:"auth_basic,omitempty"` + // A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + // Custom header based authentication + // +kubebuilder:validation:Optional + AuthCustomHeader []AuthCustomHeaderParameters `json:"authCustomHeader,omitempty" tf:"auth_custom_header,omitempty"` + // A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. // Token authentication credentials. // +kubebuilder:validation:Optional @@ -163,6 +207,11 @@ type DestinationParameters struct { // +kubebuilder:validation:Optional Property []DestinationPropertyParameters `json:"property,omitempty" tf:"property,omitempty"` + // A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + // URL in secure format + // +kubebuilder:validation:Optional + SecureURL []SecureURLParameters `json:"secureUrl,omitempty" tf:"secure_url,omitempty"` + // The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. // (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). // +kubebuilder:validation:Optional @@ -230,6 +279,29 @@ type DestinationPropertyParameters struct { Value *string `json:"value" tf:"value,omitempty"` } +type SecureURLInitParameters struct { + + // The prefix of the URL. + Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` +} + +type SecureURLObservation struct { + + // The prefix of the URL. + Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` +} + +type SecureURLParameters struct { + + // The prefix of the URL. + // +kubebuilder:validation:Optional + Prefix *string `json:"prefix" tf:"prefix,omitempty"` + + // The suffix of the URL, which contains sensitive data. + // +kubebuilder:validation:Required + SecureSuffixSecretRef v1.SecretKeySelector `json:"secureSuffixSecretRef" tf:"-"` +} + // DestinationSpec defines the desired state of Destination type DestinationSpec struct { v1.ResourceSpec `json:",inline"` @@ -254,13 +326,14 @@ type DestinationStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // Destination is the Schema for the Destinations API. Create and manage a notification destination for notifications in New Relic. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type Destination struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/alert/v1alpha1/zz_generated.conversion_hubs.go b/apis/alert/v1alpha1/zz_generated.conversion_hubs.go new file mode 100644 index 0000000..abf769f --- /dev/null +++ b/apis/alert/v1alpha1/zz_generated.conversion_hubs.go @@ -0,0 +1,16 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +// Hub marks this type as a conversion hub. +func (tr *Policy) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *Channel) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *Destination) Hub() {} diff --git a/apis/alert/v1alpha1/zz_generated.deepcopy.go b/apis/alert/v1alpha1/zz_generated.deepcopy.go index 4417a83..91ee1b5 100644 --- a/apis/alert/v1alpha1/zz_generated.deepcopy.go +++ b/apis/alert/v1alpha1/zz_generated.deepcopy.go @@ -74,6 +74,67 @@ func (in *AuthBasicParameters) DeepCopy() *AuthBasicParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthCustomHeaderInitParameters) DeepCopyInto(out *AuthCustomHeaderInitParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderInitParameters. +func (in *AuthCustomHeaderInitParameters) DeepCopy() *AuthCustomHeaderInitParameters { + if in == nil { + return nil + } + out := new(AuthCustomHeaderInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthCustomHeaderObservation) DeepCopyInto(out *AuthCustomHeaderObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderObservation. +func (in *AuthCustomHeaderObservation) DeepCopy() *AuthCustomHeaderObservation { + if in == nil { + return nil + } + out := new(AuthCustomHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthCustomHeaderParameters) DeepCopyInto(out *AuthCustomHeaderParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderParameters. +func (in *AuthCustomHeaderParameters) DeepCopy() *AuthCustomHeaderParameters { + if in == nil { + return nil + } + out := new(AuthCustomHeaderParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthTokenInitParameters) DeepCopyInto(out *AuthTokenInitParameters) { *out = *in @@ -462,6 +523,13 @@ func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AuthCustomHeader != nil { + in, out := &in.AuthCustomHeader, &out.AuthCustomHeader + *out = make([]AuthCustomHeaderInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.AuthToken != nil { in, out := &in.AuthToken, &out.AuthToken *out = make([]AuthTokenInitParameters, len(*in)) @@ -481,6 +549,13 @@ func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecureURL != nil { + in, out := &in.SecureURL, &out.SecureURL + *out = make([]SecureURLInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -550,6 +625,13 @@ func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AuthCustomHeader != nil { + in, out := &in.AuthCustomHeader, &out.AuthCustomHeader + *out = make([]AuthCustomHeaderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.AuthToken != nil { in, out := &in.AuthToken, &out.AuthToken *out = make([]AuthTokenObservation, len(*in)) @@ -557,6 +639,11 @@ func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.GUID != nil { + in, out := &in.GUID, &out.GUID + *out = new(string) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) @@ -579,6 +666,13 @@ func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecureURL != nil { + in, out := &in.SecureURL, &out.SecureURL + *out = make([]SecureURLObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Status != nil { in, out := &in.Status, &out.Status *out = new(string) @@ -621,6 +715,13 @@ func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.AuthCustomHeader != nil { + in, out := &in.AuthCustomHeader, &out.AuthCustomHeader + *out = make([]AuthCustomHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.AuthToken != nil { in, out := &in.AuthToken, &out.AuthToken *out = make([]AuthTokenParameters, len(*in)) @@ -640,6 +741,13 @@ func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecureURL != nil { + in, out := &in.SecureURL, &out.SecureURL + *out = make([]SecureURLParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) @@ -1123,3 +1231,64 @@ func (in *PropertyParameters) DeepCopy() *PropertyParameters { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecureURLInitParameters) DeepCopyInto(out *SecureURLInitParameters) { + *out = *in + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLInitParameters. +func (in *SecureURLInitParameters) DeepCopy() *SecureURLInitParameters { + if in == nil { + return nil + } + out := new(SecureURLInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecureURLObservation) DeepCopyInto(out *SecureURLObservation) { + *out = *in + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLObservation. +func (in *SecureURLObservation) DeepCopy() *SecureURLObservation { + if in == nil { + return nil + } + out := new(SecureURLObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecureURLParameters) DeepCopyInto(out *SecureURLParameters) { + *out = *in + if in.Prefix != nil { + in, out := &in.Prefix, &out.Prefix + *out = new(string) + **out = **in + } + out.SecureSuffixSecretRef = in.SecureSuffixSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLParameters. +func (in *SecureURLParameters) DeepCopy() *SecureURLParameters { + if in == nil { + return nil + } + out := new(SecureURLParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/alert/v1alpha1/zz_generated_terraformed.go b/apis/alert/v1alpha1/zz_generated_terraformed.go deleted file mode 100755 index 50cb710..0000000 --- a/apis/alert/v1alpha1/zz_generated_terraformed.go +++ /dev/null @@ -1,361 +0,0 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - -/* -Copyright 2024 Upbound Inc. -*/ - -// Code generated by upjet. DO NOT EDIT. - -package v1alpha1 - -import ( - "dario.cat/mergo" - "github.com/pkg/errors" - - "github.com/crossplane/upjet/pkg/resource" - "github.com/crossplane/upjet/pkg/resource/json" -) - -// GetTerraformResourceType returns Terraform resource type for this Policy -func (mg *Policy) GetTerraformResourceType() string { - return "newrelic_alert_policy" -} - -// GetConnectionDetailsMapping for this Policy -func (tr *Policy) GetConnectionDetailsMapping() map[string]string { - return nil -} - -// GetObservation of this Policy -func (tr *Policy) GetObservation() (map[string]any, error) { - o, err := json.TFParser.Marshal(tr.Status.AtProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(o, &base) -} - -// SetObservation for this Policy -func (tr *Policy) SetObservation(obs map[string]any) error { - p, err := json.TFParser.Marshal(obs) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) -} - -// GetID returns ID of underlying Terraform resource of this Policy -func (tr *Policy) GetID() string { - if tr.Status.AtProvider.ID == nil { - return "" - } - return *tr.Status.AtProvider.ID -} - -// GetParameters of this Policy -func (tr *Policy) GetParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.ForProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// SetParameters for this Policy -func (tr *Policy) SetParameters(params map[string]any) error { - p, err := json.TFParser.Marshal(params) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) -} - -// GetInitParameters of this Policy -func (tr *Policy) GetInitParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.InitProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// GetInitParameters of this Policy -func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { - params, err := tr.GetParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) - } - if !shouldMergeInitProvider { - return params, nil - } - - initParams, err := tr.GetInitParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) - } - - // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the - // slices from the initProvider to forProvider. As it also sets - // overwrite to true, we need to set it back to false, we don't - // want to overwrite the forProvider fields with the initProvider - // fields. - err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { - c.Overwrite = false - }) - if err != nil { - return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) - } - - return params, nil -} - -// LateInitialize this Policy using its observed tfState. -// returns True if there are any spec changes for the resource. -func (tr *Policy) LateInitialize(attrs []byte) (bool, error) { - params := &PolicyParameters{} - if err := json.TFParser.Unmarshal(attrs, params); err != nil { - return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") - } - opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} - - li := resource.NewGenericLateInitializer(opts...) - return li.LateInitialize(&tr.Spec.ForProvider, params) -} - -// GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Policy) GetTerraformSchemaVersion() int { - return 0 -} - -// GetTerraformResourceType returns Terraform resource type for this Channel -func (mg *Channel) GetTerraformResourceType() string { - return "newrelic_notification_channel" -} - -// GetConnectionDetailsMapping for this Channel -func (tr *Channel) GetConnectionDetailsMapping() map[string]string { - return nil -} - -// GetObservation of this Channel -func (tr *Channel) GetObservation() (map[string]any, error) { - o, err := json.TFParser.Marshal(tr.Status.AtProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(o, &base) -} - -// SetObservation for this Channel -func (tr *Channel) SetObservation(obs map[string]any) error { - p, err := json.TFParser.Marshal(obs) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) -} - -// GetID returns ID of underlying Terraform resource of this Channel -func (tr *Channel) GetID() string { - if tr.Status.AtProvider.ID == nil { - return "" - } - return *tr.Status.AtProvider.ID -} - -// GetParameters of this Channel -func (tr *Channel) GetParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.ForProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// SetParameters for this Channel -func (tr *Channel) SetParameters(params map[string]any) error { - p, err := json.TFParser.Marshal(params) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) -} - -// GetInitParameters of this Channel -func (tr *Channel) GetInitParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.InitProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// GetInitParameters of this Channel -func (tr *Channel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { - params, err := tr.GetParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) - } - if !shouldMergeInitProvider { - return params, nil - } - - initParams, err := tr.GetInitParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) - } - - // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the - // slices from the initProvider to forProvider. As it also sets - // overwrite to true, we need to set it back to false, we don't - // want to overwrite the forProvider fields with the initProvider - // fields. - err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { - c.Overwrite = false - }) - if err != nil { - return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) - } - - return params, nil -} - -// LateInitialize this Channel using its observed tfState. -// returns True if there are any spec changes for the resource. -func (tr *Channel) LateInitialize(attrs []byte) (bool, error) { - params := &ChannelParameters{} - if err := json.TFParser.Unmarshal(attrs, params); err != nil { - return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") - } - opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} - - li := resource.NewGenericLateInitializer(opts...) - return li.LateInitialize(&tr.Spec.ForProvider, params) -} - -// GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Channel) GetTerraformSchemaVersion() int { - return 0 -} - -// GetTerraformResourceType returns Terraform resource type for this Destination -func (mg *Destination) GetTerraformResourceType() string { - return "newrelic_notification_destination" -} - -// GetConnectionDetailsMapping for this Destination -func (tr *Destination) GetConnectionDetailsMapping() map[string]string { - return map[string]string{"auth_basic[*].password": "spec.forProvider.authBasic[*].passwordSecretRef", "auth_token[*].token": "spec.forProvider.authToken[*].tokenSecretRef"} -} - -// GetObservation of this Destination -func (tr *Destination) GetObservation() (map[string]any, error) { - o, err := json.TFParser.Marshal(tr.Status.AtProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(o, &base) -} - -// SetObservation for this Destination -func (tr *Destination) SetObservation(obs map[string]any) error { - p, err := json.TFParser.Marshal(obs) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) -} - -// GetID returns ID of underlying Terraform resource of this Destination -func (tr *Destination) GetID() string { - if tr.Status.AtProvider.ID == nil { - return "" - } - return *tr.Status.AtProvider.ID -} - -// GetParameters of this Destination -func (tr *Destination) GetParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.ForProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// SetParameters for this Destination -func (tr *Destination) SetParameters(params map[string]any) error { - p, err := json.TFParser.Marshal(params) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) -} - -// GetInitParameters of this Destination -func (tr *Destination) GetInitParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.InitProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// GetInitParameters of this Destination -func (tr *Destination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { - params, err := tr.GetParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) - } - if !shouldMergeInitProvider { - return params, nil - } - - initParams, err := tr.GetInitParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) - } - - // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the - // slices from the initProvider to forProvider. As it also sets - // overwrite to true, we need to set it back to false, we don't - // want to overwrite the forProvider fields with the initProvider - // fields. - err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { - c.Overwrite = false - }) - if err != nil { - return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) - } - - return params, nil -} - -// LateInitialize this Destination using its observed tfState. -// returns True if there are any spec changes for the resource. -func (tr *Destination) LateInitialize(attrs []byte) (bool, error) { - params := &DestinationParameters{} - if err := json.TFParser.Unmarshal(attrs, params); err != nil { - return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") - } - opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} - - li := resource.NewGenericLateInitializer(opts...) - return li.LateInitialize(&tr.Spec.ForProvider, params) -} - -// GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Destination) GetTerraformSchemaVersion() int { - return 1 -} diff --git a/apis/alert/v1alpha1/zz_groupversion_info.go b/apis/alert/v1alpha1/zz_groupversion_info.go index 3a6de03..a80158e 100755 --- a/apis/alert/v1alpha1/zz_groupversion_info.go +++ b/apis/alert/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/alert/v1alpha1/zz_policy_terraformed.go b/apis/alert/v1alpha1/zz_policy_terraformed.go new file mode 100644 index 0000000..8c76695 --- /dev/null +++ b/apis/alert/v1alpha1/zz_policy_terraformed.go @@ -0,0 +1,129 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Policy +func (mg *Policy) GetTerraformResourceType() string { + return "newrelic_alert_policy" +} + +// GetConnectionDetailsMapping for this Policy +func (tr *Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Policy +func (tr *Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Policy +func (tr *Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Policy +func (tr *Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Policy +func (tr *Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Policy +func (tr *Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Policy +func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Policy) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Policy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/alert/v1alpha1/zz_policy_types.go b/apis/alert/v1alpha1/zz_policy_types.go index c69756a..8d76b0a 100755 --- a/apis/alert/v1alpha1/zz_policy_types.go +++ b/apis/alert/v1alpha1/zz_policy_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -27,7 +23,7 @@ type PolicyInitParameters struct { // An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. ChannelIds []*float64 `json:"channelIds,omitempty" tf:"channel_ids,omitempty"` - // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. + // The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. IncidentPreference *string `json:"incidentPreference,omitempty" tf:"incident_preference,omitempty"` @@ -49,7 +45,7 @@ type PolicyObservation struct { // The ID of the policy. ID *string `json:"id,omitempty" tf:"id,omitempty"` - // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. + // The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. IncidentPreference *string `json:"incidentPreference,omitempty" tf:"incident_preference,omitempty"` @@ -70,7 +66,7 @@ type PolicyParameters struct { // +kubebuilder:validation:Optional ChannelIds []*float64 `json:"channelIds,omitempty" tf:"channel_ids,omitempty"` - // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. + // The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. // +kubebuilder:validation:Optional IncidentPreference *string `json:"incidentPreference,omitempty" tf:"incident_preference,omitempty"` @@ -105,13 +101,14 @@ type PolicyStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // Policy is the Schema for the Policys API. Create and manage alert policies in New Relic. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type Policy struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/dashboard/v1alpha1/zz_dashboard_terraformed.go b/apis/dashboard/v1alpha1/zz_dashboard_terraformed.go new file mode 100644 index 0000000..7557563 --- /dev/null +++ b/apis/dashboard/v1alpha1/zz_dashboard_terraformed.go @@ -0,0 +1,129 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Dashboard +func (mg *Dashboard) GetTerraformResourceType() string { + return "newrelic_one_dashboard" +} + +// GetConnectionDetailsMapping for this Dashboard +func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Dashboard +func (tr *Dashboard) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Dashboard +func (tr *Dashboard) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Dashboard +func (tr *Dashboard) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Dashboard +func (tr *Dashboard) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Dashboard +func (tr *Dashboard) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Dashboard +func (tr *Dashboard) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Dashboard +func (tr *Dashboard) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Dashboard using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error) { + params := &DashboardParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Dashboard) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dashboard/v1alpha1/zz_dashboard_types.go b/apis/dashboard/v1alpha1/zz_dashboard_types.go index 2b74d85..2b7a5a9 100755 --- a/apis/dashboard/v1alpha1/zz_dashboard_types.go +++ b/apis/dashboard/v1alpha1/zz_dashboard_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -309,6 +305,28 @@ type NullValuesSeriesOverridesParameters struct { SeriesName *string `json:"seriesName,omitempty" tf:"series_name,omitempty"` } +type OptionsInitParameters struct { + + // With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + // Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + IgnoreTimeRange *bool `json:"ignoreTimeRange,omitempty" tf:"ignore_time_range,omitempty"` +} + +type OptionsObservation struct { + + // With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + // Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + IgnoreTimeRange *bool `json:"ignoreTimeRange,omitempty" tf:"ignore_time_range,omitempty"` +} + +type OptionsParameters struct { + + // With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + // Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + // +kubebuilder:validation:Optional + IgnoreTimeRange *bool `json:"ignoreTimeRange,omitempty" tf:"ignore_time_range,omitempty"` +} + type PageInitParameters struct { // Brief text describing the page. @@ -651,6 +669,10 @@ type VariableInitParameters struct { // Configuration for variables of type NRQL. NrqlQuery []VariableNrqlQueryInitParameters `json:"nrqlQuery,omitempty" tf:"nrql_query,omitempty"` + // Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + // Options applied to the variable. + Options []OptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"` + // Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. // Indicates the strategy to apply when replacing a variable in a NRQL query. ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"` @@ -718,6 +740,10 @@ type VariableObservation struct { // Configuration for variables of type NRQL. NrqlQuery []VariableNrqlQueryObservation `json:"nrqlQuery,omitempty" tf:"nrql_query,omitempty"` + // Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + // Options applied to the variable. + Options []OptionsObservation `json:"options,omitempty" tf:"options,omitempty"` + // Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. // Indicates the strategy to apply when replacing a variable in a NRQL query. ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"` @@ -758,6 +784,11 @@ type VariableParameters struct { // +kubebuilder:validation:Optional NrqlQuery []VariableNrqlQueryParameters `json:"nrqlQuery,omitempty" tf:"nrql_query,omitempty"` + // Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + // Options applied to the variable. + // +kubebuilder:validation:Optional + Options []OptionsParameters `json:"options,omitempty" tf:"options,omitempty"` + // Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. // Indicates the strategy to apply when replacing a variable in a NRQL query. // +kubebuilder:validation:Optional @@ -5963,13 +5994,14 @@ type DashboardStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // Dashboard is the Schema for the Dashboards API. Create and manage dashboards in New Relic One. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type Dashboard struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/dashboard/v1alpha1/zz_generated_terraformed.go b/apis/dashboard/v1alpha1/zz_dashboardjson_terraformed.go old mode 100755 new mode 100644 similarity index 51% rename from apis/dashboard/v1alpha1/zz_generated_terraformed.go rename to apis/dashboard/v1alpha1/zz_dashboardjson_terraformed.go index 60d73db..bd8cc14 --- a/apis/dashboard/v1alpha1/zz_generated_terraformed.go +++ b/apis/dashboard/v1alpha1/zz_dashboardjson_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,120 +14,6 @@ import ( "github.com/crossplane/upjet/pkg/resource/json" ) -// GetTerraformResourceType returns Terraform resource type for this Dashboard -func (mg *Dashboard) GetTerraformResourceType() string { - return "newrelic_one_dashboard" -} - -// GetConnectionDetailsMapping for this Dashboard -func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string { - return nil -} - -// GetObservation of this Dashboard -func (tr *Dashboard) GetObservation() (map[string]any, error) { - o, err := json.TFParser.Marshal(tr.Status.AtProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(o, &base) -} - -// SetObservation for this Dashboard -func (tr *Dashboard) SetObservation(obs map[string]any) error { - p, err := json.TFParser.Marshal(obs) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) -} - -// GetID returns ID of underlying Terraform resource of this Dashboard -func (tr *Dashboard) GetID() string { - if tr.Status.AtProvider.ID == nil { - return "" - } - return *tr.Status.AtProvider.ID -} - -// GetParameters of this Dashboard -func (tr *Dashboard) GetParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.ForProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// SetParameters for this Dashboard -func (tr *Dashboard) SetParameters(params map[string]any) error { - p, err := json.TFParser.Marshal(params) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) -} - -// GetInitParameters of this Dashboard -func (tr *Dashboard) GetInitParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.InitProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// GetInitParameters of this Dashboard -func (tr *Dashboard) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { - params, err := tr.GetParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) - } - if !shouldMergeInitProvider { - return params, nil - } - - initParams, err := tr.GetInitParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) - } - - // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the - // slices from the initProvider to forProvider. As it also sets - // overwrite to true, we need to set it back to false, we don't - // want to overwrite the forProvider fields with the initProvider - // fields. - err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { - c.Overwrite = false - }) - if err != nil { - return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) - } - - return params, nil -} - -// LateInitialize this Dashboard using its observed tfState. -// returns True if there are any spec changes for the resource. -func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error) { - params := &DashboardParameters{} - if err := json.TFParser.Unmarshal(attrs, params); err != nil { - return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") - } - opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} - - li := resource.NewGenericLateInitializer(opts...) - return li.LateInitialize(&tr.Spec.ForProvider, params) -} - -// GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Dashboard) GetTerraformSchemaVersion() int { - return 0 -} - // GetTerraformResourceType returns Terraform resource type for this DashboardJSON func (mg *DashboardJSON) GetTerraformResourceType() string { return "newrelic_one_dashboard_json" diff --git a/apis/dashboard/v1alpha1/zz_dashboardjson_types.go b/apis/dashboard/v1alpha1/zz_dashboardjson_types.go index 9c597a2..99148c1 100755 --- a/apis/dashboard/v1alpha1/zz_dashboardjson_types.go +++ b/apis/dashboard/v1alpha1/zz_dashboardjson_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -90,13 +86,14 @@ type DashboardJSONStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // DashboardJSON is the Schema for the DashboardJSONs API. Create and manage dashboards from a JSON file. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type DashboardJSON struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go b/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go new file mode 100644 index 0000000..dc4bed8 --- /dev/null +++ b/apis/dashboard/v1alpha1/zz_generated.conversion_hubs.go @@ -0,0 +1,13 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +// Hub marks this type as a conversion hub. +func (tr *Dashboard) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *DashboardJSON) Hub() {} diff --git a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go index 9ed606b..61aa429 100644 --- a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go +++ b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go @@ -919,6 +919,66 @@ func (in *NullValuesSeriesOverridesParameters) DeepCopy() *NullValuesSeriesOverr return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters) { + *out = *in + if in.IgnoreTimeRange != nil { + in, out := &in.IgnoreTimeRange, &out.IgnoreTimeRange + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsInitParameters. +func (in *OptionsInitParameters) DeepCopy() *OptionsInitParameters { + if in == nil { + return nil + } + out := new(OptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation) { + *out = *in + if in.IgnoreTimeRange != nil { + in, out := &in.IgnoreTimeRange, &out.IgnoreTimeRange + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsObservation. +func (in *OptionsObservation) DeepCopy() *OptionsObservation { + if in == nil { + return nil + } + out := new(OptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters) { + *out = *in + if in.IgnoreTimeRange != nil { + in, out := &in.IgnoreTimeRange, &out.IgnoreTimeRange + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsParameters. +func (in *OptionsParameters) DeepCopy() *OptionsParameters { + if in == nil { + return nil + } + out := new(OptionsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PageInitParameters) DeepCopyInto(out *PageInitParameters) { *out = *in @@ -1562,6 +1622,13 @@ func (in *VariableInitParameters) DeepCopyInto(out *VariableInitParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Options != nil { + in, out := &in.Options, &out.Options + *out = make([]OptionsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.ReplacementStrategy != nil { in, out := &in.ReplacementStrategy, &out.ReplacementStrategy *out = new(string) @@ -1720,6 +1787,13 @@ func (in *VariableObservation) DeepCopyInto(out *VariableObservation) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Options != nil { + in, out := &in.Options, &out.Options + *out = make([]OptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.ReplacementStrategy != nil { in, out := &in.ReplacementStrategy, &out.ReplacementStrategy *out = new(string) @@ -1785,6 +1859,13 @@ func (in *VariableParameters) DeepCopyInto(out *VariableParameters) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Options != nil { + in, out := &in.Options, &out.Options + *out = make([]OptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.ReplacementStrategy != nil { in, out := &in.ReplacementStrategy, &out.ReplacementStrategy *out = new(string) diff --git a/apis/dashboard/v1alpha1/zz_groupversion_info.go b/apis/dashboard/v1alpha1/zz_groupversion_info.go index ce9f209..107412b 100755 --- a/apis/dashboard/v1alpha1/zz_groupversion_info.go +++ b/apis/dashboard/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/log/v1alpha1/zz_generated.conversion_hubs.go b/apis/log/v1alpha1/zz_generated.conversion_hubs.go new file mode 100644 index 0000000..076b22f --- /dev/null +++ b/apis/log/v1alpha1/zz_generated.conversion_hubs.go @@ -0,0 +1,10 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +// Hub marks this type as a conversion hub. +func (tr *ParsingRule) Hub() {} diff --git a/apis/log/v1alpha1/zz_groupversion_info.go b/apis/log/v1alpha1/zz_groupversion_info.go index 3d441c6..f5dead0 100755 --- a/apis/log/v1alpha1/zz_groupversion_info.go +++ b/apis/log/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/log/v1alpha1/zz_generated_terraformed.go b/apis/log/v1alpha1/zz_parsingrule_terraformed.go old mode 100755 new mode 100644 similarity index 96% rename from apis/log/v1alpha1/zz_generated_terraformed.go rename to apis/log/v1alpha1/zz_parsingrule_terraformed.go index 2c7e7d7..f4c6747 --- a/apis/log/v1alpha1/zz_generated_terraformed.go +++ b/apis/log/v1alpha1/zz_parsingrule_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/log/v1alpha1/zz_parsingrule_types.go b/apis/log/v1alpha1/zz_parsingrule_types.go index c6e8ca4..ab4395d 100755 --- a/apis/log/v1alpha1/zz_parsingrule_types.go +++ b/apis/log/v1alpha1/zz_parsingrule_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -157,13 +153,14 @@ type ParsingRuleStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // ParsingRule is the Schema for the ParsingRules API. Create and manage Log Parsing Rule. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type ParsingRule struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/nrql/v1alpha1/zz_generated_terraformed.go b/apis/nrql/v1alpha1/zz_alertcondition_terraformed.go old mode 100755 new mode 100644 similarity index 51% rename from apis/nrql/v1alpha1/zz_generated_terraformed.go rename to apis/nrql/v1alpha1/zz_alertcondition_terraformed.go index de77708..76a2e18 --- a/apis/nrql/v1alpha1/zz_generated_terraformed.go +++ b/apis/nrql/v1alpha1/zz_alertcondition_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -131,117 +127,3 @@ func (tr *AlertCondition) LateInitialize(attrs []byte) (bool, error) { func (tr *AlertCondition) GetTerraformSchemaVersion() int { return 0 } - -// GetTerraformResourceType returns Terraform resource type for this DropRule -func (mg *DropRule) GetTerraformResourceType() string { - return "newrelic_nrql_drop_rule" -} - -// GetConnectionDetailsMapping for this DropRule -func (tr *DropRule) GetConnectionDetailsMapping() map[string]string { - return nil -} - -// GetObservation of this DropRule -func (tr *DropRule) GetObservation() (map[string]any, error) { - o, err := json.TFParser.Marshal(tr.Status.AtProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(o, &base) -} - -// SetObservation for this DropRule -func (tr *DropRule) SetObservation(obs map[string]any) error { - p, err := json.TFParser.Marshal(obs) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) -} - -// GetID returns ID of underlying Terraform resource of this DropRule -func (tr *DropRule) GetID() string { - if tr.Status.AtProvider.ID == nil { - return "" - } - return *tr.Status.AtProvider.ID -} - -// GetParameters of this DropRule -func (tr *DropRule) GetParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.ForProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// SetParameters for this DropRule -func (tr *DropRule) SetParameters(params map[string]any) error { - p, err := json.TFParser.Marshal(params) - if err != nil { - return err - } - return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) -} - -// GetInitParameters of this DropRule -func (tr *DropRule) GetInitParameters() (map[string]any, error) { - p, err := json.TFParser.Marshal(tr.Spec.InitProvider) - if err != nil { - return nil, err - } - base := map[string]any{} - return base, json.TFParser.Unmarshal(p, &base) -} - -// GetInitParameters of this DropRule -func (tr *DropRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { - params, err := tr.GetParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) - } - if !shouldMergeInitProvider { - return params, nil - } - - initParams, err := tr.GetInitParameters() - if err != nil { - return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) - } - - // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the - // slices from the initProvider to forProvider. As it also sets - // overwrite to true, we need to set it back to false, we don't - // want to overwrite the forProvider fields with the initProvider - // fields. - err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { - c.Overwrite = false - }) - if err != nil { - return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) - } - - return params, nil -} - -// LateInitialize this DropRule using its observed tfState. -// returns True if there are any spec changes for the resource. -func (tr *DropRule) LateInitialize(attrs []byte) (bool, error) { - params := &DropRuleParameters{} - if err := json.TFParser.Unmarshal(attrs, params); err != nil { - return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") - } - opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} - - li := resource.NewGenericLateInitializer(opts...) - return li.LateInitialize(&tr.Spec.ForProvider, params) -} - -// GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *DropRule) GetTerraformSchemaVersion() int { - return 0 -} diff --git a/apis/nrql/v1alpha1/zz_alertcondition_types.go b/apis/nrql/v1alpha1/zz_alertcondition_types.go index a56fc5b..3e19058 100755 --- a/apis/nrql/v1alpha1/zz_alertcondition_types.go +++ b/apis/nrql/v1alpha1/zz_alertcondition_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -619,13 +615,14 @@ type AlertConditionStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // AlertCondition is the Schema for the AlertConditions API. Create and manage a NRQL alert condition for a policy in New Relic. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type AlertCondition struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/nrql/v1alpha1/zz_droprule_terraformed.go b/apis/nrql/v1alpha1/zz_droprule_terraformed.go new file mode 100644 index 0000000..986d7df --- /dev/null +++ b/apis/nrql/v1alpha1/zz_droprule_terraformed.go @@ -0,0 +1,129 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DropRule +func (mg *DropRule) GetTerraformResourceType() string { + return "newrelic_nrql_drop_rule" +} + +// GetConnectionDetailsMapping for this DropRule +func (tr *DropRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DropRule +func (tr *DropRule) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DropRule +func (tr *DropRule) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this DropRule +func (tr *DropRule) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this DropRule +func (tr *DropRule) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DropRule +func (tr *DropRule) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this DropRule +func (tr *DropRule) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this DropRule +func (tr *DropRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this DropRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DropRule) LateInitialize(attrs []byte) (bool, error) { + params := &DropRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DropRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/nrql/v1alpha1/zz_droprule_types.go b/apis/nrql/v1alpha1/zz_droprule_types.go index ceacfb2..ec87e24 100755 --- a/apis/nrql/v1alpha1/zz_droprule_types.go +++ b/apis/nrql/v1alpha1/zz_droprule_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -108,13 +104,14 @@ type DropRuleStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // DropRule is the Schema for the DropRules API. Create and manage NRQL Drop Rules. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type DropRule struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/nrql/v1alpha1/zz_generated.conversion_hubs.go b/apis/nrql/v1alpha1/zz_generated.conversion_hubs.go new file mode 100644 index 0000000..3b071b1 --- /dev/null +++ b/apis/nrql/v1alpha1/zz_generated.conversion_hubs.go @@ -0,0 +1,13 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +// Hub marks this type as a conversion hub. +func (tr *AlertCondition) Hub() {} + +// Hub marks this type as a conversion hub. +func (tr *DropRule) Hub() {} diff --git a/apis/nrql/v1alpha1/zz_groupversion_info.go b/apis/nrql/v1alpha1/zz_groupversion_info.go index f7eb851..a2131e3 100755 --- a/apis/nrql/v1alpha1/zz_groupversion_info.go +++ b/apis/nrql/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/workflow/v1alpha1/zz_generated.conversion_hubs.go b/apis/workflow/v1alpha1/zz_generated.conversion_hubs.go new file mode 100644 index 0000000..fe2fb07 --- /dev/null +++ b/apis/workflow/v1alpha1/zz_generated.conversion_hubs.go @@ -0,0 +1,10 @@ +/* +Copyright 2024 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +// Hub marks this type as a conversion hub. +func (tr *Workflow) Hub() {} diff --git a/apis/workflow/v1alpha1/zz_groupversion_info.go b/apis/workflow/v1alpha1/zz_groupversion_info.go index b2eaf9d..faf0b8c 100755 --- a/apis/workflow/v1alpha1/zz_groupversion_info.go +++ b/apis/workflow/v1alpha1/zz_groupversion_info.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/workflow/v1alpha1/zz_generated_terraformed.go b/apis/workflow/v1alpha1/zz_workflow_terraformed.go old mode 100755 new mode 100644 similarity index 96% rename from apis/workflow/v1alpha1/zz_generated_terraformed.go rename to apis/workflow/v1alpha1/zz_workflow_terraformed.go index a62980b..8e3e279 --- a/apis/workflow/v1alpha1/zz_generated_terraformed.go +++ b/apis/workflow/v1alpha1/zz_workflow_terraformed.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/apis/workflow/v1alpha1/zz_workflow_types.go b/apis/workflow/v1alpha1/zz_workflow_types.go index 7cd6e1a..a6b03c0 100755 --- a/apis/workflow/v1alpha1/zz_workflow_types.go +++ b/apis/workflow/v1alpha1/zz_workflow_types.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -433,13 +429,14 @@ type WorkflowStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion // Workflow is the Schema for the Workflows API. Create and manage a workflow in New Relic. -// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" // +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic} type Workflow struct { metav1.TypeMeta `json:",inline"` diff --git a/apis/zz_register.go b/apis/zz_register.go index 2777b3b..e9848d9 100755 --- a/apis/zz_register.go +++ b/apis/zz_register.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ diff --git a/config/provider-metadata.yaml b/config/provider-metadata.yaml index 09d5d91..f4913e4 100644 --- a/config/provider-metadata.yaml +++ b/config/provider-metadata.yaml @@ -384,10 +384,13 @@ resources: "name": "example-with-channels" } argumentDocs: + PER_CONDITION: '- This sets the incident grouping preference of the policy to One issue per condition. Refer to this page for more details on this incident grouping preference.' + PER_CONDITION_AND_TARGET: '- This sets the incident grouping preference of the policy to One issue per condition and signal. Refer to this page for more details on this incident grouping preference.' + PER_POLICY: '- This sets the incident grouping preference of the policy to One issue per policy. Refer to this page for more details on this incident grouping preference.' account_id: '- (Optional) The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID.' channel_ids: '- (Optional) DEPRECATED The channel_ids argument is deprecated and will be removed in the next major release of the provider. An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import (see Import for info).' id: '- The ID of the policy.' - incident_preference: '- (Optional) The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.' + incident_preference: '- (Optional) The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY):' name: '- (Required) The name of the policy.' importStatements: [] newrelic_alert_policy_channel: @@ -486,11 +489,13 @@ resources: "name": "example-browser-app" } argumentDocs: - account_id: '- (Optional) The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable NEW_RELIC_ACCOUNT_ID.' - cookies_enabled: '- (Optional) Configure cookies. The default is enabled: true.' - distributed_tracing_enabled: '- (Optional) Configure distributed tracing in browser apps. The default is enabled: true.' + account_id: '- (Optional) The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable NEW_RELIC_ACCOUNT_ID if not specified.' + application_id: '- The application ID of the browser application (not to be confused with GUID).' + cookies_enabled: '- (Optional) Configures cookies. Defaults to true, if not specified.' + distributed_tracing_enabled: '- (Optional) Configures distributed tracing in browser apps. Defaults to true, if not specified.' id: '- The GUID of the browser application.' - loader_type: '- (Optional) Determines which browser loader is configured. Valid values are SPA, PRO, and LITE. The default is SPA. See the browser agent loader documentation for a for information on the valid loader types.' + js_config: '- The JavaScript configuration of the browser application, encoded into a string.' + loader_type: '- (Optional) Determines the browser loader configured. Valid values are SPA, PRO, and LITE. The default is SPA. Refer to the browser agent loader documentation for more information on valid loader types.' name: '- (Required) The name of the browser application.' importStatements: [] newrelic_cloud_aws_govcloud_integrations: @@ -819,7 +824,7 @@ resources: "load_balancer_prefixes": [ "load balancer prefix" ], - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -829,7 +834,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "stage_prefixes": [ "stage prefix" ], @@ -842,7 +847,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_app_sync": [ @@ -850,7 +855,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_athena": [ @@ -858,7 +863,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_cognito": [ @@ -866,7 +871,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_connect": [ @@ -874,7 +879,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_direct_connect": [ @@ -882,7 +887,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_fsx": [ @@ -890,7 +895,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_glue": [ @@ -898,7 +903,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_kinesis_analytics": [ @@ -906,7 +911,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_media_convert": [ @@ -914,7 +919,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_media_package_vod": [ @@ -922,7 +927,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_mq": [ @@ -930,7 +935,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_msk": [ @@ -938,7 +943,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_neptune": [ @@ -946,7 +951,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_qldb": [ @@ -954,7 +959,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_route53resolver": [ @@ -962,7 +967,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_states": [ @@ -970,7 +975,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_transit_gateway": [ @@ -978,7 +983,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_waf": [ @@ -986,7 +991,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "aws_wafv2": [ @@ -994,17 +999,19 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "billing": [ - {} + { + "metrics_polling_interval": 3600 + } ], "cloudfront": [ { "fetch_lambdas_at_edge": true, "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1015,12 +1022,12 @@ resources: "us-east-1", "us-east-2" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "doc_db": [ { - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "dynamodb": [ @@ -1030,7 +1037,7 @@ resources: ], "fetch_extended_inventory": true, "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1041,7 +1048,7 @@ resources: "us-east-1" ], "fetch_extended_inventory": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 900, "tag_key": "tag key", "tag_value": "tag value" } @@ -1053,7 +1060,7 @@ resources: ], "duplicate_ec2_tags": true, "fetch_ip_addresses": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1064,7 +1071,7 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1075,7 +1082,7 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1086,7 +1093,7 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1098,7 +1105,7 @@ resources: ], "fetch_extended_inventory": true, "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1109,7 +1116,7 @@ resources: "us-east-1" ], "fetch_nodes": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1121,7 +1128,7 @@ resources: ], "fetch_extended_inventory": true, "fetch_tags": true, - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "emr": [ @@ -1130,19 +1137,19 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } ], "health": [ { - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "iam": [ { - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1152,7 +1159,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "kinesis": [ @@ -1162,7 +1169,7 @@ resources: ], "fetch_shards": true, "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 900, "tag_key": "tag key", "tag_value": "tag value" } @@ -1172,7 +1179,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "lambda": [ @@ -1181,7 +1188,7 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1193,7 +1200,7 @@ resources: "us-east-1" ], "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1203,7 +1210,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "tag_key": "tag key", "tag_value": "tag value" } @@ -1211,12 +1218,12 @@ resources: "route53": [ { "fetch_extended_inventory": true, - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "s3": [ { - "metrics_polling_interval": 6000 + "metrics_polling_interval": 3600 } ], "ses": [ @@ -1224,7 +1231,7 @@ resources: "aws_regions": [ "us-east-1" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "sns": [ @@ -1233,7 +1240,7 @@ resources: "us-east-1" ], "fetch_extended_inventory": true, - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ], "sqs": [ @@ -1243,7 +1250,7 @@ resources: ], "fetch_extended_inventory": true, "fetch_tags": true, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 300, "queue_prefixes": [ "queue prefix" ], @@ -1253,7 +1260,7 @@ resources: ], "trusted_advisor": [ { - "metrics_polling_interval": 6000 + "metrics_polling_interval": 3600 } ], "vpc": [ @@ -1264,7 +1271,7 @@ resources: ], "fetch_nat_gateway": true, "fetch_vpn": false, - "metrics_polling_interval": 6000, + "metrics_polling_interval": 900, "tag_key": "tag key", "tag_value": "tag value" } @@ -1275,7 +1282,7 @@ resources: "us-east-1", "us-east-2" ], - "metrics_polling_interval": 6000 + "metrics_polling_interval": 300 } ] } @@ -1295,6 +1302,58 @@ resources: integration.auto_scaling: ',aws_app_sync,aws_athena,aws_cognito,aws_connect,aws_direct_connect,aws_fsx,aws_glue,aws_kinesis_analytics,aws_media_convert,aws_media_package_vod,aws_mq,aws_msk,aws_neptune,aws_qldb,aws_route53resolver,aws_states,aws_transit_gateway,aws_waf,aws_wafv2,iot,kinesis_firehose and ses.' integration.metrics_polling_interval: '- (Optional) The data polling interval in seconds.' linked_account_id: '- (Required) The ID of the linked AWS account in New Relic.' + metrics_polling_interval.alb: '- (Optional) AWS ALB. See Integration blocks below for details.' + metrics_polling_interval.api_gateway: '- (Optional) AWS API Gateway. See Integration blocks below for details.' + metrics_polling_interval.auto_scaling: '- (Optional) AWS Auto Scaling. See Integration blocks below for details.' + metrics_polling_interval.aws_app_sync: '- (Optional) AWS AppSync. See Integration blocks below for details.' + metrics_polling_interval.aws_athena: '- (Optional) AWS Athena. See Integration blocks below for details.' + metrics_polling_interval.aws_cognito: '- (Optional) AWS Cognito. See Integration blocks below for details.' + metrics_polling_interval.aws_connect: '- (Optional) AWS Connect. See Integration blocks below for details.' + metrics_polling_interval.aws_direct_connect: '- (Optional) AWS Direct Connect. See Integration blocks below for details.' + metrics_polling_interval.aws_fsx: '- (Optional) AWS FSx. See Integration blocks below for details.' + metrics_polling_interval.aws_glue: '- (Optional) AWS Glue. See Integration blocks below for details.' + metrics_polling_interval.aws_kinesis_analytics: '- (Optional) AWS Kinesis Data Analytics. See Integration blocks below for details.' + metrics_polling_interval.aws_media_convert: '- (Optional) AWS Media Convert. See Integration blocks below for details.' + metrics_polling_interval.aws_media_package_vod: '- (Optional) AWS MediaPackage VOD. See Integration blocks below for details.' + metrics_polling_interval.aws_mq: '- (Optional) AWS MQ. See Integration blocks below for details.' + metrics_polling_interval.aws_msk: '- (Optional) Amazon Managed Kafka (MSK). See Integration blocks below for details.' + metrics_polling_interval.aws_neptune: '- (Optional) AWS Neptune. See Integration blocks below for details.' + metrics_polling_interval.aws_qldb: '- (Optional) Amazon QLDB. See Integration blocks below for details.' + metrics_polling_interval.aws_route53resolver: '- (Optional) AWS Route53 Resolver. See Integration blocks below for details.' + metrics_polling_interval.aws_transit_gateway: '- (Optional) Amazon Transit Gateway. See Integration blocks below for details.' + metrics_polling_interval.aws_waf: '- (Optional) AWS WAF. See Integration blocks below for details.' + metrics_polling_interval.aws_wafv2: '- (Optional) AWS WAF V2. See Integration blocks below for details.' + metrics_polling_interval.billing: '- (Optional) AWS Billing. See Integration blocks below for details.' + metrics_polling_interval.cloudfront: '- (Optional) AWS CloudFront. See Integration blocks below for details.' + metrics_polling_interval.cloudtrail: '- (Optional) AWS CloudTrail. See Integration blocks below for details.' + metrics_polling_interval.doc_db: '- (Optional) AWS DocumentDB. See Integration blocks below for details.' + metrics_polling_interval.dynamodb: '- (Optional) Amazon DynamoDB. See Integration blocks below for details.' + metrics_polling_interval.ebs: '- (Optional) Amazon EBS. See Integration blocks below for details.' + metrics_polling_interval.ec2: '- (Optional) Amazon EC2. See Integration blocks below for details.' + metrics_polling_interval.ecs: '- (Optional) Amazon ECS. See Integration blocks below for details.' + metrics_polling_interval.efs: '- (Optional) Amazon EFS. See Integration blocks below for details.' + metrics_polling_interval.elasticache: '- (Optional) AWS ElastiCache. See Integration blocks below for details.' + metrics_polling_interval.elasticbeanstalk: '- (Optional) AWS Elastic Beanstalk. See Integration blocks below for details.' + metrics_polling_interval.elasticsearch: '- (Optional) AWS ElasticSearch. See Integration blocks below for details.' + metrics_polling_interval.elb: '- (Optional) AWS ELB (Classic). See Integration blocks below for details.' + metrics_polling_interval.emr: '- (Optional) AWS EMR. See Integration blocks below for details.' + metrics_polling_interval.health: '- (Optional) AWS Health. See Integration blocks below for details.' + metrics_polling_interval.iam: '- (Optional) AWS IAM. See Integration blocks below for details.' + metrics_polling_interval.iot: '- (Optional) AWS IoT. See Integration blocks below for details.' + metrics_polling_interval.kinesis: '- (Optional) AWS Kinesis. See Integration blocks below for details.' + metrics_polling_interval.kinesis_firehose: '- (Optional) Amazon Kinesis Data Firehose. See Integration blocks below for details.' + metrics_polling_interval.lambda: '- (Optional) AWS Lambda. See Integration blocks below for details.' + metrics_polling_interval.rds: '- (Optional) Amazon RDS. See Integration blocks below for details.' + metrics_polling_interval.redshift: '- (Optional) Amazon Redshift. See Integration blocks below for details.' + metrics_polling_interval.route53: '- (Optional) Amazon Route 53. See Integration blocks below for details.' + metrics_polling_interval.s3: '- (Optional) Amazon S3. See Integration blocks below for details.' + metrics_polling_interval.ses: '- (Optional) Amazon SES. See Integration blocks below for details.' + metrics_polling_interval.sns: '- (Optional) AWS SNS. See Integration blocks below for details.' + metrics_polling_interval.sqs: '- (Optional) AWS SQS. See Integration blocks below for details.' + metrics_polling_interval.trusted_advisor: '- (Optional) AWS Trusted Advisor. See Integration blocks below for details.' + metrics_polling_interval.x_ray: |- + - (Optional) AWS X-Ray. See Integration blocks below for details. + x importStatements: [] newrelic_cloud_aws_link_account: subCategory: "" @@ -1328,7 +1387,7 @@ resources: "account_id": "The New Relic account ID", "api_management": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1336,7 +1395,7 @@ resources: ], "app_gateway": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1344,7 +1403,7 @@ resources: ], "app_service": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1352,7 +1411,7 @@ resources: ], "containers": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1360,7 +1419,7 @@ resources: ], "cosmos_db": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1376,7 +1435,7 @@ resources: ], "data_factory": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1384,7 +1443,7 @@ resources: ], "event_hub": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1392,7 +1451,7 @@ resources: ], "express_route": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1400,7 +1459,7 @@ resources: ], "firewalls": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1408,7 +1467,7 @@ resources: ], "front_door": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1416,7 +1475,7 @@ resources: ], "functions": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1424,7 +1483,7 @@ resources: ], "key_vault": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1433,7 +1492,7 @@ resources: "linked_account_id": "${newrelic_cloud_azure_link_account.foo.id}", "load_balancer": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1441,7 +1500,7 @@ resources: ], "logic_apps": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1449,7 +1508,7 @@ resources: ], "machine_learning": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1457,7 +1516,7 @@ resources: ], "maria_db": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 3600, "resource_groups": [ "resource_groups" ] @@ -1473,7 +1532,7 @@ resources: "include_tags": [ "env:production" ], - "metrics_polling_interval": 1200, + "metrics_polling_interval": 60, "resource_groups": [ "resource_groups" ], @@ -1484,7 +1543,7 @@ resources: ], "mysql": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 3600, "resource_groups": [ "resource_groups" ] @@ -1492,7 +1551,7 @@ resources: ], "mysql_flexible": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 3600, "resource_groups": [ "resource_groups" ] @@ -1500,7 +1559,7 @@ resources: ], "postgresql": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 3600, "resource_groups": [ "resource_groups" ] @@ -1508,7 +1567,7 @@ resources: ], "postgresql_flexible": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 3600, "resource_groups": [ "resource_groups" ] @@ -1516,7 +1575,7 @@ resources: ], "power_bi_dedicated": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1524,7 +1583,7 @@ resources: ], "redis_cache": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1532,7 +1591,7 @@ resources: ], "service_bus": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1540,7 +1599,7 @@ resources: ], "sql": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1548,7 +1607,7 @@ resources: ], "sql_managed": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1556,7 +1615,7 @@ resources: ], "storage": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 1800, "resource_groups": [ "resource_groups" ] @@ -1564,7 +1623,7 @@ resources: ], "virtual_machine": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1572,7 +1631,7 @@ resources: ], "virtual_networks": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1580,7 +1639,7 @@ resources: ], "vms": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1588,7 +1647,7 @@ resources: ], "vpn_gateway": [ { - "metrics_polling_interval": 1200, + "metrics_polling_interval": 300, "resource_groups": [ "resource_groups" ] @@ -1609,47 +1668,47 @@ resources: } argumentDocs: account_id: '- (Optional) The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID.' - api_management: '- (Optional) Azure API Management. See Integration blocks below for details.' - app_gateway: '- (Optional) Azure App Gateway. See Integration blocks below for details.' - app_service: '- (Optional) Azure App Service. See Integration blocks below for details.' - containers: '- (Optional) Azure Containers. See Integration blocks below for details.' - cosmos_db: '- (Optional) Azure CosmosDB. See Integration blocks below for details.' - cost_management: '- (Optional) Azure Cost Management. See Integration blocks below for details.' - data_factory: '- (Optional) Azure Data Factory. See Integration blocks below for details.' enabled: '- (Optional) A boolean value, that specifies if the integration needs to be active. Defaults to ''true'' if not specified.' - event_hub: '- (Optional) Azure Event Hub. See Integration blocks below for details.' exclude_tags: '- (Optional) A list of resource tags associated with the resources that need to be excluded from monitoring.' - express_route: '- (Optional) Azure Express Route. See Integration blocks below for details.' - firewalls: '- (Optional) Azure Firewalls. See Integration blocks below for details.' - front_door: '- (Optional) Azure Front Door. See Integration blocks below for details.' - functions: '- (Optional) Azure Functions. See Integration blocks below for details.' id: '- The ID of the linked Azure account in New Relic.' include_tags: '- (Optional) A list of resource tags associated with the resources that need to be monitored, in a "key:value" format. If this is not specified, all resources will be monitored.' integration.metrics_polling_interval: '- (Optional) The data polling interval in seconds.' integration.resource_groups: '- (Optional) Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive' - key_vault: '- (Optional) Azure Key Vault. See Integration blocks below for details.' linked_account_id: '- (Required) The ID of the linked Azure account in New Relic.' - load_balancer: '- (Optional) Azure Load Balancer. See Integration blocks below for details.' - logic_apps: '- (Optional) Azure Logic Apps. See Integration blocks below for details.' - machine_learning: '- (Optional) Azure Machine Learning. See Integration blocks below for details.' - maria_db: '- (Optional) Azure MariaDB. See Integration blocks below for details.' - monitor: '- (Optional) Azure Monitor. See Integration blocks below for details.' - mysql: '- (Optional) Azure MySQL. See Integration blocks below for details.' - mysql_flexible: '- (Optional) Azure MySQL Flexible Server. See Integration blocks below for details.' - postgresql: '- (Optional) Azure PostgreSQL. See Integration blocks below for details.' - postgresql_flexible: '- (Optional) Azure PostgreSQL Flexible Server. See Integration blocks below for details.' - power_bi_dedicated: '- (Optional) Azure Power BI Dedicated. See Integration blocks below for details.' - redis_cache: '- (Optional) Azure Redis Cache. See Integration blocks below for details.' + metrics_polling_interval.api_management: '- (Optional) Azure API Management. See Integration blocks below for details.' + metrics_polling_interval.app_gateway: '- (Optional) Azure App Gateway. See Integration blocks below for details.' + metrics_polling_interval.app_service: '- (Optional) Azure App Service. See Integration blocks below for details.' + metrics_polling_interval.containers: '- (Optional) Azure Containers. See Integration blocks below for details.' + metrics_polling_interval.cosmos_db: '- (Optional) Azure CosmosDB. See Integration blocks below for details.' + metrics_polling_interval.cost_management: '- (Optional) Azure Cost Management. See Integration blocks below for details.' + metrics_polling_interval.data_factory: '- (Optional) Azure Data Factory. See Integration blocks below for details.' + metrics_polling_interval.event_hub: '- (Optional) Azure Event Hub. See Integration blocks below for details.' + metrics_polling_interval.express_route: '- (Optional) Azure Express Route. See Integration blocks below for details.' + metrics_polling_interval.firewalls: '- (Optional) Azure Firewalls. See Integration blocks below for details.' + metrics_polling_interval.front_door: '- (Optional) Azure Front Door. See Integration blocks below for details.' + metrics_polling_interval.functions: '- (Optional) Azure Functions. See Integration blocks below for details.' + metrics_polling_interval.key_vault: '- (Optional) Azure Key Vault. See Integration blocks below for details.' + metrics_polling_interval.load_balancer: '- (Optional) Azure Load Balancer. See Integration blocks below for details.' + metrics_polling_interval.logic_apps: '- (Optional) Azure Logic Apps. See Integration blocks below for details.' + metrics_polling_interval.machine_learning: '- (Optional) Azure Machine Learning. See Integration blocks below for details.' + metrics_polling_interval.maria_db: '- (Optional) Azure MariaDB. See Integration blocks below for details.' + metrics_polling_interval.monitor: '- (Optional) Azure Monitor. See Integration blocks below for details.' + metrics_polling_interval.mysql: '- (Optional) Azure MySQL. See Integration blocks below for details.' + metrics_polling_interval.mysql_flexible: '- (Optional) Azure MySQL Flexible Server. See Integration blocks below for details.' + metrics_polling_interval.postgresql: '- (Optional) Azure PostgreSQL. See Integration blocks below for details.' + metrics_polling_interval.postgresql_flexible: '- (Optional) Azure PostgreSQL Flexible Server. See Integration blocks below for details.' + metrics_polling_interval.power_bi_dedicated: '- (Optional) Azure Power BI Dedicated. See Integration blocks below for details.' + metrics_polling_interval.redis_cache: '- (Optional) Azure Redis Cache. See Integration blocks below for details.' + metrics_polling_interval.service_bus: '- (Optional) Azure Service Bus. See Integration blocks below for details.' + metrics_polling_interval.sql: '- (Optional) Azure SQL. See Integration blocks below for details.' + metrics_polling_interval.sql_managed: '- (Optional) Azure SQL Managed. See Integration blocks below for details.' + metrics_polling_interval.storage: '- (Optional) for Azure Storage. See Integration blocks below for details.' + metrics_polling_interval.virtual_machine: '- (Optional) Azure Virtual machine. See Integration blocks below for details.' + metrics_polling_interval.virtual_networks: '- (Optional) for Azure Virtual networks. See Integration blocks below for details.' + metrics_polling_interval.vms: '- (Optional) Azure VMs. See Integration blocks below for details.' + metrics_polling_interval.vpn_gateway: '- (Optional) Azure VPN Gateway. See Integration blocks below for details.' resource_types: '- (Optional) A list of Azure resource types that need to be monitored.' - service_bus: '- (Optional) Azure Service Bus. See Integration blocks below for details.' - sql: '- (Optional) Azure SQL. See Integration blocks below for details.' - sql_managed: '- (Optional) Azure SQL Managed. See Integration blocks below for details.' - storage: '- (Optional) for Azure Storage. See Integration blocks below for details.' tag_keys: '- (Optional) Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.' - virtual_machine: '- (Optional) Azure Virtual machine. See Integration blocks below for details.' - virtual_networks: '- (Optional) for Azure Virtual networks. See Integration blocks below for details.' - vms: '- (Optional) Azure VMs. See Integration blocks below for details.' - vpn_gateway: '- (Optional) Azure VPN Gateway. See Integration blocks below for details.' importStatements: [] newrelic_cloud_azure_link_account: subCategory: "" @@ -1687,132 +1746,132 @@ resources: { "app_engine": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "big_query": [ { "fetch_tags": true, - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "big_table": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "composer": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "data_flow": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "data_proc": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "data_store": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "fire_base_database": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "fire_base_hosting": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "fire_base_storage": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "fire_store": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "functions": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "interconnect": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "kubernetes": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "linked_account_id": "${newrelic_cloud_gcp_link_account.foo.id}", "load_balancing": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "mem_cache": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "pub_sub": [ { "fetch_tags": true, - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "redis": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "router": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "run": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "spanner": [ { "fetch_tags": true, - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "sql": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "storage": [ { "fetch_tags": true, - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "virtual_machines": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ], "vpc_access": [ { - "metrics_polling_interval": 400 + "metrics_polling_interval": 300 } ] } @@ -1826,37 +1885,37 @@ resources: } argumentDocs: account_id: '- (Optional) The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID.' - alloy_db: '- (Optional) Alloy DB integration. See Integration blocks below for details.' - app_engine: '- (Optional) App Engine integration. See Integration blocks below for details.' - big_query: '- (Optional) Biq Query integration. See Integration blocks below for details.' - big_table: '- (Optional) Big Table. See Integration blocks below for details.' - composer: '- (Optional) Composer integration. See Integration blocks below for details.' - data_flow: '- (Optional) Data Flow integration. See Integration blocks below for details.' - data_proc: '- (Optional) Data Proc integration. See Integration blocks below for details.' - data_store: '- (Optional) Data Store integration. See Integration blocks below for details.' fetch_tags: '- (Optional) Specify if labels and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.' - fire_base_database: '- (Optional) Fire Base Database integration. See Integration blocks below for details.' - fire_base_hosting: '- (Optional) Fire Base Hosting integration. See Integration blocks below for details.' - fire_base_storage: '- (Optional) Fire Base Storage integration. See Integration blocks below for details.' - fire_store: '- (Optional) Fire Store integration. See Integration blocks below for details.' - functions: '- (Optional) Functions integration. See Integration blocks below for details.' id: '- The ID of the GCP linked account.' integration.metrics_polling_interval: '- (Optional) The data polling interval in seconds.' integration.storage: "" - interconnect: '- (Optional) Interconnect integration. See Integration blocks below for details.' - kubernetes: '- (Optional) Kubernetes integration. See Integration blocks below for details.' linked_account_id: '- (Required) The ID of the linked GCP account in New Relic.' - load_balancing: '- (Optional) Load Balancing integration. See Integration blocks below for details.' - mem_cache: '- (Optional) Mem cache integration. See Integration blocks below for details.' - pub_sub: '- (Optional) Pub/Sub integration. See Integration blocks below for details.' - redis: '- (Optional) Redis integration. See Integration blocks below for details.' - router: '- (Optional) Router integration. See Integration blocks below for details.' - run: '- (Optional) Run integration. See Integration blocks below for details.' - spanner: '- (Optional) Spanner integration. See Integration blocks below for details.' - sql: '- (Optional) SQL integration. See Integration blocks below for details.' - storage: '- (Optional) Storage integration. See Integration blocks below for details.' - virtual_machines: '- (Optional) Virtual machines integration. See Integration blocks below for details.' - vpc_access: '- (Optional) VPC Access integration. See Integration blocks below for details.' + metrics_polling_interval.alloy_db: '- (Optional) Alloy DB integration. See Integration blocks below for details.' + metrics_polling_interval.app_engine: '- (Optional) App Engine integration. See Integration blocks below for details.' + metrics_polling_interval.big_query: '- (Optional) Biq Query integration. See Integration blocks below for details.' + metrics_polling_interval.big_table: '- (Optional) Big Table. See Integration blocks below for details.' + metrics_polling_interval.composer: '- (Optional) Composer integration. See Integration blocks below for details.' + metrics_polling_interval.data_flow: '- (Optional) Data Flow integration. See Integration blocks below for details.' + metrics_polling_interval.data_proc: '- (Optional) Data Proc integration. See Integration blocks below for details.' + metrics_polling_interval.data_store: '- (Optional) Data Store integration. See Integration blocks below for details.' + metrics_polling_interval.fire_base_database: '- (Optional) Fire Base Database integration. See Integration blocks below for details.' + metrics_polling_interval.fire_base_hosting: '- (Optional) Fire Base Hosting integration. See Integration blocks below for details.' + metrics_polling_interval.fire_base_storage: '- (Optional) Fire Base Storage integration. See Integration blocks below for details.' + metrics_polling_interval.fire_store: '- (Optional) Fire Store integration. See Integration blocks below for details.' + metrics_polling_interval.functions: '- (Optional) Functions integration. See Integration blocks below for details.' + metrics_polling_interval.interconnect: '- (Optional) Interconnect integration. See Integration blocks below for details.' + metrics_polling_interval.kubernetes: '- (Optional) Kubernetes integration. See Integration blocks below for details.' + metrics_polling_interval.load_balancing: '- (Optional) Load Balancing integration. See Integration blocks below for details.' + metrics_polling_interval.mem_cache: '- (Optional) Mem cache integration. See Integration blocks below for details.' + metrics_polling_interval.pub_sub: '- (Optional) Pub/Sub integration. See Integration blocks below for details.' + metrics_polling_interval.redis: '- (Optional) Redis integration. See Integration blocks below for details.' + metrics_polling_interval.router: '- (Optional) Router integration. See Integration blocks below for details.' + metrics_polling_interval.run: '- (Optional) Run integration. See Integration blocks below for details.' + metrics_polling_interval.spanner: '- (Optional) Spanner integration. See Integration blocks below for details.' + metrics_polling_interval.sql: '- (Optional) SQL integration. See Integration blocks below for details.' + metrics_polling_interval.storage: '- (Optional) Storage integration. See Integration blocks below for details.' + metrics_polling_interval.virtual_machines: '- (Optional) Virtual machines integration. See Integration blocks below for details.' + metrics_polling_interval.vpc_access: '- (Optional) VPC Access integration. See Integration blocks below for details.' importStatements: [] newrelic_cloud_gcp_link_account: subCategory: "" @@ -1983,6 +2042,70 @@ resources: nrql: '- (Required) Explains how to create metrics from events.' rule_id: '- The id, uniquely identifying the rule.' importStatements: [] + newrelic_group: + subCategory: "" + description: Create and manage groups in New Relic. + name: newrelic_group + title: newrelic_group' + examples: + - name: foo + manifest: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "name": "Test Group", + "user_ids": [ + "0001112222", + "2221110000" + ] + } + references: + authentication_domain_id: data.newrelic_authentication_domain.foo.id + - name: foo + manifest: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "name": "Test Group", + "user_ids": [ + "${newrelic_user.foo.id}", + "${newrelic_user.bar.id}" + ] + } + references: + authentication_domain_id: data.newrelic_authentication_domain.foo.id + dependencies: + newrelic_user.bar: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "email_id": "test_user_two@test.com", + "name": "Test User Two", + "user_type": "BASIC_USER_TIER" + } + newrelic_user.foo: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "email_id": "test_user_one@test.com", + "name": "Test User One", + "user_type": "CORE_USER_TIER" + } + - name: foo + manifest: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "name": "Test Group", + "user_ids": [ + "${data.newrelic_user.foo.id}", + "${data.newrelic_user.bar.id}" + ] + } + references: + authentication_domain_id: data.newrelic_authentication_domain.foo.id + argumentDocs: + authentication_domain_id: '- (Required) The ID of the authentication domain to which the group to be created would belong.' + id: '- The ID of the created group.' + name: '- (Required) The name of the group to be created.' + user_ids: '- (Optional) A list of IDs of users to be included in the group to be created.' + importStatements: + - $ terraform import newrelic_group.foo newrelic_infra_alert_condition: subCategory: "" description: Create and manage an Infrastructure alert condition for a policy in New Relic. @@ -2502,6 +2625,7 @@ resources: }, { "key": "service", + "label": "Service Name", "value": "PTQK3FM" }, { @@ -2643,17 +2767,23 @@ resources: manifest: |- { "account_id": 12345678, - "auth_basic": [ + "auth_custom_header": [ { - "password": "password", - "user": "username" + "key": "API_KEY", + "value": "test-api-key" } ], "name": "foo", "property": [ { - "key": "url", - "value": "https://webhook.mywebhook.com" + "key": "source", + "value": "terraform" + } + ], + "secure_url": [ + { + "prefix": "https://webhook.mywebhook.com/", + "secure_suffix": "service_id/123456" } ], "type": "WEBHOOK" @@ -2815,10 +2945,14 @@ resources: auth_basic: '- (Optional) A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.' auth_basic.password: '- (Required) Specifies an authentication password for use with a destination.' auth_basic.user: '- (Required) The username of the basic auth.' + auth_custom_header: '- (Optional) A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.' + auth_custom_header.key: '- (Required) The key of the header.' + auth_custom_header.value: '- (Required) The secret value of the header.' auth_token: '- (Optional) A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.' auth_token.prefix: '- (Required) The prefix of the token auth.' auth_token.token: '- (Required) Specifies the token for integrating.' email: '- (Required) A list of email addresses.' + guid: '- The unique entity identifier of the destination in New Relic.' id: '- The ID of the destination.' name: '- (Required) The name of the destination.' property: '- (Required) A nested block that describes a notification destination property. See Nested property blocks below for details.' @@ -2833,6 +2967,9 @@ resources: property.key: '- (Required) The notification property key.' property.label: '- (Optional) The notification property label.' property.value: '- (Required) The notification property value.' + secure_url: '- (Optional) A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.' + secure_url.prefix: '- (Required) The prefix of the URL.' + secure_url.secure_suffix: '- (Required) The suffix of the URL, which contains sensitive data.' two_way_integration: '- (Optional) A boolean that represents the two-way integration on/off flag.' type: '- (Required) The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. The types SLACK and SLACK_COLLABORATION can only be imported, updated and destroyed (cannot be created via terraform).' url: '- (Required) The webhook url.' @@ -3450,6 +3587,7 @@ resources: description: '- (Optional) Brief text describing the dashboard.' filter_current_dashboard: ': (Optional) Use this item to filter the current dashboard.' guid: '- The unique entity identifier of the dashboard in New Relic.' + ignore_time_range: '- (Optional) An argument with a boolean value that is supported only by variables of type nrql - when true, the time range specified in the query will override the time picker on dashboards and other pages.' limit: '- (Required) Visualization limit for the widget.' linked_entity_guids: ': (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.' name: '- (Required) The title of the dashboard.' @@ -3488,6 +3626,7 @@ resources: variable.item: '- (Optional) List of possible values for variables of type enum. See Nested item blocks below for details.' variable.name: '- (Required) The variable identifier.' variable.nrql_query: '- (Optional) Configuration for variables of type nrql. See Nested nrql_query blocks for details.' + variable.options: '- (Optional) Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) -' variable.replacement_strategy: '- (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string.' variable.title: '- (Optional) Human-friendly display string for this variable.' variable.type: '- (Required) Specifies the data type of the variable and where its possible values may come from. One of enum, nrql or string' @@ -3915,14 +4054,16 @@ resources: name: newrelic_synthetics_broken_links_monitor title: newrelic_synthetics_broken_links_monitor examples: - - name: monitor + - name: foo manifest: |- { "locations_public": [ "AP_SOUTH_1" ], - "name": "broken-links-monitor", + "name": "Sample Broken Links Monitor", "period": "EVERY_6_HOURS", + "runtime_type": "NODE_API", + "runtime_type_version": "16.10", "status": "ENABLED", "tag": [ { @@ -3934,13 +4075,13 @@ resources: ], "uri": "https://www.one.example.com" } - - name: monitor + - name: foo manifest: |- { "locations_private": [ - "${newrelic_synthetics_private_location.location.id}" + "${newrelic_synthetics_private_location.foo.id}" ], - "name": "broken-links-monitor", + "name": "Sample Broken Links Monitor", "period": "EVERY_6_HOURS", "status": "ENABLED", "tag": [ @@ -3954,10 +4095,10 @@ resources: "uri": "https://www.one.example.com" } dependencies: - newrelic_synthetics_private_location.location: |- + newrelic_synthetics_private_location.foo: |- { - "description": "Test Description", - "name": "private_location", + "description": "Sample Private Location Description", + "name": "Sample Private Location", "verified_script_execution": false } argumentDocs: @@ -3968,7 +4109,9 @@ resources: name: '- (Required) The name for the monitor.' period: '- (Required) The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.' period_in_minutes: '- The interval in minutes at which Synthetic monitor should run.' - status: '- (Required) The run state of the monitor. (i.e. ENABLED, DISABLED, MUTED).' + runtime_type: '- (Optional) The runtime that the monitor will use to run jobs.' + runtime_type_version: '- (Optional) The specific version of the runtime type selected.' + status: '- (Required) The run state of the monitor. (ENABLED or DISABLED).' tag: '- (Optional) The tags that will be associated with the monitor. See Nested tag blocks below for details' tag.key: '- (Required) Name of the tag key.' tag.values: '- (Required) Values associated with the tag key.' @@ -3980,7 +4123,7 @@ resources: name: newrelic_synthetics_cert_check_monitor title: newrelic_synthetics_cert_check_monitor examples: - - name: cert-check-monitor + - name: foo manifest: |- { "certificate_expiration": "10", @@ -3988,8 +4131,10 @@ resources: "locations_public": [ "AP_SOUTH_1" ], - "name": "cert-check-monitor", + "name": "Sample Cert Check Monitor", "period": "EVERY_6_HOURS", + "runtime_type": "NODE_API", + "runtime_type_version": "16.10", "status": "ENABLED", "tag": [ { @@ -4000,14 +4145,15 @@ resources: } ] } - - name: monitor + - name: foo manifest: |- { - "domain": "https://www.one.example.com", + "certificate_expiration": "10", + "domain": "www.one.example.com", "locations_private": [ - "${newrelic_synthetics_private_location.location.id}" + "${newrelic_synthetics_private_location.foo.id}" ], - "name": "cert_check_monitor", + "name": "Sample Cert Check Monitor", "period": "EVERY_6_HOURS", "status": "ENABLED", "tag": [ @@ -4020,10 +4166,10 @@ resources: ] } dependencies: - newrelic_synthetics_private_location.location: |- + newrelic_synthetics_private_location.foo: |- { - "description": "Test Description", - "name": "private_location", + "description": "Sample Private Location Description", + "name": "Sample Private Location", "verified_script_execution": false } argumentDocs: @@ -4036,7 +4182,9 @@ resources: name: '- (Required) The name for the monitor.' period: '- (Required) The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.' period_in_minutes: '- The interval in minutes at which Synthetic monitor should run.' - status: '- (Required) The run state of the monitor. (i.e. ENABLED, DISABLED, MUTED).' + runtime_type: '- (Optional) The runtime that the monitor will use to run jobs.' + runtime_type_version: '- (Optional) The specific version of the runtime type selected.' + status: '- (Required) The run state of the monitor. (ENABLED or DISABLED).' tag: '- (Optional) The tags that will be associated with the monitor. See Nested tag blocks below for details' tag.key: '- (Required) Name of the tag key.' tag.values: '- (Required) Values associated with the tag key.' @@ -4221,7 +4369,7 @@ resources: runtime_type: '- (Optional) The runtime type that the monitor will run.' runtime_type_version: '- (Optional) The runtime type that the monitor will run.' script_language: '- (Optional) The programing language that should execute the script.' - status: '- (Required) The run state of the monitor. (i.e. ENABLED, DISABLED, MUTED).' + status: '- (Required) The run state of the monitor. (ENABLED or DISABLED).' tag: '- (Optional) The tags that will be associated with the monitor. See Nested tag blocks below for details.' tag.key: '- (Required) Name of the tag key.' tag.values: '- (Required) Values associated with the tag key.' @@ -4531,7 +4679,7 @@ resources: runtime_type_version: '- (Optional) The specific version of the runtime type selected.' script: '- (Required) The script that the monitor runs.' script_language: '- (Optional) The programing language that should execute the script.' - status: '- (Required) The run state of the monitor. (i.e. ENABLED, DISABLED, MUTED).' + status: '- (Required) The run state of the monitor. (ENABLED or DISABLED).' tag: '- (Optional) The tags that will be associated with the monitor. See Nested tag blocks below for details.' tag.key: '- (Required) Name of the tag key.' tag.values: '- (Required) Values associated with the tag key.' @@ -4563,7 +4711,7 @@ resources: name: newrelic_synthetics_step_monitor title: newrelic_synthetics_step_monitor examples: - - name: monitor + - name: foo manifest: |- { "enable_screenshot_on_failure_and_script": true, @@ -4571,8 +4719,10 @@ resources: "US_EAST_1", "US_EAST_2" ], - "name": "step_monitor", + "name": "Sample Step Monitor", "period": "EVERY_6_HOURS", + "runtime_type": "CHROME_BROWSER", + "runtime_type_version": "100", "status": "ENABLED", "steps": [ { @@ -4592,16 +4742,16 @@ resources: } ] } - - name: bar + - name: foo manifest: |- { "location_private": [ { - "guid": "${newrelic_synthetics_private_location.location.id}", + "guid": "${newrelic_synthetics_private_location.foo.id}", "vse_password": "secret" } ], - "name": "step_monitor", + "name": "Sample Step Monitor", "period": "EVERY_6_HOURS", "status": "ENABLED", "steps": [ @@ -4620,16 +4770,15 @@ resources: "some_value" ] } - ], - "uri": "https://www.one.example.com" + ] } references: - location_private.guid: newrelic_synthetics_private_location.location.id + location_private.guid: newrelic_synthetics_private_location.foo.id dependencies: - newrelic_synthetics_private_location.location: |- + newrelic_synthetics_private_location.foo: |- { - "description": "Test Description", - "name": "private-location", + "description": "Sample Private Location Description", + "name": "Sample Private Location", "verified_script_execution": true } argumentDocs: @@ -4642,7 +4791,9 @@ resources: name: '- (Required) The name for the monitor.' period: '- (Required) The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.' period_in_minutes: '- The interval in minutes at which Synthetic monitor should run.' - status: '- (Required) The run state of the monitor. (i.e. ENABLED, DISABLED, MUTED).' + runtime_type: '- (Optional) The runtime that the monitor will use to run jobs.' + runtime_type_version: '- (Optional) The specific version of the runtime type selected.' + status: '- (Required) The run state of the monitor. (ENABLED or DISABLED).' steps: '- (Required) The steps that make up the script the monitor will run. See Nested steps blocks below for details.' steps.ordinal: '- (Required) The position of the step within the script ranging from 0-100.' steps.type: '- (Required) Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.' @@ -4650,8 +4801,31 @@ resources: tag: '- (Optional) The tags that will be associated with the monitor. See Nested tag blocks below for details.' tag.key: '- (Required) Name of the tag key.' tag.values: '- (Required) Values associated with the tag key.' - uri: '- (Required) The uri the monitor runs against.' importStatements: [] + newrelic_user: + subCategory: "" + description: Create and manage users in New Relic. + name: newrelic_user + title: newrelic_user' + examples: + - name: foo + manifest: |- + { + "authentication_domain_id": "${data.newrelic_authentication_domain.foo.id}", + "email_id": "test_user@test.com", + "name": "Test New User", + "user_type": "CORE_USER_TIER" + } + references: + authentication_domain_id: data.newrelic_authentication_domain.foo.id + argumentDocs: + authentication_domain_id: '- (Required) The ID of the authentication domain to which the user to be created would belong.' + email_id: '- (Required) The email ID of the user to be created.' + id: '- The ID of the created user.' + name: '- (Required) The name of the user to be created.' + user_type: '- (Optional) The tier to which the user to be created would belong. Accepted values for this argument are BASIC_USER_TIER, CORE_USER_TIER, or FULL_USER_TIER. If not specified in the configuration, the argument would default to BASIC_USER_TIER.' + importStatements: + - $ terraform import newrelic_user.foo 1999999999 newrelic_workflow: subCategory: "" description: Create and manage a workflow in New Relic. @@ -5020,7 +5194,7 @@ resources: description: '- (Optional) Relevant information about the workload.' entity_guids: '- (Optional) A list of entity GUIDs manually assigned to this workload. At least one of either entity_guids or entity_search_query is required.' entity_search_query: '- (Optional) A list of search queries that define a dynamic workload. At least one of either entity_guids or entity_search_query is required. See Nested entity_search_query blocks below for details.' - entity_search_query.query: '- (Required) The query.' + entity_search_query.query: '- (Required) A valid entity search query; empty, and null values are considered invalid.' guid: '- The unique entity identifier of the workload in New Relic.' name: '- (Required) The workload''s name.' nrql_query.query: '- The entity search query that is used to perform the search of a group of entities.' diff --git a/config/schema.json b/config/schema.json index a4fd9f6..4ec6a15 100644 --- a/config/schema.json +++ b/config/schema.json @@ -1 +1 @@ -{"format_version":"1.0","provider_schemas":{"registry.terraform.io/newrelic/newrelic":{"provider":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true,"sensitive":true},"admin_api_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"api_key":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"cacert_file":{"type":"string","description_kind":"plain","optional":true},"infrastructure_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"insecure_skip_verify":{"type":"bool","description_kind":"plain","optional":true},"insights_insert_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"insights_insert_url":{"type":"string","description_kind":"plain","optional":true},"insights_query_url":{"type":"string","description_kind":"plain","optional":true},"nerdgraph_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"region":{"type":"string","description":"The data center for which your New Relic account is configured. Only one region per provider block is permitted.","description_kind":"plain","optional":true},"synthetics_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true}},"description_kind":"plain"}},"resource_schemas":{"newrelic_account_management":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the account to be created","description_kind":"plain","required":true},"region":{"type":"string","description":"A description of what this parsing rule represents.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_alert_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create alert channels.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"(Required) The name of the channel.","description_kind":"plain","required":true},"type":{"type":"string","description":"(Required) The type of channel. One of: (email, opsgenie, pagerduty, slack, user, victorops, webhook).","description_kind":"plain","required":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"api_key":{"type":"string","description":"The API key for integrating with OpsGenie.","description_kind":"plain","optional":true,"sensitive":true},"auth_password":{"type":"string","description":"Specifies an authentication password for use with a channel. Supported by the webhook channel type.","description_kind":"plain","optional":true,"sensitive":true},"auth_type":{"type":"string","description":"Specifies an authentication method for use with a channel. Supported by the webhook channel type. Only HTTP basic authentication is currently supported via the value BASIC.","description_kind":"plain","optional":true,"sensitive":true},"auth_username":{"type":"string","description":"Specifies an authentication username for use with a channel. Supported by the webhook channel type.","description_kind":"plain","optional":true},"base_url":{"type":"string","description":"The base URL of the webhook destination.","description_kind":"plain","optional":true,"sensitive":true},"channel":{"type":"string","description":"The Slack channel to send notifications to.","description_kind":"plain","optional":true},"headers":{"type":["map","string"],"description":"A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.","description_kind":"plain","optional":true,"sensitive":true},"headers_string":{"type":"string","description":"Use instead of headers if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with headers.","description_kind":"plain","optional":true,"sensitive":true},"include_json_attachment":{"type":"string","description":"true or false. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients.","description_kind":"plain","optional":true},"key":{"type":"string","description":"The key for integrating with VictorOps.","description_kind":"plain","optional":true,"sensitive":true},"payload":{"type":["map","string"],"description":"A map of key/value pairs that represents the webhook payload. Must provide payload_type if setting this argument.","description_kind":"plain","optional":true,"sensitive":true},"payload_string":{"type":"string","description":"Use instead of payload if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with payload.","description_kind":"plain","optional":true,"sensitive":true},"payload_type":{"type":"string","description":"Can either be application/json or application/x-www-form-urlencoded. The payload_type argument is required if payload is set.","description_kind":"plain","optional":true},"recipients":{"type":"string","description":"A set of recipients for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"region":{"type":"string","description":"The data center region to store your data. Valid values are US and EU. Default is US.","description_kind":"plain","optional":true},"route_key":{"type":"string","description":"The route key for integrating with VictorOps.","description_kind":"plain","optional":true,"sensitive":true},"service_key":{"type":"string","description":"Specifies the service key for integrating with Pagerduty.","description_kind":"plain","optional":true,"sensitive":true},"tags":{"type":"string","description":"A set of tags for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"teams":{"type":"string","description":"A set of teams for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"url":{"type":"string","description":"Your organization's Slack URL.","description_kind":"plain","optional":true,"sensitive":true},"user_id":{"type":"string","description":"The user ID for use with the user channel type.","description_kind":"plain","optional":true}},"description":"The configuration block for the alert channel.","description_kind":"plain"},"max_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_alert_condition":{"version":0,"block":{"attributes":{"condition_scope":{"type":"string","description":"One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the condition is enabled.","description_kind":"plain","optional":true},"entities":{"type":["set","number"],"description":"The instance IDs associated with this condition.","description_kind":"plain","required":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"gc_metric":{"type":"string","description":"A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric":{"type":"string","description":"The metric field accepts parameters based on the type set.","description_kind":"plain","required":true},"name":{"type":"string","description":"The title of the condition. Must be between 1 and 128 characters, inclusive.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of condition. One of: (browser_metric, mobile_metric, servers_metric, apm_app_metric, apm_jvm_metric, apm_kt_metric).","description_kind":"plain","required":true},"user_defined_metric":{"type":"string","description":"A custom metric to be evaluated.","description_kind":"plain","optional":true},"user_defined_value_function":{"type":"string","description":"One of: (average, min, max, total, sample_size, percent, rate).","description_kind":"plain","optional":true},"violation_close_timer":{"type":"number","description":"Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours.","description_kind":"plain","optional":true}},"block_types":{"term":{"nesting_mode":"set","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 5 to 120, inclusive.","description_kind":"plain","required":true},"operator":{"type":"string","description":"One of (above, below, equal). Defaults to equal.","description_kind":"plain","optional":true},"priority":{"type":"string","description":"One of (critical, warning). Defaults to critical.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"Must be 0 or greater.","description_kind":"plain","required":true},"time_function":{"type":"string","description":"One of (all, any).","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_alert_muting_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the MutingRule..","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The description of the MutingRule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the MutingRule is enabled.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the MutingRule.","description_kind":"plain","required":true}},"block_types":{"condition":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description":"The operator used to combine all the MutingRuleConditions within the group.","description_kind":"plain","required":true}},"block_types":{"conditions":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"The attribute on an incident.","description_kind":"plain","required":true},"operator":{"type":"string","description":"The operator used to compare the attribute's value with the supplied value(s).","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"The value(s) to compare against the attribute's value.","description_kind":"plain","required":true}},"description":"The individual MutingRuleConditions within the group.","description_kind":"plain"},"min_items":1}},"description":"The condition that defines which incidents to target.","description_kind":"plain"},"min_items":1,"max_items":1},"schedule":{"nesting_mode":"list","block":{"attributes":{"end_repeat":{"type":"string","description":"The datetime stamp when the MutingRule schedule should stop repeating.","description_kind":"plain","optional":true},"end_time":{"type":"string","description":"The datetime stamp representing when the MutingRule should end.","description_kind":"plain","optional":true},"repeat":{"type":"string","description":"The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]","description_kind":"plain","optional":true},"repeat_count":{"type":"number","description":"The number of times the MutingRule schedule should repeat.","description_kind":"plain","optional":true},"start_time":{"type":"string","description":"The datetime stamp representing when the MutingRule should start.","description_kind":"plain","optional":true},"time_zone":{"type":"string","description":"The time zone that applies to the MutingRule schedule.","description_kind":"plain","required":true},"weekly_repeat_days":{"type":["set","string"],"description":"The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY.","description_kind":"plain","optional":true}},"description":"The time window when the MutingRule should actively mute incidents.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_alert_policy":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID to operate on.","description_kind":"plain","optional":true,"computed":true},"channel_ids":{"type":["list","number"],"description":"An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import.","description_kind":"plain","deprecated":true,"optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"incident_preference":{"type":"string","description":"The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the policy.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_alert_policy_channel":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the channel to.","description_kind":"plain","optional":true,"computed":true},"channel_ids":{"type":["set","number"],"description":"Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift your Terraform state.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"number","description":"The ID of the policy.","description_kind":"plain","required":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain","deprecated":true}},"newrelic_api_access_key":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ingest_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"key_type":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"notes":{"type":"string","description_kind":"plain","optional":true,"computed":true},"user_id":{"type":"number","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"newrelic_application_settings":{"version":0,"block":{"attributes":{"app_apdex_threshold":{"type":"number","description_kind":"plain","required":true},"enable_real_user_monitoring":{"type":"bool","description_kind":"plain","required":true},"end_user_apdex_threshold":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_browser_application":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID.","description_kind":"plain","optional":true,"computed":true},"cookies_enabled":{"type":"bool","description":"Configure cookies. The default is enabled: true.","description_kind":"plain","optional":true},"distributed_tracing_enabled":{"type":"bool","description":"Configure distributed tracing in browser apps. The default is enabled: true.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The GUID of the browser application.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"js_config":{"type":"string","description":"JavaScript configuration of the browser application encoded into a string.","description_kind":"plain","computed":true},"loader_type":{"type":"string","description":"Determines which browser loader is configured. The default is \"SPA\".","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the application to monitor.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_aws_govcloud_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked AwsGovCloud account in New Relic","description_kind":"plain","required":true}},"block_types":{"alb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"load_balancer_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The alb integration","description_kind":"plain"},"max_items":1},"api_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"stage_prefixes":{"type":["list","string"],"description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The api gateway integration","description_kind":"plain"},"max_items":1},"auto_scaling":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The auto scaling integration","description_kind":"plain"},"max_items":1},"aws_direct_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The aws direct connect integration","description_kind":"plain"},"max_items":1},"aws_states":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The aws states integration","description_kind":"plain"},"max_items":1},"cloudtrail":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The cloudtrail integration","description_kind":"plain"},"max_items":1},"dynamo_db":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The dynamo DB integration","description_kind":"plain"},"max_items":1},"ebs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The ebs integration","description_kind":"plain"},"max_items":1},"ec2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_ip_addresses":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The ec2 integration","description_kind":"plain"},"max_items":1},"elastic_search":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_nodes":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The elastic search integration","description_kind":"plain"},"max_items":1},"elb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The elb integration","description_kind":"plain"},"max_items":1},"emr":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":"string","description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.\n\n","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The emr integration","description_kind":"plain"},"max_items":1},"iam":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The iam integration","description_kind":"plain"},"max_items":1},"lambda":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.\n\n","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The lambda integration","description_kind":"plain"},"max_items":1},"rds":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The rds integration","description_kind":"plain"},"max_items":1},"red_shift":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The redshift integration","description_kind":"plain"},"max_items":1},"route53":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The route53 integration","description_kind":"plain"},"max_items":1},"s3":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The s3 integration","description_kind":"plain"},"max_items":1},"sns":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The sns integration","description_kind":"plain"},"max_items":1},"sqs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"queue_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The sqs integration","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_aws_govcloud_link_account":{"version":0,"block":{"attributes":{"access_key_id":{"type":"string","description":"access-key-id of awsGovcloud account","description_kind":"plain","required":true,"sensitive":true},"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"aws_account_id":{"type":"string","description":"awsGovcloud account id","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric_collection_mode":{"type":"string","description":"push or pull","description_kind":"plain","optional":true},"name":{"type":"string","description":"name of the account","description_kind":"plain","required":true},"secret_access_key":{"type":"string","description":"secret access key of the awsGovcloud account","description_kind":"plain","required":true,"sensitive":true}},"description_kind":"plain"}},"newrelic_cloud_aws_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked AWS account in New Relic","description_kind":"plain","required":true}},"block_types":{"alb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"load_balancer_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"ALB integration","description_kind":"plain"},"max_items":1},"api_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"stage_prefixes":{"type":["list","string"],"description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"API Gateway integration","description_kind":"plain"},"max_items":1},"auto_scaling":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"AutoScaling integration","description_kind":"plain"},"max_items":1},"aws_app_sync":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Appsync integration","description_kind":"plain"},"max_items":1},"aws_athena":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Athena integration","description_kind":"plain"},"max_items":1},"aws_cognito":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Cognito integration","description_kind":"plain"},"max_items":1},"aws_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Connect integration","description_kind":"plain"},"max_items":1},"aws_direct_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Direct Connect integration","description_kind":"plain"},"max_items":1},"aws_fsx":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Fsx integration","description_kind":"plain"},"max_items":1},"aws_glue":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Glue integration","description_kind":"plain"},"max_items":1},"aws_kinesis_analytics":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Kinesis Analytics integration","description_kind":"plain"},"max_items":1},"aws_media_convert":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Media Convert integration","description_kind":"plain"},"max_items":1},"aws_media_package_vod":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Media PackageVod integration","description_kind":"plain"},"max_items":1},"aws_mq":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Mq integration","description_kind":"plain"},"max_items":1},"aws_msk":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Msk integration","description_kind":"plain"},"max_items":1},"aws_neptune":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Neptune integration","description_kind":"plain"},"max_items":1},"aws_qldb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Qldb integration","description_kind":"plain"},"max_items":1},"aws_route53resolver":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Route53resolver integration","description_kind":"plain"},"max_items":1},"aws_states":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws states integration","description_kind":"plain"},"max_items":1},"aws_transit_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Transit Gateway integration","description_kind":"plain"},"max_items":1},"aws_waf":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Waf integration","description_kind":"plain"},"max_items":1},"aws_wafv2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Wafv2 integration","description_kind":"plain"},"max_items":1},"billing":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Billing integration","description_kind":"plain"},"max_items":1},"cloudfront":{"nesting_mode":"list","block":{"attributes":{"fetch_lambdas_at_edge":{"type":"bool","description":"Specify if Lambdas@Edge should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Cloudfront integration","description_kind":"plain"},"max_items":1},"cloudtrail":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"CloudTrail integration","description_kind":"plain"},"max_items":1},"doc_db":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Doc DB integration","description_kind":"plain"},"max_items":1},"dynamodb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Dynamo DB integration","description_kind":"plain"},"max_items":1},"ebs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"EBS integration","description_kind":"plain"},"max_items":1},"ec2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"duplicate_ec2_tags":{"type":"bool","description":"Specify if the old legacy metadata and tag names have to be kept, it will consume more ingest data size","description_kind":"plain","optional":true},"fetch_ip_addresses":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Ec2 integration","description_kind":"plain"},"max_items":1},"ecs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Ecs integration","description_kind":"plain"},"max_items":1},"efs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Efs integration","description_kind":"plain"},"max_items":1},"elasticache":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Elasticache integration","description_kind":"plain"},"max_items":1},"elasticbeanstalk":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Elastic Bean Stalk integration","description_kind":"plain"},"max_items":1},"elasticsearch":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_nodes":{"type":"bool","description":"Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Elastic Search integration","description_kind":"plain"},"max_items":1},"elb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Elb integration","description_kind":"plain"},"max_items":1},"emr":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Emr integration","description_kind":"plain"},"max_items":1},"health":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Health integration","description_kind":"plain"},"max_items":1},"iam":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Iam integration","description_kind":"plain"},"max_items":1},"iot":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Iot integration","description_kind":"plain"},"max_items":1},"kinesis":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_shards":{"type":"bool","description":"Specify if Shards should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Kinesis integration","description_kind":"plain"},"max_items":1},"kinesis_firehose":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Kinesis Firehose integration","description_kind":"plain"},"max_items":1},"lambda":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Lambda integration","description_kind":"plain"},"max_items":1},"rds":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Rds integration","description_kind":"plain"},"max_items":1},"redshift":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Redshift integration","description_kind":"plain"},"max_items":1},"route53":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Route53 integration","description_kind":"plain"},"max_items":1},"s3":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"S3 integration","description_kind":"plain"},"max_items":1},"ses":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Ses integration","description_kind":"plain"},"max_items":1},"sns":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Sns integration","description_kind":"plain"},"max_items":1},"sqs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"queue_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"SQS integration","description_kind":"plain"},"max_items":1},"trusted_advisor":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Trusted Advisor integration","description_kind":"plain"},"max_items":1},"vpc":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_nat_gateway":{"type":"bool","description":"Specify if NAT gateway should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_vpn":{"type":"bool","description":"Specify if VPN should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"VPC integration","description_kind":"plain"},"max_items":1},"x_ray":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"X-Ray integration","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_aws_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the AWS account.","description_kind":"plain","optional":true,"computed":true},"arn":{"type":"string","description":"The AWS role ARN.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric_collection_mode":{"type":"string","description":"How metrics will be collected. Defaults to `PULL` if empty.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the linked account.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_azure_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked Azure account in New Relic","description_kind":"plain","required":true}},"block_types":{"api_management":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure api management integration","description_kind":"plain"},"max_items":1},"app_gateway":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure app gateway integration","description_kind":"plain"},"max_items":1},"app_service":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure app services","description_kind":"plain"},"max_items":1},"containers":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure containers","description_kind":"plain"},"max_items":1},"cosmos_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure cosmoDB","description_kind":"plain"},"max_items":1},"cost_management":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_keys":{"type":["list","string"],"description":"Specify if additional cost data per tag should be collected. This field is case sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The Azure cost management","description_kind":"plain"},"max_items":1},"data_factory":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure data factory","description_kind":"plain"},"max_items":1},"event_hub":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure event hub","description_kind":"plain"},"max_items":1},"express_route":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure express route","description_kind":"plain"},"max_items":1},"firewalls":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure firewalls","description_kind":"plain"},"max_items":1},"front_door":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure front door","description_kind":"plain"},"max_items":1},"functions":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure functions","description_kind":"plain"},"max_items":1},"key_vault":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure key vault","description_kind":"plain"},"max_items":1},"load_balancer":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure load balancer","description_kind":"plain"},"max_items":1},"logic_apps":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure logic apps","description_kind":"plain"},"max_items":1},"machine_learning":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure machine learning","description_kind":"plain"},"max_items":1},"maria_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure Maria DB","description_kind":"plain"},"max_items":1},"monitor":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"A flag that specifies if the integration is active","description_kind":"plain","optional":true},"exclude_tags":{"type":["list","string"],"description":"Specify resource tags in 'key:value' form to be excluded from monitoring","description_kind":"plain","optional":true},"include_tags":{"type":["list","string"],"description":"Specify resource tags in 'key:value' form to be monitored","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true},"resource_types":{"type":["list","string"],"description":"Specify each Azure resource type that needs to be monitored","description_kind":"plain","optional":true}},"description":"The Azure Monitor","description_kind":"plain"},"max_items":1},"mysql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure mysql","description_kind":"plain"},"max_items":1},"mysql_flexible":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure mysql flexible service integration","description_kind":"plain"},"max_items":1},"postgresql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure postgresql","description_kind":"plain"},"max_items":1},"postgresql_flexible":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure postgresql flexible service integration","description_kind":"plain"},"max_items":1},"power_bi_dedicated":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure powerBI dedicated","description_kind":"plain"},"max_items":1},"redis_cache":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure redis cache","description_kind":"plain"},"max_items":1},"service_bus":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure service bus","description_kind":"plain"},"max_items":1},"sql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure sql","description_kind":"plain"},"max_items":1},"sql_managed":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure sql managed","description_kind":"plain"},"max_items":1},"storage":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure storage","description_kind":"plain"},"max_items":1},"virtual_machine":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure virtual machine","description_kind":"plain"},"max_items":1},"virtual_networks":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure virtual networks","description_kind":"plain"},"max_items":1},"vms":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure Vms","description_kind":"plain"},"max_items":1},"vpn_gateway":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure vpn gateway","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_azure_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the Azure account.","description_kind":"plain","optional":true,"computed":true},"application_id":{"type":"string","description":"Application ID for Azure account","description_kind":"plain","required":true},"client_secret":{"type":"string","description":"Value of the client secret from Azure","description_kind":"plain","required":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the linked account","description_kind":"plain","required":true},"subscription_id":{"type":"string","description":"Subscription ID for the Azure account","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"Tenant ID for the Azure account","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_gcp_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"Id of the linked gcp account in New Relic","description_kind":"plain","required":true}},"block_types":{"alloy_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP alloy DB integration","description_kind":"plain"},"max_items":1},"app_engine":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP app engine service","description_kind":"plain"},"max_items":1},"big_query":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP biq query service","description_kind":"plain"},"max_items":1},"big_table":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"composer":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_flow":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_proc":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_store":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_database":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_hosting":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_storage":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_store":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"functions":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"interconnect":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"kubernetes":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"load_balancing":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"mem_cache":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"pub_sub":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"redis":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"router":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"run":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"spanner":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"sql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"storage":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"virtual_machines":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"vpc_access":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_gcp_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"accountID of newrelic account","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"name of the linked account","description_kind":"plain","required":true},"project_id":{"type":"string","description":"project id of the Gcp account","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_data_partition_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the data partition rule.","description_kind":"plain","optional":true,"computed":true},"deleted":{"type":"bool","description":"Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.","description_kind":"plain","computed":true},"description":{"type":"string","description":"The description of the data partition rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether or not this data partition rule is enabled.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"nrql":{"type":"string","description":"The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.","description_kind":"plain","required":true},"retention_policy":{"type":"string","description":"The retention policy of the data partition data.","description_kind":"plain","required":true},"target_data_partition":{"type":"string","description":"The name of the data partition where logs will be allocated once the rule is enabled.","description_kind":"plain","required":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_entity_tags":{"version":0,"block":{"attributes":{"guid":{"type":"string","description":"The guid of the entity to tag.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"The tag key.","description_kind":"plain","required":true},"values":{"type":["set","string"],"description":"The tag values.","description_kind":"plain","required":true}},"description":"A set of key-value pairs to represent a tag. For example: Team:TeamName","description_kind":"plain"},"min_items":1},"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_events_to_metrics_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"Account with the event and where the metrics will be put.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Provides additional information about the rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"True means this rule is enabled. False means the rule is currently not creating metrics.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the rule. This must be unique within an account.","description_kind":"plain","required":true},"nrql":{"type":"string","description":"Explains how to create metrics from events.","description_kind":"plain","required":true},"rule_id":{"type":"string","description":"The id, uniquely identifying the rule.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_infra_alert_condition":{"version":0,"block":{"attributes":{"comparison":{"type":"string","description":"The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the infra_metric and infra_process_running condition types.","description_kind":"plain","optional":true},"created_at":{"type":"number","description":"The timestamp the alert condition was created.","description_kind":"plain","computed":true},"description":{"type":"string","description":"The description of the Infrastructure alert condition.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the condition is turned on or off. Valid values are true and false. Defaults to true.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"event":{"type":"string","description":"The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_provider":{"type":"string","description":"For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The Infrastructure alert condition's name.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the alert policy where this condition should be used.","description_kind":"plain","required":true},"process_where":{"type":"string","description":"Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition type.","description_kind":"plain","optional":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"select":{"type":"string","description":"The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the infra_metric condition type.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and infra_host_not_reporting.","description_kind":"plain","required":true},"updated_at":{"type":"number","description":"The timestamp the alert condition was last updated.","description_kind":"plain","computed":true},"violation_close_timer":{"type":"number","description":"Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8, 12, 24, 48, or 72","description_kind":"plain","optional":true},"where":{"type":"string","description":"If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","required":true},"time_function":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"number","description_kind":"plain","optional":true}},"description":"Identifies the threshold parameters for opening a critical alert incident.","description_kind":"plain"},"max_items":1},"warning":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","required":true},"time_function":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"number","description_kind":"plain","optional":true}},"description":"Identifies the threshold parameters for opening a warning alert incident.","description_kind":"plain"},"max_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_insights_event":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"event":{"nesting_mode":"set","block":{"attributes":{"timestamp":{"type":"number","description":"Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The event's name. Can be a combination of alphanumeric characters, underscores, and colons.","description_kind":"plain","required":true}},"block_types":{"attribute":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"The name of the attribute.","description_kind":"plain","required":true},"type":{"type":"string","description":"Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.","description_kind":"plain","optional":true},"value":{"type":"string","description":"The value of the attribute.","description_kind":"plain","required":true}},"description":"An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.","description_kind":"plain"},"min_items":1,"max_items":255}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_log_parsing_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true,"computed":true},"attribute":{"type":"string","description":"The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.","description_kind":"plain","optional":true},"deleted":{"type":"bool","description":"Whether or not this rule is deleted.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether or not this rule is enabled.","description_kind":"plain","required":true},"grok":{"type":"string","description":"The Grok of what to parse.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"lucene":{"type":"string","description":"The Lucene to match events to the parsing rule.","description_kind":"plain","required":true},"matched":{"type":"bool","description":"Whether the Grok pattern matched.","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"A description of what this parsing rule represents.","description_kind":"plain","required":true},"nrql":{"type":"string","description":"The NRQL to match events to the parsing rule.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_monitor_downtime":{"version":0,"block":{"attributes":{"account_id":{"type":"string","description":"The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to NEW_RELIC_ACCOUNT_ID if not specified.","description_kind":"plain","optional":true},"end_time":{"type":"string","description":"A datetime stamp signifying the end of the Monitor Downtime.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"maintenance_days":{"type":["set","string"],"description":"A list of maintenance days to be included with the created weekly Monitor Downtime.","description_kind":"plain","optional":true},"mode":{"type":"string","description":"An identifier of the type of Monitor Downtime to be created.","description_kind":"plain","required":true},"monitor_guids":{"type":["set","string"],"description":"A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.","description_kind":"plain","optional":true},"name":{"type":"string","description":"A name to identify the Monitor Downtime to be created.","description_kind":"plain","required":true},"start_time":{"type":"string","description":"A datetime stamp signifying the start of the Monitor Downtime.","description_kind":"plain","required":true},"time_zone":{"type":"string","description":"The timezone that applies to the Monitor Downtime schedule.","description_kind":"plain","required":true}},"block_types":{"end_repeat":{"nesting_mode":"list","block":{"attributes":{"on_date":{"type":"string","description":"A date, on which the Monitor Downtime's repeat cycle is expected to end.","description_kind":"plain","optional":true},"on_repeat":{"type":"number","description":"Number of repetitions after which the Monitor Downtime's repeat cycle is expected to end.","description_kind":"plain","optional":true}},"description":"A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.","description_kind":"plain"},"max_items":1},"frequency":{"nesting_mode":"list","block":{"attributes":{"days_of_month":{"type":["set","number"],"description":"A numerical list of days of a month on which the Monitor Downtime is scheduled to run.","description_kind":"plain","optional":true}},"block_types":{"days_of_week":{"nesting_mode":"list","block":{"attributes":{"ordinal_day_of_month":{"type":"string","description":"An occurrence of the day selected within the month.","description_kind":"plain","required":true},"week_day":{"type":"string","description":"The day of the week on which the Monitor Downtime would run.","description_kind":"plain","required":true}},"description":"A list of days of the week on which the Monitor Downtime is scheduled to run.","description_kind":"plain"},"max_items":1}},"description":"Configuration options for which days of the month a monitor downtime will occur","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_notification_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the channel.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the channel is active.","description_kind":"plain","optional":true},"destination_id":{"type":"string","description":"(Required) The id of the destination.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"(Required) The name of the channel.","description_kind":"plain","required":true},"product":{"type":"string","description":"(Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT).","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the channel.","description_kind":"plain","computed":true},"type":{"type":"string","description":"(Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","required":true}},"block_types":{"property":{"nesting_mode":"set","block":{"attributes":{"display_value":{"type":"string","description":"Notification property display key.","description_kind":"plain","optional":true},"key":{"type":"string","description":"Notification property key.","description_kind":"plain","required":true},"label":{"type":"string","description":"Notification property label.","description_kind":"plain","optional":true},"value":{"type":"string","description":"Notification property value.","description_kind":"plain","required":true}},"description":"Notification channel property type.","description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_notification_destination":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID under which to put the destination.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the destination is active.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_sent":{"type":"string","description":"The last time a notification was sent.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) The name of the destination.","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the destination.","description_kind":"plain","computed":true},"type":{"type":"string","description":"(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","required":true}},"block_types":{"auth_basic":{"nesting_mode":"list","block":{"attributes":{"password":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"user":{"type":"string","description_kind":"plain","required":true}},"description":"Basic username and password authentication credentials.","description_kind":"plain"},"max_items":1},"auth_token":{"nesting_mode":"list","block":{"attributes":{"prefix":{"type":"string","description_kind":"plain","optional":true},"token":{"type":"string","description_kind":"plain","required":true,"sensitive":true}},"description":"Token authentication credentials.","description_kind":"plain"},"max_items":1},"property":{"nesting_mode":"set","block":{"attributes":{"display_value":{"type":"string","description":"Notification property display key.","description_kind":"plain","optional":true},"key":{"type":"string","description":"Notification property key.","description_kind":"plain","required":true},"label":{"type":"string","description":"Notification property label.","description_kind":"plain","optional":true},"value":{"type":"string","description":"Notification property value.","description_kind":"plain","required":true}},"description":"Notification destination property type.","description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_nrql_alert_condition":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID for managing your NRQL alert conditions.","description_kind":"plain","optional":true,"computed":true},"aggregation_delay":{"type":"string","description":"How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods.","description_kind":"plain","optional":true},"aggregation_method":{"type":"string","description":"The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW.","description_kind":"plain","optional":true},"aggregation_timer":{"type":"string","description":"How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method.","description_kind":"plain","optional":true},"aggregation_window":{"type":"number","description":"The duration of the time window used to evaluate the NRQL query, in seconds.","description_kind":"plain","optional":true,"computed":true},"baseline_direction":{"type":"string","description":"The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).","description_kind":"plain","optional":true},"close_violations_on_expiration":{"type":"bool","description":"Whether to close all open incidents when the signal expires.","description_kind":"plain","optional":true},"description":{"type":"string","description":"The description of the NRQL alert condition.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether or not to enable the alert condition.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the NRQL Condition in New Relic.","description_kind":"plain","computed":true},"evaluation_delay":{"type":"number","description":"How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)","description_kind":"plain","optional":true},"expiration_duration":{"type":"number","description":"The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)","description_kind":"plain","optional":true},"fill_option":{"type":"string","description":"Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).","description_kind":"plain","optional":true},"fill_value":{"type":"number","description":"If using the 'static' fill option, this value will be used for filling gaps in the signal.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The title of the condition.","description_kind":"plain","required":true},"open_violation_on_expiration":{"type":"bool","description":"Whether to create a new incident to capture that the signal expired.","description_kind":"plain","optional":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"slide_by":{"type":"number","description":"The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'.","description_kind":"plain","optional":true},"violation_time_limit":{"type":"string","description":"Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive).","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"violation_time_limit_seconds":{"type":"number","description":"Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A condition term with priority set to critical.","description_kind":"plain"},"max_items":1},"nrql":{"nesting_mode":"list","block":{"attributes":{"evaluation_offset":{"type":"number","description":"NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.","description_kind":"plain","deprecated":true,"optional":true},"query":{"type":"string","description_kind":"plain","required":true},"since_value":{"type":"string","description":"NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.","description_kind":"plain","deprecated":true,"optional":true}},"description":"A NRQL query.","description_kind":"plain"},"min_items":1,"max_items":1},"term":{"nesting_mode":"set","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"priority":{"type":"string","description":"One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.","description_kind":"plain","deprecated":true},"max_items":2},"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"warning":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A condition term with priority set to warning.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_nrql_drop_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"Account with the NRQL drop rule will be put.","description_kind":"plain","optional":true,"computed":true},"action":{"type":"string","description":"The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).","description_kind":"plain","required":true},"description":{"type":"string","description":"Provides additional information about the rule.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"nrql":{"type":"string","description":"Explains which data to apply the drop rule to.","description_kind":"plain","required":true},"rule_id":{"type":"string","description":"The id, uniquely identifying the rule.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_obfuscation_expression":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Description of expression.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of expression.","description_kind":"plain","required":true},"regex":{"type":"string","description":"Regex of expression.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_obfuscation_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation rule.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Description of rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the rule should be applied or not to incoming data.","description_kind":"plain","required":true},"filter":{"type":"string","description":"NRQL for determining whether a given log record should have obfuscation actions applied.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of rule.","description_kind":"plain","required":true}},"block_types":{"action":{"nesting_mode":"set","block":{"attributes":{"attribute":{"type":["set","string"],"description":"Attribute names for action. An empty list applies the action to all the attributes.","description_kind":"plain","required":true},"expression_id":{"type":"string","description":"Expression Id for action.","description_kind":"plain","required":true},"method":{"type":"string","description":"Obfuscation method to use.","description_kind":"plain","required":true}},"description":"Actions for the rule. The actions will be applied in the order specified by this list.","description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_one_dashboard":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The dashboard's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The dashboard's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"permissions":{"type":"string","description":"Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.","description_kind":"plain","optional":true}},"block_types":{"page":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description":"The dashboard page's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard page in New Relic.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The dashboard page's name.","description_kind":"plain","required":true}},"block_types":{"widget_area":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"An area widget.","description_kind":"plain"}},"widget_bar":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A bar widget.","description_kind":"plain"}},"widget_billboard":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"critical":{"type":"string","description":"The critical threshold value.","description_kind":"plain","optional":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"warning":{"type":"string","description":"The warning threshold value.","description_kind":"plain","optional":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A billboard widget.","description_kind":"plain"}},"widget_bullet":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"limit":{"type":"number","description":"The maximum value for the visualization","description_kind":"plain","required":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A bullet widget.","description_kind":"plain"}},"widget_funnel":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A funnel widget.","description_kind":"plain"}},"widget_heatmap":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A heatmap widget.","description_kind":"plain"}},"widget_histogram":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A histogram widget.","description_kind":"plain"}},"widget_json":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A JSON widget.","description_kind":"plain"}},"widget_line":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_zero":{"type":"bool","description":"Specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range.","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A line widget.","description_kind":"plain"}},"widget_log_table":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A log table widget.","description_kind":"plain"}},"widget_markdown":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"text":{"type":"string","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A markdown widget.","description_kind":"plain"}},"widget_pie":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A pie widget.","description_kind":"plain"}},"widget_stacked_bar":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A stacked bar widget.","description_kind":"plain"}},"widget_table":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A table widget.","description_kind":"plain"}}},"description_kind":"plain"},"min_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"default_values":{"type":["list","string"],"description":"Default values for this variable.","description_kind":"plain","optional":true},"is_multi_selection":{"type":"bool","description":"Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The variable identifier.","description_kind":"plain","required":true},"replacement_strategy":{"type":"string","description":"Indicates the strategy to apply when replacing a variable in a NRQL query.","description_kind":"plain","required":true},"title":{"type":"string","description":"Human-friendly display string for this variable.","description_kind":"plain","required":true},"type":{"type":"string","description":"Specifies the data type of the variable and where its possible values may come from.","description_kind":"plain","required":true}},"block_types":{"item":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"A human-friendly display string for this value.","description_kind":"plain","optional":true},"value":{"type":"string","description":"A possible variable value","description_kind":"plain","required":true}},"description":"List of possible values for variables of type ENUM","description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_ids":{"type":["list","number"],"description":"New Relic account ID(s) to issue the query against.","description_kind":"plain","optional":true},"query":{"type":"string","description":"NRQL formatted query.","description_kind":"plain","required":true}},"description":"Configuration for variables of type NRQL.","description_kind":"plain"},"max_items":1}},"description":"Dashboard-local variable definitions.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_one_dashboard_json":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"json":{"type":"string","description":"The dashboard's json.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"updated_at":{"type":"string","description":"The date and time when the dashboard was last updated.","description_kind":"plain","computed":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true},"update":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_one_dashboard_raw":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The dashboard's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The dashboard's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"permissions":{"type":"string","description":"Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.","description_kind":"plain","optional":true}},"block_types":{"page":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description":"The dashboard page's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard page in New Relic.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The dashboard page's name.","description_kind":"plain","required":true}},"block_types":{"widget":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"configuration":{"type":"string","description":"The configuration of the widget.","description_kind":"plain","required":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"linked_entity_guids":{"type":["list","string"],"description":"(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"visualization_id":{"type":"string","description":"The visualization ID of the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true}},"description":"A generic widget configuration. Visualization id is required.","description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_service_level":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"guid":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"sli_guid":{"type":"string","description_kind":"plain","computed":true},"sli_id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"events":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true}},"block_types":{"bad_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"good_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"valid_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"objective":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"number","description_kind":"plain","required":true}},"block_types":{"time_window":{"nesting_mode":"list","block":{"block_types":{"rolling":{"nesting_mode":"list","block":{"attributes":{"count":{"type":"number","description_kind":"plain","required":true},"unit":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"newrelic_synthetics_alert_condition":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Set whether to enable the alert condition. Defaults to true.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"monitor_id":{"type":"string","description":"The ID of the Synthetics monitor to be referenced in the alert condition.","description_kind":"plain","required":true},"name":{"type":"string","description":"The title of this condition.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true}},"description_kind":"plain","deprecated":true}},"newrelic_synthetics_broken_links_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"List private location GUIDs for which the monitor will run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"Publicly available location names in which the monitor will run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"status":{"type":"string","description":"The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to refrain from using this value and shift to alternatives.","description_kind":"plain","required":true},"uri":{"type":"string","description":"The URI the monitor runs against.","description_kind":"plain","required":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_cert_check_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"certificate_expiration":{"type":"number","description_kind":"plain","required":true},"domain":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"name of the cert check monitor","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"status":{"type":"string","description":"The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to refrain from using this value and shift to alternatives.","description_kind":"plain","required":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"bypass_head_request":{"type":"bool","description":"Bypass HEAD request.","description_kind":"plain","optional":true},"device_orientation":{"type":"string","description":"The device orientation the user would like to represent. Valid values are LANDSCAPE, PORTRAIT, or NONE.","description_kind":"plain","optional":true},"device_type":{"type":"string","description":"The device type that a user can select. Valid values are MOBILE, TABLET, or NONE.","description_kind":"plain","optional":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","optional":true,"computed":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific version of the runtime type selected","description_kind":"plain","optional":true},"script_language":{"type":"string","description":"The programing language that should execute the script","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to refrain from using this value and shift to alternatives.","description_kind":"plain","required":true},"treat_redirect_as_failure":{"type":"bool","description":"Fail the monitor check if redirected.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The monitor type. Valid values are SIMPLE AND BROWSER.","description_kind":"plain","required":true},"uri":{"type":"string","description":"The URI for the monitor to hit.","description_kind":"plain","optional":true},"validation_string":{"type":"string","description":"The string to validate against in the response.","description_kind":"plain","optional":true},"verify_ssl":{"type":"bool","description":"Verify SSL.","description_kind":"plain","optional":true}},"block_types":{"custom_header":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Header name","description_kind":"plain","optional":true},"value":{"type":"string","description":"Header value","description_kind":"plain","optional":true}},"description":"Custom headers to use in monitor job","description_kind":"plain"}},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_multilocation_alert_condition":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Set whether to enable the alert condition. Defaults to true.","description_kind":"plain","optional":true},"entities":{"type":["list","string"],"description":"The GUIDs of the Synthetics monitors to alert on.","description_kind":"plain","required":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The title of this condition.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition will be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"violation_time_limit_seconds":{"type":"number","description":"Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"threshold":{"type":"number","description":"The minimum number of monitor locations that must be concurrently failing before an incident is opened.","description_kind":"plain","required":true}},"description":"A condition term with priority set to critical.","description_kind":"plain"},"min_items":1,"max_items":1},"warning":{"nesting_mode":"list","block":{"attributes":{"threshold":{"type":"number","description":"The minimum number of monitor locations that must be concurrently failing before an incident is opened.","description_kind":"plain","required":true}},"description":"A condition term with priority set to warning.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_synthetics_private_location":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The private location description.","description_kind":"plain","required":true},"domain_id":{"type":"string","description":"The private location globally unique identifier.","description_kind":"plain","computed":true},"guid":{"type":"string","description":"The guid of the entity to tag.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The private locations key.","description_kind":"plain","computed":true},"location_id":{"type":"string","description":"An alternate identifier based on name.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the private location.","description_kind":"plain","required":true},"verified_script_execution":{"type":"bool","description":"The private location requires a password to edit if value is true.","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_synthetics_script_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"device_orientation":{"type":"string","description":"The device orientation the user would like to represent. Valid values are LANDSCAPE, PORTRAIT, or NONE.","description_kind":"plain","optional":true},"device_type":{"type":"string","description":"The device type that a user can select. Valid values are MOBILE, TABLET, or NONE.","description_kind":"plain","optional":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_public":{"type":["set","string"],"description":"The public location(s) that the monitor will run jobs from.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run.","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific semver version of the runtime type.","description_kind":"plain","optional":true},"script":{"type":"string","description":"The script that the monitor runs.","description_kind":"plain","optional":true},"script_language":{"type":"string","description":"The programing language that should execute the script.","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to refrain from using this value and shift to alternatives.","description_kind":"plain","required":true},"type":{"type":"string","description":"The monitor type. Valid values are SCRIPT_BROWSER, and SCRIPT_API.","description_kind":"plain","required":true}},"block_types":{"location_private":{"nesting_mode":"set","block":{"attributes":{"guid":{"type":"string","description":"The unique identifier for the Synthetics private location in New Relic.","description_kind":"plain","required":true},"vse_password":{"type":"string","description":"The location's Verified Script Execution password (Only necessary if Verified Script Execution is enabled for the location).","description_kind":"plain","optional":true,"sensitive":true}},"description_kind":"plain"}},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_secure_credential":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the secure credential.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The secure credential's description.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.","description_kind":"plain","required":true},"last_updated":{"type":"string","description":"The time the secure credential was last updated.","description_kind":"plain","optional":true,"computed":true},"value":{"type":"string","description":"The secure credential's value.","description_kind":"plain","required":true,"sensitive":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"read":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_step_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_public":{"type":["set","string"],"description":"The public location(s) that the monitor will run jobs from.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"status":{"type":"string","description":"The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to refrain from using this value and shift to alternatives.","description_kind":"plain","required":true}},"block_types":{"location_private":{"nesting_mode":"set","block":{"attributes":{"guid":{"type":"string","description":"The unique identifier for the Synthetics private location in New Relic.","description_kind":"plain","required":true},"vse_password":{"type":"string","description":"The location's Verified Script Execution password (Only necessary if Verified Script Execution is enabled for the location).","description_kind":"plain","optional":true,"sensitive":true}},"description_kind":"plain"}},"steps":{"nesting_mode":"list","block":{"attributes":{"ordinal":{"type":"number","description":"The position of the step within the script ranging from 0-100","description_kind":"plain","required":true},"type":{"type":"string","description":"The type of step to be added to the script.","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"The metadata values related to the check the step performs.","description_kind":"plain","optional":true}},"description":"The steps that make up the script the monitor will run","description_kind":"plain"},"min_items":1},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_workflow":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the workflow.","description_kind":"plain","optional":true,"computed":true},"destinations_enabled":{"type":"bool","description":"Indicates whether the destinations are enabled.","description_kind":"plain","deprecated":true,"optional":true},"enabled":{"type":"bool","description":"Indicates whether the workflow is enabled.","description_kind":"plain","optional":true},"enrichments_enabled":{"type":"bool","description":"Indicates whether the enrichments are enabled.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"Workflow entity GUID","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_run":{"type":"string","description":"The last time notification was sent for this workflow.","description_kind":"plain","computed":true},"muting_rules_handling":{"type":"string","description":"The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES).","description_kind":"plain","required":true},"name":{"type":"string","description":"(Required) The name of the workflow.","description_kind":"plain","required":true},"workflow_id":{"type":"string","description":"The id of the workflow.","description_kind":"plain","computed":true}},"block_types":{"destination":{"nesting_mode":"set","block":{"attributes":{"channel_id":{"type":"string","description":"(Required) Destination's channel id.","description_kind":"plain","required":true},"name":{"type":"string","description":"(Required) Destination's name.","description_kind":"plain","computed":true},"notification_triggers":{"type":["list","string"],"description":"List of triggers to notify about in this destination configuration.","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description":"(Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).","description_kind":"plain","computed":true}},"description":"Workflow's destination configuration.","description_kind":"plain"},"min_items":1},"enrichments":{"nesting_mode":"set","block":{"block_types":{"nrql":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id of the enrichment.","description_kind":"plain","computed":true},"enrichment_id":{"type":"string","description":"Enrichment's id.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) Enrichment's name.","description_kind":"plain","required":true},"type":{"type":"string","description":"The type of the enrichment. One of: (NRQL).","description_kind":"plain","computed":true}},"block_types":{"configuration":{"nesting_mode":"list","block":{"attributes":{"query":{"type":"string","description":"enrichment's NRQL query","description_kind":"plain","required":true}},"description":"A set of key-value pairs to represent a enrichment configuration.","description_kind":"plain"},"min_items":1}},"description":"(Required) Nrql type Enrichments.","description_kind":"plain"},"min_items":1}},"description":"Enrichments can give additional context on alert notifications by adding NRQL query results to them.","description_kind":"plain"},"max_items":1},"issues_filter":{"nesting_mode":"set","block":{"attributes":{"filter_id":{"type":"string","description":"filter id.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) Filter's name.","description_kind":"plain","required":true},"type":{"type":"string","description":"(Required) The type of the filter. One of: (FILTER, VIEW).","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"(Required) predicate's attribute.","description_kind":"plain","required":true},"operator":{"type":"string","description":"The type of the operator. One of: (CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, STARTS_WITH).","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"List of predicate values.","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"newrelic_workload":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the workload.","description_kind":"plain","optional":true,"computed":true},"composite_entity_search_query":{"type":"string","description":"The composite query used to compose a dynamic workload.","description_kind":"plain","computed":true},"description":{"type":"string","description":"Relevant information about the workload.","description_kind":"plain","optional":true},"entity_guids":{"type":["set","string"],"description":"A list of entity GUIDs manually assigned to this workload.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the workload in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The workload's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the workload.","description_kind":"plain","computed":true},"scope_account_ids":{"type":["set","number"],"description":"A list of account IDs that will be used to get entities from.","description_kind":"plain","optional":true,"computed":true},"workload_id":{"type":"number","description":"The unique entity identifier of the workload.","description_kind":"plain","computed":true}},"block_types":{"entity_search_query":{"nesting_mode":"set","block":{"attributes":{"query":{"type":"string","description":"The query.","description_kind":"plain","required":true}},"description":"A list of search queries that define a dynamic workload.","description_kind":"plain"}},"status_config_automatic":{"nesting_mode":"set","block":{"attributes":{"enabled":{"type":"bool","description":"Whether the automatic status configuration is enabled or not.","description_kind":"plain","required":true}},"block_types":{"remaining_entities_rule":{"nesting_mode":"set","block":{"block_types":{"remaining_entities_rule_rollup":{"nesting_mode":"set","block":{"attributes":{"group_by":{"type":"string","description":"The grouping to be applied to the remaining entities.","description_kind":"plain","required":true},"strategy":{"type":"string","description":"The rollup strategy that is applied to a group of entities.","description_kind":"plain","required":true},"threshold_type":{"type":"string","description":"Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description":"Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.","description_kind":"plain","optional":true}},"description":"The input object used to represent a rollup strategy.","description_kind":"plain"},"min_items":1,"max_items":1}},"description":"An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.","description_kind":"plain"},"max_items":1},"rule":{"nesting_mode":"set","block":{"attributes":{"entity_guids":{"type":["set","string"],"description":"A list of entity GUIDs composing the rule.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"nrql_query":{"nesting_mode":"set","block":{"attributes":{"query":{"type":"string","description":"The entity search query that is used to perform the search of a group of entities.","description_kind":"plain","required":true}},"description":"A list of entity search queries used to retrieve the entities that compose the rule.","description_kind":"plain"}},"rollup":{"nesting_mode":"set","block":{"attributes":{"strategy":{"type":"string","description":"The rollup strategy that is applied to a group of entities.","description_kind":"plain","required":true},"threshold_type":{"type":"string","description":"Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description":"Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.","description_kind":"plain","optional":true}},"description":"The input object used to represent a rollup strategy.","description_kind":"plain"},"min_items":1,"max_items":1}},"description":"A list of rules.","description_kind":"plain"}}},"description":"An input object used to represent an automatic status configuration.","description_kind":"plain"},"max_items":1},"status_config_static":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"A description that provides additional details about the status of the workload.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the static status configuration is enabled or not.","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the workload.","description_kind":"plain","required":true},"summary":{"type":"string","description":"A short description of the status of the workload.","description_kind":"plain","optional":true}},"description":"A list of static status configurations. You can only configure one static status for a workload.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}}},"data_source_schemas":{"newrelic_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the account in New Relic.","description_kind":"plain","optional":true},"scope":{"type":"string","description":"The scope of the account in New Relic. Valid values are \"global\" and \"in_region\". Defaults to \"in_region\".","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_alert_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to retrieve the alert channel.","description_kind":"plain","optional":true,"computed":true},"config":{"type":["list",["object",{"api_key":"string","auth_password":"string","auth_type":"string","auth_username":"string","base_url":"string","channel":"string","headers":["map","string"],"include_json_attachment":"string","key":"string","payload":["map","string"],"payload_string":"string","payload_type":"string","recipients":"string","region":"string","route_key":"string","service_key":"string","tags":"string","teams":"string","url":"string","user_id":"string"}]],"description":"Alert channel configuration.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the alert channel in New Relic.","description_kind":"plain","required":true},"policy_ids":{"type":["list","number"],"description":"A list of policy IDs associated with the alert channel.","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of channel. One of: (email, opsgenie, pagerduty, slack, user, victorops, webhook).","description_kind":"plain","computed":true}},"description_kind":"plain","deprecated":true}},"newrelic_alert_policy":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID to operate on.","description_kind":"plain","optional":true,"computed":true},"created_at":{"type":"string","description":"The time the policy was created.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"incident_preference":{"type":"string","description":"The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the alert policy in New Relic.","description_kind":"plain","required":true},"updated_at":{"type":"string","description":"The time the policy was last updated.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_application":{"version":0,"block":{"attributes":{"host_ids":{"type":["list","number"],"description":"A list of host IDs associated with the application.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"instance_ids":{"type":["list","number"],"description":"A list of instance IDs associated with the application.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the application in New Relic.","description_kind":"plain","required":true}},"description_kind":"plain","deprecated":true}},"newrelic_cloud_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the New Relic account.","description_kind":"plain","optional":true},"cloud_provider":{"type":"string","description":"The cloud provider of the account, e.g. aws, gcp, azure","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the cloud account.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_entity":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID; if specified, constrains the data source to return an entity belonging to the account with this ID, of all matching entities retrieved.","description_kind":"plain","optional":true,"computed":true},"application_id":{"type":"number","description":"The domain-specific ID of the entity (only returned for APM and Browser applications).","description_kind":"plain","computed":true},"domain":{"type":"string","description":"The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"A unique entity identifier.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ignore_case":{"type":"bool","description":"Ignore case when searching the entity name.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.","description_kind":"plain","required":true},"serving_apm_application_id":{"type":"number","description":"The browser-specific ID of the backing APM entity. (only returned for Browser applications)","description_kind":"plain","computed":true},"type":{"type":"string","description":"The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"tag":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The tag key.","description_kind":"plain","required":true},"value":{"type":"string","description":"The tag value.","description_kind":"plain","required":true}},"description":"A tag applied to the entity.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_key_transaction":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the key transaction in New Relic.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_notification_destination":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID under which to put the destination.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the destination is active.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of the destination.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the destination.","description_kind":"plain","optional":true},"property":{"type":["set",["object",{"display_value":"string","key":"string","label":"string","value":"string"}]],"description":"Notification destination property type.","description_kind":"plain","computed":true},"status":{"type":"string","description":"The status of the destination.","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_obfuscation_expression":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of expression.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_service_level_alert_helper":{"version":0,"block":{"attributes":{"alert_type":{"type":"string","description_kind":"plain","required":true},"custom_evaluation_period":{"type":"number","description_kind":"plain","optional":true},"custom_tolerated_budget_consumption":{"type":"number","description_kind":"plain","optional":true},"evaluation_period":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_bad_events":{"type":"bool","description_kind":"plain","optional":true},"nrql":{"type":"string","description_kind":"plain","computed":true},"sli_guid":{"type":"string","description_kind":"plain","required":true},"slo_period":{"type":"number","description_kind":"plain","required":true},"slo_target":{"type":"number","description_kind":"plain","required":true},"threshold":{"type":"number","description_kind":"plain","computed":true},"tolerated_budget_consumption":{"type":"number","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_synthetics_private_location":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":["list","string"],"description":"The key of the queried private location.","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the Synthetics monitor private location.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_synthetics_secure_credential":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID associated with this secure credential.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The secure credential's description.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.","description_kind":"plain","required":true},"last_updated":{"type":"string","description":"The time the secure credential was last updated.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_test_grok_pattern":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the test grok.","description_kind":"plain","optional":true},"grok":{"type":"string","description":"The Grok pattern to test.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"log_lines":{"type":["set","string"],"description":"The log lines to test the Grok pattern against.","description_kind":"plain","required":true},"test_grok":{"type":["list",["object",{"attributes":["set",["object",{"name":"string","value":"string"}]],"log_line":"string","matched":"bool"}]],"description":"Test a Grok pattern against a list of log lines.","description_kind":"plain","computed":true}},"description_kind":"plain"}}}}}} +{"format_version":"1.0","provider_schemas":{"registry.terraform.io/newrelic/newrelic":{"provider":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true,"sensitive":true},"admin_api_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"api_key":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"cacert_file":{"type":"string","description_kind":"plain","optional":true},"infrastructure_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"insecure_skip_verify":{"type":"bool","description_kind":"plain","optional":true},"insights_insert_key":{"type":"string","description_kind":"plain","optional":true,"sensitive":true},"insights_insert_url":{"type":"string","description_kind":"plain","optional":true},"insights_query_url":{"type":"string","description_kind":"plain","optional":true},"nerdgraph_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true},"region":{"type":"string","description":"The data center for which your New Relic account is configured. Only one region per provider block is permitted.","description_kind":"plain","optional":true},"synthetics_api_url":{"type":"string","description_kind":"plain","deprecated":true,"optional":true}},"description_kind":"plain"}},"resource_schemas":{"newrelic_account_management":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the account to be created","description_kind":"plain","required":true},"region":{"type":"string","description":"A description of what this parsing rule represents.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_alert_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create alert channels.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"(Required) The name of the channel.","description_kind":"plain","required":true},"type":{"type":"string","description":"(Required) The type of channel. One of: (victorops, webhook, email, opsgenie, pagerduty, slack, user).","description_kind":"plain","required":true}},"block_types":{"config":{"nesting_mode":"list","block":{"attributes":{"api_key":{"type":"string","description":"The API key for integrating with OpsGenie.","description_kind":"plain","optional":true,"sensitive":true},"auth_password":{"type":"string","description":"Specifies an authentication password for use with a channel. Supported by the webhook channel type.","description_kind":"plain","optional":true,"sensitive":true},"auth_type":{"type":"string","description":"Specifies an authentication method for use with a channel. Supported by the webhook channel type. Only HTTP basic authentication is currently supported via the value BASIC.","description_kind":"plain","optional":true,"sensitive":true},"auth_username":{"type":"string","description":"Specifies an authentication username for use with a channel. Supported by the webhook channel type.","description_kind":"plain","optional":true},"base_url":{"type":"string","description":"The base URL of the webhook destination.","description_kind":"plain","optional":true,"sensitive":true},"channel":{"type":"string","description":"The Slack channel to send notifications to.","description_kind":"plain","optional":true},"headers":{"type":["map","string"],"description":"A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.","description_kind":"plain","optional":true,"sensitive":true},"headers_string":{"type":"string","description":"Use instead of headers if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with headers.","description_kind":"plain","optional":true,"sensitive":true},"include_json_attachment":{"type":"string","description":"true or false. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients.","description_kind":"plain","optional":true},"key":{"type":"string","description":"The key for integrating with VictorOps.","description_kind":"plain","optional":true,"sensitive":true},"payload":{"type":["map","string"],"description":"A map of key/value pairs that represents the webhook payload. Must provide payload_type if setting this argument.","description_kind":"plain","optional":true,"sensitive":true},"payload_string":{"type":"string","description":"Use instead of payload if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with payload.","description_kind":"plain","optional":true,"sensitive":true},"payload_type":{"type":"string","description":"Can either be application/json or application/x-www-form-urlencoded. The payload_type argument is required if payload is set.","description_kind":"plain","optional":true},"recipients":{"type":"string","description":"A set of recipients for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"region":{"type":"string","description":"The data center region to store your data. Valid values are US and EU. Default is US.","description_kind":"plain","optional":true},"route_key":{"type":"string","description":"The route key for integrating with VictorOps.","description_kind":"plain","optional":true,"sensitive":true},"service_key":{"type":"string","description":"Specifies the service key for integrating with Pagerduty.","description_kind":"plain","optional":true,"sensitive":true},"tags":{"type":"string","description":"A set of tags for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"teams":{"type":"string","description":"A set of teams for targeting notifications. Multiple values are comma separated.","description_kind":"plain","optional":true},"url":{"type":"string","description":"Your organization's Slack URL.","description_kind":"plain","optional":true,"sensitive":true},"user_id":{"type":"string","description":"The user ID for use with the user channel type.","description_kind":"plain","optional":true}},"description":"The configuration block for the alert channel.","description_kind":"plain"},"max_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_alert_condition":{"version":0,"block":{"attributes":{"condition_scope":{"type":"string","description":"One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the condition is enabled.","description_kind":"plain","optional":true},"entities":{"type":["set","number"],"description":"The instance IDs associated with this condition.","description_kind":"plain","required":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"gc_metric":{"type":"string","description":"A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric":{"type":"string","description":"The metric field accepts parameters based on the type set.","description_kind":"plain","required":true},"name":{"type":"string","description":"The title of the condition. Must be between 1 and 128 characters, inclusive.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric).","description_kind":"plain","required":true},"user_defined_metric":{"type":"string","description":"A custom metric to be evaluated.","description_kind":"plain","optional":true},"user_defined_value_function":{"type":"string","description":"One of: (average, min, max, total, sample_size, percent, rate).","description_kind":"plain","optional":true},"violation_close_timer":{"type":"number","description":"Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours.","description_kind":"plain","optional":true}},"block_types":{"term":{"nesting_mode":"set","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 5 to 120, inclusive.","description_kind":"plain","required":true},"operator":{"type":"string","description":"One of (above, below, equal). Defaults to equal.","description_kind":"plain","optional":true},"priority":{"type":"string","description":"One of (critical, warning). Defaults to critical.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"Must be 0 or greater.","description_kind":"plain","required":true},"time_function":{"type":"string","description":"One of (all, any).","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_alert_muting_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the MutingRule..","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The description of the MutingRule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the MutingRule is enabled.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the MutingRule.","description_kind":"plain","required":true}},"block_types":{"condition":{"nesting_mode":"list","block":{"attributes":{"operator":{"type":"string","description":"The operator used to combine all the MutingRuleConditions within the group.","description_kind":"plain","required":true}},"block_types":{"conditions":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"The attribute on an incident.","description_kind":"plain","required":true},"operator":{"type":"string","description":"The operator used to compare the attribute's value with the supplied value(s).","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"The value(s) to compare against the attribute's value.","description_kind":"plain","required":true}},"description":"The individual MutingRuleConditions within the group.","description_kind":"plain"},"min_items":1}},"description":"The condition that defines which incidents to target.","description_kind":"plain"},"min_items":1,"max_items":1},"schedule":{"nesting_mode":"list","block":{"attributes":{"end_repeat":{"type":"string","description":"The datetime stamp when the MutingRule schedule should stop repeating.","description_kind":"plain","optional":true},"end_time":{"type":"string","description":"The datetime stamp representing when the MutingRule should end.","description_kind":"plain","optional":true},"repeat":{"type":"string","description":"The frequency the MutingRule schedule repeats. One of [DAILY, WEEKLY, MONTHLY]","description_kind":"plain","optional":true},"repeat_count":{"type":"number","description":"The number of times the MutingRule schedule should repeat.","description_kind":"plain","optional":true},"start_time":{"type":"string","description":"The datetime stamp representing when the MutingRule should start.","description_kind":"plain","optional":true},"time_zone":{"type":"string","description":"The time zone that applies to the MutingRule schedule.","description_kind":"plain","required":true},"weekly_repeat_days":{"type":["set","string"],"description":"The day(s) of the week that a MutingRule should repeat when the repeat field is set to WEEKLY.","description_kind":"plain","optional":true}},"description":"The time window when the MutingRule should actively mute incidents.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_alert_policy":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID to operate on.","description_kind":"plain","optional":true,"computed":true},"channel_ids":{"type":["list","number"],"description":"An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be imported via terraform import.","description_kind":"plain","deprecated":true,"optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"incident_preference":{"type":"string","description":"The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the policy.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_alert_policy_channel":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the channel to.","description_kind":"plain","optional":true,"computed":true},"channel_ids":{"type":["set","number"],"description":"Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift your Terraform state.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"policy_id":{"type":"number","description":"The ID of the policy.","description_kind":"plain","required":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain","deprecated":true}},"newrelic_api_access_key":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ingest_type":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"key_type":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"notes":{"type":"string","description_kind":"plain","optional":true,"computed":true},"user_id":{"type":"number","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"newrelic_application_settings":{"version":0,"block":{"attributes":{"app_apdex_threshold":{"type":"number","description_kind":"plain","required":true},"enable_real_user_monitoring":{"type":"bool","description_kind":"plain","required":true},"end_user_apdex_threshold":{"type":"number","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_browser_application":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID.","description_kind":"plain","optional":true,"computed":true},"application_id":{"type":"string","description":"The ID of the browser application.","description_kind":"plain","computed":true},"cookies_enabled":{"type":"bool","description":"Configure cookies. The default is enabled: true.","description_kind":"plain","optional":true},"distributed_tracing_enabled":{"type":"bool","description":"Configure distributed tracing in browser apps. The default is enabled: true.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The GUID of the browser application.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"js_config":{"type":"string","description":"JavaScript configuration of the browser application encoded into a string.","description_kind":"plain","computed":true},"loader_type":{"type":"string","description":"Determines which browser loader is configured. The default is \"SPA\".","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the application to monitor.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_aws_govcloud_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked AwsGovCloud account in New Relic","description_kind":"plain","required":true}},"block_types":{"alb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"load_balancer_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The alb integration","description_kind":"plain"},"max_items":1},"api_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"stage_prefixes":{"type":["list","string"],"description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The api gateway integration","description_kind":"plain"},"max_items":1},"auto_scaling":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The auto scaling integration","description_kind":"plain"},"max_items":1},"aws_direct_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The aws direct connect integration","description_kind":"plain"},"max_items":1},"aws_states":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The aws states integration","description_kind":"plain"},"max_items":1},"cloudtrail":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The cloudtrail integration","description_kind":"plain"},"max_items":1},"dynamo_db":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The dynamo DB integration","description_kind":"plain"},"max_items":1},"ebs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The ebs integration","description_kind":"plain"},"max_items":1},"ec2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_ip_addresses":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The ec2 integration","description_kind":"plain"},"max_items":1},"elastic_search":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_nodes":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The elastic search integration","description_kind":"plain"},"max_items":1},"elb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The elb integration","description_kind":"plain"},"max_items":1},"emr":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":"string","description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.\n\n","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The emr integration","description_kind":"plain"},"max_items":1},"iam":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The iam integration","description_kind":"plain"},"max_items":1},"lambda":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.\n\n","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The lambda integration","description_kind":"plain"},"max_items":1},"rds":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The rds integration","description_kind":"plain"},"max_items":1},"red_shift":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The redshift integration","description_kind":"plain"},"max_items":1},"route53":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The route53 integration","description_kind":"plain"},"max_items":1},"s3":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The s3 integration","description_kind":"plain"},"max_items":1},"sns":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true}},"description":"The sns integration","description_kind":"plain"},"max_items":1},"sqs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"queue_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The sqs integration","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_aws_govcloud_link_account":{"version":0,"block":{"attributes":{"access_key_id":{"type":"string","description":"access-key-id of awsGovcloud account","description_kind":"plain","required":true,"sensitive":true},"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"aws_account_id":{"type":"string","description":"awsGovcloud account id","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric_collection_mode":{"type":"string","description":"push or pull","description_kind":"plain","optional":true},"name":{"type":"string","description":"name of the account","description_kind":"plain","required":true},"secret_access_key":{"type":"string","description":"secret access key of the awsGovcloud account","description_kind":"plain","required":true,"sensitive":true}},"description_kind":"plain"}},"newrelic_cloud_aws_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked AWS account in New Relic","description_kind":"plain","required":true}},"block_types":{"alb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"load_balancer_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"ALB integration","description_kind":"plain"},"max_items":1},"api_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"stage_prefixes":{"type":["list","string"],"description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"API Gateway integration","description_kind":"plain"},"max_items":1},"auto_scaling":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"AutoScaling integration","description_kind":"plain"},"max_items":1},"aws_app_sync":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Appsync integration","description_kind":"plain"},"max_items":1},"aws_athena":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Athena integration","description_kind":"plain"},"max_items":1},"aws_cognito":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Cognito integration","description_kind":"plain"},"max_items":1},"aws_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Connect integration","description_kind":"plain"},"max_items":1},"aws_direct_connect":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Direct Connect integration","description_kind":"plain"},"max_items":1},"aws_fsx":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Fsx integration","description_kind":"plain"},"max_items":1},"aws_glue":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Glue integration","description_kind":"plain"},"max_items":1},"aws_kinesis_analytics":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Kinesis Analytics integration","description_kind":"plain"},"max_items":1},"aws_media_convert":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Media Convert integration","description_kind":"plain"},"max_items":1},"aws_media_package_vod":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Media PackageVod integration","description_kind":"plain"},"max_items":1},"aws_mq":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Mq integration","description_kind":"plain"},"max_items":1},"aws_msk":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Msk integration","description_kind":"plain"},"max_items":1},"aws_neptune":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Neptune integration","description_kind":"plain"},"max_items":1},"aws_qldb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Qldb integration","description_kind":"plain"},"max_items":1},"aws_route53resolver":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Route53resolver integration","description_kind":"plain"},"max_items":1},"aws_states":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws states integration","description_kind":"plain"},"max_items":1},"aws_transit_gateway":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Transit Gateway integration","description_kind":"plain"},"max_items":1},"aws_waf":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Waf integration","description_kind":"plain"},"max_items":1},"aws_wafv2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Aws Wafv2 integration","description_kind":"plain"},"max_items":1},"billing":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Billing integration","description_kind":"plain"},"max_items":1},"cloudfront":{"nesting_mode":"list","block":{"attributes":{"fetch_lambdas_at_edge":{"type":"bool","description":"Specify if Lambdas@Edge should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Cloudfront integration","description_kind":"plain"},"max_items":1},"cloudtrail":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"CloudTrail integration","description_kind":"plain"},"max_items":1},"doc_db":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Doc DB integration","description_kind":"plain"},"max_items":1},"dynamodb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Dynamo DB integration","description_kind":"plain"},"max_items":1},"ebs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"EBS integration","description_kind":"plain"},"max_items":1},"ec2":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"duplicate_ec2_tags":{"type":"bool","description":"Specify if the old legacy metadata and tag names have to be kept, it will consume more ingest data size","description_kind":"plain","optional":true},"fetch_ip_addresses":{"type":"bool","description":"Specify if IP addresses of ec2 instance should be collected","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Ec2 integration","description_kind":"plain"},"max_items":1},"ecs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Ecs integration","description_kind":"plain"},"max_items":1},"efs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Efs integration","description_kind":"plain"},"max_items":1},"elasticache":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Elasticache integration","description_kind":"plain"},"max_items":1},"elasticbeanstalk":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Elastic Bean Stalk integration","description_kind":"plain"},"max_items":1},"elasticsearch":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_nodes":{"type":"bool","description":"Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n\n","description_kind":"plain","optional":true}},"description":"Elastic Search integration","description_kind":"plain"},"max_items":1},"elb":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Elb integration","description_kind":"plain"},"max_items":1},"emr":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Emr integration","description_kind":"plain"},"max_items":1},"health":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Health integration","description_kind":"plain"},"max_items":1},"iam":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Iam integration","description_kind":"plain"},"max_items":1},"iot":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Iot integration","description_kind":"plain"},"max_items":1},"kinesis":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_shards":{"type":"bool","description":"Specify if Shards should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Kinesis integration","description_kind":"plain"},"max_items":1},"kinesis_firehose":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Kinesis Firehose integration","description_kind":"plain"},"max_items":1},"lambda":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Lambda integration","description_kind":"plain"},"max_items":1},"rds":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags and the extended inventory should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Rds integration","description_kind":"plain"},"max_items":1},"redshift":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"Redshift integration","description_kind":"plain"},"max_items":1},"route53":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Route53 integration","description_kind":"plain"},"max_items":1},"s3":{"nesting_mode":"list","block":{"attributes":{"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"S3 integration","description_kind":"plain"},"max_items":1},"ses":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Ses integration","description_kind":"plain"},"max_items":1},"sns":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Sns integration","description_kind":"plain"},"max_items":1},"sqs":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_extended_inventory":{"type":"bool","description":"Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_tags":{"type":"bool","description":"Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"queue_prefixes":{"type":["list","string"],"description":"Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"SQS integration","description_kind":"plain"},"max_items":1},"trusted_advisor":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"Trusted Advisor integration","description_kind":"plain"},"max_items":1},"vpc":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"fetch_nat_gateway":{"type":"bool","description":"Specify if NAT gateway should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"fetch_vpn":{"type":"bool","description":"Specify if VPN should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true},"tag_key":{"type":"string","description":"Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true},"tag_value":{"type":"string","description":"Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.","description_kind":"plain","optional":true}},"description":"VPC integration","description_kind":"plain"},"max_items":1},"x_ray":{"nesting_mode":"list","block":{"attributes":{"aws_regions":{"type":["list","string"],"description":"Specify each AWS region that includes the resources that you want to monitor.","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds.","description_kind":"plain","optional":true}},"description":"X-Ray integration","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_aws_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the AWS account.","description_kind":"plain","optional":true,"computed":true},"arn":{"type":"string","description":"The AWS role ARN.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metric_collection_mode":{"type":"string","description":"How metrics will be collected. Defaults to `PULL` if empty.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the linked account.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_azure_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"The ID of the linked Azure account in New Relic","description_kind":"plain","required":true}},"block_types":{"api_management":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure api management integration","description_kind":"plain"},"max_items":1},"app_gateway":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure app gateway integration","description_kind":"plain"},"max_items":1},"app_service":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure app services","description_kind":"plain"},"max_items":1},"containers":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure containers","description_kind":"plain"},"max_items":1},"cosmos_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure cosmoDB","description_kind":"plain"},"max_items":1},"cost_management":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"tag_keys":{"type":["list","string"],"description":"Specify if additional cost data per tag should be collected. This field is case sensitive.\n\n","description_kind":"plain","optional":true}},"description":"The Azure cost management","description_kind":"plain"},"max_items":1},"data_factory":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure data factory","description_kind":"plain"},"max_items":1},"event_hub":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure event hub","description_kind":"plain"},"max_items":1},"express_route":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure express route","description_kind":"plain"},"max_items":1},"firewalls":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure firewalls","description_kind":"plain"},"max_items":1},"front_door":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure front door","description_kind":"plain"},"max_items":1},"functions":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure functions","description_kind":"plain"},"max_items":1},"key_vault":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure key vault","description_kind":"plain"},"max_items":1},"load_balancer":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure load balancer","description_kind":"plain"},"max_items":1},"logic_apps":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure logic apps","description_kind":"plain"},"max_items":1},"machine_learning":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure machine learning","description_kind":"plain"},"max_items":1},"maria_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure Maria DB","description_kind":"plain"},"max_items":1},"monitor":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"A flag that specifies if the integration is active","description_kind":"plain","optional":true},"exclude_tags":{"type":["list","string"],"description":"Specify resource tags in 'key:value' form to be excluded from monitoring","description_kind":"plain","optional":true},"include_tags":{"type":["list","string"],"description":"Specify resource tags in 'key:value' form to be monitored","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true},"resource_types":{"type":["list","string"],"description":"Specify each Azure resource type that needs to be monitored","description_kind":"plain","optional":true}},"description":"The Azure Monitor","description_kind":"plain"},"max_items":1},"mysql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure mysql","description_kind":"plain"},"max_items":1},"mysql_flexible":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure mysql flexible service integration","description_kind":"plain"},"max_items":1},"postgresql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure postgresql","description_kind":"plain"},"max_items":1},"postgresql_flexible":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure postgresql flexible service integration","description_kind":"plain"},"max_items":1},"power_bi_dedicated":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure powerBI dedicated","description_kind":"plain"},"max_items":1},"redis_cache":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure redis cache","description_kind":"plain"},"max_items":1},"service_bus":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure service bus","description_kind":"plain"},"max_items":1},"sql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure sql","description_kind":"plain"},"max_items":1},"sql_managed":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure sql managed","description_kind":"plain"},"max_items":1},"storage":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure storage","description_kind":"plain"},"max_items":1},"virtual_machine":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure virtual machine","description_kind":"plain"},"max_items":1},"virtual_networks":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure virtual networks","description_kind":"plain"},"max_items":1},"vms":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure Vms","description_kind":"plain"},"max_items":1},"vpn_gateway":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"The data polling interval in seconds","description_kind":"plain","optional":true},"resource_groups":{"type":["list","string"],"description":"Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive","description_kind":"plain","optional":true}},"description":"The Azure vpn gateway","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_azure_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to link the Azure account.","description_kind":"plain","optional":true,"computed":true},"application_id":{"type":"string","description":"Application ID for Azure account","description_kind":"plain","required":true},"client_secret":{"type":"string","description":"Value of the client secret from Azure","description_kind":"plain","required":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the linked account","description_kind":"plain","required":true},"subscription_id":{"type":"string","description":"Subscription ID for the Azure account","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"Tenant ID for the Azure account","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_gcp_integrations":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"linked_account_id":{"type":"number","description":"Id of the linked gcp account in New Relic","description_kind":"plain","required":true}},"block_types":{"alloy_db":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP alloy DB integration","description_kind":"plain"},"max_items":1},"app_engine":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP app engine service","description_kind":"plain"},"max_items":1},"big_query":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP biq query service","description_kind":"plain"},"max_items":1},"big_table":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"composer":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_flow":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_proc":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"data_store":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_database":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_hosting":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_base_storage":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"fire_store":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"functions":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"interconnect":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"kubernetes":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"load_balancing":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"mem_cache":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"pub_sub":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"redis":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"router":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"run":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"spanner":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"sql":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"storage":{"nesting_mode":"list","block":{"attributes":{"fetch_tags":{"type":"bool","description":"to fetch tags of the resource","description_kind":"plain","optional":true},"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"virtual_machines":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1},"vpc_access":{"nesting_mode":"list","block":{"attributes":{"metrics_polling_interval":{"type":"number","description":"the data polling interval in seconds","description_kind":"plain","optional":true}},"description":"GCP big table service","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_cloud_gcp_link_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"accountID of newrelic account","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"name of the linked account","description_kind":"plain","required":true},"project_id":{"type":"string","description":"project id of the Gcp account","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_data_partition_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the data partition rule.","description_kind":"plain","optional":true,"computed":true},"deleted":{"type":"bool","description":"Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.","description_kind":"plain","computed":true},"description":{"type":"string","description":"The description of the data partition rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether or not this data partition rule is enabled.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"nrql":{"type":"string","description":"The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.","description_kind":"plain","required":true},"retention_policy":{"type":"string","description":"The retention policy of the data partition data.","description_kind":"plain","required":true},"target_data_partition":{"type":"string","description":"The name of the data partition where logs will be allocated once the rule is enabled.","description_kind":"plain","required":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_entity_tags":{"version":0,"block":{"attributes":{"guid":{"type":"string","description":"The guid of the entity to tag.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"The tag key.","description_kind":"plain","required":true},"values":{"type":["set","string"],"description":"The tag values.","description_kind":"plain","required":true}},"description":"A set of key-value pairs to represent a tag. For example: Team:TeamName","description_kind":"plain"},"min_items":1},"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_events_to_metrics_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"Account with the event and where the metrics will be put.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Provides additional information about the rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"True means this rule is enabled. False means the rule is currently not creating metrics.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the rule. This must be unique within an account.","description_kind":"plain","required":true},"nrql":{"type":"string","description":"Explains how to create metrics from events.","description_kind":"plain","required":true},"rule_id":{"type":"string","description":"The id, uniquely identifying the rule.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_group":{"version":0,"block":{"attributes":{"authentication_domain_id":{"type":"string","description":"The ID of the authentication domain the group will belong to.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the group.","description_kind":"plain","required":true},"user_ids":{"type":["set","string"],"description":"IDs of users to be added to the group.","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_infra_alert_condition":{"version":0,"block":{"attributes":{"comparison":{"type":"string","description":"The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the infra_metric and infra_process_running condition types.","description_kind":"plain","optional":true},"created_at":{"type":"number","description":"The timestamp the alert condition was created.","description_kind":"plain","computed":true},"description":{"type":"string","description":"The description of the Infrastructure alert condition.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the condition is turned on or off. Valid values are true and false. Defaults to true.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"event":{"type":"string","description":"The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_provider":{"type":"string","description":"For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The Infrastructure alert condition's name.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the alert policy where this condition should be used.","description_kind":"plain","required":true},"process_where":{"type":"string","description":"Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition type.","description_kind":"plain","optional":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"select":{"type":"string","description":"The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the infra_metric condition type.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and infra_host_not_reporting.","description_kind":"plain","required":true},"updated_at":{"type":"number","description":"The timestamp the alert condition was last updated.","description_kind":"plain","computed":true},"violation_close_timer":{"type":"number","description":"Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8, 12, 24, 48, or 72","description_kind":"plain","optional":true},"where":{"type":"string","description":"If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","required":true},"time_function":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"number","description_kind":"plain","optional":true}},"description":"Identifies the threshold parameters for opening a critical alert incident.","description_kind":"plain"},"max_items":1},"warning":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description_kind":"plain","required":true},"time_function":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"number","description_kind":"plain","optional":true}},"description":"Identifies the threshold parameters for opening a warning alert incident.","description_kind":"plain"},"max_items":1}},"description_kind":"plain","deprecated":true}},"newrelic_insights_event":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"block_types":{"event":{"nesting_mode":"set","block":{"attributes":{"timestamp":{"type":"number","description":"Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The event's name. Can be a combination of alphanumeric characters, underscores, and colons.","description_kind":"plain","required":true}},"block_types":{"attribute":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"The name of the attribute.","description_kind":"plain","required":true},"type":{"type":"string","description":"Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.","description_kind":"plain","optional":true},"value":{"type":"string","description":"The value of the attribute.","description_kind":"plain","required":true}},"description":"An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.","description_kind":"plain"},"min_items":1,"max_items":255}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_log_parsing_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true,"computed":true},"attribute":{"type":"string","description":"The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.","description_kind":"plain","optional":true},"deleted":{"type":"bool","description":"Whether or not this rule is deleted.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether or not this rule is enabled.","description_kind":"plain","required":true},"grok":{"type":"string","description":"The Grok of what to parse.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"lucene":{"type":"string","description":"The Lucene to match events to the parsing rule.","description_kind":"plain","required":true},"matched":{"type":"bool","description":"Whether the Grok pattern matched.","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"A description of what this parsing rule represents.","description_kind":"plain","required":true},"nrql":{"type":"string","description":"The NRQL to match events to the parsing rule.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_monitor_downtime":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the provider{} configuration if not specified.","description_kind":"plain","optional":true,"computed":true},"end_time":{"type":"string","description":"A datetime stamp signifying the end of the Monitor Downtime.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"maintenance_days":{"type":["set","string"],"description":"A list of maintenance days to be included with the created weekly Monitor Downtime.","description_kind":"plain","optional":true},"mode":{"type":"string","description":"An identifier of the type of Monitor Downtime to be created.","description_kind":"plain","required":true},"monitor_guids":{"type":["set","string"],"description":"A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.","description_kind":"plain","optional":true},"name":{"type":"string","description":"A name to identify the Monitor Downtime to be created.","description_kind":"plain","required":true},"start_time":{"type":"string","description":"A datetime stamp signifying the start of the Monitor Downtime.","description_kind":"plain","required":true},"time_zone":{"type":"string","description":"The timezone that applies to the Monitor Downtime schedule.","description_kind":"plain","required":true}},"block_types":{"end_repeat":{"nesting_mode":"list","block":{"attributes":{"on_date":{"type":"string","description":"A date, on which the Monitor Downtime's repeat cycle is expected to end.","description_kind":"plain","optional":true},"on_repeat":{"type":"number","description":"Number of repetitions after which the Monitor Downtime's repeat cycle is expected to end.","description_kind":"plain","optional":true}},"description":"A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.","description_kind":"plain"},"max_items":1},"frequency":{"nesting_mode":"list","block":{"attributes":{"days_of_month":{"type":["set","number"],"description":"A numerical list of days of a month on which the Monitor Downtime is scheduled to run.","description_kind":"plain","optional":true}},"block_types":{"days_of_week":{"nesting_mode":"list","block":{"attributes":{"ordinal_day_of_month":{"type":"string","description":"An occurrence of the day selected within the month.","description_kind":"plain","required":true},"week_day":{"type":"string","description":"The day of the week on which the Monitor Downtime would run.","description_kind":"plain","required":true}},"description":"A list of days of the week on which the Monitor Downtime is scheduled to run.","description_kind":"plain"},"max_items":1}},"description":"Configuration options for which days of the month a monitor downtime will occur","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_notification_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the channel.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the channel is active.","description_kind":"plain","optional":true},"destination_id":{"type":"string","description":"(Required) The id of the destination.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"(Required) The name of the channel.","description_kind":"plain","required":true},"product":{"type":"string","description":"(Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT).","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the channel.","description_kind":"plain","computed":true},"type":{"type":"string","description":"(Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","required":true}},"block_types":{"property":{"nesting_mode":"set","block":{"attributes":{"display_value":{"type":"string","description":"Notification property display key.","description_kind":"plain","optional":true},"key":{"type":"string","description":"Notification property key.","description_kind":"plain","required":true},"label":{"type":"string","description":"Notification property label.","description_kind":"plain","optional":true},"value":{"type":"string","description":"Notification property value.","description_kind":"plain","required":true}},"description":"Notification channel property type.","description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_notification_destination":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID under which to put the destination.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the destination is active.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"Destination entity GUID","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_sent":{"type":"string","description":"The last time a notification was sent.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) The name of the destination.","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the destination.","description_kind":"plain","computed":true},"type":{"type":"string","description":"(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","required":true}},"block_types":{"auth_basic":{"nesting_mode":"list","block":{"attributes":{"password":{"type":"string","description_kind":"plain","required":true,"sensitive":true},"user":{"type":"string","description_kind":"plain","required":true}},"description":"Basic username and password authentication credentials.","description_kind":"plain"},"max_items":1},"auth_custom_header":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description_kind":"plain","required":true},"value":{"type":"string","description_kind":"plain","required":true,"sensitive":true}},"description":"Custom header based authentication","description_kind":"plain"}},"auth_token":{"nesting_mode":"list","block":{"attributes":{"prefix":{"type":"string","description_kind":"plain","optional":true},"token":{"type":"string","description_kind":"plain","required":true,"sensitive":true}},"description":"Token authentication credentials.","description_kind":"plain"},"max_items":1},"property":{"nesting_mode":"set","block":{"attributes":{"display_value":{"type":"string","description":"Notification property display key.","description_kind":"plain","optional":true},"key":{"type":"string","description":"Notification property key.","description_kind":"plain","required":true},"label":{"type":"string","description":"Notification property label.","description_kind":"plain","optional":true},"value":{"type":"string","description":"Notification property value.","description_kind":"plain","required":true}},"description":"Notification destination property type.","description_kind":"plain"},"min_items":1},"secure_url":{"nesting_mode":"list","block":{"attributes":{"prefix":{"type":"string","description_kind":"plain","required":true},"secure_suffix":{"type":"string","description_kind":"plain","required":true,"sensitive":true}},"description":"URL in secure format","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_nrql_alert_condition":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID for managing your NRQL alert conditions.","description_kind":"plain","optional":true,"computed":true},"aggregation_delay":{"type":"string","description":"How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods.","description_kind":"plain","optional":true},"aggregation_method":{"type":"string","description":"The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW.","description_kind":"plain","optional":true},"aggregation_timer":{"type":"string","description":"How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method.","description_kind":"plain","optional":true},"aggregation_window":{"type":"number","description":"The duration of the time window used to evaluate the NRQL query, in seconds.","description_kind":"plain","optional":true,"computed":true},"baseline_direction":{"type":"string","description":"The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).","description_kind":"plain","optional":true},"close_violations_on_expiration":{"type":"bool","description":"Whether to close all open incidents when the signal expires.","description_kind":"plain","optional":true},"description":{"type":"string","description":"The description of the NRQL alert condition.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether or not to enable the alert condition.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the NRQL Condition in New Relic.","description_kind":"plain","computed":true},"evaluation_delay":{"type":"number","description":"How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)","description_kind":"plain","optional":true},"expiration_duration":{"type":"number","description":"The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)","description_kind":"plain","optional":true},"fill_option":{"type":"string","description":"Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).","description_kind":"plain","optional":true},"fill_value":{"type":"number","description":"If using the 'static' fill option, this value will be used for filling gaps in the signal.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The title of the condition.","description_kind":"plain","required":true},"open_violation_on_expiration":{"type":"bool","description":"Whether to create a new incident to capture that the signal expired.","description_kind":"plain","optional":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"slide_by":{"type":"number","description":"The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24","description_kind":"plain","optional":true},"type":{"type":"string","description":"The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'.","description_kind":"plain","optional":true},"violation_time_limit":{"type":"string","description":"Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive).","description_kind":"plain","deprecated":true,"optional":true,"computed":true},"violation_time_limit_seconds":{"type":"number","description":"Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A condition term with priority set to critical.","description_kind":"plain"},"max_items":1},"nrql":{"nesting_mode":"list","block":{"attributes":{"evaluation_offset":{"type":"number","description":"NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.","description_kind":"plain","deprecated":true,"optional":true},"query":{"type":"string","description_kind":"plain","required":true},"since_value":{"type":"string","description":"NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.","description_kind":"plain","deprecated":true,"optional":true}},"description":"A NRQL query.","description_kind":"plain"},"min_items":1,"max_items":1},"term":{"nesting_mode":"set","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"priority":{"type":"string","description":"One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.","description_kind":"plain","deprecated":true},"max_items":2},"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}},"warning":{"nesting_mode":"list","block":{"attributes":{"duration":{"type":"number","description":"In minutes, must be in the range of 1 to 120 (inclusive).","description_kind":"plain","deprecated":true,"optional":true},"operator":{"type":"string","description":"One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.","description_kind":"plain","optional":true},"threshold":{"type":"number","description":"For baseline conditions must be in range [1, 1000].","description_kind":"plain","required":true},"threshold_duration":{"type":"number","description":"The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions","description_kind":"plain","optional":true},"threshold_occurrences":{"type":"string","description":"The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).","description_kind":"plain","optional":true},"time_function":{"type":"string","description":"Valid values are: 'all' or 'any'","description_kind":"plain","deprecated":true,"optional":true}},"description":"A condition term with priority set to warning.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_nrql_drop_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"Account with the NRQL drop rule will be put.","description_kind":"plain","optional":true,"computed":true},"action":{"type":"string","description":"The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).","description_kind":"plain","required":true},"description":{"type":"string","description":"Provides additional information about the rule.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"nrql":{"type":"string","description":"Explains which data to apply the drop rule to.","description_kind":"plain","required":true},"rule_id":{"type":"string","description":"The id, uniquely identifying the rule.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_obfuscation_expression":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Description of expression.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of expression.","description_kind":"plain","required":true},"regex":{"type":"string","description":"Regex of expression.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_obfuscation_rule":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation rule.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"Description of rule.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the rule should be applied or not to incoming data.","description_kind":"plain","required":true},"filter":{"type":"string","description":"NRQL for determining whether a given log record should have obfuscation actions applied.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of rule.","description_kind":"plain","required":true}},"block_types":{"action":{"nesting_mode":"set","block":{"attributes":{"attribute":{"type":["set","string"],"description":"Attribute names for action. An empty list applies the action to all the attributes.","description_kind":"plain","required":true},"expression_id":{"type":"string","description":"Expression Id for action.","description_kind":"plain","required":true},"method":{"type":"string","description":"Obfuscation method to use.","description_kind":"plain","required":true}},"description":"Actions for the rule. The actions will be applied in the order specified by this list.","description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_one_dashboard":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The dashboard's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The dashboard's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"permissions":{"type":"string","description":"Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.","description_kind":"plain","optional":true}},"block_types":{"page":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description":"The dashboard page's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard page in New Relic.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The dashboard page's name.","description_kind":"plain","required":true}},"block_types":{"widget_area":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"An area widget.","description_kind":"plain"}},"widget_bar":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A bar widget.","description_kind":"plain"}},"widget_billboard":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"critical":{"type":"string","description":"The critical threshold value.","description_kind":"plain","optional":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"warning":{"type":"string","description":"The warning threshold value.","description_kind":"plain","optional":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A billboard widget.","description_kind":"plain"}},"widget_bullet":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"limit":{"type":"number","description":"The maximum value for the visualization","description_kind":"plain","required":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A bullet widget.","description_kind":"plain"}},"widget_funnel":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A funnel widget.","description_kind":"plain"}},"widget_heatmap":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A heatmap widget.","description_kind":"plain"}},"widget_histogram":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A histogram widget.","description_kind":"plain"}},"widget_json":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A JSON widget.","description_kind":"plain"}},"widget_line":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_zero":{"type":"bool","description":"Specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range.","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A line widget.","description_kind":"plain"}},"widget_log_table":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A log table widget.","description_kind":"plain"}},"widget_markdown":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"text":{"type":"string","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A markdown widget.","description_kind":"plain"}},"widget_pie":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A pie widget.","description_kind":"plain"}},"widget_stacked_bar":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A stacked bar widget.","description_kind":"plain"}},"widget_table":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"facet_show_other_series":{"type":"bool","description_kind":"plain","optional":true},"filter_current_dashboard":{"type":"bool","description":"Use this item to filter the current dashboard","description_kind":"plain","optional":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"ignore_time_range":{"type":"bool","description_kind":"plain","optional":true},"legend_enabled":{"type":"bool","description_kind":"plain","optional":true},"linked_entity_guids":{"type":["list","string"],"description":"Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.","description_kind":"plain","optional":true,"computed":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_max":{"type":"number","description_kind":"plain","optional":true},"y_axis_left_min":{"type":"number","description_kind":"plain","optional":true}},"block_types":{"colors":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"color":{"type":"string","description":"Color code","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id used for the NRQL query.","description_kind":"plain","optional":true,"computed":true},"query":{"type":"string","description":"The NRQL query.","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1},"null_values":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"null_value":{"type":"string","description":"Null value","description_kind":"plain","optional":true},"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"units":{"nesting_mode":"list","block":{"attributes":{"unit":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"series_overrides":{"nesting_mode":"list","block":{"attributes":{"series_name":{"type":"string","description":"Series name","description_kind":"plain","optional":true},"unit":{"type":"string","description":"Unit name","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}}},"description":"A table widget.","description_kind":"plain"}}},"description_kind":"plain"},"min_items":1},"variable":{"nesting_mode":"list","block":{"attributes":{"default_values":{"type":["list","string"],"description":"Default values for this variable.","description_kind":"plain","optional":true},"is_multi_selection":{"type":"bool","description":"Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The variable identifier.","description_kind":"plain","required":true},"replacement_strategy":{"type":"string","description":"Indicates the strategy to apply when replacing a variable in a NRQL query.","description_kind":"plain","required":true},"title":{"type":"string","description":"Human-friendly display string for this variable.","description_kind":"plain","required":true},"type":{"type":"string","description":"Specifies the data type of the variable and where its possible values may come from.","description_kind":"plain","required":true}},"block_types":{"item":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"A human-friendly display string for this value.","description_kind":"plain","optional":true},"value":{"type":"string","description":"A possible variable value","description_kind":"plain","required":true}},"description":"List of possible values for variables of type ENUM","description_kind":"plain"}},"nrql_query":{"nesting_mode":"list","block":{"attributes":{"account_ids":{"type":["list","number"],"description":"New Relic account ID(s) to issue the query against.","description_kind":"plain","optional":true},"query":{"type":"string","description":"NRQL formatted query.","description_kind":"plain","required":true}},"description":"Configuration for variables of type NRQL.","description_kind":"plain"},"max_items":1},"options":{"nesting_mode":"list","block":{"attributes":{"ignore_time_range":{"type":"bool","description":"Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal.","description_kind":"plain","optional":true}},"description":"Options applied to the variable.","description_kind":"plain"}}},"description":"Dashboard-local variable definitions.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_one_dashboard_json":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"json":{"type":"string","description":"The dashboard's json.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"updated_at":{"type":"string","description":"The date and time when the dashboard was last updated.","description_kind":"plain","computed":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"create":{"type":"string","description_kind":"plain","optional":true},"update":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_one_dashboard_raw":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the dashboard.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The dashboard's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The dashboard's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the dashboard.","description_kind":"plain","computed":true},"permissions":{"type":"string","description":"Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.","description_kind":"plain","optional":true}},"block_types":{"page":{"nesting_mode":"list","block":{"attributes":{"description":{"type":"string","description":"The dashboard page's description.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the dashboard page in New Relic.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The dashboard page's name.","description_kind":"plain","required":true}},"block_types":{"widget":{"nesting_mode":"list","block":{"attributes":{"column":{"type":"number","description_kind":"plain","required":true},"configuration":{"type":"string","description":"The configuration of the widget.","description_kind":"plain","required":true},"height":{"type":"number","description_kind":"plain","optional":true},"id":{"type":"string","description":"The ID of the widget.","description_kind":"plain","computed":true},"linked_entity_guids":{"type":["list","string"],"description":"(Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.","description_kind":"plain","optional":true},"row":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description":"A title for the widget.","description_kind":"plain","required":true},"visualization_id":{"type":"string","description":"The visualization ID of the widget.","description_kind":"plain","required":true},"width":{"type":"number","description_kind":"plain","optional":true}},"description":"A generic widget configuration. Visualization id is required.","description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description_kind":"plain"}},"newrelic_service_level":{"version":0,"block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"guid":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","required":true},"sli_guid":{"type":"string","description_kind":"plain","computed":true},"sli_id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"events":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description_kind":"plain","required":true}},"block_types":{"bad_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"good_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"max_items":1},"valid_events":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description_kind":"plain","required":true},"where":{"type":"string","description_kind":"plain","optional":true}},"block_types":{"select":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description_kind":"plain","optional":true},"function":{"type":"string","description_kind":"plain","required":true},"threshold":{"type":"number","description":"The event threshold to use in the SELECT clause","description_kind":"plain","optional":true}},"description_kind":"plain"},"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1},"objective":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description_kind":"plain","optional":true},"name":{"type":"string","description_kind":"plain","optional":true},"target":{"type":"number","description_kind":"plain","required":true}},"block_types":{"time_window":{"nesting_mode":"list","block":{"block_types":{"rolling":{"nesting_mode":"list","block":{"attributes":{"count":{"type":"number","description_kind":"plain","required":true},"unit":{"type":"string","description_kind":"plain","required":true}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"newrelic_synthetics_alert_condition":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Set whether to enable the alert condition. Defaults to true.","description_kind":"plain","optional":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"monitor_id":{"type":"string","description":"The ID of the Synthetics monitor to be referenced in the alert condition.","description_kind":"plain","required":true},"name":{"type":"string","description":"The title of this condition.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition should be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true}},"description_kind":"plain","deprecated":true}},"newrelic_synthetics_broken_links_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"List private location GUIDs for which the monitor will run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"Publicly available location names in which the monitor will run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run.","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific semver version of the runtime type.","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (ENABLED or DISABLED).","description_kind":"plain","required":true},"uri":{"type":"string","description":"The URI the monitor runs against.","description_kind":"plain","required":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_cert_check_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"certificate_expiration":{"type":"number","description_kind":"plain","required":true},"domain":{"type":"string","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"name of the cert check monitor","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run.","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific semver version of the runtime type.","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (ENABLED or DISABLED).","description_kind":"plain","required":true}},"block_types":{"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account","description_kind":"plain","optional":true,"computed":true},"bypass_head_request":{"type":"bool","description":"Bypass HEAD request.","description_kind":"plain","optional":true},"device_orientation":{"type":"string","description":"The device orientation the user would like to represent. Valid values are LANDSCAPE, PORTRAIT, or NONE.","description_kind":"plain","optional":true},"device_type":{"type":"string","description":"The device type that a user can select. Valid values are MOBILE, TABLET, or NONE.","description_kind":"plain","optional":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_private":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"locations_public":{"type":["set","string"],"description":"The locations in which this monitor should be run.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","optional":true,"computed":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific version of the runtime type selected","description_kind":"plain","optional":true},"script_language":{"type":"string","description":"The programing language that should execute the script","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (ENABLED or DISABLED).","description_kind":"plain","required":true},"treat_redirect_as_failure":{"type":"bool","description":"Fail the monitor check if redirected.","description_kind":"plain","optional":true},"type":{"type":"string","description":"The monitor type. Valid values are SIMPLE AND BROWSER.","description_kind":"plain","required":true},"uri":{"type":"string","description":"The URI for the monitor to hit.","description_kind":"plain","optional":true},"validation_string":{"type":"string","description":"The string to validate against in the response.","description_kind":"plain","optional":true},"verify_ssl":{"type":"bool","description":"Verify SSL.","description_kind":"plain","optional":true}},"block_types":{"custom_header":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Header name","description_kind":"plain","optional":true},"value":{"type":"string","description":"Header value","description_kind":"plain","optional":true}},"description":"Custom headers to use in monitor job","description_kind":"plain"}},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_multilocation_alert_condition":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Set whether to enable the alert condition. Defaults to true.","description_kind":"plain","optional":true},"entities":{"type":["list","string"],"description":"The GUIDs of the Synthetics monitors to alert on.","description_kind":"plain","required":true},"entity_guid":{"type":"string","description":"The unique entity identifier of the condition in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The title of this condition.","description_kind":"plain","required":true},"policy_id":{"type":"number","description":"The ID of the policy where this condition will be used.","description_kind":"plain","required":true},"runbook_url":{"type":"string","description":"Runbook URL to display in notifications.","description_kind":"plain","optional":true},"violation_time_limit_seconds":{"type":"number","description":"Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)","description_kind":"plain","optional":true}},"block_types":{"critical":{"nesting_mode":"list","block":{"attributes":{"threshold":{"type":"number","description":"The minimum number of monitor locations that must be concurrently failing before an incident is opened.","description_kind":"plain","required":true}},"description":"A condition term with priority set to critical.","description_kind":"plain"},"min_items":1,"max_items":1},"warning":{"nesting_mode":"list","block":{"attributes":{"threshold":{"type":"number","description":"The minimum number of monitor locations that must be concurrently failing before an incident is opened.","description_kind":"plain","required":true}},"description":"A condition term with priority set to warning.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}},"newrelic_synthetics_private_location":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The private location description.","description_kind":"plain","required":true},"domain_id":{"type":"string","description":"The private location globally unique identifier.","description_kind":"plain","computed":true},"guid":{"type":"string","description":"The guid of the entity to tag.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The private locations key.","description_kind":"plain","computed":true},"location_id":{"type":"string","description":"An alternate identifier based on name.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the private location.","description_kind":"plain","required":true},"verified_script_execution":{"type":"bool","description":"The private location requires a password to edit if value is true.","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_synthetics_script_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"device_orientation":{"type":"string","description":"The device orientation the user would like to represent. Valid values are LANDSCAPE, PORTRAIT, or NONE.","description_kind":"plain","optional":true},"device_type":{"type":"string","description":"The device type that a user can select. Valid values are MOBILE, TABLET, or NONE.","description_kind":"plain","optional":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_public":{"type":["set","string"],"description":"The public location(s) that the monitor will run jobs from.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run.","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific semver version of the runtime type.","description_kind":"plain","optional":true},"script":{"type":"string","description":"The script that the monitor runs.","description_kind":"plain","optional":true},"script_language":{"type":"string","description":"The programing language that should execute the script.","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (ENABLED or DISABLED).","description_kind":"plain","required":true},"type":{"type":"string","description":"The monitor type. Valid values are SCRIPT_BROWSER, and SCRIPT_API.","description_kind":"plain","required":true}},"block_types":{"location_private":{"nesting_mode":"set","block":{"attributes":{"guid":{"type":"string","description":"The unique identifier for the Synthetics private location in New Relic.","description_kind":"plain","required":true},"vse_password":{"type":"string","description":"The location's Verified Script Execution password (Only necessary if Verified Script Execution is enabled for the location).","description_kind":"plain","optional":true,"sensitive":true}},"description_kind":"plain"}},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_secure_credential":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the secure credential.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The secure credential's description.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.","description_kind":"plain","required":true},"last_updated":{"type":"string","description":"The time the secure credential was last updated.","description_kind":"plain","optional":true,"computed":true},"value":{"type":"string","description":"The secure credential's value.","description_kind":"plain","required":true,"sensitive":true}},"block_types":{"timeouts":{"nesting_mode":"single","block":{"attributes":{"read":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_synthetics_step_monitor":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"ID of the newrelic account.","description_kind":"plain","optional":true,"computed":true},"enable_screenshot_on_failure_and_script":{"type":"bool","description":"Capture a screenshot during job execution.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"The unique entity identifier of the monitor in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"locations_public":{"type":["set","string"],"description":"The public location(s) that the monitor will run jobs from.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The title of this monitor.","description_kind":"plain","required":true},"period":{"type":"string","description":"The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.","description_kind":"plain","required":true},"period_in_minutes":{"type":"number","description":"The interval in minutes at which this monitor should run.","description_kind":"plain","computed":true},"runtime_type":{"type":"string","description":"The runtime type that the monitor will run.","description_kind":"plain","optional":true},"runtime_type_version":{"type":"string","description":"The specific semver version of the runtime type.","description_kind":"plain","optional":true},"status":{"type":"string","description":"The monitor status (ENABLED or DISABLED).","description_kind":"plain","required":true}},"block_types":{"location_private":{"nesting_mode":"set","block":{"attributes":{"guid":{"type":"string","description":"The unique identifier for the Synthetics private location in New Relic.","description_kind":"plain","required":true},"vse_password":{"type":"string","description":"The location's Verified Script Execution password (Only necessary if Verified Script Execution is enabled for the location).","description_kind":"plain","optional":true,"sensitive":true}},"description_kind":"plain"}},"steps":{"nesting_mode":"list","block":{"attributes":{"ordinal":{"type":"number","description":"The position of the step within the script ranging from 0-100","description_kind":"plain","required":true},"type":{"type":"string","description":"The type of step to be added to the script.","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"The metadata values related to the check the step performs.","description_kind":"plain","optional":true}},"description":"The steps that make up the script the monitor will run","description_kind":"plain"},"min_items":1},"tag":{"nesting_mode":"set","block":{"attributes":{"key":{"type":"string","description":"Name of the tag key","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"Values associated with the tag key","description_kind":"plain","required":true}},"description":"The tags that will be associated with the monitor.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_user":{"version":0,"block":{"attributes":{"authentication_domain_id":{"type":"string","description":"The ID of the authentication domain the user will belong to.","description_kind":"plain","required":true},"email_id":{"type":"string","description":"The email ID of the user.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the user.","description_kind":"plain","required":true},"user_type":{"type":"string","description":"The type of the user to be created.","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_workflow":{"version":1,"block":{"attributes":{"account_id":{"type":"number","description":"The account id of the workflow.","description_kind":"plain","optional":true,"computed":true},"destinations_enabled":{"type":"bool","description":"Indicates whether the destinations are enabled.","description_kind":"plain","deprecated":true,"optional":true},"enabled":{"type":"bool","description":"Indicates whether the workflow is enabled.","description_kind":"plain","optional":true},"enrichments_enabled":{"type":"bool","description":"Indicates whether the enrichments are enabled.","description_kind":"plain","optional":true},"guid":{"type":"string","description":"Workflow entity GUID","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"last_run":{"type":"string","description":"The last time notification was sent for this workflow.","description_kind":"plain","computed":true},"muting_rules_handling":{"type":"string","description":"The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES).","description_kind":"plain","required":true},"name":{"type":"string","description":"(Required) The name of the workflow.","description_kind":"plain","required":true},"workflow_id":{"type":"string","description":"The id of the workflow.","description_kind":"plain","computed":true}},"block_types":{"destination":{"nesting_mode":"set","block":{"attributes":{"channel_id":{"type":"string","description":"(Required) Destination's channel id.","description_kind":"plain","required":true},"name":{"type":"string","description":"(Required) Destination's name.","description_kind":"plain","computed":true},"notification_triggers":{"type":["list","string"],"description":"List of triggers to notify about in this destination configuration.","description_kind":"plain","optional":true,"computed":true},"type":{"type":"string","description":"(Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA).","description_kind":"plain","computed":true}},"description":"Workflow's destination configuration.","description_kind":"plain"},"min_items":1},"enrichments":{"nesting_mode":"set","block":{"block_types":{"nrql":{"nesting_mode":"list","block":{"attributes":{"account_id":{"type":"number","description":"The account id of the enrichment.","description_kind":"plain","computed":true},"enrichment_id":{"type":"string","description":"Enrichment's id.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) Enrichment's name.","description_kind":"plain","required":true},"type":{"type":"string","description":"The type of the enrichment. One of: (NRQL).","description_kind":"plain","computed":true}},"block_types":{"configuration":{"nesting_mode":"list","block":{"attributes":{"query":{"type":"string","description":"enrichment's NRQL query","description_kind":"plain","required":true}},"description":"A set of key-value pairs to represent a enrichment configuration.","description_kind":"plain"},"min_items":1}},"description":"(Required) Nrql type Enrichments.","description_kind":"plain"},"min_items":1}},"description":"Enrichments can give additional context on alert notifications by adding NRQL query results to them.","description_kind":"plain"},"max_items":1},"issues_filter":{"nesting_mode":"set","block":{"attributes":{"filter_id":{"type":"string","description":"filter id.","description_kind":"plain","computed":true},"name":{"type":"string","description":"(Required) Filter's name.","description_kind":"plain","required":true},"type":{"type":"string","description":"(Required) The type of the filter. One of: (FILTER, VIEW).","description_kind":"plain","required":true}},"block_types":{"predicate":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"(Required) predicate's attribute.","description_kind":"plain","required":true},"operator":{"type":"string","description":"The type of the operator. One of: (CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, STARTS_WITH).","description_kind":"plain","required":true},"values":{"type":["list","string"],"description":"List of predicate values.","description_kind":"plain","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1,"max_items":1}},"description_kind":"plain"}},"newrelic_workload":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to create the workload.","description_kind":"plain","optional":true,"computed":true},"composite_entity_search_query":{"type":"string","description":"The composite query used to compose a dynamic workload.","description_kind":"plain","computed":true},"description":{"type":"string","description":"Relevant information about the workload.","description_kind":"plain","optional":true},"entity_guids":{"type":["set","string"],"description":"A list of entity GUIDs manually assigned to this workload.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"The unique entity identifier of the workload in New Relic.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The workload's name.","description_kind":"plain","required":true},"permalink":{"type":"string","description":"The URL of the workload.","description_kind":"plain","computed":true},"scope_account_ids":{"type":["set","number"],"description":"A list of account IDs that will be used to get entities from.","description_kind":"plain","optional":true,"computed":true},"workload_id":{"type":"number","description":"The unique entity identifier of the workload.","description_kind":"plain","computed":true}},"block_types":{"entity_search_query":{"nesting_mode":"set","block":{"attributes":{"query":{"type":"string","description":"A valid entity search query; empty, and null values are considered invalid.","description_kind":"plain","required":true}},"description":"A list of search queries that define a dynamic workload.","description_kind":"plain"}},"status_config_automatic":{"nesting_mode":"set","block":{"attributes":{"enabled":{"type":"bool","description":"Whether the automatic status configuration is enabled or not.","description_kind":"plain","required":true}},"block_types":{"remaining_entities_rule":{"nesting_mode":"set","block":{"block_types":{"remaining_entities_rule_rollup":{"nesting_mode":"set","block":{"attributes":{"group_by":{"type":"string","description":"The grouping to be applied to the remaining entities.","description_kind":"plain","required":true},"strategy":{"type":"string","description":"The rollup strategy that is applied to a group of entities.","description_kind":"plain","required":true},"threshold_type":{"type":"string","description":"Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description":"Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.","description_kind":"plain","optional":true}},"description":"The input object used to represent a rollup strategy.","description_kind":"plain"},"min_items":1,"max_items":1}},"description":"An additional meta-rule that can consider all entities that haven't been evaluated by any other rule.","description_kind":"plain"},"max_items":1},"rule":{"nesting_mode":"set","block":{"attributes":{"entity_guids":{"type":["set","string"],"description":"A list of entity GUIDs composing the rule.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"nrql_query":{"nesting_mode":"set","block":{"attributes":{"query":{"type":"string","description":"The entity search query that is used to perform the search of a group of entities.","description_kind":"plain","required":true}},"description":"A list of entity search queries used to retrieve the entities that compose the rule.","description_kind":"plain"}},"rollup":{"nesting_mode":"set","block":{"attributes":{"strategy":{"type":"string","description":"The rollup strategy that is applied to a group of entities.","description_kind":"plain","required":true},"threshold_type":{"type":"string","description":"Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.","description_kind":"plain","optional":true},"threshold_value":{"type":"number","description":"Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.","description_kind":"plain","optional":true}},"description":"The input object used to represent a rollup strategy.","description_kind":"plain"},"min_items":1,"max_items":1}},"description":"A list of rules.","description_kind":"plain"}}},"description":"An input object used to represent an automatic status configuration.","description_kind":"plain"},"max_items":1},"status_config_static":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"A description that provides additional details about the status of the workload.","description_kind":"plain","optional":true},"enabled":{"type":"bool","description":"Whether the static status configuration is enabled or not.","description_kind":"plain","required":true},"status":{"type":"string","description":"The status of the workload.","description_kind":"plain","required":true},"summary":{"type":"string","description":"A short description of the status of the workload.","description_kind":"plain","optional":true}},"description":"A list of static status configurations. You can only configure one static status for a workload.","description_kind":"plain"},"max_items":1}},"description_kind":"plain"}}},"data_source_schemas":{"newrelic_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the account in New Relic.","description_kind":"plain","optional":true},"scope":{"type":"string","description":"The scope of the account in New Relic. Valid values are \"global\" and \"in_region\". Defaults to \"in_region\".","description_kind":"plain","optional":true}},"description_kind":"plain"}},"newrelic_alert_channel":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID where you want to retrieve the alert channel.","description_kind":"plain","optional":true,"computed":true},"config":{"type":["list",["object",{"api_key":"string","auth_password":"string","auth_type":"string","auth_username":"string","base_url":"string","channel":"string","headers":["map","string"],"include_json_attachment":"string","key":"string","payload":["map","string"],"payload_string":"string","payload_type":"string","recipients":"string","region":"string","route_key":"string","service_key":"string","tags":"string","teams":"string","url":"string","user_id":"string"}]],"description":"Alert channel configuration.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the alert channel in New Relic.","description_kind":"plain","required":true},"policy_ids":{"type":["list","number"],"description":"A list of policy IDs associated with the alert channel.","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of channel. One of: (email, opsgenie, pagerduty, slack, user, victorops, webhook).","description_kind":"plain","computed":true}},"description_kind":"plain","deprecated":true}},"newrelic_alert_policy":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID to operate on.","description_kind":"plain","optional":true,"computed":true},"created_at":{"type":"string","description":"The time the policy was created.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"incident_preference":{"type":"string","description":"The rollup strategy for the policy, which can be `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the alert policy in New Relic.","description_kind":"plain","required":true},"updated_at":{"type":"string","description":"The time the policy was last updated.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_application":{"version":0,"block":{"attributes":{"host_ids":{"type":["list","number"],"description":"A list of host IDs associated with the application.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"instance_ids":{"type":["list","number"],"description":"A list of instance IDs associated with the application.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the application in New Relic.","description_kind":"plain","required":true}},"description_kind":"plain","deprecated":true}},"newrelic_authentication_domain":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the fetched authentication domain.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the authentication domain to be queried.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_cloud_account":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the New Relic account.","description_kind":"plain","optional":true},"cloud_provider":{"type":"string","description":"The cloud provider of the account, e.g. aws, gcp, azure","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the cloud account.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_entity":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID; if specified, constrains the data source to return an entity belonging to the account with this ID, of all matching entities retrieved.","description_kind":"plain","optional":true,"computed":true},"application_id":{"type":"number","description":"The domain-specific ID of the entity (only returned for APM and Browser applications).","description_kind":"plain","computed":true},"domain":{"type":"string","description":"The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.","description_kind":"plain","optional":true,"computed":true},"guid":{"type":"string","description":"A unique entity identifier.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ignore_case":{"type":"bool","description":"Ignore case when searching the entity name.","description_kind":"plain","optional":true},"ignore_not_found":{"type":"bool","description":"A boolean attribute which when set to true, does not throw an error if the queried entity is not found.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.","description_kind":"plain","required":true},"serving_apm_application_id":{"type":"number","description":"The browser-specific ID of the backing APM entity. (only returned for Browser applications)","description_kind":"plain","computed":true},"type":{"type":"string","description":"The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, SERVICE and WORKLOAD.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"tag":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The tag key.","description_kind":"plain","required":true},"value":{"type":"string","description":"The tag value.","description_kind":"plain","required":true}},"description":"A tag applied to the entity.","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_group":{"version":0,"block":{"attributes":{"authentication_domain_id":{"type":"string","description":"The ID of the Authentication Domain the group being queried would belong to.","description_kind":"plain","required":true},"id":{"type":"string","description":"The ID of the fetched group.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the group to be queried.","description_kind":"plain","required":true},"user_ids":{"type":["list","string"],"description":"IDs of users which belong to the group.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_key_transaction":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the key transaction in New Relic.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_notification_destination":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account ID under which to put the destination.","description_kind":"plain","optional":true,"computed":true},"active":{"type":"bool","description":"Indicates whether the destination is active.","description_kind":"plain","computed":true},"guid":{"type":"string","description":"Destination entity GUID","description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of the destination.","description_kind":"plain","optional":true},"name":{"type":"string","description":"The name of the destination.","description_kind":"plain","optional":true},"property":{"type":["set",["object",{"display_value":"string","key":"string","label":"string","value":"string"}]],"description":"Notification destination property type.","description_kind":"plain","computed":true},"status":{"type":"string","description":"The status of the destination.","description_kind":"plain","computed":true},"type":{"type":"string","description":"The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).","description_kind":"plain","computed":true}},"block_types":{"secure_url":{"nesting_mode":"set","block":{"attributes":{"prefix":{"type":"string","description_kind":"plain","required":true}},"description":"URL in secure format","description_kind":"plain"}}},"description_kind":"plain"}},"newrelic_obfuscation_expression":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the obfuscation expression.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of expression.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_service_level_alert_helper":{"version":0,"block":{"attributes":{"alert_type":{"type":"string","description_kind":"plain","required":true},"custom_evaluation_period":{"type":"number","description_kind":"plain","optional":true},"custom_tolerated_budget_consumption":{"type":"number","description_kind":"plain","optional":true},"evaluation_period":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_bad_events":{"type":"bool","description_kind":"plain","optional":true},"nrql":{"type":"string","description_kind":"plain","computed":true},"sli_guid":{"type":"string","description_kind":"plain","required":true},"slo_period":{"type":"number","description_kind":"plain","required":true},"slo_target":{"type":"number","description_kind":"plain","required":true},"threshold":{"type":"number","description_kind":"plain","computed":true},"tolerated_budget_consumption":{"type":"number","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_synthetics_private_location":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The ID of the account in New Relic.","description_kind":"plain","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":["list","string"],"description":"The key of the queried private location.","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the Synthetics monitor private location.","description_kind":"plain","required":true}},"description_kind":"plain"}},"newrelic_synthetics_secure_credential":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The New Relic account ID associated with this secure credential.","description_kind":"plain","optional":true,"computed":true},"description":{"type":"string","description":"The secure credential's description.","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.","description_kind":"plain","required":true},"last_updated":{"type":"string","description":"The time the secure credential was last updated.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_test_grok_pattern":{"version":0,"block":{"attributes":{"account_id":{"type":"number","description":"The account id associated with the test grok.","description_kind":"plain","optional":true},"grok":{"type":"string","description":"The Grok pattern to test.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"log_lines":{"type":["set","string"],"description":"The log lines to test the Grok pattern against.","description_kind":"plain","required":true},"test_grok":{"type":["list",["object",{"attributes":["set",["object",{"name":"string","value":"string"}]],"log_line":"string","matched":"bool"}]],"description":"Test a Grok pattern against a list of log lines.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"newrelic_user":{"version":0,"block":{"attributes":{"authentication_domain_id":{"type":"string","description":"The ID of the Authentication Domain the user being queried would belong to.","description_kind":"plain","required":true},"email_id":{"type":"string","description":"The email ID of the user to be queried.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The ID of the fetched user.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the user to be queried.","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}}}}}} diff --git a/examples-generated/alert/channel.yaml b/examples-generated/alert/v1alpha1/channel.yaml similarity index 100% rename from examples-generated/alert/channel.yaml rename to examples-generated/alert/v1alpha1/channel.yaml diff --git a/examples-generated/alert/destination.yaml b/examples-generated/alert/v1alpha1/destination.yaml similarity index 58% rename from examples-generated/alert/destination.yaml rename to examples-generated/alert/v1alpha1/destination.yaml index de0ae08..d12c8f5 100644 --- a/examples-generated/alert/destination.yaml +++ b/examples-generated/alert/v1alpha1/destination.yaml @@ -9,14 +9,20 @@ metadata: spec: forProvider: accountId: 12345678 - authBasic: - - passwordSecretRef: + authCustomHeader: + - key: API_KEY + valueSecretRef: key: example-key name: example-secret namespace: upbound-system - user: username name: foo property: - - key: url - value: https://webhook.mywebhook.com + - key: source + value: terraform + secureUrl: + - prefix: https://webhook.mywebhook.com/ + secureSuffixSecretRef: + key: example-key + name: example-secret + namespace: upbound-system type: WEBHOOK diff --git a/examples-generated/alert/policy.yaml b/examples-generated/alert/v1alpha1/policy.yaml similarity index 100% rename from examples-generated/alert/policy.yaml rename to examples-generated/alert/v1alpha1/policy.yaml diff --git a/examples-generated/dashboard/dashboard.yaml b/examples-generated/dashboard/v1alpha1/dashboard.yaml similarity index 100% rename from examples-generated/dashboard/dashboard.yaml rename to examples-generated/dashboard/v1alpha1/dashboard.yaml diff --git a/examples-generated/dashboard/dashboardjson.yaml b/examples-generated/dashboard/v1alpha1/dashboardjson.yaml similarity index 100% rename from examples-generated/dashboard/dashboardjson.yaml rename to examples-generated/dashboard/v1alpha1/dashboardjson.yaml diff --git a/examples-generated/log/parsingrule.yaml b/examples-generated/log/v1alpha1/parsingrule.yaml similarity index 100% rename from examples-generated/log/parsingrule.yaml rename to examples-generated/log/v1alpha1/parsingrule.yaml diff --git a/examples-generated/nrql/alertcondition.yaml b/examples-generated/nrql/v1alpha1/alertcondition.yaml similarity index 100% rename from examples-generated/nrql/alertcondition.yaml rename to examples-generated/nrql/v1alpha1/alertcondition.yaml diff --git a/examples-generated/nrql/droprule.yaml b/examples-generated/nrql/v1alpha1/droprule.yaml similarity index 100% rename from examples-generated/nrql/droprule.yaml rename to examples-generated/nrql/v1alpha1/droprule.yaml diff --git a/examples-generated/workflow/workflow.yaml b/examples-generated/workflow/v1alpha1/workflow.yaml similarity index 100% rename from examples-generated/workflow/workflow.yaml rename to examples-generated/workflow/v1alpha1/workflow.yaml diff --git a/go.mod b/go.mod index 8258b22..7e9a08b 100644 --- a/go.mod +++ b/go.mod @@ -4,15 +4,15 @@ go 1.21 require ( dario.cat/mergo v1.0.0 - github.com/crossplane/crossplane-runtime v1.15.0-rc.0.0.20231215091746-d23a82b3a2f5 + github.com/crossplane/crossplane-runtime v1.16.0-rc.1.0.20240424114634-8641eb2ba384 github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 - github.com/crossplane/upjet v1.1.0-rc.0.0.20231227120826-4cb45f9104ac + github.com/crossplane/upjet v1.3.0 github.com/pkg/errors v0.9.1 gopkg.in/alecthomas/kingpin.v2 v2.2.6 - k8s.io/apimachinery v0.29.0 - k8s.io/client-go v0.29.0 - sigs.k8s.io/controller-runtime v0.16.3 - sigs.k8s.io/controller-tools v0.13.0 + k8s.io/apimachinery v0.29.4 + k8s.io/client-go v0.29.4 + sigs.k8s.io/controller-runtime v0.17.3 + sigs.k8s.io/controller-tools v0.14.0 ) require ( @@ -21,19 +21,20 @@ require ( github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect github.com/antchfx/htmlquery v1.2.4 // indirect github.com/antchfx/xpath v1.2.0 // indirect - github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/beorn7/perks v1.0.1 // indirect + github.com/blang/semver/v4 v4.0.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/dave/jennifer v1.4.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect github.com/evanphx/json-patch v5.6.0+incompatible // indirect - github.com/evanphx/json-patch/v5 v5.6.0 // indirect + github.com/evanphx/json-patch/v5 v5.8.0 // indirect github.com/fatih/camelcase v1.0.0 // indirect - github.com/fatih/color v1.15.0 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/go-logr/logr v1.3.0 // indirect - github.com/go-logr/zapr v1.2.4 // indirect + github.com/fatih/color v1.16.0 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/zapr v1.3.0 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/swag v0.22.3 // indirect @@ -41,23 +42,26 @@ require ( github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect - github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.4.0 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-hclog v1.2.1 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-plugin v1.5.1 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect - github.com/hashicorp/hcl/v2 v2.14.1 // indirect + github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-json v0.14.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.14.0 // indirect - github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0 // indirect + github.com/hashicorp/terraform-json v0.17.1 // indirect + github.com/hashicorp/terraform-plugin-framework v1.4.1 // indirect + github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 // indirect + github.com/hashicorp/terraform-registry-address v0.2.2 // indirect + github.com/hashicorp/terraform-svchost v0.1.1 // indirect + github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect @@ -65,8 +69,8 @@ require ( github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.17 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect @@ -77,42 +81,43 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/muvaf/typewriter v0.0.0-20220131201631-921e94e8e8d7 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect - github.com/prometheus/common v0.44.0 // indirect - github.com/prometheus/procfs v0.10.1 // indirect + github.com/oklog/run v1.0.0 // indirect + github.com/prometheus/client_golang v1.18.0 // indirect + github.com/prometheus/client_model v0.5.0 // indirect + github.com/prometheus/common v0.45.0 // indirect + github.com/prometheus/procfs v0.12.0 // indirect github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/tmccombs/hcl2json v0.3.3 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect - github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect - github.com/vmihailenco/tagparser v0.1.1 // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - github.com/zclconf/go-cty v1.11.0 // indirect + github.com/zclconf/go-cty v1.14.1 // indirect github.com/zclconf/go-cty-yaml v1.0.3 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.26.0 // indirect - golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect + golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 // indirect golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.19.0 // indirect + golang.org/x/net v0.23.0 // indirect golang.org/x/oauth2 v0.15.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/term v0.15.0 // indirect + golang.org/x/sys v0.18.0 // indirect + golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.15.0 // indirect + golang.org/x/tools v0.17.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect - google.golang.org/appengine v1.6.7 // indirect + google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect - google.golang.org/grpc v1.59.0 // indirect - google.golang.org/protobuf v1.31.1-0.20231128094519-2087447a6b4a // indirect + google.golang.org/grpc v1.61.0 // indirect + google.golang.org/protobuf v1.33.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.29.0 // indirect - k8s.io/apiextensions-apiserver v0.28.4 // indirect - k8s.io/component-base v0.28.4 // indirect + k8s.io/api v0.29.4 // indirect + k8s.io/apiextensions-apiserver v0.29.2 // indirect + k8s.io/component-base v0.29.2 // indirect k8s.io/klog/v2 v2.110.1 // indirect k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect diff --git a/go.sum b/go.sum index b0fd77e..3300071 100644 --- a/go.sum +++ b/go.sum @@ -13,25 +13,27 @@ github.com/antchfx/htmlquery v1.2.4/go.mod h1:2xO6iu3EVWs7R2JYqBbp8YzG50gj/ofqs5 github.com/antchfx/xpath v1.2.0 h1:mbwv7co+x0RwgeGAOHdrKy89GvHaGvxxBtPK0uF9Zr8= github.com/antchfx/xpath v1.2.0/go.mod h1:i54GszH55fYfBmoZXapTHN8T8tkcHfRgLyVwwqzXNcs= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFUye+ZcSR6opIgz9Co7WcDx6ZcY+RjfFHoA0I= -github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= +github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= +github.com/bufbuild/protocompile v0.6.0 h1:Uu7WiSQ6Yj9DbkdnOe7U4mNKp58y9WDMKDn28/ZlunY= +github.com/bufbuild/protocompile v0.6.0/go.mod h1:YNP35qEYoYGme7QMtz5SBCoN4kL4g12jTtjuzRNdjpE= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/crossplane/crossplane-runtime v1.15.0-rc.0.0.20231215091746-d23a82b3a2f5 h1:B2EyxQYejCX1zp+7tUmuT6fTDUGB0k9LJUWvJ72NT1w= -github.com/crossplane/crossplane-runtime v1.15.0-rc.0.0.20231215091746-d23a82b3a2f5/go.mod h1:pgt7PaTvvOQz3jILyxbCaeleU9MrAqKaNoPJavhGBgM= +github.com/crossplane/crossplane-runtime v1.16.0-rc.1.0.20240424114634-8641eb2ba384 h1:EswfDIEITA16CUWt78dVN0plbMBk8TdDfpbVXNeQJ1Y= +github.com/crossplane/crossplane-runtime v1.16.0-rc.1.0.20240424114634-8641eb2ba384/go.mod h1:Pz2tdGVMF6KDGzHZOkvKro0nKc8EzK0sb/nSA7pH4Dc= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 h1:HigXs5tEQxWz0fcj8hzbU2UAZgEM7wPe0XRFOsrtF8Y= github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79/go.mod h1:+e4OaFlOcmr0JvINHl/yvEYBrZawzTgj6pQumOH1SS0= -github.com/crossplane/upjet v1.1.0-rc.0.0.20231227120826-4cb45f9104ac h1:T1MTxsPAE/Cs0/EAGjeC29H9O/rO81yol2/5qGsf888= -github.com/crossplane/upjet v1.1.0-rc.0.0.20231227120826-4cb45f9104ac/go.mod h1:t9etxIdYaxgyvFPBToikm5zBHi8RIpX8N4mTH77lQFM= +github.com/crossplane/upjet v1.3.0 h1:qRgcfqLz4M2v7enUku3xEriY5poc5XVbRl98nbvvu+E= +github.com/crossplane/upjet v1.3.0/go.mod h1:3pDVtCgyBc5f2Zx4K5HEPxxhjndmOc5CHCJNpIivK/g= github.com/dave/jennifer v1.4.1 h1:XyqG6cn5RQsTj3qlWQTKlRGAyrTcsk1kUmWdZBzRjDw= github.com/dave/jennifer v1.4.1/go.mod h1:7jEdnm+qBcxl8PC0zyp7vxcpSRnzXSt9r39tpTVGlwA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -41,20 +43,20 @@ github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxER github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= +github.com/evanphx/json-patch/v5 v5.8.0 h1:lRj6N9Nci7MvzrXuX6HFzU8XjmhPiXPlsKEy1u0KQro= +github.com/evanphx/json-patch/v5 v5.8.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8= github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= -github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= +github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= @@ -76,63 +78,67 @@ github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4er github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/addlicense v0.0.0-20210428195630-6d92264d7170/go.mod h1:EMjYTRimagHs1FwlIqKyX3wAM0u3rA+McvlIIWmSamA= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a h1:fEBsGL/sjAuJrgah5XqmmYsTLzJp/TO9Lhy39gkverk= -github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= +github.com/google/pprof v0.0.0-20240117000934-35fc243c5815 h1:WzfWbQz/Ze8v6l++GGbGNFZnUShVpP/0xffCPLL+ax8= +github.com/google/pprof v0.0.0-20240117000934-35fc243c5815/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-hclog v1.2.1 h1:YQsLlGDJgwhXFpucSPyVbCBviQtjlHv3jLTlp8YmtEw= -github.com/hashicorp/go-hclog v1.2.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= +github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/hcl/v2 v2.9.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= -github.com/hashicorp/hcl/v2 v2.14.1 h1:x0BpjfZ+CYdbiz+8yZTQ+gdLO7IXvOut7Da+XJayx34= -github.com/hashicorp/hcl/v2 v2.14.1/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= +github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= +github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/terraform-json v0.14.0 h1:sh9iZ1Y8IFJLx+xQiKHGud6/TSUCM0N8e17dKDpqV7s= -github.com/hashicorp/terraform-json v0.14.0/go.mod h1:5A9HIWPkk4e5aeeXIBbkcOvaZbIYnAIkEyqP2pNSckM= -github.com/hashicorp/terraform-plugin-go v0.14.0 h1:ttnSlS8bz3ZPYbMb84DpcPhY4F5DsQtcAS7cHo8uvP4= -github.com/hashicorp/terraform-plugin-go v0.14.0/go.mod h1:2nNCBeRLaenyQEi78xrGrs9hMbulveqG/zDMQSvVJTE= -github.com/hashicorp/terraform-plugin-log v0.7.0 h1:SDxJUyT8TwN4l5b5/VkiTIaQgY6R+Y2BQ0sRZftGKQs= -github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0 h1:FtCLTiTcykdsURXPt/ku7fYXm3y19nbzbZcUxHx9RbI= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0/go.mod h1:80wf5oad1tW+oLnbXS4UTYmDCrl7BuN1Q+IA91X1a4Y= +github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= +github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= +github.com/hashicorp/terraform-plugin-framework v1.4.1 h1:ZC29MoB3Nbov6axHdgPbMz7799pT5H8kIrM8YAsaVrs= +github.com/hashicorp/terraform-plugin-framework v1.4.1/go.mod h1:XC0hPcQbBvlbxwmjxuV/8sn8SbZRg4XwGMs22f+kqV0= +github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= +github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= +github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= +github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 h1:X7vB6vn5tON2b49ILa4W7mFAsndeqJ7bZFOGbVO+0Cc= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0/go.mod h1:ydFcxbdj6klCqYEPkPvdvFKiNGKZLUs+896ODUXCyao= +github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno= +github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo= +github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= +github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -159,10 +165,10 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= +github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= @@ -185,33 +191,32 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/muvaf/typewriter v0.0.0-20220131201631-921e94e8e8d7 h1:CxRHKnh1YJXgNKxcos9rrKL6AcmOl1AS/fygmxFDzh4= github.com/muvaf/typewriter v0.0.0-20220131201631-921e94e8e8d7/go.mod h1:SAAdeMEiFXR8LcHffvIdiLI1w243DCH2DuHq7UrA5YQ= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= -github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= -github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg= -github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= +github.com/onsi/ginkgo/v2 v2.14.0 h1:vSmGj2Z5YPb9JwCWT6z6ihcUvDhuXLc3sJiqd3jMKAY= +github.com/onsi/ginkgo/v2 v2.14.0/go.mod h1:JkUdW7JkN0V6rFvsHcJ478egV3XH9NxpD27Hal/PhZw= +github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8= +github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= -github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= -github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= -github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= -github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= +github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= +github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= +github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= +github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= +github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= +github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= +github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= @@ -227,7 +232,7 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= @@ -239,10 +244,12 @@ github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeI github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U= github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= -github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= @@ -251,36 +258,31 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= github.com/zclconf/go-cty v1.8.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.11.0 h1:726SxLdi2SDnjY+BStqB9J1hNp4+2WlzyXLuimibIe0= -github.com/zclconf/go-cty v1.11.0/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= +github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA= +github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.3 h1:og/eOQ7lvA/WWhHGFETVWNduJM7Rjsv2RRpx1sdFMLc= github.com/zclconf/go-cty-yaml v1.0.3/go.mod h1:9YLUH4g7lOhVWqUbctnVlZ5KLpg7JAprQNgxSZ1Gyxs= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= -go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o= +golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -288,19 +290,21 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -312,34 +316,39 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= -golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -348,16 +357,16 @@ gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f h1:ultW7fxlIvee4HYrtnaRPon9HpEgFk5zYpmfMgtKB5I= google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f/go.mod h1:L9KNLi232K1/xB6f7AlSX692koaRnKaWSR0stBki0Yc= -google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= -google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0= +google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.1-0.20231128094519-2087447a6b4a h1:4Xl+xgjbTX1HWSmJKoV3GeNdVZCJmlx2rvHT3eHoUCw= -google.golang.org/protobuf v1.31.1-0.20231128094519-2087447a6b4a/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -375,26 +384,26 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.29.0 h1:NiCdQMY1QOp1H8lfRyeEf8eOwV6+0xA6XEE44ohDX2A= -k8s.io/api v0.29.0/go.mod h1:sdVmXoz2Bo/cb77Pxi71IPTSErEW32xa4aXwKH7gfBA= -k8s.io/apiextensions-apiserver v0.28.4 h1:AZpKY/7wQ8n+ZYDtNHbAJBb+N4AXXJvyZx6ww6yAJvU= -k8s.io/apiextensions-apiserver v0.28.4/go.mod h1:pgQIZ1U8eJSMQcENew/0ShUTlePcSGFq6dxSxf2mwPM= -k8s.io/apimachinery v0.29.0 h1:+ACVktwyicPz0oc6MTMLwa2Pw3ouLAfAon1wPLtG48o= -k8s.io/apimachinery v0.29.0/go.mod h1:eVBxQ/cwiJxH58eK/jd/vAk4mrxmVlnpBH5J2GbMeis= -k8s.io/client-go v0.29.0 h1:KmlDtFcrdUzOYrBhXHgKw5ycWzc3ryPX5mQe0SkG3y8= -k8s.io/client-go v0.29.0/go.mod h1:yLkXH4HKMAywcrD82KMSmfYg2DlE8mepPR4JGSo5n38= -k8s.io/component-base v0.28.4 h1:c/iQLWPdUgI90O+T9TeECg8o7N3YJTiuz2sKxILYcYo= -k8s.io/component-base v0.28.4/go.mod h1:m9hR0uvqXDybiGL2nf/3Lf0MerAfQXzkfWhUY58JUbU= +k8s.io/api v0.29.4 h1:WEnF/XdxuCxdG3ayHNRR8yH3cI1B/llkWBma6bq4R3w= +k8s.io/api v0.29.4/go.mod h1:DetSv0t4FBTcEpfA84NJV3g9a7+rSzlUHk5ADAYHUv0= +k8s.io/apiextensions-apiserver v0.29.2 h1:UK3xB5lOWSnhaCk0RFZ0LUacPZz9RY4wi/yt2Iu+btg= +k8s.io/apiextensions-apiserver v0.29.2/go.mod h1:aLfYjpA5p3OwtqNXQFkhJ56TB+spV8Gc4wfMhUA3/b8= +k8s.io/apimachinery v0.29.4 h1:RaFdJiDmuKs/8cm1M6Dh1Kvyh59YQFDcFuFTSmXes6Q= +k8s.io/apimachinery v0.29.4/go.mod h1:i3FJVwhvSp/6n8Fl4K97PJEP8C+MM+aoDq4+ZJBf70Y= +k8s.io/client-go v0.29.4 h1:79ytIedxVfyXV8rpH3jCBW0u+un0fxHDwX5F9K8dPR8= +k8s.io/client-go v0.29.4/go.mod h1:kC1thZQ4zQWYwldsfI088BbK6RkxK+aF5ebV8y9Q4tk= +k8s.io/component-base v0.29.2 h1:lpiLyuvPA9yV1aQwGLENYyK7n/8t6l3nn3zAtFTJYe8= +k8s.io/component-base v0.29.2/go.mod h1:BfB3SLrefbZXiBfbM+2H1dlat21Uewg/5qtKOl8degM= k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0= k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo= k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780= k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -sigs.k8s.io/controller-runtime v0.16.3 h1:2TuvuokmfXvDUamSx1SuAOO3eTyye+47mJCigwG62c4= -sigs.k8s.io/controller-runtime v0.16.3/go.mod h1:j7bialYoSn142nv9sCOJmQgDXQXxnroFU4VnX/brVJ0= -sigs.k8s.io/controller-tools v0.13.0 h1:NfrvuZ4bxyolhDBt/rCZhDnx3M2hzlhgo5n3Iv2RykI= -sigs.k8s.io/controller-tools v0.13.0/go.mod h1:5vw3En2NazbejQGCeWKRrE7q4P+CW8/klfVqP8QZkgA= +sigs.k8s.io/controller-runtime v0.17.3 h1:65QmN7r3FWgTxDMz9fvGnO1kbf2nu+acg9p2R9oYYYk= +sigs.k8s.io/controller-runtime v0.17.3/go.mod h1:N0jpP5Lo7lMTF9aL56Z/B2oWBJjey6StQM0jRbKQXtY= +sigs.k8s.io/controller-tools v0.14.0 h1:rnNoCC5wSXlrNoBKKzL70LNJKIQKEzT6lloG6/LF73A= +sigs.k8s.io/controller-tools v0.14.0/go.mod h1:TV7uOtNNnnR72SpzhStvPkoS/U5ir0nMudrkrC4M9Sc= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= diff --git a/internal/controller/alert/channel/zz_controller.go b/internal/controller/alert/channel/zz_controller.go index d0ff90e..27fdbc2 100755 --- a/internal/controller/alert/channel/zz_controller.go +++ b/internal/controller/alert/channel/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/alert/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.Channel + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.Channel{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.Channel") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.ChannelList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.ChannelList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Channel_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/alert/destination/zz_controller.go b/internal/controller/alert/destination/zz_controller.go index e34a81a..695ace6 100755 --- a/internal/controller/alert/destination/zz_controller.go +++ b/internal/controller/alert/destination/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/alert/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.Destination + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.Destination{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.Destination") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.DestinationList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.DestinationList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Destination_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/alert/policy/zz_controller.go b/internal/controller/alert/policy/zz_controller.go index c3caddd..3dcf952 100755 --- a/internal/controller/alert/policy/zz_controller.go +++ b/internal/controller/alert/policy/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/alert/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.Policy + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.Policy{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.Policy") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.PolicyList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.PolicyList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Policy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/dashboard/dashboard/zz_controller.go b/internal/controller/dashboard/dashboard/zz_controller.go index e0a3f71..cbf71cf 100755 --- a/internal/controller/dashboard/dashboard/zz_controller.go +++ b/internal/controller/dashboard/dashboard/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/dashboard/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.Dashboard + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.Dashboard{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.Dashboard") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.DashboardList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.DashboardList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Dashboard_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/dashboard/dashboardjson/zz_controller.go b/internal/controller/dashboard/dashboardjson/zz_controller.go index e265f48..325a3d1 100755 --- a/internal/controller/dashboard/dashboardjson/zz_controller.go +++ b/internal/controller/dashboard/dashboardjson/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/dashboard/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.DashboardJSON + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.DashboardJSON{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.DashboardJSON") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.DashboardJSONList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.DashboardJSONList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.DashboardJSON_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/log/parsingrule/zz_controller.go b/internal/controller/log/parsingrule/zz_controller.go index 4d79c5f..9be340a 100755 --- a/internal/controller/log/parsingrule/zz_controller.go +++ b/internal/controller/log/parsingrule/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/log/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.ParsingRule + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.ParsingRule{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.ParsingRule") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.ParsingRuleList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.ParsingRuleList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.ParsingRule_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/nrql/alertcondition/zz_controller.go b/internal/controller/nrql/alertcondition/zz_controller.go index d7981cd..97bad12 100755 --- a/internal/controller/nrql/alertcondition/zz_controller.go +++ b/internal/controller/nrql/alertcondition/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/nrql/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.AlertCondition + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.AlertCondition{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.AlertCondition") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.AlertConditionList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.AlertConditionList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.AlertCondition_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/nrql/droprule/zz_controller.go b/internal/controller/nrql/droprule/zz_controller.go index 85befd2..6ed602a 100755 --- a/internal/controller/nrql/droprule/zz_controller.go +++ b/internal/controller/nrql/droprule/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/nrql/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.DropRule + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.DropRule{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.DropRule") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.DropRuleList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.DropRuleList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.DropRule_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/workflow/workflow/zz_controller.go b/internal/controller/workflow/workflow/zz_controller.go index a8baf67..83700cd 100755 --- a/internal/controller/workflow/workflow/zz_controller.go +++ b/internal/controller/workflow/workflow/zz_controller.go @@ -1,7 +1,3 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 - /* Copyright 2024 Upbound Inc. */ @@ -18,9 +14,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" tjcontroller "github.com/crossplane/upjet/pkg/controller" "github.com/crossplane/upjet/pkg/controller/handler" "github.com/crossplane/upjet/pkg/terraform" + "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" v1alpha1 "github.com/crossplane-contrib/crossplane-provider-newrelic/apis/workflow/v1alpha1" @@ -55,6 +53,29 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableBetaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1alpha1.Workflow + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1alpha1.Workflow{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1alpha1.Workflow") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1alpha1.WorkflowList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1alpha1.WorkflowList") + } + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Workflow_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). diff --git a/internal/controller/zz_setup.go b/internal/controller/zz_setup.go index 765dab2..354afd1 100755 --- a/internal/controller/zz_setup.go +++ b/internal/controller/zz_setup.go @@ -1,6 +1,6 @@ -// SPDX-FileCopyrightText: 2023 The Crossplane Authors -// -// SPDX-License-Identifier: Apache-2.0 +/* +Copyright 2024 Upbound Inc. +*/ package controller diff --git a/package/crds/alert.newrelic.upbound.io_channels.yaml b/package/crds/alert.newrelic.upbound.io_channels.yaml index 250fa23..b13ce82 100644 --- a/package/crds/alert.newrelic.upbound.io_channels.yaml +++ b/package/crds/alert.newrelic.upbound.io_channels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: channels.alert.newrelic.upbound.io spec: group: alert.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: a notification channel for notifications in New Relic. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,16 +74,17 @@ spec: forProvider: properties: accountId: - description: Determines the New Relic account where the notification - channel will be created. Defaults to the account associated - with the API key used. The account id of the channel. + description: |- + Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used. + The account id of the channel. type: number active: description: Indicates whether the channel is active. type: boolean destinationId: - description: The id of the destination. (Required) The id of the - destination. + description: |- + The id of the destination. + (Required) The id of the destination. type: string destinationIdRef: description: Reference to a Destination in alert to populate destinationId. @@ -90,21 +97,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -117,8 +124,9 @@ spec: description: Selector for a Destination in alert to populate destinationId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -131,21 +139,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -153,71 +161,74 @@ spec: type: object type: object name: - description: The name of the channel. (Required) The name of the - channel. + description: |- + The name of the channel. + (Required) The name of the channel. type: string product: - description: 'The type of product. One of: DISCUSSIONS, ERROR_TRACKING - or IINT (workflows). (Required) The type of the channel product. - One of: (DISCUSSIONS, ERROR_TRACKING, IINT).' + description: |- + The type of product. One of: DISCUSSIONS, ERROR_TRACKING or IINT (workflows). + (Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT). type: string property: - description: A nested block that describes a notification channel - property. See Nested property blocks below for details. Notification - channel property type. + description: |- + A nested block that describes a notification channel property. See Nested property blocks below for details. + Notification channel property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. type: string type: object type: array type: - description: 'The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, - WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and - SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. - (Required) The type of the channel. One of: (WEBHOOK, EMAIL, - SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, - JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, - EVENT_BRIDGE).' + description: |- + The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Determines the New Relic account where the notification - channel will be created. Defaults to the account associated - with the API key used. The account id of the channel. + description: |- + Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used. + The account id of the channel. type: number active: description: Indicates whether the channel is active. type: boolean destinationId: - description: The id of the destination. (Required) The id of the - destination. + description: |- + The id of the destination. + (Required) The id of the destination. type: string destinationIdRef: description: Reference to a Destination in alert to populate destinationId. @@ -230,21 +241,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -257,8 +268,9 @@ spec: description: Selector for a Destination in alert to populate destinationId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -271,21 +283,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -293,64 +305,67 @@ spec: type: object type: object name: - description: The name of the channel. (Required) The name of the - channel. + description: |- + The name of the channel. + (Required) The name of the channel. type: string product: - description: 'The type of product. One of: DISCUSSIONS, ERROR_TRACKING - or IINT (workflows). (Required) The type of the channel product. - One of: (DISCUSSIONS, ERROR_TRACKING, IINT).' + description: |- + The type of product. One of: DISCUSSIONS, ERROR_TRACKING or IINT (workflows). + (Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT). type: string property: - description: A nested block that describes a notification channel - property. See Nested property blocks below for details. Notification - channel property type. + description: |- + A nested block that describes a notification channel property. See Nested property blocks below for details. + Notification channel property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. type: string type: object type: array type: - description: 'The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, - WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and - SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. - (Required) The type of the channel. One of: (WEBHOOK, EMAIL, - SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, - JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, - EVENT_BRIDGE).' + description: |- + The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -363,9 +378,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -375,21 +391,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -399,17 +415,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -419,21 +437,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -448,21 +466,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -473,14 +492,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -518,50 +538,56 @@ spec: atProvider: properties: accountId: - description: Determines the New Relic account where the notification - channel will be created. Defaults to the account associated - with the API key used. The account id of the channel. + description: |- + Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used. + The account id of the channel. type: number active: description: Indicates whether the channel is active. type: boolean destinationId: - description: The id of the destination. (Required) The id of the - destination. + description: |- + The id of the destination. + (Required) The id of the destination. type: string id: description: The ID of the channel. type: string name: - description: The name of the channel. (Required) The name of the - channel. + description: |- + The name of the channel. + (Required) The name of the channel. type: string product: - description: 'The type of product. One of: DISCUSSIONS, ERROR_TRACKING - or IINT (workflows). (Required) The type of the channel product. - One of: (DISCUSSIONS, ERROR_TRACKING, IINT).' + description: |- + The type of product. One of: DISCUSSIONS, ERROR_TRACKING or IINT (workflows). + (Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT). type: string property: - description: A nested block that describes a notification channel - property. See Nested property blocks below for details. Notification - channel property type. + description: |- + A nested block that describes a notification channel property. See Nested property blocks below for details. + Notification channel property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. type: string type: object type: array @@ -569,13 +595,9 @@ spec: description: The status of the channel. type: string type: - description: 'The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, - WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and - SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. - (Required) The type of the channel. One of: (WEBHOOK, EMAIL, - SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, - JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, - EVENT_BRIDGE).' + description: |- + The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, WEBHOOK, JIRA_CLASSIC, MOBILE_PUSH, EVENT_BRIDGE, SLACK and SLACK_COLLABORATION, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object conditions: @@ -584,14 +606,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -601,8 +632,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -614,6 +646,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/alert.newrelic.upbound.io_destinations.yaml b/package/crds/alert.newrelic.upbound.io_destinations.yaml index 2281a54..f6d06d8 100644 --- a/package/crds/alert.newrelic.upbound.io_destinations.yaml +++ b/package/crds/alert.newrelic.upbound.io_destinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: destinations.alert.newrelic.upbound.io spec: group: alert.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: manage a notification destination for notifications in New Relic. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,20 +74,17 @@ spec: forProvider: properties: accountId: - description: Determines the New Relic account where the notification - destination will be created. Defaults to the account associated - with the API key used. The account ID under which to put the - destination. + description: |- + Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used. + The account ID under which to put the destination. type: number active: description: Indicates whether the destination is active. type: boolean authBasic: - description: A nested block that describes a basic username and - password authentication credentials. Only one auth_basic block - is permitted per notification destination definition. See Nested - auth_basic blocks below for details. Basic username and password - authentication credentials. + description: |- + A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details. + Basic username and password authentication credentials. items: properties: passwordSecretRef: @@ -109,11 +112,40 @@ spec: - passwordSecretRef type: object type: array + authCustomHeader: + description: |- + A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + Custom header based authentication + items: + properties: + key: + description: The key of the header. + type: string + valueSecretRef: + description: The secret value of the header. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - valueSecretRef + type: object + type: array authToken: - description: A nested block that describes a token authentication - credentials. Only one auth_token block is permitted per notification - destination definition. See Nested auth_token blocks below - for details. Token authentication credentials. + description: |- + A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. + Token authentication credentials. items: properties: prefix: @@ -141,69 +173,100 @@ spec: type: object type: array name: - description: The name of the destination. (Required) The name - of the destination. + description: |- + The name of the destination. + (Required) The name of the destination. type: string property: - description: A nested block that describes a notification destination - property. See Nested property blocks below for details. Notification - destination property type. + description: |- + A nested block that describes a notification destination property. See Nested property blocks below for details. + Notification destination property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. type: string type: object type: array + secureUrl: + description: |- + A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + URL in secure format + items: + properties: + prefix: + description: The prefix of the URL. + type: string + secureSuffixSecretRef: + description: The suffix of the URL, which contains sensitive + data. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - secureSuffixSecretRef + type: object + type: array type: - description: 'The type of destination. One of: EMAIL, SERVICE_NOW, - WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION - or PAGERDUTY_SERVICE_INTEGRATION. (Required) The type of the - destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, - PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, - SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).' + description: |- + The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Determines the New Relic account where the notification - destination will be created. Defaults to the account associated - with the API key used. The account ID under which to put the - destination. + description: |- + Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used. + The account ID under which to put the destination. type: number active: description: Indicates whether the destination is active. type: boolean authBasic: - description: A nested block that describes a basic username and - password authentication credentials. Only one auth_basic block - is permitted per notification destination definition. See Nested - auth_basic blocks below for details. Basic username and password - authentication credentials. + description: |- + A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details. + Basic username and password authentication credentials. items: properties: user: @@ -211,11 +274,21 @@ spec: type: string type: object type: array + authCustomHeader: + description: |- + A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + Custom header based authentication + items: + properties: + key: + description: The key of the header. + type: string + type: object + type: array authToken: - description: A nested block that describes a token authentication - credentials. Only one auth_token block is permitted per notification - destination definition. See Nested auth_token blocks below - for details. Token authentication credentials. + description: |- + A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. + Token authentication credentials. items: properties: prefix: @@ -224,58 +297,73 @@ spec: type: object type: array name: - description: The name of the destination. (Required) The name - of the destination. + description: |- + The name of the destination. + (Required) The name of the destination. type: string property: - description: A nested block that describes a notification destination - property. See Nested property blocks below for details. Notification - destination property type. + description: |- + A nested block that describes a notification destination property. See Nested property blocks below for details. + Notification destination property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. + type: string + type: object + type: array + secureUrl: + description: |- + A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + URL in secure format + items: + properties: + prefix: + description: The prefix of the URL. type: string type: object type: array type: - description: 'The type of destination. One of: EMAIL, SERVICE_NOW, - WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION - or PAGERDUTY_SERVICE_INTEGRATION. (Required) The type of the - destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, - PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, - SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).' + description: |- + The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -288,9 +376,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -300,21 +389,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -324,17 +413,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -344,21 +435,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -373,21 +464,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -398,14 +490,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -439,20 +532,17 @@ spec: atProvider: properties: accountId: - description: Determines the New Relic account where the notification - destination will be created. Defaults to the account associated - with the API key used. The account ID under which to put the - destination. + description: |- + Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used. + The account ID under which to put the destination. type: number active: description: Indicates whether the destination is active. type: boolean authBasic: - description: A nested block that describes a basic username and - password authentication credentials. Only one auth_basic block - is permitted per notification destination definition. See Nested - auth_basic blocks below for details. Basic username and password - authentication credentials. + description: |- + A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details. + Basic username and password authentication credentials. items: properties: user: @@ -460,11 +550,21 @@ spec: type: string type: object type: array + authCustomHeader: + description: |- + A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details. + Custom header based authentication + items: + properties: + key: + description: The key of the header. + type: string + type: object + type: array authToken: - description: A nested block that describes a token authentication - credentials. Only one auth_token block is permitted per notification - destination definition. See Nested auth_token blocks below - for details. Token authentication credentials. + description: |- + A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. + Token authentication credentials. items: properties: prefix: @@ -472,6 +572,11 @@ spec: type: string type: object type: array + guid: + description: |- + The unique entity identifier of the destination in New Relic. + Destination entity GUID + type: string id: description: The ID of the destination. type: string @@ -479,30 +584,46 @@ spec: description: The last time a notification was sent. type: string name: - description: The name of the destination. (Required) The name - of the destination. + description: |- + The name of the destination. + (Required) The name of the destination. type: string property: - description: A nested block that describes a notification destination - property. See Nested property blocks below for details. Notification - destination property type. + description: |- + A nested block that describes a notification destination property. See Nested property blocks below for details. + Notification destination property type. items: properties: displayValue: - description: The notification property display value. Notification - property display key. + description: |- + The notification property display value. + Notification property display key. type: string key: - description: The notification property key. Notification - property key. + description: |- + The notification property key. + Notification property key. type: string label: - description: The notification property label. Notification - property label. + description: |- + The notification property label. + Notification property label. type: string value: - description: The notification property value. Notification - property value. + description: |- + The notification property value. + Notification property value. + type: string + type: object + type: array + secureUrl: + description: |- + A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details. + URL in secure format + items: + properties: + prefix: + description: The prefix of the URL. type: string type: object type: array @@ -510,12 +631,9 @@ spec: description: The status of the destination. type: string type: - description: 'The type of destination. One of: EMAIL, SERVICE_NOW, - WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION - or PAGERDUTY_SERVICE_INTEGRATION. (Required) The type of the - destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, - PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, - SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).' + description: |- + The type of destination. One of: EMAIL, SERVICE_NOW, WEBHOOK, JIRA, MOBILE_PUSH, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION or PAGERDUTY_SERVICE_INTEGRATION. + (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). type: string type: object conditions: @@ -524,14 +642,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -541,8 +668,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -554,6 +682,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/alert.newrelic.upbound.io_policies.yaml b/package/crds/alert.newrelic.upbound.io_policies.yaml index b1eb5bb..ccc8cd0 100644 --- a/package/crds/alert.newrelic.upbound.io_policies.yaml +++ b/package/crds/alert.newrelic.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: policies.alert.newrelic.upbound.io spec: group: alert.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: policies in New Relic. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,93 +74,82 @@ spec: forProvider: properties: accountId: - description: The New Relic account ID to operate on. This allows - the user to override the account_id attribute set on the provider. - Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. The - New Relic account ID to operate on. + description: |- + The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID to operate on. type: number channelIds: - description: DEPRECATED The channel_ids argument is deprecated - and will be removed in the next major release of the provider. - An array of channel IDs (integers) to assign to the policy. - Adding or removing channel IDs from this array will result in - a new alert policy resource being created and the old one being - destroyed. An array of channel IDs (integers) to assign to the - policy. Adding or removing channel IDs from this array will - result in a new alert policy resource being created and the - old one being destroyed. + description: |- + DEPRECATED The channel_ids argument is deprecated and will be removed in the next major release of the provider. An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. + An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. items: type: number type: array incidentPreference: - description: 'The rollup strategy for the policy. Options include: - PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The - default is PER_POLICY. The rollup strategy for the policy. Options - include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. - The default is PER_POLICY.' + description: |- + The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): + The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. type: string name: - description: The name of the policy. The name of the policy. + description: |- + The name of the policy. + The name of the policy. type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: The New Relic account ID to operate on. This allows - the user to override the account_id attribute set on the provider. - Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. The - New Relic account ID to operate on. + description: |- + The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID to operate on. type: number channelIds: - description: DEPRECATED The channel_ids argument is deprecated - and will be removed in the next major release of the provider. - An array of channel IDs (integers) to assign to the policy. - Adding or removing channel IDs from this array will result in - a new alert policy resource being created and the old one being - destroyed. An array of channel IDs (integers) to assign to the - policy. Adding or removing channel IDs from this array will - result in a new alert policy resource being created and the - old one being destroyed. + description: |- + DEPRECATED The channel_ids argument is deprecated and will be removed in the next major release of the provider. An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. + An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. items: type: number type: array incidentPreference: - description: 'The rollup strategy for the policy. Options include: - PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The - default is PER_POLICY. The rollup strategy for the policy. Options - include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. - The default is PER_POLICY.' + description: |- + The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): + The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. type: string name: - description: The name of the policy. The name of the policy. + description: |- + The name of the policy. + The name of the policy. type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -167,9 +162,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -179,21 +175,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -203,17 +199,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -223,21 +221,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -252,21 +250,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -277,14 +276,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -310,21 +310,14 @@ spec: atProvider: properties: accountId: - description: The New Relic account ID to operate on. This allows - the user to override the account_id attribute set on the provider. - Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. The - New Relic account ID to operate on. + description: |- + The New Relic account ID to operate on. This allows the user to override the account_id attribute set on the provider. Defaults to the environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID to operate on. type: number channelIds: - description: DEPRECATED The channel_ids argument is deprecated - and will be removed in the next major release of the provider. - An array of channel IDs (integers) to assign to the policy. - Adding or removing channel IDs from this array will result in - a new alert policy resource being created and the old one being - destroyed. An array of channel IDs (integers) to assign to the - policy. Adding or removing channel IDs from this array will - result in a new alert policy resource being created and the - old one being destroyed. + description: |- + DEPRECATED The channel_ids argument is deprecated and will be removed in the next major release of the provider. An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. + An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. items: type: number type: array @@ -332,14 +325,14 @@ spec: description: The ID of the policy. type: string incidentPreference: - description: 'The rollup strategy for the policy. Options include: - PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The - default is PER_POLICY. The rollup strategy for the policy. Options - include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. - The default is PER_POLICY.' + description: |- + The rollup strategy for the policy, which can have one of the following values (the default value is PER_POLICY): + The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. type: string name: - description: The name of the policy. The name of the policy. + description: |- + The name of the policy. + The name of the policy. type: string type: object conditions: @@ -348,14 +341,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -365,8 +367,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -378,6 +381,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/dashboard.newrelic.upbound.io_dashboardjsons.yaml b/package/crds/dashboard.newrelic.upbound.io_dashboardjsons.yaml index 81e2655..fc83019 100644 --- a/package/crds/dashboard.newrelic.upbound.io_dashboardjsons.yaml +++ b/package/crds/dashboard.newrelic.upbound.io_dashboardjsons.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: dashboardjsons.dashboard.newrelic.upbound.io spec: group: dashboard.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: and manage dashboards from a JSON file. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,55 +74,58 @@ spec: forProvider: properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number json: - description: The JSON export of a dashboard. The JSON can be exported - from the UI The dashboard's json. + description: |- + The JSON export of a dashboard. The JSON can be exported from the UI + The dashboard's json. type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number json: - description: The JSON export of a dashboard. The JSON can be exported - from the UI The dashboard's json. + description: |- + The JSON export of a dashboard. The JSON can be exported from the UI + The dashboard's json. type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -129,9 +138,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -141,21 +151,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -165,17 +175,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -185,21 +197,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -214,21 +226,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -239,14 +252,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -272,28 +286,30 @@ spec: atProvider: properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number guid: - description: The unique entity identifier of the dashboard in - New Relic. The unique entity identifier of the dashboard in - New Relic. + description: |- + The unique entity identifier of the dashboard in New Relic. + The unique entity identifier of the dashboard in New Relic. type: string id: type: string json: - description: The JSON export of a dashboard. The JSON can be exported - from the UI The dashboard's json. + description: |- + The JSON export of a dashboard. The JSON can be exported from the UI + The dashboard's json. type: string permalink: - description: The URL for viewing the dashboard. The URL of the - dashboard. + description: |- + The URL for viewing the dashboard. + The URL of the dashboard. type: string updatedAt: - description: The date and time when the dashboard was last updated. + description: |- + The date and time when the dashboard was last updated. The date and time when the dashboard was last updated. type: string type: object @@ -303,14 +319,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -320,8 +345,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -333,6 +359,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/dashboard.newrelic.upbound.io_dashboards.yaml b/package/crds/dashboard.newrelic.upbound.io_dashboards.yaml index 1b40c6c..955748b 100644 --- a/package/crds/dashboard.newrelic.upbound.io_dashboards.yaml +++ b/package/crds/dashboard.newrelic.upbound.io_dashboards.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: dashboards.dashboard.newrelic.upbound.io spec: group: dashboard.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: dashboards in New Relic One. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,17 +74,19 @@ spec: forProvider: properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number description: - description: Brief text describing the dashboard. The dashboard's - description. + description: |- + Brief text describing the dashboard. + The dashboard's description. type: string name: - description: The title of the dashboard. The dashboard's name. + description: |- + The title of the dashboard. + The dashboard's name. type: string page: description: A nested block that describes a page. See Nested @@ -86,17 +94,19 @@ spec: items: properties: description: - description: Brief text describing the page. The dashboard - page's description. + description: |- + Brief text describing the page. + The dashboard page's description. type: string name: - description: 'The name of the page. Note: If there is only - one page, this name will be the name of the Dashboard. - The dashboard page''s name.' + description: |- + The name of the page. Note: If there is only one page, this name will be the name of the Dashboard. + The dashboard page's name. type: string widgetArea: - description: A nested block that describes an Area widget. See - Nested widget blocks below for details. An area widget. + description: |- + A nested block that describes an Area widget. See Nested widget blocks below for details. + An area widget. items: properties: colors: @@ -119,14 +129,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -163,17 +172,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -196,12 +202,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -213,8 +220,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -229,13 +237,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -262,8 +271,9 @@ spec: type: object type: array widgetBar: - description: A nested block that describes a Bar widget. See - Nested widget blocks below for details. A bar widget. + description: |- + A nested block that describes a Bar widget. See Nested widget blocks below for details. + A bar widget. items: properties: colors: @@ -286,14 +296,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -312,8 +321,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -329,10 +339,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -342,17 +351,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -375,12 +381,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -392,8 +399,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -408,13 +416,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -441,8 +450,9 @@ spec: type: object type: array widgetBillboard: - description: A nested block that describes a Billboard widget. See - Nested widget blocks below for details. A billboard widget. + description: |- + A nested block that describes a Billboard widget. See Nested widget blocks below for details. + A billboard widget. items: properties: colors: @@ -465,14 +475,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -484,9 +493,9 @@ spec: starting at 1. type: number critical: - description: Threshold above which the displayed value - will be styled with a red color. The critical threshold - value. + description: |- + Threshold above which the displayed value will be styled with a red color. + The critical threshold value. type: string facetShowOtherSeries: description: Enable or disable the Other group in @@ -514,17 +523,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -547,12 +553,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -564,8 +571,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -580,13 +588,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -597,9 +606,9 @@ spec: type: object type: array warning: - description: Threshold above which the displayed value - will be styled with a yellow color. The warning - threshold value. + description: |- + Threshold above which the displayed value will be styled with a yellow color. + The warning threshold value. type: string width: description: Width of the widget. Valid values are @@ -618,8 +627,9 @@ spec: type: object type: array widgetBullet: - description: A nested block that describes a Bullet widget. See - Nested widget blocks below for details. A bullet widget. + description: |- + A nested block that describes a Bullet widget. See Nested widget blocks below for details. + A bullet widget. items: properties: colors: @@ -642,14 +652,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -681,8 +690,9 @@ spec: be displayed. Defaults to true. type: boolean limit: - description: Visualization limit for the widget. The - maximum value for the visualization + description: |- + Visualization limit for the widget. + The maximum value for the visualization type: number nrqlQuery: description: Configuration for variables of type nrql. @@ -690,17 +700,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -723,12 +730,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -740,8 +748,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -756,13 +765,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -789,8 +799,9 @@ spec: type: object type: array widgetFunnel: - description: A nested block that describes a Funnel widget. See - Nested widget blocks below for details. A funnel widget. + description: |- + A nested block that describes a Funnel widget. See Nested widget blocks below for details. + A funnel widget. items: properties: colors: @@ -813,14 +824,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -857,17 +867,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -890,12 +897,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -907,8 +915,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -923,13 +932,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -956,8 +966,9 @@ spec: type: object type: array widgetHeatmap: - description: A nested block that describes a Heatmap widget. See - Nested widget blocks below for details. A heatmap widget. + description: |- + A nested block that describes a Heatmap widget. See Nested widget blocks below for details. + A heatmap widget. items: properties: colors: @@ -980,14 +991,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1006,8 +1016,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -1023,10 +1034,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -1036,17 +1046,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -1069,12 +1076,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1086,8 +1094,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1102,13 +1111,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1135,8 +1145,9 @@ spec: type: object type: array widgetHistogram: - description: A nested block that describes a Histogram widget. See - Nested widget blocks below for details. A histogram widget. + description: |- + A nested block that describes a Histogram widget. See Nested widget blocks below for details. + A histogram widget. items: properties: colors: @@ -1159,14 +1170,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1203,17 +1213,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -1236,12 +1243,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1253,8 +1261,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1269,13 +1278,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1302,8 +1312,9 @@ spec: type: object type: array widgetJson: - description: A nested block that describes a JSON widget. See - Nested widget blocks below for details. A JSON widget. + description: |- + A nested block that describes a JSON widget. See Nested widget blocks below for details. + A JSON widget. items: properties: colors: @@ -1326,14 +1337,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1370,17 +1380,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -1403,12 +1410,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1420,8 +1428,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1436,13 +1445,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1469,8 +1479,9 @@ spec: type: object type: array widgetLine: - description: A nested block that describes a Line widget. See - Nested widget blocks below for details. A line widget. + description: |- + A nested block that describes a Line widget. See Nested widget blocks below for details. + A line widget. items: properties: colors: @@ -1493,14 +1504,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1537,17 +1547,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -1570,12 +1577,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1587,8 +1595,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1603,13 +1612,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1634,23 +1644,16 @@ spec: the top value plus a margin. type: number yAxisLeftZero: - description: An attribute that specifies if the values - on the graph to be rendered need to be fit to scale, - or printed within the specified range from y_axis_left_min - (or 0 if it is not defined) to y_axis_left_max. - Use y_axis_left_zero = true with a combination of - y_axis_left_min and y_axis_left_max to render values - from 0 or the specified minimum to the maximum, - and y_axis_left_zero = false to fit the graph to - scale. Specifies if the values on the graph to be - rendered need to be fit to scale, or printed within - the specified range. + description: |- + An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from y_axis_left_min (or 0 if it is not defined) to y_axis_left_max. Use y_axis_left_zero = true with a combination of y_axis_left_min and y_axis_left_max to render values from 0 or the specified minimum to the maximum, and y_axis_left_zero = false to fit the graph to scale. + Specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range. type: boolean type: object type: array widgetLogTable: - description: A nested block that describes a Log Table widget. See - Nested widget blocks below for details. A log table widget. + description: |- + A nested block that describes a Log Table widget. See Nested widget blocks below for details. + A log table widget. items: properties: colors: @@ -1673,14 +1676,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1717,17 +1719,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -1750,12 +1749,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1767,8 +1767,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1783,13 +1784,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1816,8 +1818,9 @@ spec: type: object type: array widgetMarkdown: - description: A nested block that describes a Markdown widget. See - Nested widget blocks below for details. A markdown widget. + description: |- + A nested block that describes a Markdown widget. See Nested widget blocks below for details. + A markdown widget. items: properties: colors: @@ -1840,14 +1843,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1897,12 +1899,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -1918,8 +1921,9 @@ spec: the widget. type: string title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -1934,13 +1938,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -1967,8 +1972,9 @@ spec: type: object type: array widgetPie: - description: A nested block that describes a Pie widget. See - Nested widget blocks below for details. A pie widget. + description: |- + A nested block that describes a Pie widget. See Nested widget blocks below for details. + A pie widget. items: properties: colors: @@ -1991,14 +1997,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2017,8 +2022,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -2034,10 +2040,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -2047,17 +2052,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -2080,12 +2082,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2097,8 +2100,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -2113,13 +2117,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -2146,9 +2151,9 @@ spec: type: object type: array widgetStackedBar: - description: A nested block that describes a Stacked Bar - widget. See Nested widget blocks below for details. A - stacked bar widget. + description: |- + A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details. + A stacked bar widget. items: properties: colors: @@ -2171,14 +2176,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2215,17 +2219,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -2248,12 +2249,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2265,8 +2267,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -2281,13 +2284,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -2314,8 +2318,9 @@ spec: type: object type: array widgetTable: - description: A nested block that describes a Table widget. See - Nested widget blocks below for details. A table widget. + description: |- + A nested block that describes a Table widget. See Nested widget blocks below for details. + A table widget. items: properties: colors: @@ -2338,14 +2343,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2364,8 +2368,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -2381,10 +2386,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -2394,17 +2398,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -2427,12 +2428,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2444,8 +2446,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -2460,13 +2463,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -2495,56 +2499,55 @@ spec: type: object type: array permissions: - description: Determines who can see the dashboard in an account. - Valid values are private, public_read_only, or public_read_write. Defaults - to public_read_only. Determines who can see or edit the dashboard. - Valid values are private, public_read_only, public_read_write. - Defaults to public_read_only. + description: |- + Determines who can see the dashboard in an account. Valid values are private, public_read_only, or public_read_write. Defaults to public_read_only. + Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only. type: string variable: - description: A nested block that describes a dashboard-local variable. - See Nested variable blocks below for details. Dashboard-local - variable definitions. + description: |- + A nested block that describes a dashboard-local variable. See Nested variable blocks below for details. + Dashboard-local variable definitions. items: properties: defaultValues: - description: A list of default values for this variable. - To select all default values, the appropriate value to - be used with this argument would be ["*"]. Default values - for this variable. + description: |- + A list of default values for this variable. To select all default values, the appropriate value to be used with this argument would be ["*"]. + Default values for this variable. items: type: string type: array isMultiSelection: - description: Indicates whether this variable supports multiple - selection or not. Only applies to variables of type nrql - or enum. Indicates whether this variable supports multiple - selection or not. Only applies to variables of type NRQL - or ENUM. + description: |- + Indicates whether this variable supports multiple selection or not. Only applies to variables of type nrql or enum. + Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM. type: boolean item: - description: List of possible values for variables of type - enum. See Nested item blocks below for details. List of - possible values for variables of type ENUM + description: |- + List of possible values for variables of type enum. See Nested item blocks below for details. + List of possible values for variables of type ENUM items: properties: title: - description: A title for the widget. A human-friendly - display string for this value. + description: |- + A title for the widget. + A human-friendly display string for this value. type: string value: - description: A possible variable value A possible - variable value + description: |- + A possible variable value + A possible variable value type: string type: object type: array name: - description: The variable identifier. The variable identifier. + description: |- + The variable identifier. + The variable identifier. type: string nrqlQuery: - description: Configuration for variables of type nrql. See - Nested nrql_query blocks for details. Configuration for - variables of type NRQL. + description: |- + Configuration for variables of type nrql. See Nested nrql_query blocks for details. + Configuration for variables of type NRQL. items: properties: accountIds: @@ -2554,54 +2557,70 @@ spec: type: number type: array query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. NRQL formatted query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + NRQL formatted query. type: string type: object type: array + options: + description: |- + Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + Options applied to the variable. + items: + properties: + ignoreTimeRange: + description: |- + With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + type: boolean + type: object + type: array replacementStrategy: - description: Indicates the strategy to apply when replacing - a variable in a NRQL query. One of default, identifier, - number or string. Indicates the strategy to apply when - replacing a variable in a NRQL query. + description: |- + Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. + Indicates the strategy to apply when replacing a variable in a NRQL query. type: string title: - description: Human-friendly display string for this variable. + description: |- + Human-friendly display string for this variable. Human-friendly display string for this variable. type: string type: - description: Specifies the data type of the variable and - where its possible values may come from. One of enum, - nrql or string Specifies the data type of the variable - and where its possible values may come from. + description: |- + Specifies the data type of the variable and where its possible values may come from. One of enum, nrql or string + Specifies the data type of the variable and where its possible values may come from. type: string type: object type: array type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number description: - description: Brief text describing the dashboard. The dashboard's - description. + description: |- + Brief text describing the dashboard. + The dashboard's description. type: string name: - description: The title of the dashboard. The dashboard's name. + description: |- + The title of the dashboard. + The dashboard's name. type: string page: description: A nested block that describes a page. See Nested @@ -2609,17 +2628,19 @@ spec: items: properties: description: - description: Brief text describing the page. The dashboard - page's description. + description: |- + Brief text describing the page. + The dashboard page's description. type: string name: - description: 'The name of the page. Note: If there is only - one page, this name will be the name of the Dashboard. - The dashboard page''s name.' + description: |- + The name of the page. Note: If there is only one page, this name will be the name of the Dashboard. + The dashboard page's name. type: string widgetArea: - description: A nested block that describes an Area widget. See - Nested widget blocks below for details. An area widget. + description: |- + A nested block that describes an Area widget. See Nested widget blocks below for details. + An area widget. items: properties: colors: @@ -2642,14 +2663,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2686,17 +2706,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -2719,12 +2736,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2736,8 +2754,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -2752,13 +2771,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -2785,8 +2805,9 @@ spec: type: object type: array widgetBar: - description: A nested block that describes a Bar widget. See - Nested widget blocks below for details. A bar widget. + description: |- + A nested block that describes a Bar widget. See Nested widget blocks below for details. + A bar widget. items: properties: colors: @@ -2809,14 +2830,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2835,8 +2855,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -2852,10 +2873,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -2865,17 +2885,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -2898,12 +2915,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -2915,8 +2933,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -2931,13 +2950,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -2964,8 +2984,9 @@ spec: type: object type: array widgetBillboard: - description: A nested block that describes a Billboard widget. See - Nested widget blocks below for details. A billboard widget. + description: |- + A nested block that describes a Billboard widget. See Nested widget blocks below for details. + A billboard widget. items: properties: colors: @@ -2988,14 +3009,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3007,9 +3027,9 @@ spec: starting at 1. type: number critical: - description: Threshold above which the displayed value - will be styled with a red color. The critical threshold - value. + description: |- + Threshold above which the displayed value will be styled with a red color. + The critical threshold value. type: string facetShowOtherSeries: description: Enable or disable the Other group in @@ -3037,17 +3057,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3070,12 +3087,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3087,8 +3105,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3103,13 +3122,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3120,9 +3140,9 @@ spec: type: object type: array warning: - description: Threshold above which the displayed value - will be styled with a yellow color. The warning - threshold value. + description: |- + Threshold above which the displayed value will be styled with a yellow color. + The warning threshold value. type: string width: description: Width of the widget. Valid values are @@ -3141,8 +3161,9 @@ spec: type: object type: array widgetBullet: - description: A nested block that describes a Bullet widget. See - Nested widget blocks below for details. A bullet widget. + description: |- + A nested block that describes a Bullet widget. See Nested widget blocks below for details. + A bullet widget. items: properties: colors: @@ -3165,14 +3186,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3204,8 +3224,9 @@ spec: be displayed. Defaults to true. type: boolean limit: - description: Visualization limit for the widget. The - maximum value for the visualization + description: |- + Visualization limit for the widget. + The maximum value for the visualization type: number nrqlQuery: description: Configuration for variables of type nrql. @@ -3213,17 +3234,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3246,12 +3264,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3263,8 +3282,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3279,13 +3299,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3312,8 +3333,9 @@ spec: type: object type: array widgetFunnel: - description: A nested block that describes a Funnel widget. See - Nested widget blocks below for details. A funnel widget. + description: |- + A nested block that describes a Funnel widget. See Nested widget blocks below for details. + A funnel widget. items: properties: colors: @@ -3336,14 +3358,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3380,17 +3401,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3413,12 +3431,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3430,8 +3449,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3446,13 +3466,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3479,8 +3500,9 @@ spec: type: object type: array widgetHeatmap: - description: A nested block that describes a Heatmap widget. See - Nested widget blocks below for details. A heatmap widget. + description: |- + A nested block that describes a Heatmap widget. See Nested widget blocks below for details. + A heatmap widget. items: properties: colors: @@ -3503,14 +3525,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3529,8 +3550,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -3546,10 +3568,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -3559,17 +3580,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3592,12 +3610,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3609,8 +3628,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3625,13 +3645,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3658,8 +3679,9 @@ spec: type: object type: array widgetHistogram: - description: A nested block that describes a Histogram widget. See - Nested widget blocks below for details. A histogram widget. + description: |- + A nested block that describes a Histogram widget. See Nested widget blocks below for details. + A histogram widget. items: properties: colors: @@ -3682,14 +3704,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3726,17 +3747,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3759,12 +3777,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3776,8 +3795,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3792,13 +3812,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3825,8 +3846,9 @@ spec: type: object type: array widgetJson: - description: A nested block that describes a JSON widget. See - Nested widget blocks below for details. A JSON widget. + description: |- + A nested block that describes a JSON widget. See Nested widget blocks below for details. + A JSON widget. items: properties: colors: @@ -3849,14 +3871,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3893,17 +3914,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -3926,12 +3944,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -3943,8 +3962,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -3959,13 +3979,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -3992,8 +4013,9 @@ spec: type: object type: array widgetLine: - description: A nested block that describes a Line widget. See - Nested widget blocks below for details. A line widget. + description: |- + A nested block that describes a Line widget. See Nested widget blocks below for details. + A line widget. items: properties: colors: @@ -4016,14 +4038,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4060,17 +4081,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -4093,12 +4111,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4110,8 +4129,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4126,13 +4146,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -4157,23 +4178,16 @@ spec: the top value plus a margin. type: number yAxisLeftZero: - description: An attribute that specifies if the values - on the graph to be rendered need to be fit to scale, - or printed within the specified range from y_axis_left_min - (or 0 if it is not defined) to y_axis_left_max. - Use y_axis_left_zero = true with a combination of - y_axis_left_min and y_axis_left_max to render values - from 0 or the specified minimum to the maximum, - and y_axis_left_zero = false to fit the graph to - scale. Specifies if the values on the graph to be - rendered need to be fit to scale, or printed within - the specified range. + description: |- + An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from y_axis_left_min (or 0 if it is not defined) to y_axis_left_max. Use y_axis_left_zero = true with a combination of y_axis_left_min and y_axis_left_max to render values from 0 or the specified minimum to the maximum, and y_axis_left_zero = false to fit the graph to scale. + Specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range. type: boolean type: object type: array widgetLogTable: - description: A nested block that describes a Log Table widget. See - Nested widget blocks below for details. A log table widget. + description: |- + A nested block that describes a Log Table widget. See Nested widget blocks below for details. + A log table widget. items: properties: colors: @@ -4196,14 +4210,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4240,17 +4253,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -4273,12 +4283,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4290,8 +4301,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4306,13 +4318,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -4339,8 +4352,9 @@ spec: type: object type: array widgetMarkdown: - description: A nested block that describes a Markdown widget. See - Nested widget blocks below for details. A markdown widget. + description: |- + A nested block that describes a Markdown widget. See Nested widget blocks below for details. + A markdown widget. items: properties: colors: @@ -4363,14 +4377,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4420,12 +4433,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4441,8 +4455,9 @@ spec: the widget. type: string title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4457,13 +4472,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -4490,8 +4506,9 @@ spec: type: object type: array widgetPie: - description: A nested block that describes a Pie widget. See - Nested widget blocks below for details. A pie widget. + description: |- + A nested block that describes a Pie widget. See Nested widget blocks below for details. + A pie widget. items: properties: colors: @@ -4514,14 +4531,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4540,8 +4556,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -4557,10 +4574,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -4570,17 +4586,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -4603,12 +4616,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4620,8 +4634,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4636,13 +4651,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -4669,9 +4685,9 @@ spec: type: object type: array widgetStackedBar: - description: A nested block that describes a Stacked Bar - widget. See Nested widget blocks below for details. A - stacked bar widget. + description: |- + A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details. + A stacked bar widget. items: properties: colors: @@ -4694,14 +4710,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4738,17 +4753,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -4771,12 +4783,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4788,8 +4801,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4804,13 +4818,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -4837,8 +4852,9 @@ spec: type: object type: array widgetTable: - description: A nested block that describes a Table widget. See - Nested widget blocks below for details. A table widget. + description: |- + A nested block that describes a Table widget. See Nested widget blocks below for details. + A table widget. items: properties: colors: @@ -4861,14 +4877,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4887,8 +4902,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -4904,10 +4920,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -4917,17 +4932,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -4950,12 +4962,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -4967,8 +4980,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -4983,13 +4997,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -5018,56 +5033,55 @@ spec: type: object type: array permissions: - description: Determines who can see the dashboard in an account. - Valid values are private, public_read_only, or public_read_write. Defaults - to public_read_only. Determines who can see or edit the dashboard. - Valid values are private, public_read_only, public_read_write. - Defaults to public_read_only. + description: |- + Determines who can see the dashboard in an account. Valid values are private, public_read_only, or public_read_write. Defaults to public_read_only. + Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only. type: string variable: - description: A nested block that describes a dashboard-local variable. - See Nested variable blocks below for details. Dashboard-local - variable definitions. + description: |- + A nested block that describes a dashboard-local variable. See Nested variable blocks below for details. + Dashboard-local variable definitions. items: properties: defaultValues: - description: A list of default values for this variable. - To select all default values, the appropriate value to - be used with this argument would be ["*"]. Default values - for this variable. + description: |- + A list of default values for this variable. To select all default values, the appropriate value to be used with this argument would be ["*"]. + Default values for this variable. items: type: string type: array isMultiSelection: - description: Indicates whether this variable supports multiple - selection or not. Only applies to variables of type nrql - or enum. Indicates whether this variable supports multiple - selection or not. Only applies to variables of type NRQL - or ENUM. + description: |- + Indicates whether this variable supports multiple selection or not. Only applies to variables of type nrql or enum. + Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM. type: boolean item: - description: List of possible values for variables of type - enum. See Nested item blocks below for details. List of - possible values for variables of type ENUM + description: |- + List of possible values for variables of type enum. See Nested item blocks below for details. + List of possible values for variables of type ENUM items: properties: title: - description: A title for the widget. A human-friendly - display string for this value. + description: |- + A title for the widget. + A human-friendly display string for this value. type: string value: - description: A possible variable value A possible - variable value + description: |- + A possible variable value + A possible variable value type: string type: object type: array name: - description: The variable identifier. The variable identifier. + description: |- + The variable identifier. + The variable identifier. type: string nrqlQuery: - description: Configuration for variables of type nrql. See - Nested nrql_query blocks for details. Configuration for - variables of type NRQL. + description: |- + Configuration for variables of type nrql. See Nested nrql_query blocks for details. + Configuration for variables of type NRQL. items: properties: accountIds: @@ -5077,26 +5091,39 @@ spec: type: number type: array query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. NRQL formatted query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + NRQL formatted query. type: string type: object type: array + options: + description: |- + Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + Options applied to the variable. + items: + properties: + ignoreTimeRange: + description: |- + With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + type: boolean + type: object + type: array replacementStrategy: - description: Indicates the strategy to apply when replacing - a variable in a NRQL query. One of default, identifier, - number or string. Indicates the strategy to apply when - replacing a variable in a NRQL query. + description: |- + Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. + Indicates the strategy to apply when replacing a variable in a NRQL query. type: string title: - description: Human-friendly display string for this variable. + description: |- + Human-friendly display string for this variable. Human-friendly display string for this variable. type: string type: - description: Specifies the data type of the variable and - where its possible values may come from. One of enum, - nrql or string Specifies the data type of the variable - and where its possible values may come from. + description: |- + Specifies the data type of the variable and where its possible values may come from. One of enum, nrql or string + Specifies the data type of the variable and where its possible values may come from. type: string type: object type: array @@ -5104,19 +5131,21 @@ spec: managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -5129,9 +5158,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -5141,21 +5171,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -5165,17 +5195,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -5185,21 +5217,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -5214,21 +5246,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -5239,14 +5272,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -5276,24 +5310,26 @@ spec: atProvider: properties: accountId: - description: Determines the New Relic account where the dashboard - will be created. Defaults to the account associated with the - API key used. The New Relic account ID where you want to create - the dashboard. + description: |- + Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. + The New Relic account ID where you want to create the dashboard. type: number description: - description: Brief text describing the dashboard. The dashboard's - description. + description: |- + Brief text describing the dashboard. + The dashboard's description. type: string guid: - description: The unique entity identifier of the dashboard in - New Relic. The unique entity identifier of the dashboard in - New Relic. + description: |- + The unique entity identifier of the dashboard in New Relic. + The unique entity identifier of the dashboard in New Relic. type: string id: type: string name: - description: The title of the dashboard. The dashboard's name. + description: |- + The title of the dashboard. + The dashboard's name. type: string page: description: A nested block that describes a page. See Nested @@ -5301,22 +5337,24 @@ spec: items: properties: description: - description: Brief text describing the page. The dashboard - page's description. + description: |- + Brief text describing the page. + The dashboard page's description. type: string guid: - description: The unique entity identifier of the dashboard - page in New Relic. The unique entity identifier of the - dashboard page in New Relic. + description: |- + The unique entity identifier of the dashboard page in New Relic. + The unique entity identifier of the dashboard page in New Relic. type: string name: - description: 'The name of the page. Note: If there is only - one page, this name will be the name of the Dashboard. - The dashboard page''s name.' + description: |- + The name of the page. Note: If there is only one page, this name will be the name of the Dashboard. + The dashboard page's name. type: string widgetArea: - description: A nested block that describes an Area widget. See - Nested widget blocks below for details. An area widget. + description: |- + A nested block that describes an Area widget. See Nested widget blocks below for details. + An area widget. items: properties: colors: @@ -5339,14 +5377,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5386,17 +5423,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -5419,12 +5453,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5436,8 +5471,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -5452,13 +5488,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -5485,8 +5522,9 @@ spec: type: object type: array widgetBar: - description: A nested block that describes a Bar widget. See - Nested widget blocks below for details. A bar widget. + description: |- + A nested block that describes a Bar widget. See Nested widget blocks below for details. + A bar widget. items: properties: colors: @@ -5509,14 +5547,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5535,8 +5572,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -5555,10 +5593,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -5568,17 +5605,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -5601,12 +5635,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5618,8 +5653,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -5634,13 +5670,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -5667,8 +5704,9 @@ spec: type: object type: array widgetBillboard: - description: A nested block that describes a Billboard widget. See - Nested widget blocks below for details. A billboard widget. + description: |- + A nested block that describes a Billboard widget. See Nested widget blocks below for details. + A billboard widget. items: properties: colors: @@ -5691,14 +5729,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5710,9 +5747,9 @@ spec: starting at 1. type: number critical: - description: Threshold above which the displayed value - will be styled with a red color. The critical threshold - value. + description: |- + Threshold above which the displayed value will be styled with a red color. + The critical threshold value. type: string facetShowOtherSeries: description: Enable or disable the Other group in @@ -5743,17 +5780,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -5776,12 +5810,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5793,8 +5828,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -5809,13 +5845,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -5826,9 +5863,9 @@ spec: type: object type: array warning: - description: Threshold above which the displayed value - will be styled with a yellow color. The warning - threshold value. + description: |- + Threshold above which the displayed value will be styled with a yellow color. + The warning threshold value. type: string width: description: Width of the widget. Valid values are @@ -5847,8 +5884,9 @@ spec: type: object type: array widgetBullet: - description: A nested block that describes a Bullet widget. See - Nested widget blocks below for details. A bullet widget. + description: |- + A nested block that describes a Bullet widget. See Nested widget blocks below for details. + A bullet widget. items: properties: colors: @@ -5871,14 +5909,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5913,8 +5950,9 @@ spec: be displayed. Defaults to true. type: boolean limit: - description: Visualization limit for the widget. The - maximum value for the visualization + description: |- + Visualization limit for the widget. + The maximum value for the visualization type: number nrqlQuery: description: Configuration for variables of type nrql. @@ -5922,17 +5960,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -5955,12 +5990,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -5972,8 +6008,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -5988,13 +6025,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6021,8 +6059,9 @@ spec: type: object type: array widgetFunnel: - description: A nested block that describes a Funnel widget. See - Nested widget blocks below for details. A funnel widget. + description: |- + A nested block that describes a Funnel widget. See Nested widget blocks below for details. + A funnel widget. items: properties: colors: @@ -6045,14 +6084,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6092,17 +6130,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -6125,12 +6160,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6142,8 +6178,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -6158,13 +6195,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6191,8 +6229,9 @@ spec: type: object type: array widgetHeatmap: - description: A nested block that describes a Heatmap widget. See - Nested widget blocks below for details. A heatmap widget. + description: |- + A nested block that describes a Heatmap widget. See Nested widget blocks below for details. + A heatmap widget. items: properties: colors: @@ -6215,14 +6254,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6241,8 +6279,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -6261,10 +6300,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -6274,17 +6312,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -6307,12 +6342,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6324,8 +6360,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -6340,13 +6377,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6373,8 +6411,9 @@ spec: type: object type: array widgetHistogram: - description: A nested block that describes a Histogram widget. See - Nested widget blocks below for details. A histogram widget. + description: |- + A nested block that describes a Histogram widget. See Nested widget blocks below for details. + A histogram widget. items: properties: colors: @@ -6397,14 +6436,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6444,17 +6482,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -6477,12 +6512,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6494,8 +6530,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -6510,13 +6547,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6543,8 +6581,9 @@ spec: type: object type: array widgetJson: - description: A nested block that describes a JSON widget. See - Nested widget blocks below for details. A JSON widget. + description: |- + A nested block that describes a JSON widget. See Nested widget blocks below for details. + A JSON widget. items: properties: colors: @@ -6567,14 +6606,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6614,17 +6652,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -6647,12 +6682,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6664,8 +6700,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -6680,13 +6717,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6713,8 +6751,9 @@ spec: type: object type: array widgetLine: - description: A nested block that describes a Line widget. See - Nested widget blocks below for details. A line widget. + description: |- + A nested block that describes a Line widget. See Nested widget blocks below for details. + A line widget. items: properties: colors: @@ -6737,14 +6776,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6784,17 +6822,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -6817,12 +6852,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6834,8 +6870,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -6850,13 +6887,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -6881,23 +6919,16 @@ spec: the top value plus a margin. type: number yAxisLeftZero: - description: An attribute that specifies if the values - on the graph to be rendered need to be fit to scale, - or printed within the specified range from y_axis_left_min - (or 0 if it is not defined) to y_axis_left_max. - Use y_axis_left_zero = true with a combination of - y_axis_left_min and y_axis_left_max to render values - from 0 or the specified minimum to the maximum, - and y_axis_left_zero = false to fit the graph to - scale. Specifies if the values on the graph to be - rendered need to be fit to scale, or printed within - the specified range. + description: |- + An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from y_axis_left_min (or 0 if it is not defined) to y_axis_left_max. Use y_axis_left_zero = true with a combination of y_axis_left_min and y_axis_left_max to render values from 0 or the specified minimum to the maximum, and y_axis_left_zero = false to fit the graph to scale. + Specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range. type: boolean type: object type: array widgetLogTable: - description: A nested block that describes a Log Table widget. See - Nested widget blocks below for details. A log table widget. + description: |- + A nested block that describes a Log Table widget. See Nested widget blocks below for details. + A log table widget. items: properties: colors: @@ -6920,14 +6951,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -6967,17 +6997,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -7000,12 +7027,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7017,8 +7045,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -7033,13 +7062,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -7066,8 +7096,9 @@ spec: type: object type: array widgetMarkdown: - description: A nested block that describes a Markdown widget. See - Nested widget blocks below for details. A markdown widget. + description: |- + A nested block that describes a Markdown widget. See Nested widget blocks below for details. + A markdown widget. items: properties: colors: @@ -7090,14 +7121,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7150,12 +7180,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7171,8 +7202,9 @@ spec: the widget. type: string title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -7187,13 +7219,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -7220,8 +7253,9 @@ spec: type: object type: array widgetPie: - description: A nested block that describes a Pie widget. See - Nested widget blocks below for details. A pie widget. + description: |- + A nested block that describes a Pie widget. See Nested widget blocks below for details. + A pie widget. items: properties: colors: @@ -7244,14 +7278,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7270,8 +7303,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -7290,10 +7324,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -7303,17 +7336,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -7336,12 +7366,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7353,8 +7384,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -7369,13 +7401,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -7402,9 +7435,9 @@ spec: type: object type: array widgetStackedBar: - description: A nested block that describes a Stacked Bar - widget. See Nested widget blocks below for details. A - stacked bar widget. + description: |- + A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details. + A stacked bar widget. items: properties: colors: @@ -7427,14 +7460,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7474,17 +7506,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -7507,12 +7536,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7524,8 +7554,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -7540,13 +7571,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -7573,8 +7605,9 @@ spec: type: object type: array widgetTable: - description: A nested block that describes a Table widget. See - Nested widget blocks below for details. A table widget. + description: |- + A nested block that describes a Table widget. See Nested widget blocks below for details. + A table widget. items: properties: colors: @@ -7597,14 +7630,13 @@ spec: items: properties: color: - description: Choose a color to customize - the color of your charts per series - in area, bar, line, pie, and stacked - bar charts. Accepted values are RGB, - HEX, or HSL code. Color code + description: |- + Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. + Color code type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7623,8 +7655,9 @@ spec: aggregates the rest of the facets. Defaults to false type: boolean filterCurrentDashboard: - description: ': Use this item to filter the current - dashboard. Use this item to filter the current dashboard' + description: |- + : Use this item to filter the current dashboard. + Use this item to filter the current dashboard type: boolean height: description: Height of the widget. Valid values are @@ -7643,10 +7676,9 @@ spec: be displayed. Defaults to true. type: boolean linkedEntityGuids: - description: ': Related entity GUIDs. Currently only - supports Dashboard entity GUIDs. Related entities. - Currently only supports Dashboard entities, but - may allow other cases in the future.' + description: |- + : Related entity GUIDs. Currently only supports Dashboard entity GUIDs. + Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. items: type: string type: array @@ -7656,17 +7688,14 @@ spec: items: properties: accountId: - description: The New Relic account ID to issue - the query against. Defaults to the Account - ID where the dashboard was created. When using - an account ID you don't have permissions for - the widget will be replaced with a widget - showing the data is inaccessible. The account - id used for the NRQL query. + description: |- + The New Relic account ID to issue the query against. Defaults to the Account ID where the dashboard was created. When using an account ID you don't have permissions for the widget will be replaced with a widget showing the data is inaccessible. + The account id used for the NRQL query. type: number query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. The NRQL query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + The NRQL query. type: string type: object type: array @@ -7689,12 +7718,13 @@ spec: items: properties: nullValue: - description: Choose an option in displaying - null values. Accepted values are default, - remove, preserve, or zero. Null value + description: |- + Choose an option in displaying null values. Accepted values are default, remove, preserve, or zero. + Null value type: string seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string type: object @@ -7706,8 +7736,9 @@ spec: starting at 1. type: number title: - description: A title for the widget. A title for the - widget. + description: |- + A title for the widget. + A title for the widget. type: string units: description: A nested block that describes units on @@ -7722,13 +7753,14 @@ spec: items: properties: seriesName: - description: The title of the dashboard. + description: |- + The title of the dashboard. Series name type: string unit: - description: Choose a unit to customize - the unit on your Y axis and in each - of your series. Unit name + description: |- + Choose a unit to customize the unit on your Y axis and in each of your series. + Unit name type: string type: object type: array @@ -7757,60 +7789,60 @@ spec: type: object type: array permalink: - description: The URL for viewing the dashboard. The URL of the - dashboard. + description: |- + The URL for viewing the dashboard. + The URL of the dashboard. type: string permissions: - description: Determines who can see the dashboard in an account. - Valid values are private, public_read_only, or public_read_write. Defaults - to public_read_only. Determines who can see or edit the dashboard. - Valid values are private, public_read_only, public_read_write. - Defaults to public_read_only. + description: |- + Determines who can see the dashboard in an account. Valid values are private, public_read_only, or public_read_write. Defaults to public_read_only. + Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only. type: string variable: - description: A nested block that describes a dashboard-local variable. - See Nested variable blocks below for details. Dashboard-local - variable definitions. + description: |- + A nested block that describes a dashboard-local variable. See Nested variable blocks below for details. + Dashboard-local variable definitions. items: properties: defaultValues: - description: A list of default values for this variable. - To select all default values, the appropriate value to - be used with this argument would be ["*"]. Default values - for this variable. + description: |- + A list of default values for this variable. To select all default values, the appropriate value to be used with this argument would be ["*"]. + Default values for this variable. items: type: string type: array isMultiSelection: - description: Indicates whether this variable supports multiple - selection or not. Only applies to variables of type nrql - or enum. Indicates whether this variable supports multiple - selection or not. Only applies to variables of type NRQL - or ENUM. + description: |- + Indicates whether this variable supports multiple selection or not. Only applies to variables of type nrql or enum. + Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM. type: boolean item: - description: List of possible values for variables of type - enum. See Nested item blocks below for details. List of - possible values for variables of type ENUM + description: |- + List of possible values for variables of type enum. See Nested item blocks below for details. + List of possible values for variables of type ENUM items: properties: title: - description: A title for the widget. A human-friendly - display string for this value. + description: |- + A title for the widget. + A human-friendly display string for this value. type: string value: - description: A possible variable value A possible - variable value + description: |- + A possible variable value + A possible variable value type: string type: object type: array name: - description: The variable identifier. The variable identifier. + description: |- + The variable identifier. + The variable identifier. type: string nrqlQuery: - description: Configuration for variables of type nrql. See - Nested nrql_query blocks for details. Configuration for - variables of type NRQL. + description: |- + Configuration for variables of type nrql. See Nested nrql_query blocks for details. + Configuration for variables of type NRQL. items: properties: accountIds: @@ -7820,26 +7852,39 @@ spec: type: number type: array query: - description: Valid NRQL query string. See Writing - NRQL Queries for help. NRQL formatted query. + description: |- + Valid NRQL query string. See Writing NRQL Queries for help. + NRQL formatted query. type: string type: object type: array + options: + description: |- + Specifies additional options to be added to dashboard variables. Supports the following nested attribute(s) - + Options applied to the variable. + items: + properties: + ignoreTimeRange: + description: |- + With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to false. + Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal. + type: boolean + type: object + type: array replacementStrategy: - description: Indicates the strategy to apply when replacing - a variable in a NRQL query. One of default, identifier, - number or string. Indicates the strategy to apply when - replacing a variable in a NRQL query. + description: |- + Indicates the strategy to apply when replacing a variable in a NRQL query. One of default, identifier, number or string. + Indicates the strategy to apply when replacing a variable in a NRQL query. type: string title: - description: Human-friendly display string for this variable. + description: |- + Human-friendly display string for this variable. Human-friendly display string for this variable. type: string type: - description: Specifies the data type of the variable and - where its possible values may come from. One of enum, - nrql or string Specifies the data type of the variable - and where its possible values may come from. + description: |- + Specifies the data type of the variable and where its possible values may come from. One of enum, nrql or string + Specifies the data type of the variable and where its possible values may come from. type: string type: object type: array @@ -7850,14 +7895,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -7867,8 +7921,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -7880,6 +7935,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/log.newrelic.upbound.io_parsingrules.yaml b/package/crds/log.newrelic.upbound.io_parsingrules.yaml index 18a6da9..1f2018b 100644 --- a/package/crds/log.newrelic.upbound.io_parsingrules.yaml +++ b/package/crds/log.newrelic.upbound.io_parsingrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: parsingrules.log.newrelic.upbound.io spec: group: log.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: manage Log Parsing Rule. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,7 +74,8 @@ spec: forProvider: properties: accountId: - description: The account id associated with the obfuscation rule. + description: |- + The account id associated with the obfuscation rule. The account id associated with the obfuscation expression. type: number attribute: @@ -76,43 +83,52 @@ spec: If field is not provided, value will default to message. type: string enabled: - description: Whether the rule should be applied or not to incoming - data. Whether or not this rule is enabled. + description: |- + Whether the rule should be applied or not to incoming data. + Whether or not this rule is enabled. type: boolean grok: - description: The Grok of what to parse. The Grok of what to parse. + description: |- + The Grok of what to parse. + The Grok of what to parse. type: string lucene: - description: The Lucene to match events to the parsing rule. The - Lucene to match events to the parsing rule. + description: |- + The Lucene to match events to the parsing rule. + The Lucene to match events to the parsing rule. type: string matched: - description: Whether the Grok pattern matched. Whether the Grok - pattern matched. + description: |- + Whether the Grok pattern matched. + Whether the Grok pattern matched. type: boolean name: - description: Name of rule. A description of what this parsing - rule represents. + description: |- + Name of rule. + A description of what this parsing rule represents. type: string nrql: - description: The NRQL to match events to the parsing rule. The - NRQL to match events to the parsing rule. + description: |- + The NRQL to match events to the parsing rule. + The NRQL to match events to the parsing rule. type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: The account id associated with the obfuscation rule. + description: |- + The account id associated with the obfuscation rule. The account id associated with the obfuscation expression. type: number attribute: @@ -120,45 +136,54 @@ spec: If field is not provided, value will default to message. type: string enabled: - description: Whether the rule should be applied or not to incoming - data. Whether or not this rule is enabled. + description: |- + Whether the rule should be applied or not to incoming data. + Whether or not this rule is enabled. type: boolean grok: - description: The Grok of what to parse. The Grok of what to parse. + description: |- + The Grok of what to parse. + The Grok of what to parse. type: string lucene: - description: The Lucene to match events to the parsing rule. The - Lucene to match events to the parsing rule. + description: |- + The Lucene to match events to the parsing rule. + The Lucene to match events to the parsing rule. type: string matched: - description: Whether the Grok pattern matched. Whether the Grok - pattern matched. + description: |- + Whether the Grok pattern matched. + Whether the Grok pattern matched. type: boolean name: - description: Name of rule. A description of what this parsing - rule represents. + description: |- + Name of rule. + A description of what this parsing rule represents. type: string nrql: - description: The NRQL to match events to the parsing rule. The - NRQL to match events to the parsing rule. + description: |- + The NRQL to match events to the parsing rule. + The NRQL to match events to the parsing rule. type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -171,9 +196,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -183,21 +209,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -207,17 +233,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -227,21 +255,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -256,21 +284,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -281,14 +310,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -330,7 +360,8 @@ spec: atProvider: properties: accountId: - description: The account id associated with the obfuscation rule. + description: |- + The account id associated with the obfuscation rule. The account id associated with the obfuscation expression. type: number attribute: @@ -341,30 +372,37 @@ spec: description: Whether or not this rule is deleted. type: boolean enabled: - description: Whether the rule should be applied or not to incoming - data. Whether or not this rule is enabled. + description: |- + Whether the rule should be applied or not to incoming data. + Whether or not this rule is enabled. type: boolean grok: - description: The Grok of what to parse. The Grok of what to parse. + description: |- + The Grok of what to parse. + The Grok of what to parse. type: string id: description: The id of the log parsing rule. type: string lucene: - description: The Lucene to match events to the parsing rule. The - Lucene to match events to the parsing rule. + description: |- + The Lucene to match events to the parsing rule. + The Lucene to match events to the parsing rule. type: string matched: - description: Whether the Grok pattern matched. Whether the Grok - pattern matched. + description: |- + Whether the Grok pattern matched. + Whether the Grok pattern matched. type: boolean name: - description: Name of rule. A description of what this parsing - rule represents. + description: |- + Name of rule. + A description of what this parsing rule represents. type: string nrql: - description: The NRQL to match events to the parsing rule. The - NRQL to match events to the parsing rule. + description: |- + The NRQL to match events to the parsing rule. + The NRQL to match events to the parsing rule. type: string type: object conditions: @@ -373,14 +411,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -390,8 +437,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -403,6 +451,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/newrelic.upbound.io_storeconfigs.yaml b/package/crds/newrelic.upbound.io_storeconfigs.yaml index 36ec20c..ac981f8 100644 --- a/package/crds/newrelic.upbound.io_storeconfigs.yaml +++ b/package/crds/newrelic.upbound.io_storeconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: storeconfigs.newrelic.upbound.io spec: group: newrelic.upbound.io @@ -35,14 +35,19 @@ spec: connection details. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -50,24 +55,26 @@ spec: description: A StoreConfigSpec defines the desired state of a ProviderConfig. properties: defaultScope: - description: DefaultScope used for scoping secrets for "cluster-scoped" - resources. If store type is "Kubernetes", this would mean the default - namespace to store connection secrets for cluster scoped resources. + description: |- + DefaultScope used for scoping secrets for "cluster-scoped" resources. + If store type is "Kubernetes", this would mean the default namespace to + store connection secrets for cluster scoped resources. In case of "Vault", this would be used as the default parent path. Typically, should be set as Crossplane installation namespace. type: string kubernetes: - description: Kubernetes configures a Kubernetes secret store. If the - "type" is "Kubernetes" but no config provided, in cluster config + description: |- + Kubernetes configures a Kubernetes secret store. + If the "type" is "Kubernetes" but no config provided, in cluster config will be used. properties: auth: description: Credentials used to connect to the Kubernetes API. properties: env: - description: Env is a reference to an environment variable - that contains credentials that must be used to connect to - the provider. + description: |- + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. properties: name: description: Name is the name of an environment variable. @@ -76,9 +83,9 @@ spec: - name type: object fs: - description: Fs is a reference to a filesystem location that - contains credentials that must be used to connect to the - provider. + description: |- + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. properties: path: description: Path is a filesystem path. @@ -87,9 +94,9 @@ spec: - path type: object secretRef: - description: A SecretRef is a reference to a secret key that - contains the credentials that must be used to connect to - the provider. + description: |- + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. properties: key: description: The key to select. @@ -145,9 +152,10 @@ spec: type: object type: default: Kubernetes - description: Type configures which secret store to be used. Only the - configuration block for this store will be used and others will - be ignored if provided. Default is Kubernetes. + description: |- + Type configures which secret store to be used. Only the configuration + block for this store will be used and others will be ignored if provided. + Default is Kubernetes. enum: - Kubernetes - Vault @@ -165,14 +173,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -182,8 +199,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/nrql.newrelic.upbound.io_alertconditions.yaml b/package/crds/nrql.newrelic.upbound.io_alertconditions.yaml index 20fc8d3..ab46ef3 100644 --- a/package/crds/nrql.newrelic.upbound.io_alertconditions.yaml +++ b/package/crds/nrql.newrelic.upbound.io_alertconditions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: alertconditions.nrql.newrelic.upbound.io spec: group: nrql.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: and manage a NRQL alert condition for a policy in New Relic. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,206 +74,146 @@ spec: forProvider: properties: accountId: - description: The New Relic account ID of the account you wish - to create the condition. Defaults to the account ID set in your - environment variable NEW_RELIC_ACCOUNT_ID. The New Relic account - ID for managing your NRQL alert conditions. + description: |- + The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID for managing your NRQL alert conditions. type: number aggregationDelay: - description: How long we wait for data that belongs in each aggregation - window. Depending on your data, a longer delay may increase - accuracy but delay notifications. Use aggregation_delay with - the event_flow and cadence methods. The maximum delay is 1200 - seconds (20 minutes) when using event_flow and 3600 seconds - (60 minutes) when using cadence. In both cases, the minimum - delay is 0 seconds and the default is 120 seconds. aggregation_delay - cannot be set with nrql.evaluation_offset. How long we wait - for data that belongs in each aggregation window. Depending - on your data, a longer delay may increase accuracy but delay - notifications. Use aggregationDelay with the EVENT_FLOW and - CADENCE aggregation methods. + description: |- + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregation_delay with the event_flow and cadence methods. The maximum delay is 1200 seconds (20 minutes) when using event_flow and 3600 seconds (60 minutes) when using cadence. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. aggregation_delay cannot be set with nrql.evaluation_offset. + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. type: string aggregationMethod: - description: Determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Possible values are cadence, event_flow or event_timer. Default - is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. - The method that determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Default is EVENT_FLOW. + description: |- + Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are cadence, event_flow or event_timer. Default is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. + The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. type: string aggregationTimer: - description: How long we wait after each data point arrives to - make sure we've processed the whole batch. Use aggregation_timer - with the event_timer method. The timer value can range from - 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. - aggregation_timer cannot be set with nrql.evaluation_offset. - How long we wait after each data point arrives to make sure - we've processed the whole batch. Use aggregationTimer with the - EVENT_TIMER aggregation method. + description: |- + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregation_timer with the event_timer method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. aggregation_timer cannot be set with nrql.evaluation_offset. + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. type: string aggregationWindow: - description: The duration of the time window used to evaluate - the NRQL query, in seconds. The value must be at least 30 seconds, - and no more than 21600 seconds (6 hours). Default is 60 seconds. - The duration of the time window used to evaluate the NRQL query, - in seconds. + description: |- + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 21600 seconds (6 hours). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. type: number baselineDirection: - description: 'The baseline direction of a baseline NRQL alert - condition. Valid values are: lower_only, upper_and_lower, upper_only - (case insensitive). The baseline direction of a baseline NRQL - alert condition. Valid values are: ''LOWER_ONLY'', ''UPPER_AND_LOWER'', - ''UPPER_ONLY'' (case insensitive).' + description: |- + The baseline direction of a baseline NRQL alert condition. Valid values are: lower_only, upper_and_lower, upper_only (case insensitive). + The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). type: string closeViolationsOnExpiration: - description: Whether to close all open incidents when the signal - expires. Whether to close all open incidents when the signal - expires. + description: |- + Whether to close all open incidents when the signal expires. + Whether to close all open incidents when the signal expires. type: boolean critical: - description: A list containing the critical threshold values. - At least one critical or warning threshold must be defined. - See Terms below for details. A condition term with priority - set to critical. + description: |- + A list containing the critical threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to critical. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array description: - description: The description of the NRQL alert condition. The - description of the NRQL alert condition. + description: |- + The description of the NRQL alert condition. + The description of the NRQL alert condition. type: string enabled: - description: Whether to enable the alert condition. Valid values - are true and false. Defaults to true. Whether or not to enable - the alert condition. + description: |- + Whether to enable the alert condition. Valid values are true and false. Defaults to true. + Whether or not to enable the alert condition. type: boolean evaluationDelay: - description: How long we wait until the signal starts evaluating. - The maximum delay is 7200 seconds (120 minutes). How long we - wait until the signal starts evaluating. The maximum delay is - 7200 seconds (120 minutes) + description: |- + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes) type: number expirationDuration: - description: The amount of time (in seconds) to wait before considering - the signal expired. The value must be at least 30 seconds, and - no more than 172800 seconds (48 hours). The amount of time (in - seconds) to wait before considering the signal expired. Must - be in the range of 30 to 172800 (inclusive) + description: |- + The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours). + The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) type: number fillOption: - description: 'Which strategy to use when filling gaps in the signal. - Possible values are none, last_value or static. If static, the - fill_value field will be used for filling gaps in the signal. - Which strategy to use when filling gaps in the signal. If static, - the ''fill value'' will be used for filling gaps in the signal. - Valid values are: ''NONE'', ''LAST_VALUE'', or ''STATIC'' (case - insensitive).' + description: |- + Which strategy to use when filling gaps in the signal. Possible values are none, last_value or static. If static, the fill_value field will be used for filling gaps in the signal. + Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). type: string fillValue: - description: This value will be used for filling gaps in the signal. - If using the 'static' fill option, this value will be used for - filling gaps in the signal. + description: |- + This value will be used for filling gaps in the signal. + If using the 'static' fill option, this value will be used for filling gaps in the signal. type: number name: - description: The title of the condition. The title of the condition. + description: |- + The title of the condition. + The title of the condition. type: string nrql: - description: A NRQL query. See NRQL below for details. A NRQL - query. + description: |- + A NRQL query. See NRQL below for details. + A NRQL query. items: properties: evaluationOffset: - description: 'DEPRECATED: Use aggregation_method instead. - Represented in minutes and must be within 1-20 minutes - (inclusive). NRQL queries are evaluated based on their - aggregation_window size. The start time depends on this - value. It''s recommended to set this to 3 windows. An - offset of less than 3 windows will trigger incidents sooner, - but you may see more false positives and negatives due - to data latency. With evaluation_offset set to 3 windows - and an aggregation_window of 60 seconds, the NRQL time - window applied to your query will be: SINCE 3 minutes - ago UNTIL 2 minutes ago. evaluation_offset cannot be set - with aggregation_method, aggregation_delay, or aggregation_timer. - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `evaluation_offset`.' + description: |- + DEPRECATED: Use aggregation_method instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their aggregation_window size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With evaluation_offset set to 3 windows and an aggregation_window of 60 seconds, the NRQL time window applied to your query will be: SINCE 3 minutes ago UNTIL 2 minutes ago. evaluation_offset cannot be set with aggregation_method, aggregation_delay, or aggregation_timer. + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`. type: number query: description: The NRQL query to execute for the condition. type: string sinceValue: - description: 'DEPRECATED: Use aggregation_method instead. - The value to be used in the SINCE minutes ago clause - for the NRQL query. Must be between 1-20 (inclusive). - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `since_value`.' + description: |- + DEPRECATED: Use aggregation_method instead. The value to be used in the SINCE minutes ago clause for the NRQL query. Must be between 1-20 (inclusive). + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`. type: string type: object type: array openViolationOnExpiration: - description: Whether to create a new incident to capture that - the signal expired. Whether to create a new incident to capture - that the signal expired. + description: |- + Whether to create a new incident to capture that the signal expired. + Whether to create a new incident to capture that the signal expired. type: boolean policyId: - description: The ID of the policy where this condition should - be used. The ID of the policy where this condition should be - used. + description: |- + The ID of the policy where this condition should be used. + The ID of the policy where this condition should be used. type: number policyIdRef: description: Reference to a Policy in alert to populate policyId. @@ -280,21 +226,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -307,8 +253,9 @@ spec: description: Selector for a Policy in alert to populate policyId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -321,21 +268,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -343,312 +290,222 @@ spec: type: object type: object runbookUrl: - description: Runbook URL to display in notifications. Runbook - URL to display in notifications. + description: |- + Runbook URL to display in notifications. + Runbook URL to display in notifications. type: string slideBy: - description: Gathers data in overlapping time windows to smooth - the chart line, making it easier to spot trends. The slide_by - value is specified in seconds and must be smaller than and a - factor of the aggregation_window. The duration of overlapping - time windows used to smooth the chart line, in seconds. Must - be a factor of `aggregation_window` and less than the aggregation - window. If `aggregation_window` is less than or equal to 3600 - seconds, it should be greater or equal to 30 seconds. If `aggregation_window` - is greater than 3600 seconds but less than 7200 seconds, it - should be greater or equal to `aggregation_window / 120`. If - `aggregation_window` is greater than 7200 seconds, it should - be greater or equal to `aggregation_window / 24 + description: |- + Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The slide_by value is specified in seconds and must be smaller than and a factor of the aggregation_window. + The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 type: number type: - description: 'The type of the condition. Valid values are static - or baseline. Defaults to static. The type of NRQL alert condition - to create. Valid values are: ''static'', ''baseline''.' + description: |- + The type of the condition. Valid values are static or baseline. Defaults to static. + The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. type: string violationTimeLimitSeconds: - description: 'Sets a time limit, in seconds, that will automatically - force-close a long-lasting incident after the time limit you - select. The value must be between 300 seconds (5 minutes) to - 2592000 seconds (30 days) (inclusive). *Note: One of violation_time_limit - or violation_time_limit_seconds must be set, but not both. Sets - a time limit, in seconds, that will automatically force-close - a long-lasting incident after the time limit you select. Must - be in the range of 300 to 2592000 (inclusive)' + description: |- + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). + *Note: One of violation_time_limit or violation_time_limit_seconds must be set, but not both. + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) type: number warning: - description: A list containing the warning threshold values. At - least one critical or warning threshold must be defined. See - Terms below for details. A condition term with priority set - to warning. + description: |- + A list containing the warning threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to warning. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: The New Relic account ID of the account you wish - to create the condition. Defaults to the account ID set in your - environment variable NEW_RELIC_ACCOUNT_ID. The New Relic account - ID for managing your NRQL alert conditions. + description: |- + The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID for managing your NRQL alert conditions. type: number aggregationDelay: - description: How long we wait for data that belongs in each aggregation - window. Depending on your data, a longer delay may increase - accuracy but delay notifications. Use aggregation_delay with - the event_flow and cadence methods. The maximum delay is 1200 - seconds (20 minutes) when using event_flow and 3600 seconds - (60 minutes) when using cadence. In both cases, the minimum - delay is 0 seconds and the default is 120 seconds. aggregation_delay - cannot be set with nrql.evaluation_offset. How long we wait - for data that belongs in each aggregation window. Depending - on your data, a longer delay may increase accuracy but delay - notifications. Use aggregationDelay with the EVENT_FLOW and - CADENCE aggregation methods. + description: |- + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregation_delay with the event_flow and cadence methods. The maximum delay is 1200 seconds (20 minutes) when using event_flow and 3600 seconds (60 minutes) when using cadence. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. aggregation_delay cannot be set with nrql.evaluation_offset. + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. type: string aggregationMethod: - description: Determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Possible values are cadence, event_flow or event_timer. Default - is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. - The method that determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Default is EVENT_FLOW. + description: |- + Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are cadence, event_flow or event_timer. Default is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. + The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. type: string aggregationTimer: - description: How long we wait after each data point arrives to - make sure we've processed the whole batch. Use aggregation_timer - with the event_timer method. The timer value can range from - 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. - aggregation_timer cannot be set with nrql.evaluation_offset. - How long we wait after each data point arrives to make sure - we've processed the whole batch. Use aggregationTimer with the - EVENT_TIMER aggregation method. + description: |- + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregation_timer with the event_timer method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. aggregation_timer cannot be set with nrql.evaluation_offset. + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. type: string aggregationWindow: - description: The duration of the time window used to evaluate - the NRQL query, in seconds. The value must be at least 30 seconds, - and no more than 21600 seconds (6 hours). Default is 60 seconds. - The duration of the time window used to evaluate the NRQL query, - in seconds. + description: |- + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 21600 seconds (6 hours). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. type: number baselineDirection: - description: 'The baseline direction of a baseline NRQL alert - condition. Valid values are: lower_only, upper_and_lower, upper_only - (case insensitive). The baseline direction of a baseline NRQL - alert condition. Valid values are: ''LOWER_ONLY'', ''UPPER_AND_LOWER'', - ''UPPER_ONLY'' (case insensitive).' + description: |- + The baseline direction of a baseline NRQL alert condition. Valid values are: lower_only, upper_and_lower, upper_only (case insensitive). + The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). type: string closeViolationsOnExpiration: - description: Whether to close all open incidents when the signal - expires. Whether to close all open incidents when the signal - expires. + description: |- + Whether to close all open incidents when the signal expires. + Whether to close all open incidents when the signal expires. type: boolean critical: - description: A list containing the critical threshold values. - At least one critical or warning threshold must be defined. - See Terms below for details. A condition term with priority - set to critical. + description: |- + A list containing the critical threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to critical. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array description: - description: The description of the NRQL alert condition. The - description of the NRQL alert condition. + description: |- + The description of the NRQL alert condition. + The description of the NRQL alert condition. type: string enabled: - description: Whether to enable the alert condition. Valid values - are true and false. Defaults to true. Whether or not to enable - the alert condition. + description: |- + Whether to enable the alert condition. Valid values are true and false. Defaults to true. + Whether or not to enable the alert condition. type: boolean evaluationDelay: - description: How long we wait until the signal starts evaluating. - The maximum delay is 7200 seconds (120 minutes). How long we - wait until the signal starts evaluating. The maximum delay is - 7200 seconds (120 minutes) + description: |- + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes) type: number expirationDuration: - description: The amount of time (in seconds) to wait before considering - the signal expired. The value must be at least 30 seconds, and - no more than 172800 seconds (48 hours). The amount of time (in - seconds) to wait before considering the signal expired. Must - be in the range of 30 to 172800 (inclusive) + description: |- + The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours). + The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) type: number fillOption: - description: 'Which strategy to use when filling gaps in the signal. - Possible values are none, last_value or static. If static, the - fill_value field will be used for filling gaps in the signal. - Which strategy to use when filling gaps in the signal. If static, - the ''fill value'' will be used for filling gaps in the signal. - Valid values are: ''NONE'', ''LAST_VALUE'', or ''STATIC'' (case - insensitive).' + description: |- + Which strategy to use when filling gaps in the signal. Possible values are none, last_value or static. If static, the fill_value field will be used for filling gaps in the signal. + Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). type: string fillValue: - description: This value will be used for filling gaps in the signal. - If using the 'static' fill option, this value will be used for - filling gaps in the signal. + description: |- + This value will be used for filling gaps in the signal. + If using the 'static' fill option, this value will be used for filling gaps in the signal. type: number name: - description: The title of the condition. The title of the condition. + description: |- + The title of the condition. + The title of the condition. type: string nrql: - description: A NRQL query. See NRQL below for details. A NRQL - query. + description: |- + A NRQL query. See NRQL below for details. + A NRQL query. items: properties: evaluationOffset: - description: 'DEPRECATED: Use aggregation_method instead. - Represented in minutes and must be within 1-20 minutes - (inclusive). NRQL queries are evaluated based on their - aggregation_window size. The start time depends on this - value. It''s recommended to set this to 3 windows. An - offset of less than 3 windows will trigger incidents sooner, - but you may see more false positives and negatives due - to data latency. With evaluation_offset set to 3 windows - and an aggregation_window of 60 seconds, the NRQL time - window applied to your query will be: SINCE 3 minutes - ago UNTIL 2 minutes ago. evaluation_offset cannot be set - with aggregation_method, aggregation_delay, or aggregation_timer. - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `evaluation_offset`.' + description: |- + DEPRECATED: Use aggregation_method instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their aggregation_window size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With evaluation_offset set to 3 windows and an aggregation_window of 60 seconds, the NRQL time window applied to your query will be: SINCE 3 minutes ago UNTIL 2 minutes ago. evaluation_offset cannot be set with aggregation_method, aggregation_delay, or aggregation_timer. + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`. type: number query: description: The NRQL query to execute for the condition. type: string sinceValue: - description: 'DEPRECATED: Use aggregation_method instead. - The value to be used in the SINCE minutes ago clause - for the NRQL query. Must be between 1-20 (inclusive). - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `since_value`.' + description: |- + DEPRECATED: Use aggregation_method instead. The value to be used in the SINCE minutes ago clause for the NRQL query. Must be between 1-20 (inclusive). + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`. type: string type: object type: array openViolationOnExpiration: - description: Whether to create a new incident to capture that - the signal expired. Whether to create a new incident to capture - that the signal expired. + description: |- + Whether to create a new incident to capture that the signal expired. + Whether to create a new incident to capture that the signal expired. type: boolean policyId: - description: The ID of the policy where this condition should - be used. The ID of the policy where this condition should be - used. + description: |- + The ID of the policy where this condition should be used. + The ID of the policy where this condition should be used. type: number policyIdRef: description: Reference to a Policy in alert to populate policyId. @@ -661,21 +518,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -688,8 +545,9 @@ spec: description: Selector for a Policy in alert to populate policyId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -702,21 +560,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -724,95 +582,64 @@ spec: type: object type: object runbookUrl: - description: Runbook URL to display in notifications. Runbook - URL to display in notifications. + description: |- + Runbook URL to display in notifications. + Runbook URL to display in notifications. type: string slideBy: - description: Gathers data in overlapping time windows to smooth - the chart line, making it easier to spot trends. The slide_by - value is specified in seconds and must be smaller than and a - factor of the aggregation_window. The duration of overlapping - time windows used to smooth the chart line, in seconds. Must - be a factor of `aggregation_window` and less than the aggregation - window. If `aggregation_window` is less than or equal to 3600 - seconds, it should be greater or equal to 30 seconds. If `aggregation_window` - is greater than 3600 seconds but less than 7200 seconds, it - should be greater or equal to `aggregation_window / 120`. If - `aggregation_window` is greater than 7200 seconds, it should - be greater or equal to `aggregation_window / 24 + description: |- + Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The slide_by value is specified in seconds and must be smaller than and a factor of the aggregation_window. + The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 type: number type: - description: 'The type of the condition. Valid values are static - or baseline. Defaults to static. The type of NRQL alert condition - to create. Valid values are: ''static'', ''baseline''.' + description: |- + The type of the condition. Valid values are static or baseline. Defaults to static. + The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. type: string violationTimeLimitSeconds: - description: 'Sets a time limit, in seconds, that will automatically - force-close a long-lasting incident after the time limit you - select. The value must be between 300 seconds (5 minutes) to - 2592000 seconds (30 days) (inclusive). *Note: One of violation_time_limit - or violation_time_limit_seconds must be set, but not both. Sets - a time limit, in seconds, that will automatically force-close - a long-lasting incident after the time limit you select. Must - be in the range of 300 to 2592000 (inclusive)' + description: |- + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). + *Note: One of violation_time_limit or violation_time_limit_seconds must be set, but not both. + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) type: number warning: - description: A list containing the warning threshold values. At - least one critical or warning threshold must be defined. See - Terms below for details. A condition term with priority set - to warning. + description: |- + A list containing the warning threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to warning. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array @@ -820,19 +647,21 @@ spec: managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -845,9 +674,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -857,21 +687,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -881,17 +711,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -901,21 +733,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -930,21 +762,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -955,14 +788,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -992,319 +826,221 @@ spec: atProvider: properties: accountId: - description: The New Relic account ID of the account you wish - to create the condition. Defaults to the account ID set in your - environment variable NEW_RELIC_ACCOUNT_ID. The New Relic account - ID for managing your NRQL alert conditions. + description: |- + The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable NEW_RELIC_ACCOUNT_ID. + The New Relic account ID for managing your NRQL alert conditions. type: number aggregationDelay: - description: How long we wait for data that belongs in each aggregation - window. Depending on your data, a longer delay may increase - accuracy but delay notifications. Use aggregation_delay with - the event_flow and cadence methods. The maximum delay is 1200 - seconds (20 minutes) when using event_flow and 3600 seconds - (60 minutes) when using cadence. In both cases, the minimum - delay is 0 seconds and the default is 120 seconds. aggregation_delay - cannot be set with nrql.evaluation_offset. How long we wait - for data that belongs in each aggregation window. Depending - on your data, a longer delay may increase accuracy but delay - notifications. Use aggregationDelay with the EVENT_FLOW and - CADENCE aggregation methods. + description: |- + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregation_delay with the event_flow and cadence methods. The maximum delay is 1200 seconds (20 minutes) when using event_flow and 3600 seconds (60 minutes) when using cadence. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. aggregation_delay cannot be set with nrql.evaluation_offset. + How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. type: string aggregationMethod: - description: Determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Possible values are cadence, event_flow or event_timer. Default - is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. - The method that determines when we consider an aggregation window - to be complete so that we can evaluate the signal for incidents. - Default is EVENT_FLOW. + description: |- + Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are cadence, event_flow or event_timer. Default is event_flow. aggregation_method cannot be set with nrql.evaluation_offset. + The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. type: string aggregationTimer: - description: How long we wait after each data point arrives to - make sure we've processed the whole batch. Use aggregation_timer - with the event_timer method. The timer value can range from - 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. - aggregation_timer cannot be set with nrql.evaluation_offset. - How long we wait after each data point arrives to make sure - we've processed the whole batch. Use aggregationTimer with the - EVENT_TIMER aggregation method. + description: |- + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregation_timer with the event_timer method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. aggregation_timer cannot be set with nrql.evaluation_offset. + How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. type: string aggregationWindow: - description: The duration of the time window used to evaluate - the NRQL query, in seconds. The value must be at least 30 seconds, - and no more than 21600 seconds (6 hours). Default is 60 seconds. - The duration of the time window used to evaluate the NRQL query, - in seconds. + description: |- + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 21600 seconds (6 hours). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. type: number baselineDirection: - description: 'The baseline direction of a baseline NRQL alert - condition. Valid values are: lower_only, upper_and_lower, upper_only - (case insensitive). The baseline direction of a baseline NRQL - alert condition. Valid values are: ''LOWER_ONLY'', ''UPPER_AND_LOWER'', - ''UPPER_ONLY'' (case insensitive).' + description: |- + The baseline direction of a baseline NRQL alert condition. Valid values are: lower_only, upper_and_lower, upper_only (case insensitive). + The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). type: string closeViolationsOnExpiration: - description: Whether to close all open incidents when the signal - expires. Whether to close all open incidents when the signal - expires. + description: |- + Whether to close all open incidents when the signal expires. + Whether to close all open incidents when the signal expires. type: boolean critical: - description: A list containing the critical threshold values. - At least one critical or warning threshold must be defined. - See Terms below for details. A condition term with priority - set to critical. + description: |- + A list containing the critical threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to critical. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array description: - description: The description of the NRQL alert condition. The - description of the NRQL alert condition. + description: |- + The description of the NRQL alert condition. + The description of the NRQL alert condition. type: string enabled: - description: Whether to enable the alert condition. Valid values - are true and false. Defaults to true. Whether or not to enable - the alert condition. + description: |- + Whether to enable the alert condition. Valid values are true and false. Defaults to true. + Whether or not to enable the alert condition. type: boolean entityGuid: - description: The unique entity identifier of the NRQL Condition - in New Relic. The unique entity identifier of the NRQL Condition - in New Relic. + description: |- + The unique entity identifier of the NRQL Condition in New Relic. + The unique entity identifier of the NRQL Condition in New Relic. type: string evaluationDelay: - description: How long we wait until the signal starts evaluating. - The maximum delay is 7200 seconds (120 minutes). How long we - wait until the signal starts evaluating. The maximum delay is - 7200 seconds (120 minutes) + description: |- + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). + How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes) type: number expirationDuration: - description: The amount of time (in seconds) to wait before considering - the signal expired. The value must be at least 30 seconds, and - no more than 172800 seconds (48 hours). The amount of time (in - seconds) to wait before considering the signal expired. Must - be in the range of 30 to 172800 (inclusive) + description: |- + The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours). + The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) type: number fillOption: - description: 'Which strategy to use when filling gaps in the signal. - Possible values are none, last_value or static. If static, the - fill_value field will be used for filling gaps in the signal. - Which strategy to use when filling gaps in the signal. If static, - the ''fill value'' will be used for filling gaps in the signal. - Valid values are: ''NONE'', ''LAST_VALUE'', or ''STATIC'' (case - insensitive).' + description: |- + Which strategy to use when filling gaps in the signal. Possible values are none, last_value or static. If static, the fill_value field will be used for filling gaps in the signal. + Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). type: string fillValue: - description: This value will be used for filling gaps in the signal. - If using the 'static' fill option, this value will be used for - filling gaps in the signal. + description: |- + This value will be used for filling gaps in the signal. + If using the 'static' fill option, this value will be used for filling gaps in the signal. type: number id: description: The ID of the NRQL alert condition. This is a composite ID with the format : - e.g. 538291:6789035. type: string name: - description: The title of the condition. The title of the condition. + description: |- + The title of the condition. + The title of the condition. type: string nrql: - description: A NRQL query. See NRQL below for details. A NRQL - query. + description: |- + A NRQL query. See NRQL below for details. + A NRQL query. items: properties: evaluationOffset: - description: 'DEPRECATED: Use aggregation_method instead. - Represented in minutes and must be within 1-20 minutes - (inclusive). NRQL queries are evaluated based on their - aggregation_window size. The start time depends on this - value. It''s recommended to set this to 3 windows. An - offset of less than 3 windows will trigger incidents sooner, - but you may see more false positives and negatives due - to data latency. With evaluation_offset set to 3 windows - and an aggregation_window of 60 seconds, the NRQL time - window applied to your query will be: SINCE 3 minutes - ago UNTIL 2 minutes ago. evaluation_offset cannot be set - with aggregation_method, aggregation_delay, or aggregation_timer. - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `evaluation_offset`.' + description: |- + DEPRECATED: Use aggregation_method instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their aggregation_window size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With evaluation_offset set to 3 windows and an aggregation_window of 60 seconds, the NRQL time window applied to your query will be: SINCE 3 minutes ago UNTIL 2 minutes ago. evaluation_offset cannot be set with aggregation_method, aggregation_delay, or aggregation_timer. + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`. type: number query: description: The NRQL query to execute for the condition. type: string sinceValue: - description: 'DEPRECATED: Use aggregation_method instead. - The value to be used in the SINCE minutes ago clause - for the NRQL query. Must be between 1-20 (inclusive). - NRQL queries are evaluated in one-minute time windows. - The start time depends on the value you provide in the - NRQL condition''s `since_value`.' + description: |- + DEPRECATED: Use aggregation_method instead. The value to be used in the SINCE minutes ago clause for the NRQL query. Must be between 1-20 (inclusive). + NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`. type: string type: object type: array openViolationOnExpiration: - description: Whether to create a new incident to capture that - the signal expired. Whether to create a new incident to capture - that the signal expired. + description: |- + Whether to create a new incident to capture that the signal expired. + Whether to create a new incident to capture that the signal expired. type: boolean policyId: - description: The ID of the policy where this condition should - be used. The ID of the policy where this condition should be - used. + description: |- + The ID of the policy where this condition should be used. + The ID of the policy where this condition should be used. type: number runbookUrl: - description: Runbook URL to display in notifications. Runbook - URL to display in notifications. + description: |- + Runbook URL to display in notifications. + Runbook URL to display in notifications. type: string slideBy: - description: Gathers data in overlapping time windows to smooth - the chart line, making it easier to spot trends. The slide_by - value is specified in seconds and must be smaller than and a - factor of the aggregation_window. The duration of overlapping - time windows used to smooth the chart line, in seconds. Must - be a factor of `aggregation_window` and less than the aggregation - window. If `aggregation_window` is less than or equal to 3600 - seconds, it should be greater or equal to 30 seconds. If `aggregation_window` - is greater than 3600 seconds but less than 7200 seconds, it - should be greater or equal to `aggregation_window / 120`. If - `aggregation_window` is greater than 7200 seconds, it should - be greater or equal to `aggregation_window / 24 + description: |- + Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The slide_by value is specified in seconds and must be smaller than and a factor of the aggregation_window. + The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 type: number type: - description: 'The type of the condition. Valid values are static - or baseline. Defaults to static. The type of NRQL alert condition - to create. Valid values are: ''static'', ''baseline''.' + description: |- + The type of the condition. Valid values are static or baseline. Defaults to static. + The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. type: string violationTimeLimit: - description: 'DEPRECATED: Use violation_time_limit_seconds instead. - Sets a time limit, in hours, that will automatically force-close - a long-lasting incident after the time limit you select. Possible - values are ONE_HOUR, TWO_HOURS, FOUR_HOURS, EIGHT_HOURS, TWELVE_HOURS, - TWENTY_FOUR_HOURS, THIRTY_DAYS (case insensitive). *Note: One - of violation_time_limit or violation_time_limit_seconds must - be set, but not both. Sets a time limit, in hours, that will - automatically force-close a long-lasting incident after the - time limit you select. Possible values are ''ONE_HOUR'', ''TWO_HOURS'', - ''FOUR_HOURS'', ''EIGHT_HOURS'', ''TWELVE_HOURS'', ''TWENTY_FOUR_HOURS'', - ''THIRTY_DAYS'' (case insensitive).' + description: |- + DEPRECATED: Use violation_time_limit_seconds instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are ONE_HOUR, TWO_HOURS, FOUR_HOURS, EIGHT_HOURS, TWELVE_HOURS, TWENTY_FOUR_HOURS, THIRTY_DAYS (case insensitive). + *Note: One of violation_time_limit or violation_time_limit_seconds must be set, but not both. + Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive). type: string violationTimeLimitSeconds: - description: 'Sets a time limit, in seconds, that will automatically - force-close a long-lasting incident after the time limit you - select. The value must be between 300 seconds (5 minutes) to - 2592000 seconds (30 days) (inclusive). *Note: One of violation_time_limit - or violation_time_limit_seconds must be set, but not both. Sets - a time limit, in seconds, that will automatically force-close - a long-lasting incident after the time limit you select. Must - be in the range of 300 to 2592000 (inclusive)' + description: |- + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). + *Note: One of violation_time_limit or violation_time_limit_seconds must be set, but not both. + Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) type: number warning: - description: A list containing the warning threshold values. At - least one critical or warning threshold must be defined. See - Terms below for details. A condition term with priority set - to warning. + description: |- + A list containing the warning threshold values. At least one critical or warning threshold must be defined. See Terms below for details. + A condition term with priority set to warning. items: properties: duration: - description: 'DEPRECATED: Use threshold_duration instead. - The duration of time, in minutes, that the threshold must - violate for in order to create an incident. Must be within - 1-120 (inclusive). In minutes, must be in the range of - 1 to 120 (inclusive).' + description: |- + DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). + In minutes, must be in the range of 1 to 120 (inclusive). type: number operator: - description: Valid values are above, above_or_equals, below, - below_or_equals, equals, or not_equals (case insensitive). - Defaults to equals. Note that when using a type of baseline, - the only valid option here is above. One of (above, above_or_equals, - below, below_or_equals, equals, not_equals). Defaults - to 'equals'. + description: |- + Valid values are above, above_or_equals, below, below_or_equals, equals, or not_equals (case insensitive). Defaults to equals. Note that when using a type of baseline, the only valid option here is above. + One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. type: string threshold: - description: The value which will trigger an incident. For - baseline NRQL alert conditions, the value must be in the - range [1, 1000]. The value is the number of standard deviations - from the baseline that the metric must exceed in order - to create an incident. For baseline conditions must be - in range [1, 1000]. + description: |- + The value which will trigger an incident. + For baseline NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident. + For baseline conditions must be in range [1, 1000]. type: number thresholdDuration: - description: The duration, in seconds, that the threshold - must violate in order to create an incident. Value must - be a multiple of the aggregation_window (which has a default - of 60 seconds). For baseline NRQL alert conditions, the - value must be within 120-86400 seconds (inclusive). For - static NRQL alert conditions, the value must be within - 60-86400 seconds (inclusive). The duration, in seconds, - that the threshold must violate in order to create an - incident. Value must be a multiple of the 'aggregation_window' - (which has a default of 60 seconds). Value must be within - 120-86400 seconds for baseline conditions, and within - 60-86400 seconds for static conditions + description: |- + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the aggregation_window (which has a default of 60 seconds). + For baseline NRQL alert conditions, the value must be within 120-86400 seconds (inclusive). + For static NRQL alert conditions, the value must be within 60-86400 seconds (inclusive). + The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions type: number thresholdOccurrences: - description: 'The criteria for how many data points must - be in violation for the specified threshold duration. - Valid values are: all or at_least_once (case insensitive). - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - ''ALL'' or ''AT_LEAST_ONCE'' (case insensitive).' + description: |- + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive). + The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). type: string timeFunction: - description: 'DEPRECATED: Use threshold_occurrences instead. - The criteria for how many data points must be in violation - for the specified threshold duration. Valid values are: - all or any. Valid values are: ''all'' or ''any''' + description: |- + DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any. + Valid values are: 'all' or 'any' type: string type: object type: array @@ -1315,14 +1051,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -1332,8 +1077,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -1345,6 +1091,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/nrql.newrelic.upbound.io_droprules.yaml b/package/crds/nrql.newrelic.upbound.io_droprules.yaml index dadca79..745a01e 100644 --- a/package/crds/nrql.newrelic.upbound.io_droprules.yaml +++ b/package/crds/nrql.newrelic.upbound.io_droprules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: droprules.nrql.newrelic.upbound.io spec: group: nrql.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: NRQL Drop Rules. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,71 +74,78 @@ spec: forProvider: properties: accountId: - description: Account where the drop rule will be put. Defaults - to the account associated with the API key used. Account with - the NRQL drop rule will be put. + description: |- + Account where the drop rule will be put. Defaults to the account associated with the API key used. + Account with the NRQL drop rule will be put. type: number action: - description: An action type specifying how to apply the NRQL string - (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). + description: |- + An action type specifying how to apply the NRQL string (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). type: string description: - description: The description of the drop rule. Provides additional - information about the rule. + description: |- + The description of the drop rule. + Provides additional information about the rule. type: string nrql: - description: A NRQL string that specifies what data types to drop. + description: |- + A NRQL string that specifies what data types to drop. Explains which data to apply the drop rule to. type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Account where the drop rule will be put. Defaults - to the account associated with the API key used. Account with - the NRQL drop rule will be put. + description: |- + Account where the drop rule will be put. Defaults to the account associated with the API key used. + Account with the NRQL drop rule will be put. type: number action: - description: An action type specifying how to apply the NRQL string - (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). + description: |- + An action type specifying how to apply the NRQL string (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). type: string description: - description: The description of the drop rule. Provides additional - information about the rule. + description: |- + The description of the drop rule. + Provides additional information about the rule. type: string nrql: - description: A NRQL string that specifies what data types to drop. + description: |- + A NRQL string that specifies what data types to drop. Explains which data to apply the drop rule to. type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -145,9 +158,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -157,21 +171,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -181,17 +195,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -201,21 +217,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -230,21 +246,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -255,14 +272,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -292,28 +310,31 @@ spec: atProvider: properties: accountId: - description: Account where the drop rule will be put. Defaults - to the account associated with the API key used. Account with - the NRQL drop rule will be put. + description: |- + Account where the drop rule will be put. Defaults to the account associated with the API key used. + Account with the NRQL drop rule will be put. type: number action: - description: An action type specifying how to apply the NRQL string - (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). + description: |- + An action type specifying how to apply the NRQL string (either drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). type: string description: - description: The description of the drop rule. Provides additional - information about the rule. + description: |- + The description of the drop rule. + Provides additional information about the rule. type: string id: type: string nrql: - description: A NRQL string that specifies what data types to drop. + description: |- + A NRQL string that specifies what data types to drop. Explains which data to apply the drop rule to. type: string ruleId: - description: The id, uniquely identifying the rule. The id, uniquely - identifying the rule. + description: |- + The id, uniquely identifying the rule. + The id, uniquely identifying the rule. type: string type: object conditions: @@ -322,14 +343,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -339,8 +369,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -352,6 +383,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec diff --git a/package/crds/provider-newrelic.upbound.io_providerconfigs.yaml b/package/crds/provider-newrelic.upbound.io_providerconfigs.yaml index 18211dd..ee042b7 100644 --- a/package/crds/provider-newrelic.upbound.io_providerconfigs.yaml +++ b/package/crds/provider-newrelic.upbound.io_providerconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: providerconfigs.provider-newrelic.upbound.io spec: group: provider-newrelic.upbound.io @@ -32,14 +32,19 @@ spec: description: A ProviderConfig configures a NewRelic provider. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -50,8 +55,9 @@ spec: description: Credentials required to authenticate to this provider. properties: env: - description: Env is a reference to an environment variable that - contains credentials that must be used to connect to the provider. + description: |- + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. properties: name: description: Name is the name of an environment variable. @@ -60,8 +66,9 @@ spec: - name type: object fs: - description: Fs is a reference to a filesystem location that contains - credentials that must be used to connect to the provider. + description: |- + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. properties: path: description: Path is a filesystem path. @@ -70,8 +77,9 @@ spec: - path type: object secretRef: - description: A SecretRef is a reference to a secret key that contains - the credentials that must be used to connect to the provider. + description: |- + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. properties: key: description: The key to select. @@ -111,14 +119,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -128,8 +145,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/provider-newrelic.upbound.io_providerconfigusages.yaml b/package/crds/provider-newrelic.upbound.io_providerconfigusages.yaml index ec606f0..a54fa49 100644 --- a/package/crds/provider-newrelic.upbound.io_providerconfigusages.yaml +++ b/package/crds/provider-newrelic.upbound.io_providerconfigusages.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: providerconfigusages.provider-newrelic.upbound.io spec: group: provider-newrelic.upbound.io @@ -37,14 +37,19 @@ spec: description: A ProviderConfigUsage indicates that a resource is using a ProviderConfig. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -59,19 +64,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this reference - is required. The default is 'Required', which means the reconcile - will fail if the reference cannot be resolved. 'Optional' means - this reference will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should be resolved. - The default is 'IfNotPresent', which will attempt to resolve - the reference only when the corresponding field is not present. - Use 'Always' to resolve the reference on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent diff --git a/package/crds/workflow.newrelic.upbound.io_workflows.yaml b/package/crds/workflow.newrelic.upbound.io_workflows.yaml index 0a80294..5c7e14a 100644 --- a/package/crds/workflow.newrelic.upbound.io_workflows.yaml +++ b/package/crds/workflow.newrelic.upbound.io_workflows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.13.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: workflows.workflow.newrelic.upbound.io spec: group: workflow.newrelic.upbound.io @@ -19,12 +19,12 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .status.conditions[?(@.type=='Ready')].status - name: READY - type: string - jsonPath: .status.conditions[?(@.type=='Synced')].status name: SYNCED type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string - jsonPath: .metadata.annotations.crossplane\.io/external-name name: EXTERNAL-NAME type: string @@ -38,14 +38,19 @@ spec: a workflow in New Relic. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -54,13 +59,14 @@ spec: properties: deletionPolicy: default: Delete - description: 'DeletionPolicy specifies what will happen to the underlying - external when this managed resource is deleted - either "Delete" - or "Orphan" the external resource. This field is planned to be deprecated - in favor of the ManagementPolicies field in a future release. Currently, - both could be set independently and non-default values would be - honored if the feature flag is enabled. See the design doc for more - information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 enum: - Orphan - Delete @@ -68,20 +74,21 @@ spec: forProvider: properties: accountId: - description: Determines the New Relic account in which the workflow - is created. Defaults to the account defined in the provider - section. The account id of the workflow. + description: |- + Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. + The account id of the workflow. type: number destination: - description: Notification configuration. See Nested destination - blocks below for details. Workflow's destination configuration. + description: |- + Notification configuration. See Nested destination blocks below for details. + Workflow's destination configuration. items: properties: channelId: - description: Id of a notification_channel to use for notifications. - Please note that you have to use a notification channel, - not an alert_channel. (Required) Destination's channel - id. + description: |- + Id of a notification_channel to use for notifications. Please note that you have to use a + notification channel, not an alert_channel. + (Required) Destination's channel id. type: string channelIdRef: description: Reference to a Channel in alert to populate @@ -95,22 +102,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution - of this reference is required. The default is - 'Required', which means the reconcile will fail - if the reference cannot be resolved. 'Optional' - means this reference will be a no-op if it cannot - be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference - should be resolved. The default is 'IfNotPresent', - which will attempt to resolve the reference only - when the corresponding field is not present. Use - 'Always' to resolve the reference on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -124,9 +130,9 @@ spec: channelId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with - the same controller reference as the selecting object - is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -139,22 +145,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution - of this reference is required. The default is - 'Required', which means the reconcile will fail - if the reference cannot be resolved. 'Optional' - means this reference will be a no-op if it cannot - be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference - should be resolved. The default is 'IfNotPresent', - which will attempt to resolve the reference only - when the corresponding field is not present. Use - 'Always' to resolve the reference on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -162,56 +167,62 @@ spec: type: object type: object notificationTriggers: - description: Issue events to notify on. The value is a list - of possible issue events. See Notification Triggers below - for details. List of triggers to notify about in this - destination configuration. + description: |- + Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details. + List of triggers to notify about in this destination configuration. items: type: string type: array type: object type: array destinationsEnabled: - description: 'DEPRECATED Whether destinations are enabled. Please - use enabled instead: these two are different flags, but they - are functionally identical. Defaults to true. Indicates whether - the destinations are enabled.' + description: |- + DEPRECATED Whether destinations are enabled. Please use enabled instead: + these two are different flags, but they are functionally identical. Defaults to true. + Indicates whether the destinations are enabled. type: boolean enabled: - description: Whether workflow is enabled. Defaults to true. Indicates - whether the workflow is enabled. + description: |- + Whether workflow is enabled. Defaults to true. + Indicates whether the workflow is enabled. type: boolean enrichments: - description: Workflow's enrichments. See Nested enrichments blocks - below for details. Enrichments can give additional context on - alert notifications by adding NRQL query results to them. + description: |- + Workflow's enrichments. See Nested enrichments blocks below for details. + Enrichments can give additional context on alert notifications by adding NRQL query results to them. items: properties: nrql: - description: a wrapper block (Required) Nrql type Enrichments. + description: |- + a wrapper block + (Required) Nrql type Enrichments. items: properties: configuration: - description: Another wrapper block A set of key-value - pairs to represent a enrichment configuration. + description: |- + Another wrapper block + A set of key-value pairs to represent a enrichment configuration. items: properties: query: - description: An NRQL query to run enrichment's - NRQL query + description: |- + An NRQL query to run + enrichment's NRQL query type: string type: object type: array name: - description: The name of the workflow. (Required) - Enrichment's name. + description: |- + The name of the workflow. + (Required) Enrichment's name. type: string type: object type: array type: object type: array enrichmentsEnabled: - description: Whether enrichments are enabled. Defaults to true. + description: |- + Whether enrichments are enabled. Defaults to true. Indicates whether the enrichments are enabled. type: boolean issuesFilter: @@ -220,7 +231,8 @@ spec: items: properties: name: - description: The name of the filter. It can't be empty. + description: |- + The name of the filter. It can't be empty. (Required) Filter's name. type: string predicate: @@ -229,71 +241,71 @@ spec: items: properties: attribute: - description: Issue event attribute to check (Required) - predicate's attribute. + description: |- + Issue event attribute to check + (Required) predicate's attribute. type: string operator: - description: 'An operator to use to compare the attribute - with the provided values, see supported operators - below The type of the operator. One of: (CONTAINS, - DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, - ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, - GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, - STARTS_WITH).' + description: |- + An operator to use to compare the attribute with the provided values, see supported operators below + The type of the operator. One of: (CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, STARTS_WITH). type: string values: - description: The attribute must match any of the values - in this list List of predicate values. + description: |- + The attribute must match any of the values in this list + List of predicate values. items: type: string type: array type: object type: array type: - description: 'Type of the filter. Please just set this field - to FILTER. The field is likely to be deprecated/removed - in the near future. (Required) The type of the filter. - One of: (FILTER, VIEW).' + description: |- + Type of the filter. Please just set this field to FILTER. The field is likely to be deprecated/removed in the near future. + (Required) The type of the filter. One of: (FILTER, VIEW). type: string type: object type: array mutingRulesHandling: - description: 'How to handle muted issues. See Muting Rules below - for details. The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, - DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES).' + description: |- + How to handle muted issues. See Muting Rules below for details. + The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES). type: string name: - description: The name of the workflow. (Required) The name of - the workflow. + description: |- + The name of the workflow. + (Required) The name of the workflow. type: string type: object initProvider: - description: THIS IS A BETA FIELD. It will be honored unless the Management - Policies feature flag is disabled. InitProvider holds the same fields - as ForProvider, with the exception of Identifier and other resource - reference fields. The fields that are in InitProvider are merged - into ForProvider when the resource is created. The same fields are - also added to the terraform ignore_changes hook, to avoid updating - them after creation. This is useful for fields that are required - on creation, but we do not desire to update them after creation, - for example because of an external controller is managing them, - like an autoscaler. + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. properties: accountId: - description: Determines the New Relic account in which the workflow - is created. Defaults to the account defined in the provider - section. The account id of the workflow. + description: |- + Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. + The account id of the workflow. type: number destination: - description: Notification configuration. See Nested destination - blocks below for details. Workflow's destination configuration. + description: |- + Notification configuration. See Nested destination blocks below for details. + Workflow's destination configuration. items: properties: channelId: - description: Id of a notification_channel to use for notifications. - Please note that you have to use a notification channel, - not an alert_channel. (Required) Destination's channel - id. + description: |- + Id of a notification_channel to use for notifications. Please note that you have to use a + notification channel, not an alert_channel. + (Required) Destination's channel id. type: string channelIdRef: description: Reference to a Channel in alert to populate @@ -307,22 +319,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution - of this reference is required. The default is - 'Required', which means the reconcile will fail - if the reference cannot be resolved. 'Optional' - means this reference will be a no-op if it cannot - be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference - should be resolved. The default is 'IfNotPresent', - which will attempt to resolve the reference only - when the corresponding field is not present. Use - 'Always' to resolve the reference on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -336,9 +347,9 @@ spec: channelId. properties: matchControllerRef: - description: MatchControllerRef ensures an object with - the same controller reference as the selecting object - is selected. + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. type: boolean matchLabels: additionalProperties: @@ -351,22 +362,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution - of this reference is required. The default is - 'Required', which means the reconcile will fail - if the reference cannot be resolved. 'Optional' - means this reference will be a no-op if it cannot - be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference - should be resolved. The default is 'IfNotPresent', - which will attempt to resolve the reference only - when the corresponding field is not present. Use - 'Always' to resolve the reference on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -374,56 +384,62 @@ spec: type: object type: object notificationTriggers: - description: Issue events to notify on. The value is a list - of possible issue events. See Notification Triggers below - for details. List of triggers to notify about in this - destination configuration. + description: |- + Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details. + List of triggers to notify about in this destination configuration. items: type: string type: array type: object type: array destinationsEnabled: - description: 'DEPRECATED Whether destinations are enabled. Please - use enabled instead: these two are different flags, but they - are functionally identical. Defaults to true. Indicates whether - the destinations are enabled.' + description: |- + DEPRECATED Whether destinations are enabled. Please use enabled instead: + these two are different flags, but they are functionally identical. Defaults to true. + Indicates whether the destinations are enabled. type: boolean enabled: - description: Whether workflow is enabled. Defaults to true. Indicates - whether the workflow is enabled. + description: |- + Whether workflow is enabled. Defaults to true. + Indicates whether the workflow is enabled. type: boolean enrichments: - description: Workflow's enrichments. See Nested enrichments blocks - below for details. Enrichments can give additional context on - alert notifications by adding NRQL query results to them. + description: |- + Workflow's enrichments. See Nested enrichments blocks below for details. + Enrichments can give additional context on alert notifications by adding NRQL query results to them. items: properties: nrql: - description: a wrapper block (Required) Nrql type Enrichments. + description: |- + a wrapper block + (Required) Nrql type Enrichments. items: properties: configuration: - description: Another wrapper block A set of key-value - pairs to represent a enrichment configuration. + description: |- + Another wrapper block + A set of key-value pairs to represent a enrichment configuration. items: properties: query: - description: An NRQL query to run enrichment's - NRQL query + description: |- + An NRQL query to run + enrichment's NRQL query type: string type: object type: array name: - description: The name of the workflow. (Required) - Enrichment's name. + description: |- + The name of the workflow. + (Required) Enrichment's name. type: string type: object type: array type: object type: array enrichmentsEnabled: - description: Whether enrichments are enabled. Defaults to true. + description: |- + Whether enrichments are enabled. Defaults to true. Indicates whether the enrichments are enabled. type: boolean issuesFilter: @@ -432,7 +448,8 @@ spec: items: properties: name: - description: The name of the filter. It can't be empty. + description: |- + The name of the filter. It can't be empty. (Required) Filter's name. type: string predicate: @@ -441,60 +458,60 @@ spec: items: properties: attribute: - description: Issue event attribute to check (Required) - predicate's attribute. + description: |- + Issue event attribute to check + (Required) predicate's attribute. type: string operator: - description: 'An operator to use to compare the attribute - with the provided values, see supported operators - below The type of the operator. One of: (CONTAINS, - DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, - ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, - GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, - STARTS_WITH).' + description: |- + An operator to use to compare the attribute with the provided values, see supported operators below + The type of the operator. One of: (CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, STARTS_WITH). type: string values: - description: The attribute must match any of the values - in this list List of predicate values. + description: |- + The attribute must match any of the values in this list + List of predicate values. items: type: string type: array type: object type: array type: - description: 'Type of the filter. Please just set this field - to FILTER. The field is likely to be deprecated/removed - in the near future. (Required) The type of the filter. - One of: (FILTER, VIEW).' + description: |- + Type of the filter. Please just set this field to FILTER. The field is likely to be deprecated/removed in the near future. + (Required) The type of the filter. One of: (FILTER, VIEW). type: string type: object type: array mutingRulesHandling: - description: 'How to handle muted issues. See Muting Rules below - for details. The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, - DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES).' + description: |- + How to handle muted issues. See Muting Rules below for details. + The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES). type: string name: - description: The name of the workflow. (Required) The name of - the workflow. + description: |- + The name of the workflow. + (Required) The name of the workflow. type: string type: object managementPolicies: default: - '*' - description: 'THIS IS A BETA FIELD. It is on by default but can be - opted out through a Crossplane feature flag. ManagementPolicies - specify the array of actions Crossplane is allowed to take on the - managed and external resources. This field is planned to replace - the DeletionPolicy field in a future release. Currently, both could - be set independently and non-default values would be honored if - the feature flag is enabled. If both are custom, the DeletionPolicy - field will be ignored. See the design doc for more information: - https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 - and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md items: - description: A ManagementAction represents an action that the Crossplane - controllers can take on an external resource. + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. enum: - Observe - Create @@ -507,9 +524,10 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that - will be used to create, observe, update, and delete this managed - resource should be configured. + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. properties: name: description: Name of the referenced object. @@ -519,21 +537,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -543,17 +561,19 @@ spec: - name type: object publishConnectionDetailsTo: - description: PublishConnectionDetailsTo specifies the connection secret - config which contains a name, metadata and a reference to secret - store config to which any connection details for this managed resource - should be written. Connection details frequently include the endpoint, - username, and password required to connect to the managed resource. + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. properties: configRef: default: name: default - description: SecretStoreConfigRef specifies which secret store - config should be used for this ConnectionSecret. + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. properties: name: description: Name of the referenced object. @@ -563,21 +583,21 @@ spec: properties: resolution: default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. enum: - Required - Optional type: string resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. enum: - Always - IfNotPresent @@ -592,21 +612,22 @@ spec: annotations: additionalProperties: type: string - description: Annotations are the annotations to be added to - connection secret. - For Kubernetes secrets, this will be - used as "metadata.annotations". - It is up to Secret Store - implementation for others store types. + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. type: object labels: additionalProperties: type: string - description: Labels are the labels/tags to be added to connection - secret. - For Kubernetes secrets, this will be used as "metadata.labels". - - It is up to Secret Store implementation for others store - types. + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. type: object type: - description: Type is the SecretType for the connection secret. + description: |- + Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores. type: string type: object @@ -617,14 +638,15 @@ spec: - name type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace - and name of a Secret to which any connection details for this managed - resource should be written. Connection details frequently include - the endpoint, username, and password required to connect to the - managed resource. This field is planned to be replaced in a future - release in favor of PublishConnectionDetailsTo. Currently, both - could be set independently and connection details would be published - to both without affecting each other. + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. properties: name: description: Name of the secret. @@ -662,104 +684,110 @@ spec: atProvider: properties: accountId: - description: Determines the New Relic account in which the workflow - is created. Defaults to the account defined in the provider - section. The account id of the workflow. + description: |- + Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. + The account id of the workflow. type: number destination: - description: Notification configuration. See Nested destination - blocks below for details. Workflow's destination configuration. + description: |- + Notification configuration. See Nested destination blocks below for details. + Workflow's destination configuration. items: properties: channelId: - description: Id of a notification_channel to use for notifications. - Please note that you have to use a notification channel, - not an alert_channel. (Required) Destination's channel - id. + description: |- + Id of a notification_channel to use for notifications. Please note that you have to use a + notification channel, not an alert_channel. + (Required) Destination's channel id. type: string name: - description: The name of the workflow. (Required) Destination's - name. + description: |- + The name of the workflow. + (Required) Destination's name. type: string notificationTriggers: - description: Issue events to notify on. The value is a list - of possible issue events. See Notification Triggers below - for details. List of triggers to notify about in this - destination configuration. + description: |- + Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details. + List of triggers to notify about in this destination configuration. items: type: string type: array type: - description: 'Type of the filter. Please just set this field - to FILTER. The field is likely to be deprecated/removed - in the near future. (Required) The type of the destination. - One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, - PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, - SLACK, JIRA).' + description: |- + Type of the filter. Please just set this field to FILTER. The field is likely to be deprecated/removed in the near future. + (Required) The type of the destination. One of: (EMAIL, EVENT_BRIDGE, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, SERVICE_NOW, WEBHOOK, MOBILE_PUSH, SLACK, JIRA). type: string type: object type: array destinationsEnabled: - description: 'DEPRECATED Whether destinations are enabled. Please - use enabled instead: these two are different flags, but they - are functionally identical. Defaults to true. Indicates whether - the destinations are enabled.' + description: |- + DEPRECATED Whether destinations are enabled. Please use enabled instead: + these two are different flags, but they are functionally identical. Defaults to true. + Indicates whether the destinations are enabled. type: boolean enabled: - description: Whether workflow is enabled. Defaults to true. Indicates - whether the workflow is enabled. + description: |- + Whether workflow is enabled. Defaults to true. + Indicates whether the workflow is enabled. type: boolean enrichments: - description: Workflow's enrichments. See Nested enrichments blocks - below for details. Enrichments can give additional context on - alert notifications by adding NRQL query results to them. + description: |- + Workflow's enrichments. See Nested enrichments blocks below for details. + Enrichments can give additional context on alert notifications by adding NRQL query results to them. items: properties: nrql: - description: a wrapper block (Required) Nrql type Enrichments. + description: |- + a wrapper block + (Required) Nrql type Enrichments. items: properties: accountId: - description: Determines the New Relic account in which - the workflow is created. Defaults to the account - defined in the provider section. The account id - of the enrichment. + description: |- + Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. + The account id of the enrichment. type: number configuration: - description: Another wrapper block A set of key-value - pairs to represent a enrichment configuration. + description: |- + Another wrapper block + A set of key-value pairs to represent a enrichment configuration. items: properties: query: - description: An NRQL query to run enrichment's - NRQL query + description: |- + An NRQL query to run + enrichment's NRQL query type: string type: object type: array enrichmentId: - description: The ID of the workflow. Enrichment's - id. + description: |- + The ID of the workflow. + Enrichment's id. type: string name: - description: The name of the workflow. (Required) - Enrichment's name. + description: |- + The name of the workflow. + (Required) Enrichment's name. type: string type: - description: 'Type of the filter. Please just set - this field to FILTER. The field is likely to be - deprecated/removed in the near future. The type - of the enrichment. One of: (NRQL).' + description: |- + Type of the filter. Please just set this field to FILTER. The field is likely to be deprecated/removed in the near future. + The type of the enrichment. One of: (NRQL). type: string type: object type: array type: object type: array enrichmentsEnabled: - description: Whether enrichments are enabled. Defaults to true. + description: |- + Whether enrichments are enabled. Defaults to true. Indicates whether the enrichments are enabled. type: boolean guid: - description: The ID of the workflow. Workflow entity GUID + description: |- + The ID of the workflow. + Workflow entity GUID type: string id: description: The ID of the workflow. @@ -770,10 +798,13 @@ spec: items: properties: filterId: - description: The ID of the workflow. filter id. + description: |- + The ID of the workflow. + filter id. type: string name: - description: The name of the filter. It can't be empty. + description: |- + The name of the filter. It can't be empty. (Required) Filter's name. type: string predicate: @@ -782,31 +813,28 @@ spec: items: properties: attribute: - description: Issue event attribute to check (Required) - predicate's attribute. + description: |- + Issue event attribute to check + (Required) predicate's attribute. type: string operator: - description: 'An operator to use to compare the attribute - with the provided values, see supported operators - below The type of the operator. One of: (CONTAINS, - DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, - ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, - GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, - STARTS_WITH).' + description: |- + An operator to use to compare the attribute with the provided values, see supported operators below + The type of the operator. One of: (CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_EXACTLY_MATCH, ENDS_WITH, EQUAL, EXACTLY_MATCHES, GREATER_OR_EQUAL, GREATER_THAN, IS, IS_NOT, LESS_OR_EQUAL, LESS_THAN, STARTS_WITH). type: string values: - description: The attribute must match any of the values - in this list List of predicate values. + description: |- + The attribute must match any of the values in this list + List of predicate values. items: type: string type: array type: object type: array type: - description: 'Type of the filter. Please just set this field - to FILTER. The field is likely to be deprecated/removed - in the near future. (Required) The type of the filter. - One of: (FILTER, VIEW).' + description: |- + Type of the filter. Please just set this field to FILTER. The field is likely to be deprecated/removed in the near future. + (Required) The type of the filter. One of: (FILTER, VIEW). type: string type: object type: array @@ -814,16 +842,19 @@ spec: description: The last time notification was sent for this workflow. type: string mutingRulesHandling: - description: 'How to handle muted issues. See Muting Rules below - for details. The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, - DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES).' + description: |- + How to handle muted issues. See Muting Rules below for details. + The type of the muting rule handling. One of: (NOTIFY_ALL_ISSUES, DONT_NOTIFY_FULLY_MUTED_ISSUES, DONT_NOTIFY_FULLY_OR_PARTIALLY_MUTED_ISSUES). type: string name: - description: The name of the workflow. (Required) The name of - the workflow. + description: |- + The name of the workflow. + (Required) The name of the workflow. type: string workflowId: - description: The ID of the workflow. The id of the workflow. + description: |- + The ID of the workflow. + The id of the workflow. type: string type: object conditions: @@ -832,14 +863,23 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer reason: description: A Reason for this condition's last transition from one status to another. @@ -849,8 +889,9 @@ spec: False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. type: string required: - lastTransitionTime @@ -862,6 +903,13 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer type: object required: - spec