v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Snapshot_Kind             = "Snapshot"
	Snapshot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String()
	Snapshot_KindAPIVersion   = Snapshot_Kind + "." + CRDGroupVersion.String()
	Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind)
)

Repository type metadata.

View Source
var (
	SnapshotPolicy_Kind             = "SnapshotPolicy"
	SnapshotPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SnapshotPolicy_Kind}.String()
	SnapshotPolicy_KindAPIVersion   = SnapshotPolicy_Kind + "." + CRDGroupVersion.String()
	SnapshotPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SnapshotPolicy_Kind)
)

Repository type metadata.

View Source
var (
	SnapshotPolicyAttachment_Kind             = "SnapshotPolicyAttachment"
	SnapshotPolicyAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SnapshotPolicyAttachment_Kind}.String()
	SnapshotPolicyAttachment_KindAPIVersion   = SnapshotPolicyAttachment_Kind + "." + CRDGroupVersion.String()
	SnapshotPolicyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(SnapshotPolicyAttachment_Kind)
)

Repository type metadata.

View Source
var (
	Storage_Kind             = "Storage"
	Storage_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Storage_Kind}.String()
	Storage_KindAPIVersion   = Storage_Kind + "." + CRDGroupVersion.String()
	Storage_GroupVersionKind = CRDGroupVersion.WithKind(Storage_Kind)
)

Repository type metadata.

View Source
var (
	StorageAttachment_Kind             = "StorageAttachment"
	StorageAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StorageAttachment_Kind}.String()
	StorageAttachment_KindAPIVersion   = StorageAttachment_Kind + "." + CRDGroupVersion.String()
	StorageAttachment_GroupVersionKind = CRDGroupVersion.WithKind(StorageAttachment_Kind)
)

Repository type metadata.

View Source
var (
	StorageSet_Kind             = "StorageSet"
	StorageSet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StorageSet_Kind}.String()
	StorageSet_KindAPIVersion   = StorageSet_Kind + "." + CRDGroupVersion.String()
	StorageSet_GroupVersionKind = CRDGroupVersion.WithKind(StorageSet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

Snapshot is the Schema for the Snapshots 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 (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

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

func (*Snapshot) GetCondition

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

GetCondition of this Snapshot.

func (*Snapshot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Snapshot

func (*Snapshot) GetDeletionPolicy

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

GetDeletionPolicy of this Snapshot.

func (*Snapshot) GetID

func (tr *Snapshot) GetID() string

GetID returns ID of underlying Terraform resource of this Snapshot

func (*Snapshot) GetObservation

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

GetObservation of this Snapshot

func (*Snapshot) GetParameters

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

GetParameters of this Snapshot

func (*Snapshot) GetProviderConfigReference

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

GetProviderConfigReference of this Snapshot.

func (*Snapshot) GetProviderReference

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

GetProviderReference of this Snapshot. Deprecated: Use GetProviderConfigReference.

func (*Snapshot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) GetTerraformResourceType

func (mg *Snapshot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Snapshot

func (*Snapshot) GetTerraformSchemaVersion

func (tr *Snapshot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Snapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Snapshot.

func (*Snapshot) LateInitialize

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

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

func (*Snapshot) ResolveReferences

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

ResolveReferences of this Snapshot.

func (*Snapshot) SetConditions

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

SetConditions of this Snapshot.

func (*Snapshot) SetDeletionPolicy

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

SetDeletionPolicy of this Snapshot.

func (*Snapshot) SetObservation

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

SetObservation for this Snapshot

func (*Snapshot) SetParameters

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

SetParameters for this Snapshot

func (*Snapshot) SetProviderConfigReference

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

SetProviderConfigReference of this Snapshot.

func (*Snapshot) SetProviderReference

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

SetProviderReference of this Snapshot. Deprecated: Use SetProviderConfigReference.

func (*Snapshot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Snapshot.

type SnapshotList

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

SnapshotList contains a list of Snapshots

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

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

func (*SnapshotList) GetItems

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

GetItems of this SnapshotList.

type SnapshotObservation

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

	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

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

	Percent *float64 `json:"percent,omitempty" tf:"percent,omitempty"`

	SnapshotStatus *string `json:"snapshotStatus,omitempty" tf:"snapshot_status,omitempty"`

	StorageSize *float64 `json:"storageSize,omitempty" tf:"storage_size,omitempty"`
}

func (*SnapshotObservation) DeepCopy

func (in *SnapshotObservation) DeepCopy() *SnapshotObservation

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

func (*SnapshotObservation) DeepCopyInto

func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation)

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

type SnapshotParameters

type SnapshotParameters struct {

	// Name of the snapshot.
	// +kubebuilder:validation:Required
	SnapshotName *string `json:"snapshotName" tf:"snapshot_name,omitempty"`

	// ID of the the CBS which this snapshot created from.
	// +crossplane:generate:reference:type=Storage
	// +kubebuilder:validation:Optional
	StorageID *string `json:"storageId,omitempty" tf:"storage_id,omitempty"`

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

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

	// The available tags within this CBS Snapshot.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SnapshotParameters) DeepCopy

func (in *SnapshotParameters) DeepCopy() *SnapshotParameters

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

func (*SnapshotParameters) DeepCopyInto

func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters)

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

type SnapshotPolicy

type SnapshotPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotPolicySpec   `json:"spec"`
	Status            SnapshotPolicyStatus `json:"status,omitempty"`
}

SnapshotPolicy is the Schema for the SnapshotPolicys 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 (*SnapshotPolicy) DeepCopy

func (in *SnapshotPolicy) DeepCopy() *SnapshotPolicy

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

func (*SnapshotPolicy) DeepCopyInto

func (in *SnapshotPolicy) DeepCopyInto(out *SnapshotPolicy)

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

func (*SnapshotPolicy) DeepCopyObject

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

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

func (*SnapshotPolicy) GetCondition

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

GetCondition of this SnapshotPolicy.

func (*SnapshotPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SnapshotPolicy

func (*SnapshotPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this SnapshotPolicy.

func (*SnapshotPolicy) GetID

func (tr *SnapshotPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this SnapshotPolicy

func (*SnapshotPolicy) GetObservation

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

GetObservation of this SnapshotPolicy

func (*SnapshotPolicy) GetParameters

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

GetParameters of this SnapshotPolicy

func (*SnapshotPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this SnapshotPolicy.

func (*SnapshotPolicy) GetProviderReference

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

GetProviderReference of this SnapshotPolicy. Deprecated: Use GetProviderConfigReference.

func (*SnapshotPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SnapshotPolicy.

func (*SnapshotPolicy) GetTerraformResourceType

func (mg *SnapshotPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SnapshotPolicy

func (*SnapshotPolicy) GetTerraformSchemaVersion

func (tr *SnapshotPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SnapshotPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SnapshotPolicy.

func (*SnapshotPolicy) LateInitialize

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

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

func (*SnapshotPolicy) SetConditions

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

SetConditions of this SnapshotPolicy.

func (*SnapshotPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this SnapshotPolicy.

func (*SnapshotPolicy) SetObservation

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

SetObservation for this SnapshotPolicy

func (*SnapshotPolicy) SetParameters

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

SetParameters for this SnapshotPolicy

func (*SnapshotPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this SnapshotPolicy.

func (*SnapshotPolicy) SetProviderReference

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

SetProviderReference of this SnapshotPolicy. Deprecated: Use SetProviderConfigReference.

func (*SnapshotPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SnapshotPolicy.

func (*SnapshotPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SnapshotPolicy.

type SnapshotPolicyAttachment

type SnapshotPolicyAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotPolicyAttachmentSpec   `json:"spec"`
	Status            SnapshotPolicyAttachmentStatus `json:"status,omitempty"`
}

SnapshotPolicyAttachment is the Schema for the SnapshotPolicyAttachments 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 (*SnapshotPolicyAttachment) DeepCopy

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

func (*SnapshotPolicyAttachment) DeepCopyInto

func (in *SnapshotPolicyAttachment) DeepCopyInto(out *SnapshotPolicyAttachment)

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

func (*SnapshotPolicyAttachment) DeepCopyObject

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

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

func (*SnapshotPolicyAttachment) GetCondition

GetCondition of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) GetID

func (tr *SnapshotPolicyAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) GetObservation

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

GetObservation of this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) GetParameters

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

GetParameters of this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) GetProviderReference

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

GetProviderReference of this SnapshotPolicyAttachment. Deprecated: Use GetProviderConfigReference.

func (*SnapshotPolicyAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) GetTerraformResourceType

func (mg *SnapshotPolicyAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) GetTerraformSchemaVersion

func (tr *SnapshotPolicyAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SnapshotPolicyAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) LateInitialize

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

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

func (*SnapshotPolicyAttachment) ResolveReferences

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

ResolveReferences of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) SetConditions

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

SetConditions of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) SetObservation

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

SetObservation for this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) SetParameters

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

SetParameters for this SnapshotPolicyAttachment

func (*SnapshotPolicyAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) SetProviderReference

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

SetProviderReference of this SnapshotPolicyAttachment. Deprecated: Use SetProviderConfigReference.

func (*SnapshotPolicyAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SnapshotPolicyAttachment.

type SnapshotPolicyAttachmentList

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

SnapshotPolicyAttachmentList contains a list of SnapshotPolicyAttachments

func (*SnapshotPolicyAttachmentList) DeepCopy

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

func (*SnapshotPolicyAttachmentList) DeepCopyInto

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

func (*SnapshotPolicyAttachmentList) DeepCopyObject

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

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

func (*SnapshotPolicyAttachmentList) GetItems

GetItems of this SnapshotPolicyAttachmentList.

type SnapshotPolicyAttachmentObservation

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

func (*SnapshotPolicyAttachmentObservation) DeepCopy

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

func (*SnapshotPolicyAttachmentObservation) DeepCopyInto

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

type SnapshotPolicyAttachmentParameters

type SnapshotPolicyAttachmentParameters struct {

	// ID of CBS snapshot policy.
	// +crossplane:generate:reference:type=SnapshotPolicy
	// +kubebuilder:validation:Optional
	SnapshotPolicyID *string `json:"snapshotPolicyId,omitempty" tf:"snapshot_policy_id,omitempty"`

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

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

	// ID of CBS.
	// +crossplane:generate:reference:type=Storage
	// +kubebuilder:validation:Optional
	StorageID *string `json:"storageId,omitempty" tf:"storage_id,omitempty"`

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

	// +kubebuilder:validation:Optional
	StorageIDSelector *v1.Selector `json:"storageIdSelector,omitempty" tf:"-"`
}

func (*SnapshotPolicyAttachmentParameters) DeepCopy

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

func (*SnapshotPolicyAttachmentParameters) DeepCopyInto

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

type SnapshotPolicyAttachmentSpec

type SnapshotPolicyAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SnapshotPolicyAttachmentParameters `json:"forProvider"`
}

SnapshotPolicyAttachmentSpec defines the desired state of SnapshotPolicyAttachment

func (*SnapshotPolicyAttachmentSpec) DeepCopy

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

func (*SnapshotPolicyAttachmentSpec) DeepCopyInto

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

type SnapshotPolicyAttachmentStatus

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

SnapshotPolicyAttachmentStatus defines the observed state of SnapshotPolicyAttachment.

func (*SnapshotPolicyAttachmentStatus) DeepCopy

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

func (*SnapshotPolicyAttachmentStatus) DeepCopyInto

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

type SnapshotPolicyList

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

SnapshotPolicyList contains a list of SnapshotPolicys

func (*SnapshotPolicyList) DeepCopy

func (in *SnapshotPolicyList) DeepCopy() *SnapshotPolicyList

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

func (*SnapshotPolicyList) DeepCopyInto

func (in *SnapshotPolicyList) DeepCopyInto(out *SnapshotPolicyList)

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

func (*SnapshotPolicyList) DeepCopyObject

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

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

func (*SnapshotPolicyList) GetItems

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

GetItems of this SnapshotPolicyList.

type SnapshotPolicyObservation

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

func (*SnapshotPolicyObservation) DeepCopy

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

func (*SnapshotPolicyObservation) DeepCopyInto

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

type SnapshotPolicyParameters

type SnapshotPolicyParameters struct {

	// Trigger times of periodic snapshot. Valid value ranges: (0~23). The 0 means 00:00, and so on.
	// +kubebuilder:validation:Required
	RepeatHours []*float64 `json:"repeatHours" tf:"repeat_hours,omitempty"`

	// Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.
	// +kubebuilder:validation:Required
	RepeatWeekdays []*float64 `json:"repeatWeekdays" tf:"repeat_weekdays,omitempty"`

	// Retention days of the snapshot, and the default value is 7.
	// +kubebuilder:validation:Optional
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// Name of snapshot policy. The maximum length can not exceed 60 bytes.
	// +kubebuilder:validation:Required
	SnapshotPolicyName *string `json:"snapshotPolicyName" tf:"snapshot_policy_name,omitempty"`
}

func (*SnapshotPolicyParameters) DeepCopy

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

func (*SnapshotPolicyParameters) DeepCopyInto

func (in *SnapshotPolicyParameters) DeepCopyInto(out *SnapshotPolicyParameters)

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

type SnapshotPolicySpec

type SnapshotPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SnapshotPolicyParameters `json:"forProvider"`
}

SnapshotPolicySpec defines the desired state of SnapshotPolicy

func (*SnapshotPolicySpec) DeepCopy

func (in *SnapshotPolicySpec) DeepCopy() *SnapshotPolicySpec

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

func (*SnapshotPolicySpec) DeepCopyInto

func (in *SnapshotPolicySpec) DeepCopyInto(out *SnapshotPolicySpec)

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

type SnapshotPolicyStatus

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

SnapshotPolicyStatus defines the observed state of SnapshotPolicy.

func (*SnapshotPolicyStatus) DeepCopy

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

func (*SnapshotPolicyStatus) DeepCopyInto

func (in *SnapshotPolicyStatus) DeepCopyInto(out *SnapshotPolicyStatus)

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

type SnapshotSpec

type SnapshotSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SnapshotParameters `json:"forProvider"`
}

SnapshotSpec defines the desired state of Snapshot

func (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

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

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

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

type SnapshotStatus

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

SnapshotStatus defines the observed state of Snapshot.

func (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

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

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

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

type Storage

type Storage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageSpec   `json:"spec"`
	Status            StorageStatus `json:"status,omitempty"`
}

Storage is the Schema for the Storages 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 (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

func (*Storage) DeepCopyObject

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

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

func (*Storage) GetCondition

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

GetCondition of this Storage.

func (*Storage) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Storage

func (*Storage) GetDeletionPolicy

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

GetDeletionPolicy of this Storage.

func (*Storage) GetID

func (tr *Storage) GetID() string

GetID returns ID of underlying Terraform resource of this Storage

func (*Storage) GetObservation

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

GetObservation of this Storage

func (*Storage) GetParameters

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

GetParameters of this Storage

func (*Storage) GetProviderConfigReference

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

GetProviderConfigReference of this Storage.

func (*Storage) GetProviderReference

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

GetProviderReference of this Storage. Deprecated: Use GetProviderConfigReference.

func (*Storage) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Storage.

func (*Storage) GetTerraformResourceType

func (mg *Storage) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Storage

func (*Storage) GetTerraformSchemaVersion

func (tr *Storage) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Storage) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Storage.

func (*Storage) LateInitialize

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

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

func (*Storage) SetConditions

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

SetConditions of this Storage.

func (*Storage) SetDeletionPolicy

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

SetDeletionPolicy of this Storage.

func (*Storage) SetObservation

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

SetObservation for this Storage

func (*Storage) SetParameters

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

SetParameters for this Storage

func (*Storage) SetProviderConfigReference

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

SetProviderConfigReference of this Storage.

func (*Storage) SetProviderReference

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

SetProviderReference of this Storage. Deprecated: Use SetProviderConfigReference.

func (*Storage) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Storage.

func (*Storage) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Storage.

type StorageAttachment

type StorageAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageAttachmentSpec   `json:"spec"`
	Status            StorageAttachmentStatus `json:"status,omitempty"`
}

StorageAttachment is the Schema for the StorageAttachments 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 (*StorageAttachment) DeepCopy

func (in *StorageAttachment) DeepCopy() *StorageAttachment

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

func (*StorageAttachment) DeepCopyInto

func (in *StorageAttachment) DeepCopyInto(out *StorageAttachment)

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

func (*StorageAttachment) DeepCopyObject

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

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

func (*StorageAttachment) GetCondition

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

GetCondition of this StorageAttachment.

func (*StorageAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this StorageAttachment

func (*StorageAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this StorageAttachment.

func (*StorageAttachment) GetID

func (tr *StorageAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this StorageAttachment

func (*StorageAttachment) GetObservation

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

GetObservation of this StorageAttachment

func (*StorageAttachment) GetParameters

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

GetParameters of this StorageAttachment

func (*StorageAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this StorageAttachment.

func (*StorageAttachment) GetProviderReference

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

GetProviderReference of this StorageAttachment. Deprecated: Use GetProviderConfigReference.

func (*StorageAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this StorageAttachment.

func (*StorageAttachment) GetTerraformResourceType

func (mg *StorageAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StorageAttachment

func (*StorageAttachment) GetTerraformSchemaVersion

func (tr *StorageAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StorageAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StorageAttachment.

func (*StorageAttachment) LateInitialize

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

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

func (*StorageAttachment) ResolveReferences

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

ResolveReferences of this StorageAttachment.

func (*StorageAttachment) SetConditions

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

SetConditions of this StorageAttachment.

func (*StorageAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this StorageAttachment.

func (*StorageAttachment) SetObservation

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

SetObservation for this StorageAttachment

func (*StorageAttachment) SetParameters

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

SetParameters for this StorageAttachment

func (*StorageAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this StorageAttachment.

func (*StorageAttachment) SetProviderReference

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

SetProviderReference of this StorageAttachment. Deprecated: Use SetProviderConfigReference.

func (*StorageAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this StorageAttachment.

func (*StorageAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this StorageAttachment.

type StorageAttachmentList

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

StorageAttachmentList contains a list of StorageAttachments

func (*StorageAttachmentList) DeepCopy

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

func (*StorageAttachmentList) DeepCopyInto

func (in *StorageAttachmentList) DeepCopyInto(out *StorageAttachmentList)

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

func (*StorageAttachmentList) DeepCopyObject

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

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

func (*StorageAttachmentList) GetItems

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

GetItems of this StorageAttachmentList.

type StorageAttachmentObservation

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

func (*StorageAttachmentObservation) DeepCopy

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

func (*StorageAttachmentObservation) DeepCopyInto

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

type StorageAttachmentParameters

type StorageAttachmentParameters struct {

	// ID of the CVM instance.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/cvm/v1alpha1.Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// ID of the mounted CBS.
	// +crossplane:generate:reference:type=Storage
	// +kubebuilder:validation:Optional
	StorageID *string `json:"storageId,omitempty" tf:"storage_id,omitempty"`

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

	// +kubebuilder:validation:Optional
	StorageIDSelector *v1.Selector `json:"storageIdSelector,omitempty" tf:"-"`
}

func (*StorageAttachmentParameters) DeepCopy

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

func (*StorageAttachmentParameters) DeepCopyInto

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

type StorageAttachmentSpec

type StorageAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StorageAttachmentParameters `json:"forProvider"`
}

StorageAttachmentSpec defines the desired state of StorageAttachment

func (*StorageAttachmentSpec) DeepCopy

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

func (*StorageAttachmentSpec) DeepCopyInto

func (in *StorageAttachmentSpec) DeepCopyInto(out *StorageAttachmentSpec)

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

type StorageAttachmentStatus

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

StorageAttachmentStatus defines the observed state of StorageAttachment.

func (*StorageAttachmentStatus) DeepCopy

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

func (*StorageAttachmentStatus) DeepCopyInto

func (in *StorageAttachmentStatus) DeepCopyInto(out *StorageAttachmentStatus)

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

type StorageList

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

StorageList contains a list of Storages

func (*StorageList) DeepCopy

func (in *StorageList) DeepCopy() *StorageList

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

func (*StorageList) DeepCopyInto

func (in *StorageList) DeepCopyInto(out *StorageList)

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

func (*StorageList) DeepCopyObject

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

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

func (*StorageList) GetItems

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

GetItems of this StorageList.

type StorageObservation

type StorageObservation struct {
	Attached *bool `json:"attached,omitempty" tf:"attached,omitempty"`

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

	StorageStatus *string `json:"storageStatus,omitempty" tf:"storage_status,omitempty"`
}

func (*StorageObservation) DeepCopy

func (in *StorageObservation) DeepCopy() *StorageObservation

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

func (*StorageObservation) DeepCopyInto

func (in *StorageObservation) DeepCopyInto(out *StorageObservation)

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

type StorageParameters

type StorageParameters struct {

	// The available zone that the CBS instance locates at.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// The quota of backup points of cloud disk.
	// +kubebuilder:validation:Optional
	DiskBackupQuota *float64 `json:"diskBackupQuota,omitempty" tf:"disk_backup_quota,omitempty"`

	// Indicates whether CBS is encrypted.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin.
	// +kubebuilder:validation:Optional
	ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"`

	// The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
	// +kubebuilder:validation:Optional
	PrepaidPeriod *float64 `json:"prepaidPeriod,omitempty" tf:"prepaid_period,omitempty"`

	// Auto Renewal flag. Value range: `NOTIFY_AND_AUTO_RENEW`: Notify expiry and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Neither notify expiry nor renew automatically. Default value range: `NOTIFY_AND_MANUAL_RENEW`: Notify expiry but do not renew automatically. NOTE: it only works when charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	PrepaidRenewFlag *string `json:"prepaidRenewFlag,omitempty" tf:"prepaid_renew_flag,omitempty"`

	// ID of the project to which the instance belongs.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// ID of the snapshot. If specified, created the CBS by this snapshot.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Name of CBS. The maximum length can not exceed 60 bytes.
	// +kubebuilder:validation:Required
	StorageName *string `json:"storageName" tf:"storage_name,omitempty"`

	// Volume of CBS, and unit is GB.
	// +kubebuilder:validation:Required
	StorageSize *float64 `json:"storageSize" tf:"storage_size,omitempty"`

	// Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	// +kubebuilder:validation:Required
	StorageType *string `json:"storageType" tf:"storage_type,omitempty"`

	// The available tags within this CBS.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	// +kubebuilder:validation:Optional
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*StorageParameters) DeepCopy

func (in *StorageParameters) DeepCopy() *StorageParameters

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

func (*StorageParameters) DeepCopyInto

func (in *StorageParameters) DeepCopyInto(out *StorageParameters)

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

type StorageSet

type StorageSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageSetSpec   `json:"spec"`
	Status            StorageSetStatus `json:"status,omitempty"`
}

StorageSet is the Schema for the StorageSets 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 (*StorageSet) DeepCopy

func (in *StorageSet) DeepCopy() *StorageSet

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

func (*StorageSet) DeepCopyInto

func (in *StorageSet) DeepCopyInto(out *StorageSet)

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

func (*StorageSet) DeepCopyObject

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

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

func (*StorageSet) GetCondition

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

GetCondition of this StorageSet.

func (*StorageSet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this StorageSet

func (*StorageSet) GetDeletionPolicy

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

GetDeletionPolicy of this StorageSet.

func (*StorageSet) GetID

func (tr *StorageSet) GetID() string

GetID returns ID of underlying Terraform resource of this StorageSet

func (*StorageSet) GetObservation

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

GetObservation of this StorageSet

func (*StorageSet) GetParameters

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

GetParameters of this StorageSet

func (*StorageSet) GetProviderConfigReference

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

GetProviderConfigReference of this StorageSet.

func (*StorageSet) GetProviderReference

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

GetProviderReference of this StorageSet. Deprecated: Use GetProviderConfigReference.

func (*StorageSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this StorageSet.

func (*StorageSet) GetTerraformResourceType

func (mg *StorageSet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StorageSet

func (*StorageSet) GetTerraformSchemaVersion

func (tr *StorageSet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StorageSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StorageSet.

func (*StorageSet) LateInitialize

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

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

func (*StorageSet) SetConditions

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

SetConditions of this StorageSet.

func (*StorageSet) SetDeletionPolicy

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

SetDeletionPolicy of this StorageSet.

func (*StorageSet) SetObservation

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

SetObservation for this StorageSet

func (*StorageSet) SetParameters

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

SetParameters for this StorageSet

func (*StorageSet) SetProviderConfigReference

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

SetProviderConfigReference of this StorageSet.

func (*StorageSet) SetProviderReference

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

SetProviderReference of this StorageSet. Deprecated: Use SetProviderConfigReference.

func (*StorageSet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this StorageSet.

func (*StorageSet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this StorageSet.

type StorageSetList

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

StorageSetList contains a list of StorageSets

func (*StorageSetList) DeepCopy

func (in *StorageSetList) DeepCopy() *StorageSetList

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

func (*StorageSetList) DeepCopyInto

func (in *StorageSetList) DeepCopyInto(out *StorageSetList)

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

func (*StorageSetList) DeepCopyObject

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

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

func (*StorageSetList) GetItems

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

GetItems of this StorageSetList.

type StorageSetObservation

type StorageSetObservation struct {
	Attached *bool `json:"attached,omitempty" tf:"attached,omitempty"`

	DiskIds []*string `json:"diskIds,omitempty" tf:"disk_ids,omitempty"`

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

	StorageStatus *string `json:"storageStatus,omitempty" tf:"storage_status,omitempty"`
}

func (*StorageSetObservation) DeepCopy

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

func (*StorageSetObservation) DeepCopyInto

func (in *StorageSetObservation) DeepCopyInto(out *StorageSetObservation)

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

type StorageSetParameters

type StorageSetParameters struct {

	// The available zone that the CBS instance locates at.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// The charge type of CBS instance. Only support `POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"`

	// The number of disks to be purchased. Default 1.
	// +kubebuilder:validation:Optional
	DiskCount *float64 `json:"diskCount,omitempty" tf:"disk_count,omitempty"`

	// Indicates whether CBS is encrypted.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// ID of the project to which the instance belongs.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// ID of the snapshot. If specified, created the CBS by this snapshot.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Name of CBS. The maximum length can not exceed 60 bytes.
	// +kubebuilder:validation:Required
	StorageName *string `json:"storageName" tf:"storage_name,omitempty"`

	// Volume of CBS, and unit is GB.
	// +kubebuilder:validation:Required
	StorageSize *float64 `json:"storageSize" tf:"storage_size,omitempty"`

	// Type of CBS medium. Valid values: CLOUD_BASIC: HDD cloud disk, CLOUD_PREMIUM: Premium Cloud Storage, CLOUD_BSSD: General Purpose SSD, CLOUD_SSD: SSD, CLOUD_HSSD: Enhanced SSD, CLOUD_TSSD: Tremendous SSD.
	// +kubebuilder:validation:Required
	StorageType *string `json:"storageType" tf:"storage_type,omitempty"`

	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD`.
	// +kubebuilder:validation:Optional
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*StorageSetParameters) DeepCopy

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

func (*StorageSetParameters) DeepCopyInto

func (in *StorageSetParameters) DeepCopyInto(out *StorageSetParameters)

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

type StorageSetSpec

type StorageSetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StorageSetParameters `json:"forProvider"`
}

StorageSetSpec defines the desired state of StorageSet

func (*StorageSetSpec) DeepCopy

func (in *StorageSetSpec) DeepCopy() *StorageSetSpec

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

func (*StorageSetSpec) DeepCopyInto

func (in *StorageSetSpec) DeepCopyInto(out *StorageSetSpec)

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

type StorageSetStatus

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

StorageSetStatus defines the observed state of StorageSet.

func (*StorageSetStatus) DeepCopy

func (in *StorageSetStatus) DeepCopy() *StorageSetStatus

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

func (*StorageSetStatus) DeepCopyInto

func (in *StorageSetStatus) DeepCopyInto(out *StorageSetStatus)

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

type StorageSpec

type StorageSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StorageParameters `json:"forProvider"`
}

StorageSpec defines the desired state of Storage

func (*StorageSpec) DeepCopy

func (in *StorageSpec) DeepCopy() *StorageSpec

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

func (*StorageSpec) DeepCopyInto

func (in *StorageSpec) DeepCopyInto(out *StorageSpec)

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

type StorageStatus

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

StorageStatus defines the observed state of Storage.

func (*StorageStatus) DeepCopy

func (in *StorageStatus) DeepCopy() *StorageStatus

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

func (*StorageStatus) DeepCopyInto

func (in *StorageStatus) DeepCopyInto(out *StorageStatus)

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