v1beta1

package
v1.4.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=amp.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "amp.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	AlertManagerDefinition_Kind             = "AlertManagerDefinition"
	AlertManagerDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AlertManagerDefinition_Kind}.String()
	AlertManagerDefinition_KindAPIVersion   = AlertManagerDefinition_Kind + "." + CRDGroupVersion.String()
	AlertManagerDefinition_GroupVersionKind = CRDGroupVersion.WithKind(AlertManagerDefinition_Kind)
)

Repository type metadata.

View Source
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
)
View Source
var (
	RuleGroupNamespace_Kind             = "RuleGroupNamespace"
	RuleGroupNamespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RuleGroupNamespace_Kind}.String()
	RuleGroupNamespace_KindAPIVersion   = RuleGroupNamespace_Kind + "." + CRDGroupVersion.String()
	RuleGroupNamespace_GroupVersionKind = CRDGroupVersion.WithKind(RuleGroupNamespace_Kind)
)

Repository type metadata.

View Source
var (
	Workspace_Kind             = "Workspace"
	Workspace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String()
	Workspace_KindAPIVersion   = Workspace_Kind + "." + CRDGroupVersion.String()
	Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AlertManagerDefinition

type AlertManagerDefinition 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.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter"
	Spec   AlertManagerDefinitionSpec   `json:"spec"`
	Status AlertManagerDefinitionStatus `json:"status,omitempty"`
}

AlertManagerDefinition is the Schema for the AlertManagerDefinitions API. Manages an Amazon Managed Service for Prometheus (AMP) Alert Manager Definition +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,aws}

func (*AlertManagerDefinition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinition.

func (*AlertManagerDefinition) DeepCopyInto

func (in *AlertManagerDefinition) DeepCopyInto(out *AlertManagerDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertManagerDefinition) DeepCopyObject

func (in *AlertManagerDefinition) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AlertManagerDefinition) GetCondition

GetCondition of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetConnectionDetailsMapping

func (tr *AlertManagerDefinition) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this AlertManagerDefinition

func (*AlertManagerDefinition) GetDeletionPolicy

func (mg *AlertManagerDefinition) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetID

func (tr *AlertManagerDefinition) GetID() string

GetID returns ID of underlying Terraform resource of this AlertManagerDefinition

func (*AlertManagerDefinition) GetInitParameters added in v0.38.0

func (tr *AlertManagerDefinition) GetInitParameters() (map[string]any, error)

GetInitParameters of this AlertManagerDefinition

func (*AlertManagerDefinition) GetManagementPolicies added in v0.38.0

func (mg *AlertManagerDefinition) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetMergedParameters added in v0.44.0

func (tr *AlertManagerDefinition) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this AlertManagerDefinition

func (*AlertManagerDefinition) GetObservation

func (tr *AlertManagerDefinition) GetObservation() (map[string]any, error)

GetObservation of this AlertManagerDefinition

func (*AlertManagerDefinition) GetParameters

func (tr *AlertManagerDefinition) GetParameters() (map[string]any, error)

GetParameters of this AlertManagerDefinition

func (*AlertManagerDefinition) GetProviderConfigReference

func (mg *AlertManagerDefinition) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetPublishConnectionDetailsTo

func (mg *AlertManagerDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetTerraformResourceType

func (mg *AlertManagerDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AlertManagerDefinition

func (*AlertManagerDefinition) GetTerraformSchemaVersion

func (tr *AlertManagerDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AlertManagerDefinition) GetWriteConnectionSecretToReference

func (mg *AlertManagerDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) Hub added in v0.47.2

func (tr *AlertManagerDefinition) Hub()

Hub marks this type as a conversion hub.

func (*AlertManagerDefinition) LateInitialize

func (tr *AlertManagerDefinition) LateInitialize(attrs []byte) (bool, error)

LateInitialize this AlertManagerDefinition using its observed tfState. returns True if there are any spec changes for the resource.

func (*AlertManagerDefinition) ResolveReferences

func (mg *AlertManagerDefinition) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*AlertManagerDefinition) SetConditions

func (mg *AlertManagerDefinition) SetConditions(c ...xpv1.Condition)

SetConditions of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetDeletionPolicy

func (mg *AlertManagerDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetManagementPolicies added in v0.38.0

func (mg *AlertManagerDefinition) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetObservation

func (tr *AlertManagerDefinition) SetObservation(obs map[string]any) error

SetObservation for this AlertManagerDefinition

func (*AlertManagerDefinition) SetParameters

func (tr *AlertManagerDefinition) SetParameters(params map[string]any) error

SetParameters for this AlertManagerDefinition

func (*AlertManagerDefinition) SetProviderConfigReference

func (mg *AlertManagerDefinition) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetPublishConnectionDetailsTo

func (mg *AlertManagerDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetWriteConnectionSecretToReference

func (mg *AlertManagerDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this AlertManagerDefinition.

type AlertManagerDefinitionInitParameters added in v0.38.0

type AlertManagerDefinitionInitParameters struct {

	// the alert manager definition that you want to be applied. See more in AWS Docs.
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	// ID of the prometheus workspace the alert manager definition should be linked to
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*AlertManagerDefinitionInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionInitParameters.

func (*AlertManagerDefinitionInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertManagerDefinitionList

type AlertManagerDefinitionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AlertManagerDefinition `json:"items"`
}

AlertManagerDefinitionList contains a list of AlertManagerDefinitions

func (*AlertManagerDefinitionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionList.

func (*AlertManagerDefinitionList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertManagerDefinitionList) DeepCopyObject

func (in *AlertManagerDefinitionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AlertManagerDefinitionList) GetItems

GetItems of this AlertManagerDefinitionList.

type AlertManagerDefinitionObservation

type AlertManagerDefinitionObservation struct {

	// the alert manager definition that you want to be applied. See more in AWS Docs.
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of the prometheus workspace the alert manager definition should be linked to
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*AlertManagerDefinitionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionObservation.

func (*AlertManagerDefinitionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertManagerDefinitionParameters

type AlertManagerDefinitionParameters struct {

	// the alert manager definition that you want to be applied. See more in AWS Docs.
	// +kubebuilder:validation:Optional
	Definition *string `json:"definition,omitempty" tf:"definition,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// ID of the prometheus workspace the alert manager definition should be linked to
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*AlertManagerDefinitionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionParameters.

func (*AlertManagerDefinitionParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertManagerDefinitionSpec

type AlertManagerDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AlertManagerDefinitionParameters `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 AlertManagerDefinitionInitParameters `json:"initProvider,omitempty"`
}

AlertManagerDefinitionSpec defines the desired state of AlertManagerDefinition

func (*AlertManagerDefinitionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionSpec.

func (*AlertManagerDefinitionSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertManagerDefinitionStatus

type AlertManagerDefinitionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AlertManagerDefinitionObservation `json:"atProvider,omitempty"`
}

AlertManagerDefinitionStatus defines the observed state of AlertManagerDefinition.

func (*AlertManagerDefinitionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerDefinitionStatus.

func (*AlertManagerDefinitionStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationInitParameters added in v0.38.0

type LoggingConfigurationInitParameters struct {

	// The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist.
	LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"`
}

func (*LoggingConfigurationInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationInitParameters.

func (*LoggingConfigurationInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationObservation added in v0.29.0

type LoggingConfigurationObservation struct {

	// The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist.
	LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"`
}

func (*LoggingConfigurationObservation) DeepCopy added in v0.29.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationObservation.

func (*LoggingConfigurationObservation) DeepCopyInto added in v0.29.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoggingConfigurationParameters added in v0.29.0

type LoggingConfigurationParameters struct {

	// The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist.
	// +kubebuilder:validation:Optional
	LogGroupArn *string `json:"logGroupArn" tf:"log_group_arn,omitempty"`
}

func (*LoggingConfigurationParameters) DeepCopy added in v0.29.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationParameters.

func (*LoggingConfigurationParameters) DeepCopyInto added in v0.29.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleGroupNamespace

type RuleGroupNamespace 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.data) || (has(self.initProvider) && has(self.initProvider.data))",message="spec.forProvider.data is a required parameter"
	Spec   RuleGroupNamespaceSpec   `json:"spec"`
	Status RuleGroupNamespaceStatus `json:"status,omitempty"`
}

RuleGroupNamespace is the Schema for the RuleGroupNamespaces API. Manages an Amazon Managed Service for Prometheus (AMP) Rule Group Namespace +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,aws}

func (*RuleGroupNamespace) DeepCopy

func (in *RuleGroupNamespace) DeepCopy() *RuleGroupNamespace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespace.

func (*RuleGroupNamespace) DeepCopyInto

func (in *RuleGroupNamespace) DeepCopyInto(out *RuleGroupNamespace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleGroupNamespace) DeepCopyObject

func (in *RuleGroupNamespace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RuleGroupNamespace) GetCondition

func (mg *RuleGroupNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetConnectionDetailsMapping

func (tr *RuleGroupNamespace) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this RuleGroupNamespace

func (*RuleGroupNamespace) GetDeletionPolicy

func (mg *RuleGroupNamespace) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetID

func (tr *RuleGroupNamespace) GetID() string

GetID returns ID of underlying Terraform resource of this RuleGroupNamespace

func (*RuleGroupNamespace) GetInitParameters added in v0.38.0

func (tr *RuleGroupNamespace) GetInitParameters() (map[string]any, error)

GetInitParameters of this RuleGroupNamespace

func (*RuleGroupNamespace) GetManagementPolicies added in v0.38.0

func (mg *RuleGroupNamespace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetMergedParameters added in v0.44.0

func (tr *RuleGroupNamespace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this RuleGroupNamespace

func (*RuleGroupNamespace) GetObservation

func (tr *RuleGroupNamespace) GetObservation() (map[string]any, error)

GetObservation of this RuleGroupNamespace

func (*RuleGroupNamespace) GetParameters

func (tr *RuleGroupNamespace) GetParameters() (map[string]any, error)

GetParameters of this RuleGroupNamespace

func (*RuleGroupNamespace) GetProviderConfigReference

func (mg *RuleGroupNamespace) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetPublishConnectionDetailsTo

func (mg *RuleGroupNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetTerraformResourceType

func (mg *RuleGroupNamespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RuleGroupNamespace

func (*RuleGroupNamespace) GetTerraformSchemaVersion

func (tr *RuleGroupNamespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RuleGroupNamespace) GetWriteConnectionSecretToReference

func (mg *RuleGroupNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) Hub added in v0.47.2

func (tr *RuleGroupNamespace) Hub()

Hub marks this type as a conversion hub.

func (*RuleGroupNamespace) LateInitialize

func (tr *RuleGroupNamespace) LateInitialize(attrs []byte) (bool, error)

LateInitialize this RuleGroupNamespace using its observed tfState. returns True if there are any spec changes for the resource.

func (*RuleGroupNamespace) ResolveReferences

func (mg *RuleGroupNamespace) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetConditions

func (mg *RuleGroupNamespace) SetConditions(c ...xpv1.Condition)

SetConditions of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetDeletionPolicy

func (mg *RuleGroupNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetManagementPolicies added in v0.38.0

func (mg *RuleGroupNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetObservation

func (tr *RuleGroupNamespace) SetObservation(obs map[string]any) error

SetObservation for this RuleGroupNamespace

func (*RuleGroupNamespace) SetParameters

func (tr *RuleGroupNamespace) SetParameters(params map[string]any) error

SetParameters for this RuleGroupNamespace

func (*RuleGroupNamespace) SetProviderConfigReference

func (mg *RuleGroupNamespace) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetPublishConnectionDetailsTo

func (mg *RuleGroupNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetWriteConnectionSecretToReference

func (mg *RuleGroupNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this RuleGroupNamespace.

type RuleGroupNamespaceInitParameters added in v0.38.0

type RuleGroupNamespaceInitParameters struct {

	// the rule group namespace data that you want to be applied. See more in AWS Docs.
	Data *string `json:"data,omitempty" tf:"data,omitempty"`
}

func (*RuleGroupNamespaceInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceInitParameters.

func (*RuleGroupNamespaceInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleGroupNamespaceList

type RuleGroupNamespaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RuleGroupNamespace `json:"items"`
}

RuleGroupNamespaceList contains a list of RuleGroupNamespaces

func (*RuleGroupNamespaceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceList.

func (*RuleGroupNamespaceList) DeepCopyInto

func (in *RuleGroupNamespaceList) DeepCopyInto(out *RuleGroupNamespaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleGroupNamespaceList) DeepCopyObject

func (in *RuleGroupNamespaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RuleGroupNamespaceList) GetItems

func (l *RuleGroupNamespaceList) GetItems() []resource.Managed

GetItems of this RuleGroupNamespaceList.

type RuleGroupNamespaceObservation

type RuleGroupNamespaceObservation struct {

	// the rule group namespace data that you want to be applied. See more in AWS Docs.
	Data *string `json:"data,omitempty" tf:"data,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ID of the prometheus workspace the rule group namespace should be linked to
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`
}

func (*RuleGroupNamespaceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceObservation.

func (*RuleGroupNamespaceObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleGroupNamespaceParameters

type RuleGroupNamespaceParameters struct {

	// the rule group namespace data that you want to be applied. See more in AWS Docs.
	// +kubebuilder:validation:Optional
	Data *string `json:"data,omitempty" tf:"data,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// ID of the prometheus workspace the rule group namespace should be linked to
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*RuleGroupNamespaceParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceParameters.

func (*RuleGroupNamespaceParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleGroupNamespaceSpec

type RuleGroupNamespaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleGroupNamespaceParameters `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 RuleGroupNamespaceInitParameters `json:"initProvider,omitempty"`
}

RuleGroupNamespaceSpec defines the desired state of RuleGroupNamespace

func (*RuleGroupNamespaceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceSpec.

func (*RuleGroupNamespaceSpec) DeepCopyInto

func (in *RuleGroupNamespaceSpec) DeepCopyInto(out *RuleGroupNamespaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleGroupNamespaceStatus

type RuleGroupNamespaceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        RuleGroupNamespaceObservation `json:"atProvider,omitempty"`
}

RuleGroupNamespaceStatus defines the observed state of RuleGroupNamespace.

func (*RuleGroupNamespaceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupNamespaceStatus.

func (*RuleGroupNamespaceStatus) DeepCopyInto

func (in *RuleGroupNamespaceStatus) DeepCopyInto(out *RuleGroupNamespaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkspaceSpec   `json:"spec"`
	Status            WorkspaceStatus `json:"status,omitempty"`
}

Workspace is the Schema for the Workspaces API. Manages an Amazon Managed Service for Prometheus (AMP) Workspace +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,aws}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workspace) GetCondition

func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Workspace.

func (*Workspace) GetConnectionDetailsMapping

func (tr *Workspace) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Workspace

func (*Workspace) GetDeletionPolicy

func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Workspace.

func (*Workspace) GetID

func (tr *Workspace) GetID() string

GetID returns ID of underlying Terraform resource of this Workspace

func (*Workspace) GetInitParameters added in v0.38.0

func (tr *Workspace) GetInitParameters() (map[string]any, error)

GetInitParameters of this Workspace

func (*Workspace) GetManagementPolicies added in v0.38.0

func (mg *Workspace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Workspace.

func (*Workspace) GetMergedParameters added in v0.44.0

func (tr *Workspace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Workspace

func (*Workspace) GetObservation

func (tr *Workspace) GetObservation() (map[string]any, error)

GetObservation of this Workspace

func (*Workspace) GetParameters

func (tr *Workspace) GetParameters() (map[string]any, error)

GetParameters of this Workspace

func (*Workspace) GetProviderConfigReference

func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Workspace.

func (*Workspace) GetPublishConnectionDetailsTo

func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) GetTerraformResourceType

func (mg *Workspace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workspace

func (*Workspace) GetTerraformSchemaVersion

func (tr *Workspace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workspace) GetWriteConnectionSecretToReference

func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Workspace.

func (*Workspace) Hub added in v0.47.2

func (tr *Workspace) Hub()

Hub marks this type as a conversion hub.

func (*Workspace) LateInitialize

func (tr *Workspace) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Workspace using its observed tfState. returns True if there are any spec changes for the resource.

func (*Workspace) SetConditions

func (mg *Workspace) SetConditions(c ...xpv1.Condition)

SetConditions of this Workspace.

func (*Workspace) SetDeletionPolicy

func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Workspace.

func (*Workspace) SetManagementPolicies added in v0.38.0

func (mg *Workspace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Workspace.

func (*Workspace) SetObservation

func (tr *Workspace) SetObservation(obs map[string]any) error

SetObservation for this Workspace

func (*Workspace) SetParameters

func (tr *Workspace) SetParameters(params map[string]any) error

SetParameters for this Workspace

func (*Workspace) SetProviderConfigReference

func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Workspace.

func (*Workspace) SetPublishConnectionDetailsTo

func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) SetWriteConnectionSecretToReference

func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Workspace.

type WorkspaceInitParameters added in v0.38.0

type WorkspaceInitParameters struct {

	// The alias of the prometheus workspace. See more in AWS Docs.
	Alias *string `json:"alias,omitempty" tf:"alias,omitempty"`

	// Logging configuration for the workspace. See Logging Configuration below for details.
	LoggingConfiguration []LoggingConfigurationInitParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*WorkspaceInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceInitParameters.

func (*WorkspaceInitParameters) DeepCopyInto added in v0.38.0

func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceList

type WorkspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workspace `json:"items"`
}

WorkspaceList contains a list of Workspaces

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkspaceList) DeepCopyObject

func (in *WorkspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkspaceList) GetItems

func (l *WorkspaceList) GetItems() []resource.Managed

GetItems of this WorkspaceList.

type WorkspaceObservation

type WorkspaceObservation struct {

	// The alias of the prometheus workspace. See more in AWS Docs.
	Alias *string `json:"alias,omitempty" tf:"alias,omitempty"`

	// Amazon Resource Name (ARN) of the workspace.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Identifier of the workspace
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Logging configuration for the workspace. See Logging Configuration below for details.
	LoggingConfiguration []LoggingConfigurationObservation `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Prometheus endpoint available for this workspace.
	PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty" tf:"prometheus_endpoint,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*WorkspaceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation.

func (*WorkspaceObservation) DeepCopyInto

func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceParameters

type WorkspaceParameters struct {

	// The alias of the prometheus workspace. See more in AWS Docs.
	// +kubebuilder:validation:Optional
	Alias *string `json:"alias,omitempty" tf:"alias,omitempty"`

	// Logging configuration for the workspace. See Logging Configuration below for details.
	// +kubebuilder:validation:Optional
	LoggingConfiguration []LoggingConfigurationParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*WorkspaceParameters) DeepCopy

func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters.

func (*WorkspaceParameters) DeepCopyInto

func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceSpec

type WorkspaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkspaceParameters `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 WorkspaceInitParameters `json:"initProvider,omitempty"`
}

WorkspaceSpec defines the desired state of Workspace

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceStatus

type WorkspaceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkspaceObservation `json:"atProvider,omitempty"`
}

WorkspaceStatus defines the observed state of Workspace.

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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