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=cfs.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AccessGroup_Kind             = "AccessGroup"
	AccessGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccessGroup_Kind}.String()
	AccessGroup_KindAPIVersion   = AccessGroup_Kind + "." + CRDGroupVersion.String()
	AccessGroup_GroupVersionKind = CRDGroupVersion.WithKind(AccessGroup_Kind)
)

Repository type metadata.

View Source
var (
	AccessRule_Kind             = "AccessRule"
	AccessRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccessRule_Kind}.String()
	AccessRule_KindAPIVersion   = AccessRule_Kind + "." + CRDGroupVersion.String()
	AccessRule_GroupVersionKind = CRDGroupVersion.WithKind(AccessRule_Kind)
)

Repository type metadata.

View Source
var (
	FileSystem_Kind             = "FileSystem"
	FileSystem_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FileSystem_Kind}.String()
	FileSystem_KindAPIVersion   = FileSystem_Kind + "." + CRDGroupVersion.String()
	FileSystem_GroupVersionKind = CRDGroupVersion.WithKind(FileSystem_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AccessGroup

type AccessGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessGroupSpec   `json:"spec"`
	Status            AccessGroupStatus `json:"status,omitempty"`
}

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

func (in *AccessGroup) DeepCopy() *AccessGroup

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

func (*AccessGroup) DeepCopyInto

func (in *AccessGroup) DeepCopyInto(out *AccessGroup)

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

func (*AccessGroup) DeepCopyObject

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

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

func (*AccessGroup) GetCondition

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

GetCondition of this AccessGroup.

func (*AccessGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccessGroup

func (*AccessGroup) GetDeletionPolicy

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

GetDeletionPolicy of this AccessGroup.

func (*AccessGroup) GetID

func (tr *AccessGroup) GetID() string

GetID returns ID of underlying Terraform resource of this AccessGroup

func (*AccessGroup) GetObservation

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

GetObservation of this AccessGroup

func (*AccessGroup) GetParameters

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

GetParameters of this AccessGroup

func (*AccessGroup) GetProviderConfigReference

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

GetProviderConfigReference of this AccessGroup.

func (*AccessGroup) GetProviderReference

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

GetProviderReference of this AccessGroup. Deprecated: Use GetProviderConfigReference.

func (*AccessGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccessGroup.

func (*AccessGroup) GetTerraformResourceType

func (mg *AccessGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccessGroup

func (*AccessGroup) GetTerraformSchemaVersion

func (tr *AccessGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccessGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccessGroup.

func (*AccessGroup) LateInitialize

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

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

func (*AccessGroup) SetConditions

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

SetConditions of this AccessGroup.

func (*AccessGroup) SetDeletionPolicy

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

SetDeletionPolicy of this AccessGroup.

func (*AccessGroup) SetObservation

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

SetObservation for this AccessGroup

func (*AccessGroup) SetParameters

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

SetParameters for this AccessGroup

func (*AccessGroup) SetProviderConfigReference

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

SetProviderConfigReference of this AccessGroup.

func (*AccessGroup) SetProviderReference

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

SetProviderReference of this AccessGroup. Deprecated: Use SetProviderConfigReference.

func (*AccessGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccessGroup.

func (*AccessGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccessGroup.

type AccessGroupList

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

AccessGroupList contains a list of AccessGroups

func (*AccessGroupList) DeepCopy

func (in *AccessGroupList) DeepCopy() *AccessGroupList

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

func (*AccessGroupList) DeepCopyInto

func (in *AccessGroupList) DeepCopyInto(out *AccessGroupList)

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

func (*AccessGroupList) DeepCopyObject

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

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

func (*AccessGroupList) GetItems

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

GetItems of this AccessGroupList.

type AccessGroupObservation

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

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

func (*AccessGroupObservation) DeepCopy

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

func (*AccessGroupObservation) DeepCopyInto

func (in *AccessGroupObservation) DeepCopyInto(out *AccessGroupObservation)

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

type AccessGroupParameters

type AccessGroupParameters struct {

	// Description of the access group, and max length is 255.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Name of the access group, and max length is 64.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*AccessGroupParameters) DeepCopy

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

func (*AccessGroupParameters) DeepCopyInto

func (in *AccessGroupParameters) DeepCopyInto(out *AccessGroupParameters)

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

type AccessGroupSpec

type AccessGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccessGroupParameters `json:"forProvider"`
}

AccessGroupSpec defines the desired state of AccessGroup

func (*AccessGroupSpec) DeepCopy

func (in *AccessGroupSpec) DeepCopy() *AccessGroupSpec

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

func (*AccessGroupSpec) DeepCopyInto

func (in *AccessGroupSpec) DeepCopyInto(out *AccessGroupSpec)

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

type AccessGroupStatus

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

AccessGroupStatus defines the observed state of AccessGroup.

func (*AccessGroupStatus) DeepCopy

func (in *AccessGroupStatus) DeepCopy() *AccessGroupStatus

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

func (*AccessGroupStatus) DeepCopyInto

func (in *AccessGroupStatus) DeepCopyInto(out *AccessGroupStatus)

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

type AccessRule

type AccessRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessRuleSpec   `json:"spec"`
	Status            AccessRuleStatus `json:"status,omitempty"`
}

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

func (in *AccessRule) DeepCopy() *AccessRule

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

func (*AccessRule) DeepCopyInto

func (in *AccessRule) DeepCopyInto(out *AccessRule)

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

func (*AccessRule) DeepCopyObject

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

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

func (*AccessRule) GetCondition

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

GetCondition of this AccessRule.

func (*AccessRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccessRule

func (*AccessRule) GetDeletionPolicy

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

GetDeletionPolicy of this AccessRule.

func (*AccessRule) GetID

func (tr *AccessRule) GetID() string

GetID returns ID of underlying Terraform resource of this AccessRule

func (*AccessRule) GetObservation

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

GetObservation of this AccessRule

func (*AccessRule) GetParameters

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

GetParameters of this AccessRule

func (*AccessRule) GetProviderConfigReference

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

GetProviderConfigReference of this AccessRule.

func (*AccessRule) GetProviderReference

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

GetProviderReference of this AccessRule. Deprecated: Use GetProviderConfigReference.

func (*AccessRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccessRule.

func (*AccessRule) GetTerraformResourceType

func (mg *AccessRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccessRule

func (*AccessRule) GetTerraformSchemaVersion

func (tr *AccessRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccessRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccessRule.

func (*AccessRule) LateInitialize

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

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

func (*AccessRule) ResolveReferences

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

ResolveReferences of this AccessRule.

func (*AccessRule) SetConditions

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

SetConditions of this AccessRule.

func (*AccessRule) SetDeletionPolicy

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

SetDeletionPolicy of this AccessRule.

func (*AccessRule) SetObservation

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

SetObservation for this AccessRule

func (*AccessRule) SetParameters

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

SetParameters for this AccessRule

func (*AccessRule) SetProviderConfigReference

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

SetProviderConfigReference of this AccessRule.

func (*AccessRule) SetProviderReference

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

SetProviderReference of this AccessRule. Deprecated: Use SetProviderConfigReference.

func (*AccessRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccessRule.

func (*AccessRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccessRule.

type AccessRuleList

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

AccessRuleList contains a list of AccessRules

func (*AccessRuleList) DeepCopy

func (in *AccessRuleList) DeepCopy() *AccessRuleList

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

func (*AccessRuleList) DeepCopyInto

func (in *AccessRuleList) DeepCopyInto(out *AccessRuleList)

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

func (*AccessRuleList) DeepCopyObject

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

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

func (*AccessRuleList) GetItems

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

GetItems of this AccessRuleList.

type AccessRuleObservation

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

func (*AccessRuleObservation) DeepCopy

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

func (*AccessRuleObservation) DeepCopyInto

func (in *AccessRuleObservation) DeepCopyInto(out *AccessRuleObservation)

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

type AccessRuleParameters

type AccessRuleParameters struct {

	// ID of a access group.
	// +crossplane:generate:reference:type=AccessGroup
	// +kubebuilder:validation:Optional
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

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

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

	// A single IP or a single IP address range such as 10.1.10.11 or 10.10.1.0/24 indicates that all IPs are allowed. Please note that the IP entered should be CVM's private IP.
	// +kubebuilder:validation:Required
	AuthClientIP *string `json:"authClientIp" tf:"auth_client_ip,omitempty"`

	// The priority level of rule. Valid value ranges: (1~100). `1` indicates the highest priority.
	// +kubebuilder:validation:Required
	Priority *float64 `json:"priority" tf:"priority,omitempty"`

	// Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`.
	// +kubebuilder:validation:Optional
	RwPermission *string `json:"rwPermission,omitempty" tf:"rw_permission,omitempty"`

	// The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`. and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission.
	// +kubebuilder:validation:Optional
	UserPermission *string `json:"userPermission,omitempty" tf:"user_permission,omitempty"`
}

func (*AccessRuleParameters) DeepCopy

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

func (*AccessRuleParameters) DeepCopyInto

func (in *AccessRuleParameters) DeepCopyInto(out *AccessRuleParameters)

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

type AccessRuleSpec

type AccessRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccessRuleParameters `json:"forProvider"`
}

AccessRuleSpec defines the desired state of AccessRule

func (*AccessRuleSpec) DeepCopy

func (in *AccessRuleSpec) DeepCopy() *AccessRuleSpec

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

func (*AccessRuleSpec) DeepCopyInto

func (in *AccessRuleSpec) DeepCopyInto(out *AccessRuleSpec)

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

type AccessRuleStatus

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

AccessRuleStatus defines the observed state of AccessRule.

func (*AccessRuleStatus) DeepCopy

func (in *AccessRuleStatus) DeepCopy() *AccessRuleStatus

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

func (*AccessRuleStatus) DeepCopyInto

func (in *AccessRuleStatus) DeepCopyInto(out *AccessRuleStatus)

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

type FileSystem

type FileSystem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FileSystemSpec   `json:"spec"`
	Status            FileSystemStatus `json:"status,omitempty"`
}

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

func (in *FileSystem) DeepCopy() *FileSystem

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

func (*FileSystem) DeepCopyInto

func (in *FileSystem) DeepCopyInto(out *FileSystem)

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

func (*FileSystem) DeepCopyObject

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

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

func (*FileSystem) GetCondition

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

GetCondition of this FileSystem.

func (*FileSystem) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FileSystem

func (*FileSystem) GetDeletionPolicy

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

GetDeletionPolicy of this FileSystem.

func (*FileSystem) GetID

func (tr *FileSystem) GetID() string

GetID returns ID of underlying Terraform resource of this FileSystem

func (*FileSystem) GetObservation

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

GetObservation of this FileSystem

func (*FileSystem) GetParameters

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

GetParameters of this FileSystem

func (*FileSystem) GetProviderConfigReference

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

GetProviderConfigReference of this FileSystem.

func (*FileSystem) GetProviderReference

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

GetProviderReference of this FileSystem. Deprecated: Use GetProviderConfigReference.

func (*FileSystem) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FileSystem.

func (*FileSystem) GetTerraformResourceType

func (mg *FileSystem) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FileSystem

func (*FileSystem) GetTerraformSchemaVersion

func (tr *FileSystem) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FileSystem) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FileSystem.

func (*FileSystem) LateInitialize

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

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

func (*FileSystem) ResolveReferences

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

ResolveReferences of this FileSystem.

func (*FileSystem) SetConditions

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

SetConditions of this FileSystem.

func (*FileSystem) SetDeletionPolicy

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

SetDeletionPolicy of this FileSystem.

func (*FileSystem) SetObservation

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

SetObservation for this FileSystem

func (*FileSystem) SetParameters

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

SetParameters for this FileSystem

func (*FileSystem) SetProviderConfigReference

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

SetProviderConfigReference of this FileSystem.

func (*FileSystem) SetProviderReference

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

SetProviderReference of this FileSystem. Deprecated: Use SetProviderConfigReference.

func (*FileSystem) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FileSystem.

func (*FileSystem) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FileSystem.

type FileSystemList

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

FileSystemList contains a list of FileSystems

func (*FileSystemList) DeepCopy

func (in *FileSystemList) DeepCopy() *FileSystemList

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

func (*FileSystemList) DeepCopyInto

func (in *FileSystemList) DeepCopyInto(out *FileSystemList)

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

func (*FileSystemList) DeepCopyObject

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

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

func (*FileSystemList) GetItems

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

GetItems of this FileSystemList.

type FileSystemObservation

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

	FsID *string `json:"fsId,omitempty" tf:"fs_id,omitempty"`

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

func (*FileSystemObservation) DeepCopy

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

func (*FileSystemObservation) DeepCopyInto

func (in *FileSystemObservation) DeepCopyInto(out *FileSystemObservation)

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

type FileSystemParameters

type FileSystemParameters struct {

	// ID of a access group.
	// +crossplane:generate:reference:type=AccessGroup
	// +kubebuilder:validation:Optional
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

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

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

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

	// File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
	// +kubebuilder:validation:Optional
	Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"`

	// CCN instance ID (required if the network type is CCN).
	// +kubebuilder:validation:Optional
	CcnID *string `json:"ccnId,omitempty" tf:"ccn_id,omitempty"`

	// CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// IP of mount point.
	// +kubebuilder:validation:Optional
	MountIP *string `json:"mountIp,omitempty" tf:"mount_ip,omitempty"`

	// Name of a file system.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network type, Default `VPC`. Valid values: `VPC` and `CCN`. Select `VPC` for a Standard or High-Performance file system, and `CCN` for a Standard Turbo or High-Performance Turbo one.
	// +kubebuilder:validation:Optional
	NetInterface *string `json:"netInterface,omitempty" tf:"net_interface,omitempty"`

	// File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`.
	// +kubebuilder:validation:Optional
	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

	// ID of a subnet.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

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

	// ID of a VPC network.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

func (*FileSystemParameters) DeepCopy

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

func (*FileSystemParameters) DeepCopyInto

func (in *FileSystemParameters) DeepCopyInto(out *FileSystemParameters)

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

type FileSystemSpec

type FileSystemSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FileSystemParameters `json:"forProvider"`
}

FileSystemSpec defines the desired state of FileSystem

func (*FileSystemSpec) DeepCopy

func (in *FileSystemSpec) DeepCopy() *FileSystemSpec

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

func (*FileSystemSpec) DeepCopyInto

func (in *FileSystemSpec) DeepCopyInto(out *FileSystemSpec)

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

type FileSystemStatus

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

FileSystemStatus defines the observed state of FileSystem.

func (*FileSystemStatus) DeepCopy

func (in *FileSystemStatus) DeepCopy() *FileSystemStatus

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

func (*FileSystemStatus) DeepCopyInto

func (in *FileSystemStatus) DeepCopyInto(out *FileSystemStatus)

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