v1beta1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	NetworkPerformanceMetricSubscription_Kind             = "NetworkPerformanceMetricSubscription"
	NetworkPerformanceMetricSubscription_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NetworkPerformanceMetricSubscription_Kind}.String()
	NetworkPerformanceMetricSubscription_KindAPIVersion   = NetworkPerformanceMetricSubscription_Kind + "." + CRDGroupVersion.String()
	NetworkPerformanceMetricSubscription_GroupVersionKind = CRDGroupVersion.WithKind(NetworkPerformanceMetricSubscription_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type NetworkPerformanceMetricSubscription

type NetworkPerformanceMetricSubscription 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.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter"
	Spec   NetworkPerformanceMetricSubscriptionSpec   `json:"spec"`
	Status NetworkPerformanceMetricSubscriptionStatus `json:"status,omitempty"`
}

NetworkPerformanceMetricSubscription is the Schema for the NetworkPerformanceMetricSubscriptions API. Provides a resource to manage an Infrastructure Performance subscription. +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 (*NetworkPerformanceMetricSubscription) DeepCopy

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

func (*NetworkPerformanceMetricSubscription) DeepCopyInto

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

func (*NetworkPerformanceMetricSubscription) DeepCopyObject

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

func (*NetworkPerformanceMetricSubscription) GetCondition

GetCondition of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetDeletionPolicy

GetDeletionPolicy of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) GetID

GetID returns ID of underlying Terraform resource of this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetInitParameters added in v0.38.0

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

GetInitParameters of this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) GetMergedParameters added in v0.44.0

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

GetInitParameters of this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetObservation

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

GetObservation of this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetParameters

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

GetParameters of this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetProviderConfigReference

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

GetProviderConfigReference of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) GetTerraformResourceType

func (mg *NetworkPerformanceMetricSubscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) GetTerraformSchemaVersion

func (tr *NetworkPerformanceMetricSubscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NetworkPerformanceMetricSubscription) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) Hub added in v0.47.2

Hub marks this type as a conversion hub.

func (*NetworkPerformanceMetricSubscription) LateInitialize

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

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

func (*NetworkPerformanceMetricSubscription) SetConditions

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

SetConditions of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) SetDeletionPolicy

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

SetDeletionPolicy of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) SetObservation

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

SetObservation for this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) SetParameters

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

SetParameters for this NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscription) SetProviderConfigReference

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

SetProviderConfigReference of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscription) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NetworkPerformanceMetricSubscription.

type NetworkPerformanceMetricSubscriptionInitParameters added in v0.38.0

type NetworkPerformanceMetricSubscriptionInitParameters struct {

	// The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// The metric used for the enabled subscription. Valid values: aggregate-latency. Default: aggregate-latency.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The statistic used for the enabled subscription. Valid values: p50. Default: p50.
	Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"`
}

func (*NetworkPerformanceMetricSubscriptionInitParameters) DeepCopy added in v0.38.0

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

func (*NetworkPerformanceMetricSubscriptionInitParameters) DeepCopyInto added in v0.38.0

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

type NetworkPerformanceMetricSubscriptionList

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

NetworkPerformanceMetricSubscriptionList contains a list of NetworkPerformanceMetricSubscriptions

func (*NetworkPerformanceMetricSubscriptionList) DeepCopy

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

func (*NetworkPerformanceMetricSubscriptionList) DeepCopyInto

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

func (*NetworkPerformanceMetricSubscriptionList) DeepCopyObject

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

func (*NetworkPerformanceMetricSubscriptionList) GetItems

GetItems of this NetworkPerformanceMetricSubscriptionList.

type NetworkPerformanceMetricSubscriptionObservation

type NetworkPerformanceMetricSubscriptionObservation struct {

	// The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

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

	// The metric used for the enabled subscription. Valid values: aggregate-latency. Default: aggregate-latency.
	Metric *string `json:"metric,omitempty" tf:"metric,omitempty"`

	// The data aggregation time for the subscription.
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The statistic used for the enabled subscription. Valid values: p50. Default: p50.
	Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"`
}

func (*NetworkPerformanceMetricSubscriptionObservation) DeepCopy

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

func (*NetworkPerformanceMetricSubscriptionObservation) DeepCopyInto

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

type NetworkPerformanceMetricSubscriptionParameters

type NetworkPerformanceMetricSubscriptionParameters struct {

	// The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.
	// +kubebuilder:validation:Optional
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// The metric used for the enabled subscription. Valid values: aggregate-latency. Default: aggregate-latency.
	// +kubebuilder:validation:Optional
	Metric *string `json:"metric,omitempty" tf:"metric,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:"-"`

	// The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.
	// +kubebuilder:validation:Optional
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The statistic used for the enabled subscription. Valid values: p50. Default: p50.
	// +kubebuilder:validation:Optional
	Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"`
}

func (*NetworkPerformanceMetricSubscriptionParameters) DeepCopy

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

func (*NetworkPerformanceMetricSubscriptionParameters) DeepCopyInto

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

type NetworkPerformanceMetricSubscriptionSpec

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

NetworkPerformanceMetricSubscriptionSpec defines the desired state of NetworkPerformanceMetricSubscription

func (*NetworkPerformanceMetricSubscriptionSpec) DeepCopy

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

func (*NetworkPerformanceMetricSubscriptionSpec) DeepCopyInto

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

type NetworkPerformanceMetricSubscriptionStatus

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

NetworkPerformanceMetricSubscriptionStatus defines the observed state of NetworkPerformanceMetricSubscription.

func (*NetworkPerformanceMetricSubscriptionStatus) DeepCopy

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

func (*NetworkPerformanceMetricSubscriptionStatus) DeepCopyInto

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