Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=alert.newrelic.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AuthBasicInitParameters
- type AuthBasicObservation
- type AuthBasicParameters
- type AuthCustomHeaderInitParameters
- type AuthCustomHeaderObservation
- type AuthCustomHeaderParameters
- type AuthTokenInitParameters
- type AuthTokenObservation
- type AuthTokenParameters
- type Channel
- func (in *Channel) DeepCopy() *Channel
- func (in *Channel) DeepCopyInto(out *Channel)
- func (in *Channel) DeepCopyObject() runtime.Object
- func (mg *Channel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Channel) GetConnectionDetailsMapping() map[string]string
- func (mg *Channel) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Channel) GetID() string
- func (tr *Channel) GetInitParameters() (map[string]any, error)
- func (mg *Channel) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Channel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Channel) GetObservation() (map[string]any, error)
- func (tr *Channel) GetParameters() (map[string]any, error)
- func (mg *Channel) GetProviderConfigReference() *xpv1.Reference
- func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Channel) GetTerraformResourceType() string
- func (tr *Channel) GetTerraformSchemaVersion() int
- func (mg *Channel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Channel) Hub()
- func (tr *Channel) LateInitialize(attrs []byte) (bool, error)
- func (mg *Channel) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Channel) SetConditions(c ...xpv1.Condition)
- func (mg *Channel) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Channel) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Channel) SetObservation(obs map[string]any) error
- func (tr *Channel) SetParameters(params map[string]any) error
- func (mg *Channel) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Channel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ChannelInitParameters
- type ChannelList
- type ChannelObservation
- type ChannelParameters
- type ChannelSpec
- type ChannelStatus
- type Destination
- func (in *Destination) DeepCopy() *Destination
- func (in *Destination) DeepCopyInto(out *Destination)
- func (in *Destination) DeepCopyObject() runtime.Object
- func (mg *Destination) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Destination) GetConnectionDetailsMapping() map[string]string
- func (mg *Destination) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Destination) GetID() string
- func (tr *Destination) GetInitParameters() (map[string]any, error)
- func (mg *Destination) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Destination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Destination) GetObservation() (map[string]any, error)
- func (tr *Destination) GetParameters() (map[string]any, error)
- func (mg *Destination) GetProviderConfigReference() *xpv1.Reference
- func (mg *Destination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Destination) GetTerraformResourceType() string
- func (tr *Destination) GetTerraformSchemaVersion() int
- func (mg *Destination) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Destination) Hub()
- func (tr *Destination) LateInitialize(attrs []byte) (bool, error)
- func (mg *Destination) SetConditions(c ...xpv1.Condition)
- func (mg *Destination) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Destination) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Destination) SetObservation(obs map[string]any) error
- func (tr *Destination) SetParameters(params map[string]any) error
- func (mg *Destination) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Destination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Destination) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DestinationInitParameters
- type DestinationList
- type DestinationObservation
- type DestinationParameters
- type DestinationPropertyInitParameters
- type DestinationPropertyObservation
- type DestinationPropertyParameters
- type DestinationSpec
- type DestinationStatus
- type Policy
- func (in *Policy) DeepCopy() *Policy
- func (in *Policy) DeepCopyInto(out *Policy)
- func (in *Policy) DeepCopyObject() runtime.Object
- func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Policy) GetConnectionDetailsMapping() map[string]string
- func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Policy) GetID() string
- func (tr *Policy) GetInitParameters() (map[string]any, error)
- func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Policy) GetObservation() (map[string]any, error)
- func (tr *Policy) GetParameters() (map[string]any, error)
- func (mg *Policy) GetProviderConfigReference() *xpv1.Reference
- func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Policy) GetTerraformResourceType() string
- func (tr *Policy) GetTerraformSchemaVersion() int
- func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Policy) Hub()
- func (tr *Policy) LateInitialize(attrs []byte) (bool, error)
- func (mg *Policy) SetConditions(c ...xpv1.Condition)
- func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Policy) SetObservation(obs map[string]any) error
- func (tr *Policy) SetParameters(params map[string]any) error
- func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyInitParameters
- type PolicyList
- type PolicyObservation
- type PolicyParameters
- type PolicySpec
- type PolicyStatus
- type PropertyInitParameters
- type PropertyObservation
- type PropertyParameters
- type SecureURLInitParameters
- type SecureURLObservation
- type SecureURLParameters
Constants ¶
const ( CRDGroup = "alert.newrelic.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Channel_Kind = "Channel" Channel_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Channel_Kind}.String() Channel_KindAPIVersion = Channel_Kind + "." + CRDGroupVersion.String() Channel_GroupVersionKind = CRDGroupVersion.WithKind(Channel_Kind) )
Repository type metadata.
var ( Destination_Kind = "Destination" Destination_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Destination_Kind}.String() Destination_KindAPIVersion = Destination_Kind + "." + CRDGroupVersion.String() Destination_GroupVersionKind = CRDGroupVersion.WithKind(Destination_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Policy_Kind = "Policy" Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AuthBasicInitParameters ¶
type AuthBasicInitParameters struct { // Specifies an authentication password for use with a destination. PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // The username of the basic auth. User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*AuthBasicInitParameters) DeepCopy ¶
func (in *AuthBasicInitParameters) DeepCopy() *AuthBasicInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthBasicInitParameters.
func (*AuthBasicInitParameters) DeepCopyInto ¶
func (in *AuthBasicInitParameters) DeepCopyInto(out *AuthBasicInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthBasicObservation ¶
type AuthBasicObservation struct { // The username of the basic auth. User *string `json:"user,omitempty" tf:"user,omitempty"` }
func (*AuthBasicObservation) DeepCopy ¶
func (in *AuthBasicObservation) DeepCopy() *AuthBasicObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthBasicObservation.
func (*AuthBasicObservation) DeepCopyInto ¶
func (in *AuthBasicObservation) DeepCopyInto(out *AuthBasicObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthBasicParameters ¶
type AuthBasicParameters struct { // Specifies an authentication password for use with a destination. // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // The username of the basic auth. // +kubebuilder:validation:Optional User *string `json:"user" tf:"user,omitempty"` }
func (*AuthBasicParameters) DeepCopy ¶
func (in *AuthBasicParameters) DeepCopy() *AuthBasicParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthBasicParameters.
func (*AuthBasicParameters) DeepCopyInto ¶
func (in *AuthBasicParameters) DeepCopyInto(out *AuthBasicParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthCustomHeaderInitParameters ¶ added in v0.1.1
type AuthCustomHeaderInitParameters struct { // The key of the header. Key *string `json:"key,omitempty" tf:"key,omitempty"` // The secret value of the header. ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` }
func (*AuthCustomHeaderInitParameters) DeepCopy ¶ added in v0.1.1
func (in *AuthCustomHeaderInitParameters) DeepCopy() *AuthCustomHeaderInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderInitParameters.
func (*AuthCustomHeaderInitParameters) DeepCopyInto ¶ added in v0.1.1
func (in *AuthCustomHeaderInitParameters) DeepCopyInto(out *AuthCustomHeaderInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthCustomHeaderObservation ¶ added in v0.1.1
type AuthCustomHeaderObservation struct { // The key of the header. Key *string `json:"key,omitempty" tf:"key,omitempty"` }
func (*AuthCustomHeaderObservation) DeepCopy ¶ added in v0.1.1
func (in *AuthCustomHeaderObservation) DeepCopy() *AuthCustomHeaderObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderObservation.
func (*AuthCustomHeaderObservation) DeepCopyInto ¶ added in v0.1.1
func (in *AuthCustomHeaderObservation) DeepCopyInto(out *AuthCustomHeaderObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthCustomHeaderParameters ¶ added in v0.1.1
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:Optional ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` }
func (*AuthCustomHeaderParameters) DeepCopy ¶ added in v0.1.1
func (in *AuthCustomHeaderParameters) DeepCopy() *AuthCustomHeaderParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthCustomHeaderParameters.
func (*AuthCustomHeaderParameters) DeepCopyInto ¶ added in v0.1.1
func (in *AuthCustomHeaderParameters) DeepCopyInto(out *AuthCustomHeaderParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthTokenInitParameters ¶
type AuthTokenInitParameters struct { // The prefix of the token auth. Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` // Specifies the token for integrating. TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` }
func (*AuthTokenInitParameters) DeepCopy ¶
func (in *AuthTokenInitParameters) DeepCopy() *AuthTokenInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthTokenInitParameters.
func (*AuthTokenInitParameters) DeepCopyInto ¶
func (in *AuthTokenInitParameters) DeepCopyInto(out *AuthTokenInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthTokenObservation ¶
type AuthTokenObservation struct { // The prefix of the token auth. Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` }
func (*AuthTokenObservation) DeepCopy ¶
func (in *AuthTokenObservation) DeepCopy() *AuthTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthTokenObservation.
func (*AuthTokenObservation) DeepCopyInto ¶
func (in *AuthTokenObservation) DeepCopyInto(out *AuthTokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthTokenParameters ¶
type AuthTokenParameters struct { // The prefix of the token auth. // +kubebuilder:validation:Optional Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` // Specifies the token for integrating. // +kubebuilder:validation:Optional TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` }
func (*AuthTokenParameters) DeepCopy ¶
func (in *AuthTokenParameters) DeepCopy() *AuthTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthTokenParameters.
func (*AuthTokenParameters) DeepCopyInto ¶
func (in *AuthTokenParameters) DeepCopyInto(out *AuthTokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Channel ¶
type Channel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.product) || (has(self.initProvider) && has(self.initProvider.product))",message="spec.forProvider.product is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.property) || (has(self.initProvider) && has(self.initProvider.property))",message="spec.forProvider.property is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ChannelSpec `json:"spec"` Status ChannelStatus `json:"status,omitempty"` }
Channel is the Schema for the Channels API. Create and manage a notification channel for notifications in New Relic. +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:resource:scope=Cluster,categories={crossplane,managed,newrelic}
func (*Channel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel.
func (*Channel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Channel) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Channel) GetCondition ¶
func (mg *Channel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Channel.
func (*Channel) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Channel
func (*Channel) GetDeletionPolicy ¶
func (mg *Channel) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Channel.
func (*Channel) GetInitParameters ¶
GetInitParameters of this Channel
func (*Channel) GetManagementPolicies ¶
func (mg *Channel) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Channel.
func (*Channel) GetMergedParameters ¶
GetInitParameters of this Channel
func (*Channel) GetObservation ¶
GetObservation of this Channel
func (*Channel) GetParameters ¶
GetParameters of this Channel
func (*Channel) GetProviderConfigReference ¶
GetProviderConfigReference of this Channel.
func (*Channel) GetPublishConnectionDetailsTo ¶
func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Channel.
func (*Channel) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Channel
func (*Channel) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Channel) GetWriteConnectionSecretToReference ¶
func (mg *Channel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Channel.
func (*Channel) Hub ¶ added in v0.1.1
func (tr *Channel) Hub()
Hub marks this type as a conversion hub.
func (*Channel) LateInitialize ¶
LateInitialize this Channel using its observed tfState. returns True if there are any spec changes for the resource.
func (*Channel) ResolveReferences ¶
ResolveReferences of this Channel.
func (*Channel) SetConditions ¶
SetConditions of this Channel.
func (*Channel) SetDeletionPolicy ¶
func (mg *Channel) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Channel.
func (*Channel) SetManagementPolicies ¶
func (mg *Channel) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Channel.
func (*Channel) SetObservation ¶
SetObservation for this Channel
func (*Channel) SetParameters ¶
SetParameters for this Channel
func (*Channel) SetProviderConfigReference ¶
SetProviderConfigReference of this Channel.
func (*Channel) SetPublishConnectionDetailsTo ¶
func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Channel.
func (*Channel) SetWriteConnectionSecretToReference ¶
func (mg *Channel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Channel.
type ChannelInitParameters ¶
type ChannelInitParameters struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the channel is active. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // The id of the destination. // (Required) The id of the destination. // +crossplane:generate:reference:type=github.com/crossplane-contrib/crossplane-provider-newrelic/apis/alert/v1alpha1.Destination DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"` // Reference to a Destination in alert to populate destinationId. // +kubebuilder:validation:Optional DestinationIDRef *v1.Reference `json:"destinationIdRef,omitempty" tf:"-"` // Selector for a Destination in alert to populate destinationId. // +kubebuilder:validation:Optional DestinationIDSelector *v1.Selector `json:"destinationIdSelector,omitempty" tf:"-"` // The name of the channel. // (Required) The name of the channel. Name *string `json:"name,omitempty" tf:"name,omitempty"` // 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). Product *string `json:"product,omitempty" tf:"product,omitempty"` // A nested block that describes a notification channel property. See Nested property blocks below for details. // Notification channel property type. Property []PropertyInitParameters `json:"property,omitempty" tf:"property,omitempty"` // The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ChannelInitParameters) DeepCopy ¶
func (in *ChannelInitParameters) DeepCopy() *ChannelInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelInitParameters.
func (*ChannelInitParameters) DeepCopyInto ¶
func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelList ¶
type ChannelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Channel `json:"items"` }
ChannelList contains a list of Channels
func (*ChannelList) DeepCopy ¶
func (in *ChannelList) DeepCopy() *ChannelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelList.
func (*ChannelList) DeepCopyInto ¶
func (in *ChannelList) DeepCopyInto(out *ChannelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChannelList) DeepCopyObject ¶
func (in *ChannelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ChannelList) GetItems ¶
func (l *ChannelList) GetItems() []resource.Managed
GetItems of this ChannelList.
type ChannelObservation ¶
type ChannelObservation struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the channel is active. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // The id of the destination. // (Required) The id of the destination. DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"` // The ID of the channel. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the channel. // (Required) The name of the channel. Name *string `json:"name,omitempty" tf:"name,omitempty"` // 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). Product *string `json:"product,omitempty" tf:"product,omitempty"` // A nested block that describes a notification channel property. See Nested property blocks below for details. // Notification channel property type. Property []PropertyObservation `json:"property,omitempty" tf:"property,omitempty"` // The status of the channel. Status *string `json:"status,omitempty" tf:"status,omitempty"` // The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ChannelObservation) DeepCopy ¶
func (in *ChannelObservation) DeepCopy() *ChannelObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelObservation.
func (*ChannelObservation) DeepCopyInto ¶
func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelParameters ¶
type ChannelParameters struct { // 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. // +kubebuilder:validation:Optional AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the channel is active. // +kubebuilder:validation:Optional Active *bool `json:"active,omitempty" tf:"active,omitempty"` // The id of the destination. // (Required) The id of the destination. // +crossplane:generate:reference:type=github.com/crossplane-contrib/crossplane-provider-newrelic/apis/alert/v1alpha1.Destination // +kubebuilder:validation:Optional DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"` // Reference to a Destination in alert to populate destinationId. // +kubebuilder:validation:Optional DestinationIDRef *v1.Reference `json:"destinationIdRef,omitempty" tf:"-"` // Selector for a Destination in alert to populate destinationId. // +kubebuilder:validation:Optional DestinationIDSelector *v1.Selector `json:"destinationIdSelector,omitempty" tf:"-"` // The name of the channel. // (Required) The name of the channel. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // 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). // +kubebuilder:validation:Optional Product *string `json:"product,omitempty" tf:"product,omitempty"` // A nested block that describes a notification channel property. See Nested property blocks below for details. // Notification channel property type. // +kubebuilder:validation:Optional Property []PropertyParameters `json:"property,omitempty" tf:"property,omitempty"` // The type of channel. One of: EMAIL, SERVICENOW_INCIDENTS, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ChannelParameters) DeepCopy ¶
func (in *ChannelParameters) DeepCopy() *ChannelParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelParameters.
func (*ChannelParameters) DeepCopyInto ¶
func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelSpec ¶
type ChannelSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ChannelParameters `json:"forProvider"` // 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. InitProvider ChannelInitParameters `json:"initProvider,omitempty"` }
ChannelSpec defines the desired state of Channel
func (*ChannelSpec) DeepCopy ¶
func (in *ChannelSpec) DeepCopy() *ChannelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSpec.
func (*ChannelSpec) DeepCopyInto ¶
func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelStatus ¶
type ChannelStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ChannelObservation `json:"atProvider,omitempty"` }
ChannelStatus defines the observed state of Channel.
func (*ChannelStatus) DeepCopy ¶
func (in *ChannelStatus) DeepCopy() *ChannelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelStatus.
func (*ChannelStatus) DeepCopyInto ¶
func (in *ChannelStatus) DeepCopyInto(out *ChannelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Destination ¶
type Destination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.property) || (has(self.initProvider) && has(self.initProvider.property))",message="spec.forProvider.property is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DestinationSpec `json:"spec"` Status DestinationStatus `json:"status,omitempty"` }
Destination is the Schema for the Destinations API. Create and manage a notification destination for notifications in New Relic. +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:resource:scope=Cluster,categories={crossplane,managed,newrelic}
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Destination) DeepCopyObject ¶
func (in *Destination) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Destination) GetCondition ¶
func (mg *Destination) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Destination.
func (*Destination) GetConnectionDetailsMapping ¶
func (tr *Destination) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Destination
func (*Destination) GetDeletionPolicy ¶
func (mg *Destination) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Destination.
func (*Destination) GetID ¶
func (tr *Destination) GetID() string
GetID returns ID of underlying Terraform resource of this Destination
func (*Destination) GetInitParameters ¶
func (tr *Destination) GetInitParameters() (map[string]any, error)
GetInitParameters of this Destination
func (*Destination) GetManagementPolicies ¶
func (mg *Destination) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Destination.
func (*Destination) GetMergedParameters ¶
func (tr *Destination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Destination
func (*Destination) GetObservation ¶
func (tr *Destination) GetObservation() (map[string]any, error)
GetObservation of this Destination
func (*Destination) GetParameters ¶
func (tr *Destination) GetParameters() (map[string]any, error)
GetParameters of this Destination
func (*Destination) GetProviderConfigReference ¶
func (mg *Destination) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Destination.
func (*Destination) GetPublishConnectionDetailsTo ¶
func (mg *Destination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Destination.
func (*Destination) GetTerraformResourceType ¶
func (mg *Destination) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Destination
func (*Destination) GetTerraformSchemaVersion ¶
func (tr *Destination) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Destination) GetWriteConnectionSecretToReference ¶
func (mg *Destination) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Destination.
func (*Destination) Hub ¶ added in v0.1.1
func (tr *Destination) Hub()
Hub marks this type as a conversion hub.
func (*Destination) LateInitialize ¶
func (tr *Destination) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Destination using its observed tfState. returns True if there are any spec changes for the resource.
func (*Destination) SetConditions ¶
func (mg *Destination) SetConditions(c ...xpv1.Condition)
SetConditions of this Destination.
func (*Destination) SetDeletionPolicy ¶
func (mg *Destination) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Destination.
func (*Destination) SetManagementPolicies ¶
func (mg *Destination) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Destination.
func (*Destination) SetObservation ¶
func (tr *Destination) SetObservation(obs map[string]any) error
SetObservation for this Destination
func (*Destination) SetParameters ¶
func (tr *Destination) SetParameters(params map[string]any) error
SetParameters for this Destination
func (*Destination) SetProviderConfigReference ¶
func (mg *Destination) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Destination.
func (*Destination) SetPublishConnectionDetailsTo ¶
func (mg *Destination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Destination.
func (*Destination) SetWriteConnectionSecretToReference ¶
func (mg *Destination) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Destination.
type DestinationInitParameters ¶
type DestinationInitParameters struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the destination is active. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // 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. 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"` // The name of the destination. // (Required) The name of the destination. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A nested block that describes a notification destination property. See Nested property blocks below for details. // 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, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*DestinationInitParameters) DeepCopy ¶
func (in *DestinationInitParameters) DeepCopy() *DestinationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationInitParameters.
func (*DestinationInitParameters) DeepCopyInto ¶
func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationList ¶
type DestinationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Destination `json:"items"` }
DestinationList contains a list of Destinations
func (*DestinationList) DeepCopy ¶
func (in *DestinationList) DeepCopy() *DestinationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationList.
func (*DestinationList) DeepCopyInto ¶
func (in *DestinationList) DeepCopyInto(out *DestinationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DestinationList) DeepCopyObject ¶
func (in *DestinationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DestinationList) GetItems ¶
func (l *DestinationList) GetItems() []resource.Managed
GetItems of this DestinationList.
type DestinationObservation ¶
type DestinationObservation struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the destination is active. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // 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. 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"` // The last time a notification was sent. LastSent *string `json:"lastSent,omitempty" tf:"last_sent,omitempty"` // The name of the destination. // (Required) The name of the destination. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A nested block that describes a notification destination property. See Nested property blocks below for details. // 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"` // The type of destination. One of: EMAIL, SERVICE_NOW, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*DestinationObservation) DeepCopy ¶
func (in *DestinationObservation) DeepCopy() *DestinationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation.
func (*DestinationObservation) DeepCopyInto ¶
func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationParameters ¶
type DestinationParameters struct { // 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. // +kubebuilder:validation:Optional AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // Indicates whether the destination is active. // +kubebuilder:validation:Optional Active *bool `json:"active,omitempty" tf:"active,omitempty"` // 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. // +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 AuthToken []AuthTokenParameters `json:"authToken,omitempty" tf:"auth_token,omitempty"` // The name of the destination. // (Required) The name of the destination. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A nested block that describes a notification destination property. See Nested property blocks below for details. // Notification destination property type. // +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, SERVICE_NOW_APP, 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, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*DestinationParameters) DeepCopy ¶
func (in *DestinationParameters) DeepCopy() *DestinationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters.
func (*DestinationParameters) DeepCopyInto ¶
func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationPropertyInitParameters ¶
type DestinationPropertyInitParameters struct { // The notification property display value. // Notification property display key. DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. Key *string `json:"key,omitempty" tf:"key,omitempty"` // The notification property label. // Notification property label. Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DestinationPropertyInitParameters) DeepCopy ¶
func (in *DestinationPropertyInitParameters) DeepCopy() *DestinationPropertyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPropertyInitParameters.
func (*DestinationPropertyInitParameters) DeepCopyInto ¶
func (in *DestinationPropertyInitParameters) DeepCopyInto(out *DestinationPropertyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationPropertyObservation ¶
type DestinationPropertyObservation struct { // The notification property display value. // Notification property display key. DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. Key *string `json:"key,omitempty" tf:"key,omitempty"` // The notification property label. // Notification property label. Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DestinationPropertyObservation) DeepCopy ¶
func (in *DestinationPropertyObservation) DeepCopy() *DestinationPropertyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPropertyObservation.
func (*DestinationPropertyObservation) DeepCopyInto ¶
func (in *DestinationPropertyObservation) DeepCopyInto(out *DestinationPropertyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationPropertyParameters ¶
type DestinationPropertyParameters struct { // The notification property display value. // Notification property display key. // +kubebuilder:validation:Optional DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. // +kubebuilder:validation:Optional Key *string `json:"key" tf:"key,omitempty"` // The notification property label. // Notification property label. // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*DestinationPropertyParameters) DeepCopy ¶
func (in *DestinationPropertyParameters) DeepCopy() *DestinationPropertyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPropertyParameters.
func (*DestinationPropertyParameters) DeepCopyInto ¶
func (in *DestinationPropertyParameters) DeepCopyInto(out *DestinationPropertyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationSpec ¶
type DestinationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DestinationParameters `json:"forProvider"` // 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. InitProvider DestinationInitParameters `json:"initProvider,omitempty"` }
DestinationSpec defines the desired state of Destination
func (*DestinationSpec) DeepCopy ¶
func (in *DestinationSpec) DeepCopy() *DestinationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationSpec.
func (*DestinationSpec) DeepCopyInto ¶
func (in *DestinationSpec) DeepCopyInto(out *DestinationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationStatus ¶
type DestinationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DestinationObservation `json:"atProvider,omitempty"` }
DestinationStatus defines the observed state of Destination.
func (*DestinationStatus) DeepCopy ¶
func (in *DestinationStatus) DeepCopy() *DestinationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationStatus.
func (*DestinationStatus) DeepCopyInto ¶
func (in *DestinationStatus) DeepCopyInto(out *DestinationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` }
Policy is the Schema for the Policys API. Create and manage alert policies in New Relic. +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:resource:scope=Cluster,categories={crossplane,managed,newrelic}
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Policy) GetCondition ¶
func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Policy.
func (*Policy) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Policy
func (*Policy) GetDeletionPolicy ¶
func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Policy.
func (*Policy) GetInitParameters ¶
GetInitParameters of this Policy
func (*Policy) GetManagementPolicies ¶
func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Policy.
func (*Policy) GetMergedParameters ¶
GetInitParameters of this Policy
func (*Policy) GetObservation ¶
GetObservation of this Policy
func (*Policy) GetParameters ¶
GetParameters of this Policy
func (*Policy) GetProviderConfigReference ¶
GetProviderConfigReference of this Policy.
func (*Policy) GetPublishConnectionDetailsTo ¶
func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Policy.
func (*Policy) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Policy
func (*Policy) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Policy) GetWriteConnectionSecretToReference ¶
func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Policy.
func (*Policy) Hub ¶ added in v0.1.1
func (tr *Policy) Hub()
Hub marks this type as a conversion hub.
func (*Policy) LateInitialize ¶
LateInitialize this Policy using its observed tfState. returns True if there are any spec changes for the resource.
func (*Policy) SetConditions ¶
SetConditions of this Policy.
func (*Policy) SetDeletionPolicy ¶
func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Policy.
func (*Policy) SetManagementPolicies ¶
func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Policy.
func (*Policy) SetObservation ¶
SetObservation for this Policy
func (*Policy) SetParameters ¶
SetParameters for this Policy
func (*Policy) SetProviderConfigReference ¶
SetProviderConfigReference of this Policy.
func (*Policy) SetPublishConnectionDetailsTo ¶
func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Policy.
func (*Policy) SetWriteConnectionSecretToReference ¶
func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Policy.
type PolicyInitParameters ¶
type PolicyInitParameters struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // 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. ChannelIds []*float64 `json:"channelIds,omitempty" tf:"channel_ids,omitempty"` // 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"` // The name of the policy. // The name of the policy. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*PolicyInitParameters) DeepCopy ¶
func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters.
func (*PolicyInitParameters) DeepCopyInto ¶
func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyList ¶
type PolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Policy `json:"items"` }
PolicyList contains a list of Policys
func (*PolicyList) DeepCopy ¶
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyList) GetItems ¶
func (l *PolicyList) GetItems() []resource.Managed
GetItems of this PolicyList.
type PolicyObservation ¶
type PolicyObservation struct { // 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. AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // 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. ChannelIds []*float64 `json:"channelIds,omitempty" tf:"channel_ids,omitempty"` // The ID of the policy. ID *string `json:"id,omitempty" tf:"id,omitempty"` // 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"` // The name of the policy. // The name of the policy. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*PolicyObservation) DeepCopy ¶
func (in *PolicyObservation) DeepCopy() *PolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation.
func (*PolicyObservation) DeepCopyInto ¶
func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyParameters ¶
type PolicyParameters struct { // 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. // +kubebuilder:validation:Optional AccountID *float64 `json:"accountId,omitempty" tf:"account_id,omitempty"` // 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. // +kubebuilder:validation:Optional ChannelIds []*float64 `json:"channelIds,omitempty" tf:"channel_ids,omitempty"` // 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"` // The name of the policy. // The name of the policy. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*PolicyParameters) DeepCopy ¶
func (in *PolicyParameters) DeepCopy() *PolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters.
func (*PolicyParameters) DeepCopyInto ¶
func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicySpec ¶
type PolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyParameters `json:"forProvider"` // 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. InitProvider PolicyInitParameters `json:"initProvider,omitempty"` }
PolicySpec defines the desired state of Policy
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyStatus ¶
type PolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyObservation `json:"atProvider,omitempty"` }
PolicyStatus defines the observed state of Policy.
func (*PolicyStatus) DeepCopy ¶
func (in *PolicyStatus) DeepCopy() *PolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
func (*PolicyStatus) DeepCopyInto ¶
func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PropertyInitParameters ¶
type PropertyInitParameters struct { // The notification property display value. // Notification property display key. DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. Key *string `json:"key,omitempty" tf:"key,omitempty"` // The notification property label. // Notification property label. Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PropertyInitParameters) DeepCopy ¶
func (in *PropertyInitParameters) DeepCopy() *PropertyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyInitParameters.
func (*PropertyInitParameters) DeepCopyInto ¶
func (in *PropertyInitParameters) DeepCopyInto(out *PropertyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PropertyObservation ¶
type PropertyObservation struct { // The notification property display value. // Notification property display key. DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. Key *string `json:"key,omitempty" tf:"key,omitempty"` // The notification property label. // Notification property label. Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PropertyObservation) DeepCopy ¶
func (in *PropertyObservation) DeepCopy() *PropertyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyObservation.
func (*PropertyObservation) DeepCopyInto ¶
func (in *PropertyObservation) DeepCopyInto(out *PropertyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PropertyParameters ¶
type PropertyParameters struct { // The notification property display value. // Notification property display key. // +kubebuilder:validation:Optional DisplayValue *string `json:"displayValue,omitempty" tf:"display_value,omitempty"` // The notification property key. // Notification property key. // +kubebuilder:validation:Optional Key *string `json:"key" tf:"key,omitempty"` // The notification property label. // Notification property label. // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` // The notification property value. // Notification property value. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*PropertyParameters) DeepCopy ¶
func (in *PropertyParameters) DeepCopy() *PropertyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyParameters.
func (*PropertyParameters) DeepCopyInto ¶
func (in *PropertyParameters) DeepCopyInto(out *PropertyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureURLInitParameters ¶ added in v0.1.1
type SecureURLInitParameters struct { // The prefix of the URL. Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` // The suffix of the URL, which contains sensitive data. SecureSuffixSecretRef v1.SecretKeySelector `json:"secureSuffixSecretRef" tf:"-"` }
func (*SecureURLInitParameters) DeepCopy ¶ added in v0.1.1
func (in *SecureURLInitParameters) DeepCopy() *SecureURLInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLInitParameters.
func (*SecureURLInitParameters) DeepCopyInto ¶ added in v0.1.1
func (in *SecureURLInitParameters) DeepCopyInto(out *SecureURLInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureURLObservation ¶ added in v0.1.1
type SecureURLObservation struct { // The prefix of the URL. Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` }
func (*SecureURLObservation) DeepCopy ¶ added in v0.1.1
func (in *SecureURLObservation) DeepCopy() *SecureURLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLObservation.
func (*SecureURLObservation) DeepCopyInto ¶ added in v0.1.1
func (in *SecureURLObservation) DeepCopyInto(out *SecureURLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureURLParameters ¶ added in v0.1.1
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:Optional SecureSuffixSecretRef v1.SecretKeySelector `json:"secureSuffixSecretRef" tf:"-"` }
func (*SecureURLParameters) DeepCopy ¶ added in v0.1.1
func (in *SecureURLParameters) DeepCopy() *SecureURLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureURLParameters.
func (*SecureURLParameters) DeepCopyInto ¶ added in v0.1.1
func (in *SecureURLParameters) DeepCopyInto(out *SecureURLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_channel_terraformed.go
- zz_channel_types.go
- zz_destination_terraformed.go
- zz_destination_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_policy_terraformed.go
- zz_policy_types.go