v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 14 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   AccessGroupSpec   `json:"spec"`
	Status AccessGroupStatus `json:"status,omitempty"`
}

AccessGroup is the Schema for the AccessGroups API. Provides a resource to create a CFS access group. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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

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

GetInitParameters of this AccessGroup

func (*AccessGroup) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this AccessGroup.

func (*AccessGroup) GetMergedParameters added in v0.8.1

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

GetInitParameters of this AccessGroup

func (*AccessGroup) GetObservation

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

GetObservation of this AccessGroup

func (*AccessGroup) GetParameters

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

GetParameters of this AccessGroup

func (*AccessGroup) GetProviderConfigReference

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

GetProviderConfigReference of this AccessGroup.

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

func (tr *AccessGroup) Hub()

Hub marks this type as a conversion hub.

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

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

SetManagementPolicies of this AccessGroup.

func (*AccessGroup) SetObservation

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

SetObservation for this AccessGroup

func (*AccessGroup) SetParameters

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

SetParameters for this AccessGroup

func (*AccessGroup) SetProviderConfigReference

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

SetProviderConfigReference of this AccessGroup.

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

type AccessGroupInitParameters struct {

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

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

func (*AccessGroupInitParameters) DeepCopy added in v0.8.0

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

func (*AccessGroupInitParameters) DeepCopyInto added in v0.8.0

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

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 {

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

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

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

	// Name of the access group, and max length is 64.
	// Name of the access group, and max length is 64.
	Name *string `json:"name,omitempty" tf:"name,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.
	// 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.
	// Name of the access group, and max length is 64.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AccessGroupInitParameters `json:"initProvider,omitempty"`
}

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

AccessRule is the Schema for the AccessRules API. Provides a resource to create a CFS access rule. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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

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

GetInitParameters of this AccessRule

func (*AccessRule) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this AccessRule.

func (*AccessRule) GetMergedParameters added in v0.8.1

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

GetInitParameters of this AccessRule

func (*AccessRule) GetObservation

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

GetObservation of this AccessRule

func (*AccessRule) GetParameters

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

GetParameters of this AccessRule

func (*AccessRule) GetProviderConfigReference

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

GetProviderConfigReference of this AccessRule.

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

func (tr *AccessRule) Hub()

Hub marks this type as a conversion hub.

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

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

SetManagementPolicies of this AccessRule.

func (*AccessRule) SetObservation

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

SetObservation for this AccessRule

func (*AccessRule) SetParameters

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

SetParameters for this AccessRule

func (*AccessRule) SetProviderConfigReference

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

SetProviderConfigReference of this AccessRule.

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

type AccessRuleInitParameters struct {

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

	// Reference to a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDRef *v1.Reference `json:"accessGroupIdRef,omitempty" tf:"-"`

	// Selector for a AccessGroup to populate accessGroupId.
	// +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.
	// 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.
	AuthClientIP *string `json:"authClientIp,omitempty" tf:"auth_client_ip,omitempty"`

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

	// Read and write permissions. Valid values are RO and RW. and default is RO.
	// Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`.
	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.
	// 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.
	UserPermission *string `json:"userPermission,omitempty" tf:"user_permission,omitempty"`
}

func (*AccessRuleInitParameters) DeepCopy added in v0.8.0

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

func (*AccessRuleInitParameters) DeepCopyInto added in v0.8.0

func (in *AccessRuleInitParameters) DeepCopyInto(out *AccessRuleInitParameters)

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

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 of a access group.
	// ID of a access group.
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

	// 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.
	// 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.
	AuthClientIP *string `json:"authClientIp,omitempty" tf:"auth_client_ip,omitempty"`

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

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

	// Read and write permissions. Valid values are RO and RW. and default is RO.
	// Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`.
	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.
	// 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.
	UserPermission *string `json:"userPermission,omitempty" tf:"user_permission,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.
	// ID of a access group.
	// +crossplane:generate:reference:type=AccessGroup
	// +kubebuilder:validation:Optional
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

	// Reference to a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDRef *v1.Reference `json:"accessGroupIdRef,omitempty" tf:"-"`

	// Selector for a AccessGroup to populate accessGroupId.
	// +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.
	// 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:Optional
	AuthClientIP *string `json:"authClientIp,omitempty" tf:"auth_client_ip,omitempty"`

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

	// Read and write permissions. Valid values are RO and RW. and default is RO.
	// 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.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AccessRuleInitParameters `json:"initProvider,omitempty"`
}

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

FileSystem is the Schema for the FileSystems API. Provides a resource to create a cloud file system(CFS). +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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

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

GetInitParameters of this FileSystem

func (*FileSystem) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this FileSystem.

func (*FileSystem) GetMergedParameters added in v0.8.1

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

GetInitParameters of this FileSystem

func (*FileSystem) GetObservation

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

GetObservation of this FileSystem

func (*FileSystem) GetParameters

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

GetParameters of this FileSystem

func (*FileSystem) GetProviderConfigReference

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

GetProviderConfigReference of this FileSystem.

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

func (tr *FileSystem) Hub()

Hub marks this type as a conversion hub.

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

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

SetManagementPolicies of this FileSystem.

func (*FileSystem) SetObservation

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

SetObservation for this FileSystem

func (*FileSystem) SetParameters

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

SetParameters for this FileSystem

func (*FileSystem) SetProviderConfigReference

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

SetProviderConfigReference of this FileSystem.

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

type FileSystemInitParameters struct {

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

	// Reference to a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDRef *v1.Reference `json:"accessGroupIdRef,omitempty" tf:"-"`

	// Selector for a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDSelector *v1.Selector `json:"accessGroupIdSelector,omitempty" tf:"-"`

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

	// File system capacity, in GiB . 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).
	// 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).
	Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"`

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

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

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

	// Name of a file system.
	// Name of a file system.
	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.
	// 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.
	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.
	// 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`.
	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.
	// Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`.
	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

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

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

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

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

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*FileSystemInitParameters) DeepCopy added in v0.8.0

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

func (*FileSystemInitParameters) DeepCopyInto added in v0.8.0

func (in *FileSystemInitParameters) DeepCopyInto(out *FileSystemInitParameters)

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

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 {

	// ID of a access group.
	// ID of a access group.
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

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

	// File system capacity, in GiB . 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).
	// 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).
	Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"`

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

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

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

	// Mount root-directory.
	// Mount root-directory.
	FsID *string `json:"fsId,omitempty" tf:"fs_id,omitempty"`

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

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

	// Name of a file system.
	// Name of a file system.
	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.
	// 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.
	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.
	// 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`.
	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.
	// Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`.
	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

	// ID of a subnet.
	// ID of a subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

	// ID of a VPC network.
	// ID of a VPC network.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_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.
	// ID of a access group.
	// +crossplane:generate:reference:type=AccessGroup
	// +kubebuilder:validation:Optional
	AccessGroupID *string `json:"accessGroupId,omitempty" tf:"access_group_id,omitempty"`

	// Reference to a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDRef *v1.Reference `json:"accessGroupIdRef,omitempty" tf:"-"`

	// Selector for a AccessGroup to populate accessGroupId.
	// +kubebuilder:validation:Optional
	AccessGroupIDSelector *v1.Selector `json:"accessGroupIdSelector,omitempty" tf:"-"`

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

	// File system capacity, in GiB . 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).
	// 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 .
	// 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 , which cannot conflict with other IP ranges bound in CCN.
	// 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.
	// IP of mount point.
	// +kubebuilder:validation:Optional
	MountIP *string `json:"mountIp,omitempty" tf:"mount_ip,omitempty"`

	// Name of a file system.
	// 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.
	// 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.
	// 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.
	// 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.
	// 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"`

	// Reference to a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

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

	// ID of a VPC network.
	// 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"`

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider FileSystemInitParameters `json:"initProvider,omitempty"`
}

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