v1alpha1

package
v0.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ccn.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ccn.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Attachment_Kind             = "Attachment"
	Attachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Attachment_Kind}.String()
	Attachment_KindAPIVersion   = Attachment_Kind + "." + CRDGroupVersion.String()
	Attachment_GroupVersionKind = CRDGroupVersion.WithKind(Attachment_Kind)
)

Repository type metadata.

View Source
var (
	BandwidthLimit_Kind             = "BandwidthLimit"
	BandwidthLimit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BandwidthLimit_Kind}.String()
	BandwidthLimit_KindAPIVersion   = BandwidthLimit_Kind + "." + CRDGroupVersion.String()
	BandwidthLimit_GroupVersionKind = CRDGroupVersion.WithKind(BandwidthLimit_Kind)
)

Repository type metadata.

View Source
var (
	CCN_Kind             = "CCN"
	CCN_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CCN_Kind}.String()
	CCN_KindAPIVersion   = CCN_Kind + "." + CRDGroupVersion.String()
	CCN_GroupVersionKind = CRDGroupVersion.WithKind(CCN_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
)

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AttachmentSpec   `json:"spec"`
	Status            AttachmentStatus `json:"status,omitempty"`
}

Attachment is the Schema for the Attachments API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Attachment) DeepCopy

func (in *Attachment) DeepCopy() *Attachment

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

func (*Attachment) DeepCopyInto

func (in *Attachment) DeepCopyInto(out *Attachment)

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

func (*Attachment) DeepCopyObject

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

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

func (*Attachment) GetCondition

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

GetCondition of this Attachment.

func (*Attachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Attachment

func (*Attachment) GetDeletionPolicy

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

GetDeletionPolicy of this Attachment.

func (*Attachment) GetID

func (tr *Attachment) GetID() string

GetID returns ID of underlying Terraform resource of this Attachment

func (*Attachment) GetObservation

func (tr *Attachment) GetObservation() (map[string]interface{}, error)

GetObservation of this Attachment

func (*Attachment) GetParameters

func (tr *Attachment) GetParameters() (map[string]interface{}, error)

GetParameters of this Attachment

func (*Attachment) GetProviderConfigReference

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

GetProviderConfigReference of this Attachment.

func (*Attachment) GetProviderReference

func (mg *Attachment) GetProviderReference() *xpv1.Reference

GetProviderReference of this Attachment. Deprecated: Use GetProviderConfigReference.

func (*Attachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Attachment.

func (*Attachment) GetTerraformResourceType

func (mg *Attachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Attachment

func (*Attachment) GetTerraformSchemaVersion

func (tr *Attachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Attachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Attachment.

func (*Attachment) LateInitialize

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

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

func (*Attachment) SetConditions

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

SetConditions of this Attachment.

func (*Attachment) SetDeletionPolicy

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

SetDeletionPolicy of this Attachment.

func (*Attachment) SetObservation

func (tr *Attachment) SetObservation(obs map[string]interface{}) error

SetObservation for this Attachment

func (*Attachment) SetParameters

func (tr *Attachment) SetParameters(params map[string]interface{}) error

SetParameters for this Attachment

func (*Attachment) SetProviderConfigReference

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

SetProviderConfigReference of this Attachment.

func (*Attachment) SetProviderReference

func (mg *Attachment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Attachment. Deprecated: Use SetProviderConfigReference.

func (*Attachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Attachment.

func (*Attachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Attachment.

type AttachmentList

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

AttachmentList contains a list of Attachments

func (*AttachmentList) DeepCopy

func (in *AttachmentList) DeepCopy() *AttachmentList

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

func (*AttachmentList) DeepCopyInto

func (in *AttachmentList) DeepCopyInto(out *AttachmentList)

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

func (*AttachmentList) DeepCopyObject

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

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

func (*AttachmentList) GetItems

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

GetItems of this AttachmentList.

type AttachmentObservation

type AttachmentObservation struct {
	AttachedTime *string `json:"attachedTime,omitempty" tf:"attached_time,omitempty"`

	CidrBlock []*string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

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

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*AttachmentObservation) DeepCopy

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

func (*AttachmentObservation) DeepCopyInto

func (in *AttachmentObservation) DeepCopyInto(out *AttachmentObservation)

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

type AttachmentParameters

type AttachmentParameters struct {

	// ID of the CCN.
	// +kubebuilder:validation:Required
	CcnID *string `json:"ccnId" tf:"ccn_id,omitempty"`

	// Uin of the ccn attached. Default is “, which means the uin of this account. This parameter is used with case when attaching ccn of other account to the instance of this account. For now only support instance type `VPC`.
	// +kubebuilder:validation:Optional
	CcnUin *string `json:"ccnUin,omitempty" tf:"ccn_uin,omitempty"`

	// ID of instance is attached.
	// +kubebuilder:validation:Required
	InstanceID *string `json:"instanceId" tf:"instance_id,omitempty"`

	// The region that the instance locates at.
	// +kubebuilder:validation:Required
	InstanceRegion *string `json:"instanceRegion" tf:"instance_region,omitempty"`

	// Type of attached instance network, and available values include `VPC`, `DIRECTCONNECT`, `BMVPC` and `VPNGW`. Note: `VPNGW` type is only for whitelist customer now.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`
}

func (*AttachmentParameters) DeepCopy

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

func (*AttachmentParameters) DeepCopyInto

func (in *AttachmentParameters) DeepCopyInto(out *AttachmentParameters)

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

type AttachmentSpec

type AttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AttachmentParameters `json:"forProvider"`
}

AttachmentSpec defines the desired state of Attachment

func (*AttachmentSpec) DeepCopy

func (in *AttachmentSpec) DeepCopy() *AttachmentSpec

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

func (*AttachmentSpec) DeepCopyInto

func (in *AttachmentSpec) DeepCopyInto(out *AttachmentSpec)

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

type AttachmentStatus

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

AttachmentStatus defines the observed state of Attachment.

func (*AttachmentStatus) DeepCopy

func (in *AttachmentStatus) DeepCopy() *AttachmentStatus

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

func (*AttachmentStatus) DeepCopyInto

func (in *AttachmentStatus) DeepCopyInto(out *AttachmentStatus)

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

type BandwidthLimit

type BandwidthLimit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BandwidthLimitSpec   `json:"spec"`
	Status            BandwidthLimitStatus `json:"status,omitempty"`
}

BandwidthLimit is the Schema for the BandwidthLimits API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*BandwidthLimit) DeepCopy

func (in *BandwidthLimit) DeepCopy() *BandwidthLimit

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

func (*BandwidthLimit) DeepCopyInto

func (in *BandwidthLimit) DeepCopyInto(out *BandwidthLimit)

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

func (*BandwidthLimit) DeepCopyObject

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

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

func (*BandwidthLimit) GetCondition

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

GetCondition of this BandwidthLimit.

func (*BandwidthLimit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BandwidthLimit

func (*BandwidthLimit) GetDeletionPolicy

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

GetDeletionPolicy of this BandwidthLimit.

func (*BandwidthLimit) GetID

func (tr *BandwidthLimit) GetID() string

GetID returns ID of underlying Terraform resource of this BandwidthLimit

func (*BandwidthLimit) GetObservation

func (tr *BandwidthLimit) GetObservation() (map[string]interface{}, error)

GetObservation of this BandwidthLimit

func (*BandwidthLimit) GetParameters

func (tr *BandwidthLimit) GetParameters() (map[string]interface{}, error)

GetParameters of this BandwidthLimit

func (*BandwidthLimit) GetProviderConfigReference

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

GetProviderConfigReference of this BandwidthLimit.

func (*BandwidthLimit) GetProviderReference

func (mg *BandwidthLimit) GetProviderReference() *xpv1.Reference

GetProviderReference of this BandwidthLimit. Deprecated: Use GetProviderConfigReference.

func (*BandwidthLimit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BandwidthLimit.

func (*BandwidthLimit) GetTerraformResourceType

func (mg *BandwidthLimit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BandwidthLimit

func (*BandwidthLimit) GetTerraformSchemaVersion

func (tr *BandwidthLimit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BandwidthLimit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BandwidthLimit.

func (*BandwidthLimit) LateInitialize

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

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

func (*BandwidthLimit) ResolveReferences

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

ResolveReferences of this BandwidthLimit.

func (*BandwidthLimit) SetConditions

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

SetConditions of this BandwidthLimit.

func (*BandwidthLimit) SetDeletionPolicy

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

SetDeletionPolicy of this BandwidthLimit.

func (*BandwidthLimit) SetObservation

func (tr *BandwidthLimit) SetObservation(obs map[string]interface{}) error

SetObservation for this BandwidthLimit

func (*BandwidthLimit) SetParameters

func (tr *BandwidthLimit) SetParameters(params map[string]interface{}) error

SetParameters for this BandwidthLimit

func (*BandwidthLimit) SetProviderConfigReference

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

SetProviderConfigReference of this BandwidthLimit.

func (*BandwidthLimit) SetProviderReference

func (mg *BandwidthLimit) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this BandwidthLimit. Deprecated: Use SetProviderConfigReference.

func (*BandwidthLimit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BandwidthLimit.

func (*BandwidthLimit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BandwidthLimit.

type BandwidthLimitList

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

BandwidthLimitList contains a list of BandwidthLimits

func (*BandwidthLimitList) DeepCopy

func (in *BandwidthLimitList) DeepCopy() *BandwidthLimitList

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

func (*BandwidthLimitList) DeepCopyInto

func (in *BandwidthLimitList) DeepCopyInto(out *BandwidthLimitList)

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

func (*BandwidthLimitList) DeepCopyObject

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

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

func (*BandwidthLimitList) GetItems

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

GetItems of this BandwidthLimitList.

type BandwidthLimitObservation

type BandwidthLimitObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*BandwidthLimitObservation) DeepCopy

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

func (*BandwidthLimitObservation) DeepCopyInto

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

type BandwidthLimitParameters

type BandwidthLimitParameters struct {

	// Limitation of bandwidth.
	// +kubebuilder:validation:Optional
	BandwidthLimit *float64 `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"`

	// ID of the CCN.
	// +crossplane:generate:reference:type=CCN
	// +kubebuilder:validation:Optional
	CcnID *string `json:"ccnId,omitempty" tf:"ccn_id,omitempty"`

	// +kubebuilder:validation:Optional
	CcnIDRef *v1.Reference `json:"ccnIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	CcnIDSelector *v1.Selector `json:"ccnIdSelector,omitempty" tf:"-"`

	// Destination area restriction. If the `CCN` rate limit type is `OUTER_REGION_LIMIT`, this value does not need to be set.
	// +kubebuilder:validation:Optional
	DstRegion *string `json:"dstRegion,omitempty" tf:"dst_region,omitempty"`

	// Limitation of region.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`
}

func (*BandwidthLimitParameters) DeepCopy

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

func (*BandwidthLimitParameters) DeepCopyInto

func (in *BandwidthLimitParameters) DeepCopyInto(out *BandwidthLimitParameters)

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

type BandwidthLimitSpec

type BandwidthLimitSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BandwidthLimitParameters `json:"forProvider"`
}

BandwidthLimitSpec defines the desired state of BandwidthLimit

func (*BandwidthLimitSpec) DeepCopy

func (in *BandwidthLimitSpec) DeepCopy() *BandwidthLimitSpec

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

func (*BandwidthLimitSpec) DeepCopyInto

func (in *BandwidthLimitSpec) DeepCopyInto(out *BandwidthLimitSpec)

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

type BandwidthLimitStatus

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

BandwidthLimitStatus defines the observed state of BandwidthLimit.

func (*BandwidthLimitStatus) DeepCopy

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

func (*BandwidthLimitStatus) DeepCopyInto

func (in *BandwidthLimitStatus) DeepCopyInto(out *BandwidthLimitStatus)

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

type CCN

type CCN struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CCNSpec   `json:"spec"`
	Status            CCNStatus `json:"status,omitempty"`
}

CCN is the Schema for the CCNs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*CCN) DeepCopy

func (in *CCN) DeepCopy() *CCN

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

func (*CCN) DeepCopyInto

func (in *CCN) DeepCopyInto(out *CCN)

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

func (*CCN) DeepCopyObject

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

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

func (*CCN) GetCondition

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

GetCondition of this CCN.

func (*CCN) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CCN

func (*CCN) GetDeletionPolicy

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

GetDeletionPolicy of this CCN.

func (*CCN) GetID

func (tr *CCN) GetID() string

GetID returns ID of underlying Terraform resource of this CCN

func (*CCN) GetObservation

func (tr *CCN) GetObservation() (map[string]interface{}, error)

GetObservation of this CCN

func (*CCN) GetParameters

func (tr *CCN) GetParameters() (map[string]interface{}, error)

GetParameters of this CCN

func (*CCN) GetProviderConfigReference

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

GetProviderConfigReference of this CCN.

func (*CCN) GetProviderReference

func (mg *CCN) GetProviderReference() *xpv1.Reference

GetProviderReference of this CCN. Deprecated: Use GetProviderConfigReference.

func (*CCN) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CCN.

func (*CCN) GetTerraformResourceType

func (mg *CCN) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CCN

func (*CCN) GetTerraformSchemaVersion

func (tr *CCN) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CCN) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CCN.

func (*CCN) LateInitialize

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

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

func (*CCN) SetConditions

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

SetConditions of this CCN.

func (*CCN) SetDeletionPolicy

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

SetDeletionPolicy of this CCN.

func (*CCN) SetObservation

func (tr *CCN) SetObservation(obs map[string]interface{}) error

SetObservation for this CCN

func (*CCN) SetParameters

func (tr *CCN) SetParameters(params map[string]interface{}) error

SetParameters for this CCN

func (*CCN) SetProviderConfigReference

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

SetProviderConfigReference of this CCN.

func (*CCN) SetProviderReference

func (mg *CCN) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CCN. Deprecated: Use SetProviderConfigReference.

func (*CCN) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CCN.

func (*CCN) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CCN.

type CCNList

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

CCNList contains a list of CCNs

func (*CCNList) DeepCopy

func (in *CCNList) DeepCopy() *CCNList

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

func (*CCNList) DeepCopyInto

func (in *CCNList) DeepCopyInto(out *CCNList)

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

func (*CCNList) DeepCopyObject

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

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

func (*CCNList) GetItems

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

GetItems of this CCNList.

type CCNObservation

type CCNObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*CCNObservation) DeepCopy

func (in *CCNObservation) DeepCopy() *CCNObservation

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

func (*CCNObservation) DeepCopyInto

func (in *CCNObservation) DeepCopyInto(out *CCNObservation)

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

type CCNParameters

type CCNParameters struct {

	// The speed limit type. Valid values: `INTER_REGION_LIMIT`, `OUTER_REGION_LIMIT`. `OUTER_REGION_LIMIT` represents the regional export speed limit, `INTER_REGION_LIMIT` is the inter-regional speed limit. The default is `OUTER_REGION_LIMIT`.
	// +kubebuilder:validation:Optional
	BandwidthLimitType *string `json:"bandwidthLimitType,omitempty" tf:"bandwidth_limit_type,omitempty"`

	// Billing mode. Valid values: `PREPAID`, `POSTPAID`. `PREPAID` means prepaid, which means annual and monthly subscription, `POSTPAID` means post-payment, which means billing by volume. The default is `POSTPAID`. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// Description of CCN, and maximum length does not exceed 100 bytes.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Service quality of CCN. Valid values: `PT`, `AU`, `AG`. The default is `AU`.
	// +kubebuilder:validation:Optional
	Qos *string `json:"qos,omitempty" tf:"qos,omitempty"`

	// Instance tag.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*CCNParameters) DeepCopy

func (in *CCNParameters) DeepCopy() *CCNParameters

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

func (*CCNParameters) DeepCopyInto

func (in *CCNParameters) DeepCopyInto(out *CCNParameters)

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

type CCNSpec

type CCNSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CCNParameters `json:"forProvider"`
}

CCNSpec defines the desired state of CCN

func (*CCNSpec) DeepCopy

func (in *CCNSpec) DeepCopy() *CCNSpec

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

func (*CCNSpec) DeepCopyInto

func (in *CCNSpec) DeepCopyInto(out *CCNSpec)

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

type CCNStatus

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

CCNStatus defines the observed state of CCN.

func (*CCNStatus) DeepCopy

func (in *CCNStatus) DeepCopy() *CCNStatus

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

func (*CCNStatus) DeepCopyInto

func (in *CCNStatus) DeepCopyInto(out *CCNStatus)

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