v1alpha1

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 13 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ccnId) || (has(self.initProvider) && has(self.initProvider.ccnId))",message="spec.forProvider.ccnId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceId) || (has(self.initProvider) && has(self.initProvider.instanceId))",message="spec.forProvider.instanceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceRegion) || (has(self.initProvider) && has(self.initProvider.instanceRegion))",message="spec.forProvider.instanceRegion is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter"
	Spec   AttachmentSpec   `json:"spec"`
	Status AttachmentStatus `json:"status,omitempty"`
}

Attachment is the Schema for the Attachments API. Provides a CCN attaching resource. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

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

GetInitParameters of this Attachment

func (*Attachment) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Attachment.

func (*Attachment) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Attachment

func (*Attachment) GetObservation

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

GetObservation of this Attachment

func (*Attachment) GetParameters

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

GetParameters of this Attachment

func (*Attachment) GetProviderConfigReference

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

GetProviderConfigReference of this Attachment.

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) Hub added in v0.8.1

func (tr *Attachment) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Attachment.

func (*Attachment) SetObservation

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

SetObservation for this Attachment

func (*Attachment) SetParameters

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

SetParameters for this Attachment

func (*Attachment) SetProviderConfigReference

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

SetProviderConfigReference of this Attachment.

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 AttachmentInitParameters added in v0.8.0

type AttachmentInitParameters struct {

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

	// Uin of the ccn attached. If not set, 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.
	// Uin of the ccn attached. If not set, 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`.
	CcnUin *string `json:"ccnUin,omitempty" tf:"ccn_uin,omitempty"`

	// Remark of attachment.
	// Remark of attachment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// The region that the instance locates at.
	// The region that the instance locates at.
	InstanceRegion *string `json:"instanceRegion,omitempty" 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.
	// Type of attached instance network, and available values include `VPC`, `DIRECTCONNECT`, `BMVPC` and `VPNGW`. Note: `VPNGW` type is only for whitelist customer now.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Ccn instance route table ID.
	// Ccn instance route table ID.
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"`
}

func (*AttachmentInitParameters) DeepCopy added in v0.8.0

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

func (*AttachmentInitParameters) DeepCopyInto added in v0.8.0

func (in *AttachmentInitParameters) DeepCopyInto(out *AttachmentInitParameters)

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

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 {

	// Time of attaching.
	// Time of attaching.
	AttachedTime *string `json:"attachedTime,omitempty" tf:"attached_time,omitempty"`

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

	// Uin of the ccn attached. If not set, 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.
	// Uin of the ccn attached. If not set, 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`.
	CcnUin *string `json:"ccnUin,omitempty" tf:"ccn_uin,omitempty"`

	// A network address block of the instance that is attached.
	// A network address block of the instance that is attached.
	CidrBlock []*string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// Remark of attachment.
	// Remark of attachment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

	// The region that the instance locates at.
	// The region that the instance locates at.
	InstanceRegion *string `json:"instanceRegion,omitempty" 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.
	// Type of attached instance network, and available values include `VPC`, `DIRECTCONNECT`, `BMVPC` and `VPNGW`. Note: `VPNGW` type is only for whitelist customer now.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Route id list.
	// Route id list.
	RouteIds []*string `json:"routeIds,omitempty" tf:"route_ids,omitempty"`

	// Ccn instance route table ID.
	// Ccn instance route table ID.
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"`

	// States of instance is attached. Valid values: PENDING, ACTIVE, EXPIRED, REJECTED, DELETED, FAILED, ATTACHING, DETACHING and DETACHFAILED. FAILED means asynchronous forced disassociation after 2 hours. DETACHFAILED means asynchronous forced disassociation after 2 hours.
	// States of instance is attached. Valid values: `PENDING`, `ACTIVE`, `EXPIRED`, `REJECTED`, `DELETED`, `FAILED`, `ATTACHING`, `DETACHING` and `DETACHFAILED`. `FAILED` means asynchronous forced disassociation after 2 hours. `DETACHFAILED` means asynchronous forced disassociation after 2 hours.
	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.
	// ID of the CCN.
	// +kubebuilder:validation:Optional
	CcnID *string `json:"ccnId,omitempty" tf:"ccn_id,omitempty"`

	// Uin of the ccn attached. If not set, 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.
	// Uin of the ccn attached. If not set, 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"`

	// Remark of attachment.
	// Remark of attachment.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// The region that the instance locates at.
	// The region that the instance locates at.
	// +kubebuilder:validation:Optional
	InstanceRegion *string `json:"instanceRegion,omitempty" 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.
	// 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:Optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Ccn instance route table ID.
	// Ccn instance route table ID.
	// +kubebuilder:validation:Optional
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,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"`
	// 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 AttachmentInitParameters `json:"initProvider,omitempty"`
}

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

BandwidthLimit is the Schema for the BandwidthLimits API. Provides a resource to limit CCN bandwidth. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

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

GetInitParameters of this BandwidthLimit

func (*BandwidthLimit) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this BandwidthLimit.

func (*BandwidthLimit) GetMergedParameters added in v0.8.1

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

GetInitParameters of this BandwidthLimit

func (*BandwidthLimit) GetObservation

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

GetObservation of this BandwidthLimit

func (*BandwidthLimit) GetParameters

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

GetParameters of this BandwidthLimit

func (*BandwidthLimit) GetProviderConfigReference

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

GetProviderConfigReference of this BandwidthLimit.

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) Hub added in v0.8.1

func (tr *BandwidthLimit) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this BandwidthLimit.

func (*BandwidthLimit) SetObservation

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

SetObservation for this BandwidthLimit

func (*BandwidthLimit) SetParameters

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

SetParameters for this BandwidthLimit

func (*BandwidthLimit) SetProviderConfigReference

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

SetProviderConfigReference of this BandwidthLimit.

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 BandwidthLimitInitParameters added in v0.8.0

type BandwidthLimitInitParameters struct {

	// Limitation of bandwidth. Default is 0.
	// Limitation of bandwidth. Default is `0`.
	BandwidthLimit *float64 `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"`

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

	// Reference to a CCN to populate ccnId.
	// +kubebuilder:validation:Optional
	CcnIDRef *v1.Reference `json:"ccnIdRef,omitempty" tf:"-"`

	// Selector for a CCN to populate ccnId.
	// +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.
	// Destination area restriction. If the `CCN` rate limit type is `OUTER_REGION_LIMIT`, this value does not need to be set.
	DstRegion *string `json:"dstRegion,omitempty" tf:"dst_region,omitempty"`

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

func (*BandwidthLimitInitParameters) DeepCopy added in v0.8.0

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

func (*BandwidthLimitInitParameters) DeepCopyInto added in v0.8.0

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

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 {

	// Limitation of bandwidth. Default is 0.
	// Limitation of bandwidth. Default is `0`.
	BandwidthLimit *float64 `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"`

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

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Limitation of region.
	// Limitation of region.
	Region *string `json:"region,omitempty" tf:"region,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. Default is 0.
	// Limitation of bandwidth. Default is `0`.
	// +kubebuilder:validation:Optional
	BandwidthLimit *float64 `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"`

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

	// Reference to a CCN to populate ccnId.
	// +kubebuilder:validation:Optional
	CcnIDRef *v1.Reference `json:"ccnIdRef,omitempty" tf:"-"`

	// Selector for a CCN to populate ccnId.
	// +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.
	// 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.
	// Limitation of region.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" 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"`
	// 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 BandwidthLimitInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +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   CCNSpec   `json:"spec"`
	Status CCNStatus `json:"status,omitempty"`
}

CCN is the Schema for the CCNs API. Provides a resource to create a CCN instance. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

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

GetInitParameters of this CCN

func (*CCN) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this CCN.

func (*CCN) GetMergedParameters added in v0.8.1

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

GetInitParameters of this CCN

func (*CCN) GetObservation

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

GetObservation of this CCN

func (*CCN) GetParameters

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

GetParameters of this CCN

func (*CCN) GetProviderConfigReference

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

GetProviderConfigReference of this CCN.

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) Hub added in v0.8.1

func (tr *CCN) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this CCN.

func (*CCN) SetObservation

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

SetObservation for this CCN

func (*CCN) SetParameters

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

SetParameters for this CCN

func (*CCN) SetProviderConfigReference

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

SetProviderConfigReference of this CCN.

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 CCNInitParameters added in v0.8.0

type CCNInitParameters 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.
	// 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`.
	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.
	// 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.
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

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

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

	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	Qos *string `json:"qos,omitempty" tf:"qos,omitempty"`

	// Whether to enable the equivalent routing function. true: enabled, false: disabled.
	// Whether to enable the equivalent routing function. `true`: enabled, `false`: disabled.
	RouteEcmpFlag *bool `json:"routeEcmpFlag,omitempty" tf:"route_ecmp_flag,omitempty"`

	// Whether to enable the routing overlap function. true: enabled, false: disabled.
	// Whether to enable the routing overlap function. `true`: enabled, `false`: disabled.
	RouteOverlapFlag *bool `json:"routeOverlapFlag,omitempty" tf:"route_overlap_flag,omitempty"`

	// Instance tag.
	// Instance tag.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*CCNInitParameters) DeepCopy added in v0.8.0

func (in *CCNInitParameters) DeepCopy() *CCNInitParameters

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

func (*CCNInitParameters) DeepCopyInto added in v0.8.0

func (in *CCNInitParameters) DeepCopyInto(out *CCNInitParameters)

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

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 {

	// 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.
	// 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`.
	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.
	// 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.
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// Creation time of resource.
	// Creation time of resource.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Number of attached instances.
	// Number of attached instances.
	InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`

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

	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	Qos *string `json:"qos,omitempty" tf:"qos,omitempty"`

	// Whether to enable the equivalent routing function. true: enabled, false: disabled.
	// Whether to enable the equivalent routing function. `true`: enabled, `false`: disabled.
	RouteEcmpFlag *bool `json:"routeEcmpFlag,omitempty" tf:"route_ecmp_flag,omitempty"`

	// Whether to enable the routing overlap function. true: enabled, false: disabled.
	// Whether to enable the routing overlap function. `true`: enabled, `false`: disabled.
	RouteOverlapFlag *bool `json:"routeOverlapFlag,omitempty" tf:"route_overlap_flag,omitempty"`

	// States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
	// States of instance. Valid values: `ISOLATED`(arrears) and `AVAILABLE`.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Instance tag.
	// Instance tag.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,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.
	// 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.
	// 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.
	// 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.
	// Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	// CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
	// +kubebuilder:validation:Optional
	Qos *string `json:"qos,omitempty" tf:"qos,omitempty"`

	// Whether to enable the equivalent routing function. true: enabled, false: disabled.
	// Whether to enable the equivalent routing function. `true`: enabled, `false`: disabled.
	// +kubebuilder:validation:Optional
	RouteEcmpFlag *bool `json:"routeEcmpFlag,omitempty" tf:"route_ecmp_flag,omitempty"`

	// Whether to enable the routing overlap function. true: enabled, false: disabled.
	// Whether to enable the routing overlap function. `true`: enabled, `false`: disabled.
	// +kubebuilder:validation:Optional
	RouteOverlapFlag *bool `json:"routeOverlapFlag,omitempty" tf:"route_overlap_flag,omitempty"`

	// Instance tag.
	// Instance tag.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	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"`
	// 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 CCNInitParameters `json:"initProvider,omitempty"`
}

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