v1alpha1

package
v0.8.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DomainInstance_Kind             = "DomainInstance"
	DomainInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DomainInstance_Kind}.String()
	DomainInstance_KindAPIVersion   = DomainInstance_Kind + "." + CRDGroupVersion.String()
	DomainInstance_GroupVersionKind = CRDGroupVersion.WithKind(DomainInstance_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Record_Kind             = "Record"
	Record_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Record_Kind}.String()
	Record_KindAPIVersion   = Record_Kind + "." + CRDGroupVersion.String()
	Record_GroupVersionKind = CRDGroupVersion.WithKind(Record_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DomainInstance

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

DomainInstance is the Schema for the DomainInstances API. Provide a resource to create a DnsPod Domain 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 (*DomainInstance) DeepCopy

func (in *DomainInstance) DeepCopy() *DomainInstance

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

func (*DomainInstance) DeepCopyInto

func (in *DomainInstance) DeepCopyInto(out *DomainInstance)

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

func (*DomainInstance) DeepCopyObject

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

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

func (*DomainInstance) GetCondition

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

GetCondition of this DomainInstance.

func (*DomainInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DomainInstance

func (*DomainInstance) GetDeletionPolicy

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

GetDeletionPolicy of this DomainInstance.

func (*DomainInstance) GetID

func (tr *DomainInstance) GetID() string

GetID returns ID of underlying Terraform resource of this DomainInstance

func (*DomainInstance) GetInitParameters added in v0.8.0

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

GetInitParameters of this DomainInstance

func (*DomainInstance) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this DomainInstance.

func (*DomainInstance) GetMergedParameters added in v0.8.1

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

GetInitParameters of this DomainInstance

func (*DomainInstance) GetObservation

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

GetObservation of this DomainInstance

func (*DomainInstance) GetParameters

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

GetParameters of this DomainInstance

func (*DomainInstance) GetProviderConfigReference

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

GetProviderConfigReference of this DomainInstance.

func (*DomainInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DomainInstance.

func (*DomainInstance) GetTerraformResourceType

func (mg *DomainInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DomainInstance

func (*DomainInstance) GetTerraformSchemaVersion

func (tr *DomainInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DomainInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DomainInstance.

func (*DomainInstance) Hub added in v0.8.1

func (tr *DomainInstance) Hub()

Hub marks this type as a conversion hub.

func (*DomainInstance) LateInitialize

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

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

func (*DomainInstance) SetConditions

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

SetConditions of this DomainInstance.

func (*DomainInstance) SetDeletionPolicy

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

SetDeletionPolicy of this DomainInstance.

func (*DomainInstance) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this DomainInstance.

func (*DomainInstance) SetObservation

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

SetObservation for this DomainInstance

func (*DomainInstance) SetParameters

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

SetParameters for this DomainInstance

func (*DomainInstance) SetProviderConfigReference

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

SetProviderConfigReference of this DomainInstance.

func (*DomainInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DomainInstance.

func (*DomainInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DomainInstance.

type DomainInstanceInitParameters added in v0.8.0

type DomainInstanceInitParameters struct {

	// The Domain.
	// The Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The Group Id of Domain.
	// The Group Id of Domain.
	GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Whether to Mark the Domain.
	// Whether to Mark the Domain.
	IsMark *string `json:"isMark,omitempty" tf:"is_mark,omitempty"`

	// The remark of Domain.
	// The remark of Domain.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// The status of Domain.
	// The status of Domain.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DomainInstanceInitParameters) DeepCopy added in v0.8.0

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

func (*DomainInstanceInitParameters) DeepCopyInto added in v0.8.0

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

type DomainInstanceList

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

DomainInstanceList contains a list of DomainInstances

func (*DomainInstanceList) DeepCopy

func (in *DomainInstanceList) DeepCopy() *DomainInstanceList

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

func (*DomainInstanceList) DeepCopyInto

func (in *DomainInstanceList) DeepCopyInto(out *DomainInstanceList)

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

func (*DomainInstanceList) DeepCopyObject

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

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

func (*DomainInstanceList) GetItems

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

GetItems of this DomainInstanceList.

type DomainInstanceObservation

type DomainInstanceObservation struct {

	// Create time of the domain.
	// Create time of the domain.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// The Domain.
	// The Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The Group Id of Domain.
	// The Group Id of Domain.
	GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// Whether to Mark the Domain.
	// Whether to Mark the Domain.
	IsMark *string `json:"isMark,omitempty" tf:"is_mark,omitempty"`

	// The remark of Domain.
	// The remark of Domain.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Is secondary DNS enabled.
	// Is secondary DNS enabled.
	SlaveDNS *string `json:"slaveDns,omitempty" tf:"slave_dns,omitempty"`

	// The status of Domain.
	// The status of Domain.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DomainInstanceObservation) DeepCopy

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

func (*DomainInstanceObservation) DeepCopyInto

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

type DomainInstanceParameters

type DomainInstanceParameters struct {

	// The Domain.
	// The Domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The Group Id of Domain.
	// The Group Id of Domain.
	// +kubebuilder:validation:Optional
	GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Whether to Mark the Domain.
	// Whether to Mark the Domain.
	// +kubebuilder:validation:Optional
	IsMark *string `json:"isMark,omitempty" tf:"is_mark,omitempty"`

	// The remark of Domain.
	// The remark of Domain.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// The status of Domain.
	// The status of Domain.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DomainInstanceParameters) DeepCopy

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

func (*DomainInstanceParameters) DeepCopyInto

func (in *DomainInstanceParameters) DeepCopyInto(out *DomainInstanceParameters)

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

type DomainInstanceSpec

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

DomainInstanceSpec defines the desired state of DomainInstance

func (*DomainInstanceSpec) DeepCopy

func (in *DomainInstanceSpec) DeepCopy() *DomainInstanceSpec

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

func (*DomainInstanceSpec) DeepCopyInto

func (in *DomainInstanceSpec) DeepCopyInto(out *DomainInstanceSpec)

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

type DomainInstanceStatus

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

DomainInstanceStatus defines the observed state of DomainInstance.

func (*DomainInstanceStatus) DeepCopy

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

func (*DomainInstanceStatus) DeepCopyInto

func (in *DomainInstanceStatus) DeepCopyInto(out *DomainInstanceStatus)

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

type Record

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

Record is the Schema for the Records API. Provide a resource to create a DnsPod record. +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 (*Record) DeepCopy

func (in *Record) DeepCopy() *Record

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

func (*Record) DeepCopyInto

func (in *Record) DeepCopyInto(out *Record)

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

func (*Record) DeepCopyObject

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

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

func (*Record) GetCondition

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

GetCondition of this Record.

func (*Record) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Record

func (*Record) GetDeletionPolicy

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

GetDeletionPolicy of this Record.

func (*Record) GetID

func (tr *Record) GetID() string

GetID returns ID of underlying Terraform resource of this Record

func (*Record) GetInitParameters added in v0.8.0

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

GetInitParameters of this Record

func (*Record) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Record.

func (*Record) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Record

func (*Record) GetObservation

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

GetObservation of this Record

func (*Record) GetParameters

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

GetParameters of this Record

func (*Record) GetProviderConfigReference

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

GetProviderConfigReference of this Record.

func (*Record) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Record.

func (*Record) GetTerraformResourceType

func (mg *Record) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Record

func (*Record) GetTerraformSchemaVersion

func (tr *Record) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Record) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Record.

func (*Record) Hub added in v0.8.1

func (tr *Record) Hub()

Hub marks this type as a conversion hub.

func (*Record) LateInitialize

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

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

func (*Record) SetConditions

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

SetConditions of this Record.

func (*Record) SetDeletionPolicy

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

SetDeletionPolicy of this Record.

func (*Record) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Record.

func (*Record) SetObservation

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

SetObservation for this Record

func (*Record) SetParameters

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

SetParameters for this Record

func (*Record) SetProviderConfigReference

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

SetProviderConfigReference of this Record.

func (*Record) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Record.

func (*Record) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Record.

type RecordInitParameters added in v0.8.0

type RecordInitParameters struct {

	// The Domain.
	// The Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	Mx *float64 `json:"mx,omitempty" tf:"mx,omitempty"`

	// The record line.
	// The record line.
	RecordLine *string `json:"recordLine,omitempty" tf:"record_line,omitempty"`

	// The record type.
	// The record type.
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The Remark of record.
	// The Remark of record.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The host records, default value is @.
	// The host records, default value is `@`.
	SubDomain *string `json:"subDomain,omitempty" tf:"sub_domain,omitempty"`

	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The record value.
	// The record value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RecordInitParameters) DeepCopy added in v0.8.0

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

func (*RecordInitParameters) DeepCopyInto added in v0.8.0

func (in *RecordInitParameters) DeepCopyInto(out *RecordInitParameters)

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

type RecordList

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

RecordList contains a list of Records

func (*RecordList) DeepCopy

func (in *RecordList) DeepCopy() *RecordList

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

func (*RecordList) DeepCopyInto

func (in *RecordList) DeepCopyInto(out *RecordList)

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

func (*RecordList) DeepCopyObject

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

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

func (*RecordList) GetItems

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

GetItems of this RecordList.

type RecordObservation

type RecordObservation struct {

	// The Domain.
	// The Domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

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

	// The monitoring status of the record.
	// The monitoring status of the record.
	MonitorStatus *string `json:"monitorStatus,omitempty" tf:"monitor_status,omitempty"`

	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	Mx *float64 `json:"mx,omitempty" tf:"mx,omitempty"`

	// The record line.
	// The record line.
	RecordLine *string `json:"recordLine,omitempty" tf:"record_line,omitempty"`

	// The record type.
	// The record type.
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The Remark of record.
	// The Remark of record.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The host records, default value is @.
	// The host records, default value is `@`.
	SubDomain *string `json:"subDomain,omitempty" tf:"sub_domain,omitempty"`

	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The record value.
	// The record value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RecordObservation) DeepCopy

func (in *RecordObservation) DeepCopy() *RecordObservation

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

func (*RecordObservation) DeepCopyInto

func (in *RecordObservation) DeepCopyInto(out *RecordObservation)

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

type RecordParameters

type RecordParameters struct {

	// The Domain.
	// The Domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	// +kubebuilder:validation:Optional
	Mx *float64 `json:"mx,omitempty" tf:"mx,omitempty"`

	// The record line.
	// The record line.
	// +kubebuilder:validation:Optional
	RecordLine *string `json:"recordLine,omitempty" tf:"record_line,omitempty"`

	// The record type.
	// The record type.
	// +kubebuilder:validation:Optional
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The Remark of record.
	// The Remark of record.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The host records, default value is @.
	// The host records, default value is `@`.
	// +kubebuilder:validation:Optional
	SubDomain *string `json:"subDomain,omitempty" tf:"sub_domain,omitempty"`

	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The record value.
	// The record value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RecordParameters) DeepCopy

func (in *RecordParameters) DeepCopy() *RecordParameters

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

func (*RecordParameters) DeepCopyInto

func (in *RecordParameters) DeepCopyInto(out *RecordParameters)

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

type RecordSpec

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

RecordSpec defines the desired state of Record

func (*RecordSpec) DeepCopy

func (in *RecordSpec) DeepCopy() *RecordSpec

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

func (*RecordSpec) DeepCopyInto

func (in *RecordSpec) DeepCopyInto(out *RecordSpec)

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

type RecordStatus

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

RecordStatus defines the observed state of Record.

func (*RecordStatus) DeepCopy

func (in *RecordStatus) DeepCopy() *RecordStatus

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

func (*RecordStatus) DeepCopyInto

func (in *RecordStatus) DeepCopyInto(out *RecordStatus)

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