v1alpha1

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=iam.huaweicloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iam.huaweicloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	AccessKey_Kind             = "AccessKey"
	AccessKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccessKey_Kind}.String()
	AccessKey_KindAPIVersion   = AccessKey_Kind + "." + CRDGroupVersion.String()
	AccessKey_GroupVersionKind = CRDGroupVersion.WithKind(AccessKey_Kind)
)

Repository type metadata.

View Source
var (
	ACL_Kind             = "ACL"
	ACL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ACL_Kind}.String()
	ACL_KindAPIVersion   = ACL_Kind + "." + CRDGroupVersion.String()
	ACL_GroupVersionKind = CRDGroupVersion.WithKind(ACL_Kind)
)

Repository type metadata.

View Source
var (
	Agency_Kind             = "Agency"
	Agency_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Agency_Kind}.String()
	Agency_KindAPIVersion   = Agency_Kind + "." + CRDGroupVersion.String()
	Agency_GroupVersionKind = CRDGroupVersion.WithKind(Agency_Kind)
)

Repository type metadata.

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind)
)

Repository type metadata.

View Source
var (
	GroupMembership_Kind             = "GroupMembership"
	GroupMembership_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupMembership_Kind}.String()
	GroupMembership_KindAPIVersion   = GroupMembership_Kind + "." + CRDGroupVersion.String()
	GroupMembership_GroupVersionKind = CRDGroupVersion.WithKind(GroupMembership_Kind)
)

Repository type metadata.

View Source
var (
	GroupRoleAssignment_Kind             = "GroupRoleAssignment"
	GroupRoleAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupRoleAssignment_Kind}.String()
	GroupRoleAssignment_KindAPIVersion   = GroupRoleAssignment_Kind + "." + CRDGroupVersion.String()
	GroupRoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(GroupRoleAssignment_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LoginPolicy_Kind             = "LoginPolicy"
	LoginPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LoginPolicy_Kind}.String()
	LoginPolicy_KindAPIVersion   = LoginPolicy_Kind + "." + CRDGroupVersion.String()
	LoginPolicy_GroupVersionKind = CRDGroupVersion.WithKind(LoginPolicy_Kind)
)

Repository type metadata.

View Source
var (
	PasswordPolicy_Kind             = "PasswordPolicy"
	PasswordPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PasswordPolicy_Kind}.String()
	PasswordPolicy_KindAPIVersion   = PasswordPolicy_Kind + "." + CRDGroupVersion.String()
	PasswordPolicy_GroupVersionKind = CRDGroupVersion.WithKind(PasswordPolicy_Kind)
)

Repository type metadata.

View Source
var (
	Project_Kind             = "Project"
	Project_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Project_Kind}.String()
	Project_KindAPIVersion   = Project_Kind + "." + CRDGroupVersion.String()
	Project_GroupVersionKind = CRDGroupVersion.WithKind(Project_Kind)
)

Repository type metadata.

View Source
var (
	ProtectionPolicy_Kind             = "ProtectionPolicy"
	ProtectionPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProtectionPolicy_Kind}.String()
	ProtectionPolicy_KindAPIVersion   = ProtectionPolicy_Kind + "." + CRDGroupVersion.String()
	ProtectionPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionPolicy_Kind)
)

Repository type metadata.

View Source
var (
	Provider_Kind             = "Provider"
	Provider_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Provider_Kind}.String()
	Provider_KindAPIVersion   = Provider_Kind + "." + CRDGroupVersion.String()
	Provider_GroupVersionKind = CRDGroupVersion.WithKind(Provider_Kind)
)

Repository type metadata.

View Source
var (
	ProviderConversion_Kind             = "ProviderConversion"
	ProviderConversion_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProviderConversion_Kind}.String()
	ProviderConversion_KindAPIVersion   = ProviderConversion_Kind + "." + CRDGroupVersion.String()
	ProviderConversion_GroupVersionKind = CRDGroupVersion.WithKind(ProviderConversion_Kind)
)

Repository type metadata.

View Source
var (
	Role_Kind             = "Role"
	Role_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String()
	Role_KindAPIVersion   = Role_Kind + "." + CRDGroupVersion.String()
	Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind)
)

Repository type metadata.

View Source
var (
	RoleAssignment_Kind             = "RoleAssignment"
	RoleAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignment_Kind}.String()
	RoleAssignment_KindAPIVersion   = RoleAssignment_Kind + "." + CRDGroupVersion.String()
	RoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignment_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

View Source
var (
	UserRoleAssignment_Kind             = "UserRoleAssignment"
	UserRoleAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UserRoleAssignment_Kind}.String()
	UserRoleAssignment_KindAPIVersion   = UserRoleAssignment_Kind + "." + CRDGroupVersion.String()
	UserRoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(UserRoleAssignment_Kind)
)

Repository type metadata.

View Source
var (
	UserToken_Kind             = "UserToken"
	UserToken_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UserToken_Kind}.String()
	UserToken_KindAPIVersion   = UserToken_Kind + "." + CRDGroupVersion.String()
	UserToken_GroupVersionKind = CRDGroupVersion.WithKind(UserToken_Kind)
)

Repository type metadata.

View Source
var (
	VirtualMfaDevice_Kind             = "VirtualMfaDevice"
	VirtualMfaDevice_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VirtualMfaDevice_Kind}.String()
	VirtualMfaDevice_KindAPIVersion   = VirtualMfaDevice_Kind + "." + CRDGroupVersion.String()
	VirtualMfaDevice_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMfaDevice_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ACL

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

ACL is the Schema for the ACLs API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*ACL) DeepCopy

func (in *ACL) DeepCopy() *ACL

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

func (*ACL) DeepCopyInto

func (in *ACL) DeepCopyInto(out *ACL)

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

func (*ACL) DeepCopyObject

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

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

func (*ACL) GetCondition

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

GetCondition of this ACL.

func (*ACL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ACL

func (*ACL) GetDeletionPolicy

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

GetDeletionPolicy of this ACL.

func (*ACL) GetID

func (tr *ACL) GetID() string

GetID returns ID of underlying Terraform resource of this ACL

func (*ACL) GetInitParameters

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

GetInitParameters of this ACL

func (*ACL) GetManagementPolicies

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

GetManagementPolicies of this ACL.

func (*ACL) GetMergedParameters

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

GetInitParameters of this ACL

func (*ACL) GetObservation

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

GetObservation of this ACL

func (*ACL) GetParameters

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

GetParameters of this ACL

func (*ACL) GetProviderConfigReference

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

GetProviderConfigReference of this ACL.

func (*ACL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ACL.

func (*ACL) GetTerraformResourceType

func (mg *ACL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ACL

func (*ACL) GetTerraformSchemaVersion

func (tr *ACL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ACL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ACL.

func (*ACL) Hub

func (tr *ACL) Hub()

Hub marks this type as a conversion hub.

func (*ACL) LateInitialize

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

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

func (*ACL) SetConditions

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

SetConditions of this ACL.

func (*ACL) SetDeletionPolicy

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

SetDeletionPolicy of this ACL.

func (*ACL) SetManagementPolicies

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

SetManagementPolicies of this ACL.

func (*ACL) SetObservation

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

SetObservation for this ACL

func (*ACL) SetParameters

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

SetParameters for this ACL

func (*ACL) SetProviderConfigReference

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

SetProviderConfigReference of this ACL.

func (*ACL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ACL.

func (*ACL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ACL.

type ACLInitParameters

type ACLInitParameters struct {

	// Specifies the IPv4 CIDR blocks from which console access or api access is allowed.
	// The ip_cidrs cannot repeat. The object structure is documented below.
	IPCidrs []IPCidrsInitParameters `json:"ipCidrs,omitempty" tf:"ip_cidrs,omitempty"`

	// Specifies the IP address ranges from which console access or api access is allowed.
	// The ip_ranges cannot repeat. The object structure is documented below.
	IPRanges []IPRangesInitParameters `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// Specifies the ACL is created through the Console or API.
	// Valid values are console and api. Changing this parameter will create a new ACL.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ACLInitParameters) DeepCopy

func (in *ACLInitParameters) DeepCopy() *ACLInitParameters

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

func (*ACLInitParameters) DeepCopyInto

func (in *ACLInitParameters) DeepCopyInto(out *ACLInitParameters)

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

type ACLList

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

ACLList contains a list of ACLs

func (*ACLList) DeepCopy

func (in *ACLList) DeepCopy() *ACLList

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

func (*ACLList) DeepCopyInto

func (in *ACLList) DeepCopyInto(out *ACLList)

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

func (*ACLList) DeepCopyObject

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

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

func (*ACLList) GetItems

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

GetItems of this ACLList.

type ACLObservation

type ACLObservation struct {

	// The ID of identity ACL.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the IPv4 CIDR blocks from which console access or api access is allowed.
	// The ip_cidrs cannot repeat. The object structure is documented below.
	IPCidrs []IPCidrsObservation `json:"ipCidrs,omitempty" tf:"ip_cidrs,omitempty"`

	// Specifies the IP address ranges from which console access or api access is allowed.
	// The ip_ranges cannot repeat. The object structure is documented below.
	IPRanges []IPRangesObservation `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// Specifies the ACL is created through the Console or API.
	// Valid values are console and api. Changing this parameter will create a new ACL.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ACLObservation) DeepCopy

func (in *ACLObservation) DeepCopy() *ACLObservation

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

func (*ACLObservation) DeepCopyInto

func (in *ACLObservation) DeepCopyInto(out *ACLObservation)

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

type ACLParameters

type ACLParameters struct {

	// Specifies the IPv4 CIDR blocks from which console access or api access is allowed.
	// The ip_cidrs cannot repeat. The object structure is documented below.
	// +kubebuilder:validation:Optional
	IPCidrs []IPCidrsParameters `json:"ipCidrs,omitempty" tf:"ip_cidrs,omitempty"`

	// Specifies the IP address ranges from which console access or api access is allowed.
	// The ip_ranges cannot repeat. The object structure is documented below.
	// +kubebuilder:validation:Optional
	IPRanges []IPRangesParameters `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// Specifies the ACL is created through the Console or API.
	// Valid values are console and api. Changing this parameter will create a new ACL.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ACLParameters) DeepCopy

func (in *ACLParameters) DeepCopy() *ACLParameters

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

func (*ACLParameters) DeepCopyInto

func (in *ACLParameters) DeepCopyInto(out *ACLParameters)

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

type ACLSpec

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

ACLSpec defines the desired state of ACL

func (*ACLSpec) DeepCopy

func (in *ACLSpec) DeepCopy() *ACLSpec

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

func (*ACLSpec) DeepCopyInto

func (in *ACLSpec) DeepCopyInto(out *ACLSpec)

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

type ACLStatus

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

ACLStatus defines the observed state of ACL.

func (*ACLStatus) DeepCopy

func (in *ACLStatus) DeepCopy() *ACLStatus

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

func (*ACLStatus) DeepCopyInto

func (in *ACLStatus) DeepCopyInto(out *ACLStatus)

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

type AccessConfigInitParameters

type AccessConfigInitParameters struct {

	// Specifies the access type of the identity provider.
	// Available options are:
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Specifies the authorization endpoint of the OpenID Connect identity
	// provider. This field is required only if the access type is set to program_console.
	AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty" tf:"authorization_endpoint,omitempty"`

	// Specifies the ID of a client registered with the OpenID Connect identity provider.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Specifies the URL of the identity provider.
	// This field corresponds to the iss field in the ID token.
	ProviderURL *string `json:"providerUrl,omitempty" tf:"provider_url,omitempty"`

	// Response mode.
	// Valid values is form_post and fragment, default value is form_post.
	// This field is required only if the access type is set to program_console.
	ResponseMode *string `json:"responseMode,omitempty" tf:"response_mode,omitempty"`

	// Response type. Valid values is id_token, default value is id_token.
	// This field is required only if the access type is set to program_console.
	ResponseType *string `json:"responseType,omitempty" tf:"response_type,omitempty"`

	// Specifies the scopes of authorization requests. It is an array of one or more scopes.
	// Valid values are openid, email, profile and other values defined by you.
	// This field is required only if the access type is set to program_console.
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	// Public key used to sign the ID token of the OpenID Connect identity provider.
	// This field is required only if the protocol is set to oidc.
	SigningKey *string `json:"signingKey,omitempty" tf:"signing_key,omitempty"`
}

func (*AccessConfigInitParameters) DeepCopy

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

func (*AccessConfigInitParameters) DeepCopyInto

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

type AccessConfigObservation

type AccessConfigObservation struct {

	// Specifies the access type of the identity provider.
	// Available options are:
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Specifies the authorization endpoint of the OpenID Connect identity
	// provider. This field is required only if the access type is set to program_console.
	AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty" tf:"authorization_endpoint,omitempty"`

	// Specifies the ID of a client registered with the OpenID Connect identity provider.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Specifies the URL of the identity provider.
	// This field corresponds to the iss field in the ID token.
	ProviderURL *string `json:"providerUrl,omitempty" tf:"provider_url,omitempty"`

	// Response mode.
	// Valid values is form_post and fragment, default value is form_post.
	// This field is required only if the access type is set to program_console.
	ResponseMode *string `json:"responseMode,omitempty" tf:"response_mode,omitempty"`

	// Response type. Valid values is id_token, default value is id_token.
	// This field is required only if the access type is set to program_console.
	ResponseType *string `json:"responseType,omitempty" tf:"response_type,omitempty"`

	// Specifies the scopes of authorization requests. It is an array of one or more scopes.
	// Valid values are openid, email, profile and other values defined by you.
	// This field is required only if the access type is set to program_console.
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	// Public key used to sign the ID token of the OpenID Connect identity provider.
	// This field is required only if the protocol is set to oidc.
	SigningKey *string `json:"signingKey,omitempty" tf:"signing_key,omitempty"`
}

func (*AccessConfigObservation) DeepCopy

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

func (*AccessConfigObservation) DeepCopyInto

func (in *AccessConfigObservation) DeepCopyInto(out *AccessConfigObservation)

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

type AccessConfigParameters

type AccessConfigParameters struct {

	// Specifies the access type of the identity provider.
	// Available options are:
	// +kubebuilder:validation:Optional
	AccessType *string `json:"accessType" tf:"access_type,omitempty"`

	// Specifies the authorization endpoint of the OpenID Connect identity
	// provider. This field is required only if the access type is set to program_console.
	// +kubebuilder:validation:Optional
	AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty" tf:"authorization_endpoint,omitempty"`

	// Specifies the ID of a client registered with the OpenID Connect identity provider.
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId" tf:"client_id,omitempty"`

	// Specifies the URL of the identity provider.
	// This field corresponds to the iss field in the ID token.
	// +kubebuilder:validation:Optional
	ProviderURL *string `json:"providerUrl" tf:"provider_url,omitempty"`

	// Response mode.
	// Valid values is form_post and fragment, default value is form_post.
	// This field is required only if the access type is set to program_console.
	// +kubebuilder:validation:Optional
	ResponseMode *string `json:"responseMode,omitempty" tf:"response_mode,omitempty"`

	// Response type. Valid values is id_token, default value is id_token.
	// This field is required only if the access type is set to program_console.
	// +kubebuilder:validation:Optional
	ResponseType *string `json:"responseType,omitempty" tf:"response_type,omitempty"`

	// Specifies the scopes of authorization requests. It is an array of one or more scopes.
	// Valid values are openid, email, profile and other values defined by you.
	// This field is required only if the access type is set to program_console.
	// +kubebuilder:validation:Optional
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	// Public key used to sign the ID token of the OpenID Connect identity provider.
	// This field is required only if the protocol is set to oidc.
	// +kubebuilder:validation:Optional
	SigningKey *string `json:"signingKey" tf:"signing_key,omitempty"`
}

func (*AccessConfigParameters) DeepCopy

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

func (*AccessConfigParameters) DeepCopyInto

func (in *AccessConfigParameters) DeepCopyInto(out *AccessConfigParameters)

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

type AccessKey

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

AccessKey is the Schema for the AccessKeys API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*AccessKey) DeepCopy

func (in *AccessKey) DeepCopy() *AccessKey

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

func (*AccessKey) DeepCopyInto

func (in *AccessKey) DeepCopyInto(out *AccessKey)

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

func (*AccessKey) DeepCopyObject

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

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

func (*AccessKey) GetCondition

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

GetCondition of this AccessKey.

func (*AccessKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccessKey

func (*AccessKey) GetDeletionPolicy

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

GetDeletionPolicy of this AccessKey.

func (*AccessKey) GetID

func (tr *AccessKey) GetID() string

GetID returns ID of underlying Terraform resource of this AccessKey

func (*AccessKey) GetInitParameters

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

GetInitParameters of this AccessKey

func (*AccessKey) GetManagementPolicies

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

GetManagementPolicies of this AccessKey.

func (*AccessKey) GetMergedParameters

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

GetInitParameters of this AccessKey

func (*AccessKey) GetObservation

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

GetObservation of this AccessKey

func (*AccessKey) GetParameters

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

GetParameters of this AccessKey

func (*AccessKey) GetProviderConfigReference

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

GetProviderConfigReference of this AccessKey.

func (*AccessKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccessKey.

func (*AccessKey) GetTerraformResourceType

func (mg *AccessKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccessKey

func (*AccessKey) GetTerraformSchemaVersion

func (tr *AccessKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccessKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccessKey.

func (*AccessKey) Hub

func (tr *AccessKey) Hub()

Hub marks this type as a conversion hub.

func (*AccessKey) LateInitialize

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

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

func (*AccessKey) SetConditions

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

SetConditions of this AccessKey.

func (*AccessKey) SetDeletionPolicy

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

SetDeletionPolicy of this AccessKey.

func (*AccessKey) SetManagementPolicies

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

SetManagementPolicies of this AccessKey.

func (*AccessKey) SetObservation

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

SetObservation for this AccessKey

func (*AccessKey) SetParameters

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

SetParameters for this AccessKey

func (*AccessKey) SetProviderConfigReference

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

SetProviderConfigReference of this AccessKey.

func (*AccessKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccessKey.

func (*AccessKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccessKey.

type AccessKeyInitParameters

type AccessKeyInitParameters struct {

	// Specifies the description of the access key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Either a base-64 encoded PGP public key, or a keybase username in the form
	// keybase:some_person_that_exists. Changing this creates a new resource.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// Specifies the file name that can save access key and access secret key.
	// Defaults to ./credentials-{{user name}}.csv. Changing this creates a new resource.
	SecretFile *string `json:"secretFile,omitempty" tf:"secret_file,omitempty"`

	// Specifies the status of the access key. It must be active or inactive. Default value
	// is active.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specifies the ID of the user who is requesting to create an access key.
	// Changing this creates a new resource.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*AccessKeyInitParameters) DeepCopy

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

func (*AccessKeyInitParameters) DeepCopyInto

func (in *AccessKeyInitParameters) DeepCopyInto(out *AccessKeyInitParameters)

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

type AccessKeyList

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

AccessKeyList contains a list of AccessKeys

func (*AccessKeyList) DeepCopy

func (in *AccessKeyList) DeepCopy() *AccessKeyList

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

func (*AccessKeyList) DeepCopyInto

func (in *AccessKeyList) DeepCopyInto(out *AccessKeyList)

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

func (*AccessKeyList) DeepCopyObject

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

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

func (*AccessKeyList) GetItems

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

GetItems of this AccessKeyList.

type AccessKeyObservation

type AccessKeyObservation struct {

	// The time when the access key was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Specifies the description of the access key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The encrypted secret, base64 encoded.
	EncryptedSecret *string `json:"encryptedSecret,omitempty" tf:"encrypted_secret,omitempty"`

	// The access key ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The fingerprint of the PGP key used to encrypt the secret
	KeyFingerprint *string `json:"keyFingerprint,omitempty" tf:"key_fingerprint,omitempty"`

	// Either a base-64 encoded PGP public key, or a keybase username in the form
	// keybase:some_person_that_exists. Changing this creates a new resource.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// Specifies the file name that can save access key and access secret key.
	// Defaults to ./credentials-{{user name}}.csv. Changing this creates a new resource.
	SecretFile *string `json:"secretFile,omitempty" tf:"secret_file,omitempty"`

	// Specifies the status of the access key. It must be active or inactive. Default value
	// is active.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specifies the ID of the user who is requesting to create an access key.
	// Changing this creates a new resource.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// The name of IAM user.
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*AccessKeyObservation) DeepCopy

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

func (*AccessKeyObservation) DeepCopyInto

func (in *AccessKeyObservation) DeepCopyInto(out *AccessKeyObservation)

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

type AccessKeyParameters

type AccessKeyParameters struct {

	// Specifies the description of the access key.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Either a base-64 encoded PGP public key, or a keybase username in the form
	// keybase:some_person_that_exists. Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// Specifies the file name that can save access key and access secret key.
	// Defaults to ./credentials-{{user name}}.csv. Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	SecretFile *string `json:"secretFile,omitempty" tf:"secret_file,omitempty"`

	// Specifies the status of the access key. It must be active or inactive. Default value
	// is active.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specifies the ID of the user who is requesting to create an access key.
	// Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*AccessKeyParameters) DeepCopy

func (in *AccessKeyParameters) DeepCopy() *AccessKeyParameters

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

func (*AccessKeyParameters) DeepCopyInto

func (in *AccessKeyParameters) DeepCopyInto(out *AccessKeyParameters)

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

type AccessKeySpec

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

AccessKeySpec defines the desired state of AccessKey

func (*AccessKeySpec) DeepCopy

func (in *AccessKeySpec) DeepCopy() *AccessKeySpec

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

func (*AccessKeySpec) DeepCopyInto

func (in *AccessKeySpec) DeepCopyInto(out *AccessKeySpec)

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

type AccessKeyStatus

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

AccessKeyStatus defines the observed state of AccessKey.

func (*AccessKeyStatus) DeepCopy

func (in *AccessKeyStatus) DeepCopy() *AccessKeyStatus

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

func (*AccessKeyStatus) DeepCopyInto

func (in *AccessKeyStatus) DeepCopyInto(out *AccessKeyStatus)

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

type Agency

type Agency 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   AgencySpec   `json:"spec"`
	Status AgencyStatus `json:"status,omitempty"`
}

Agency is the Schema for the Agencys API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*Agency) DeepCopy

func (in *Agency) DeepCopy() *Agency

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

func (*Agency) DeepCopyInto

func (in *Agency) DeepCopyInto(out *Agency)

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

func (*Agency) DeepCopyObject

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

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

func (*Agency) GetCondition

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

GetCondition of this Agency.

func (*Agency) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Agency

func (*Agency) GetDeletionPolicy

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

GetDeletionPolicy of this Agency.

func (*Agency) GetID

func (tr *Agency) GetID() string

GetID returns ID of underlying Terraform resource of this Agency

func (*Agency) GetInitParameters

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

GetInitParameters of this Agency

func (*Agency) GetManagementPolicies

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

GetManagementPolicies of this Agency.

func (*Agency) GetMergedParameters

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

GetInitParameters of this Agency

func (*Agency) GetObservation

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

GetObservation of this Agency

func (*Agency) GetParameters

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

GetParameters of this Agency

func (*Agency) GetProviderConfigReference

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

GetProviderConfigReference of this Agency.

func (*Agency) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Agency.

func (*Agency) GetTerraformResourceType

func (mg *Agency) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Agency

func (*Agency) GetTerraformSchemaVersion

func (tr *Agency) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Agency) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Agency.

func (*Agency) Hub

func (tr *Agency) Hub()

Hub marks this type as a conversion hub.

func (*Agency) LateInitialize

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

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

func (*Agency) SetConditions

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

SetConditions of this Agency.

func (*Agency) SetDeletionPolicy

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

SetDeletionPolicy of this Agency.

func (*Agency) SetManagementPolicies

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

SetManagementPolicies of this Agency.

func (*Agency) SetObservation

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

SetObservation for this Agency

func (*Agency) SetParameters

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

SetParameters for this Agency

func (*Agency) SetProviderConfigReference

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

SetProviderConfigReference of this Agency.

func (*Agency) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Agency.

func (*Agency) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Agency.

type AgencyInitParameters

type AgencyInitParameters struct {

	// Specifies an array of one or more role names which stand for the permissions
	// to be granted to agency on all resources, including those in enterprise projects, region-specific projects,
	// and global services under your account.
	// +listType=set
	AllResourcesRoles []*string `json:"allResourcesRoles,omitempty" tf:"all_resources_roles,omitempty"`

	// Specifies the name of delegated user domain.
	// schema: Required
	DelegatedDomainName *string `json:"delegatedDomainName,omitempty" tf:"delegated_domain_name,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	// schema: Internal
	DelegatedServiceName *string `json:"delegatedServiceName,omitempty" tf:"delegated_service_name,omitempty"`

	// Specifies the supplementary information about the agency. The value is a string of
	// 0 to 255 characters, excluding these characters: '@#$%^&*<>\'.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies an array of one or more role names which stand for the permissions to be
	// granted to agency on domain.
	// +listType=set
	DomainRoles []*string `json:"domainRoles,omitempty" tf:"domain_roles,omitempty"`

	// Specifies the validity period of an agency. The valid value are FOREVER, ONEDAY
	// or the specific days, for example, "20". The default value is FOREVER.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies an array of one or more roles and projects which are used to grant
	// permissions to agency on project. The structure is documented below.
	ProjectRole []ProjectRoleInitParameters `json:"projectRole,omitempty" tf:"project_role,omitempty"`
}

func (*AgencyInitParameters) DeepCopy

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

func (*AgencyInitParameters) DeepCopyInto

func (in *AgencyInitParameters) DeepCopyInto(out *AgencyInitParameters)

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

type AgencyList

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

AgencyList contains a list of Agencys

func (*AgencyList) DeepCopy

func (in *AgencyList) DeepCopy() *AgencyList

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

func (*AgencyList) DeepCopyInto

func (in *AgencyList) DeepCopyInto(out *AgencyList)

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

func (*AgencyList) DeepCopyObject

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

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

func (*AgencyList) GetItems

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

GetItems of this AgencyList.

type AgencyObservation

type AgencyObservation struct {

	// Specifies an array of one or more role names which stand for the permissions
	// to be granted to agency on all resources, including those in enterprise projects, region-specific projects,
	// and global services under your account.
	// +listType=set
	AllResourcesRoles []*string `json:"allResourcesRoles,omitempty" tf:"all_resources_roles,omitempty"`

	// The time when the agency was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Specifies the name of delegated user domain.
	// schema: Required
	DelegatedDomainName *string `json:"delegatedDomainName,omitempty" tf:"delegated_domain_name,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	// schema: Internal
	DelegatedServiceName *string `json:"delegatedServiceName,omitempty" tf:"delegated_service_name,omitempty"`

	// Specifies the supplementary information about the agency. The value is a string of
	// 0 to 255 characters, excluding these characters: '@#$%^&*<>\'.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies an array of one or more role names which stand for the permissions to be
	// granted to agency on domain.
	// +listType=set
	DomainRoles []*string `json:"domainRoles,omitempty" tf:"domain_roles,omitempty"`

	// Specifies the validity period of an agency. The valid value are FOREVER, ONEDAY
	// or the specific days, for example, "20". The default value is FOREVER.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// The expiration time of agency.
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"`

	// The agency ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies an array of one or more roles and projects which are used to grant
	// permissions to agency on project. The structure is documented below.
	ProjectRole []ProjectRoleObservation `json:"projectRole,omitempty" tf:"project_role,omitempty"`
}

func (*AgencyObservation) DeepCopy

func (in *AgencyObservation) DeepCopy() *AgencyObservation

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

func (*AgencyObservation) DeepCopyInto

func (in *AgencyObservation) DeepCopyInto(out *AgencyObservation)

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

type AgencyParameters

type AgencyParameters struct {

	// Specifies an array of one or more role names which stand for the permissions
	// to be granted to agency on all resources, including those in enterprise projects, region-specific projects,
	// and global services under your account.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllResourcesRoles []*string `json:"allResourcesRoles,omitempty" tf:"all_resources_roles,omitempty"`

	// Specifies the name of delegated user domain.
	// schema: Required
	// +kubebuilder:validation:Optional
	DelegatedDomainName *string `json:"delegatedDomainName,omitempty" tf:"delegated_domain_name,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	// schema: Internal
	// +kubebuilder:validation:Optional
	DelegatedServiceName *string `json:"delegatedServiceName,omitempty" tf:"delegated_service_name,omitempty"`

	// Specifies the supplementary information about the agency. The value is a string of
	// 0 to 255 characters, excluding these characters: '@#$%^&*<>\'.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies an array of one or more role names which stand for the permissions to be
	// granted to agency on domain.
	// +kubebuilder:validation:Optional
	// +listType=set
	DomainRoles []*string `json:"domainRoles,omitempty" tf:"domain_roles,omitempty"`

	// Specifies the validity period of an agency. The valid value are FOREVER, ONEDAY
	// or the specific days, for example, "20". The default value is FOREVER.
	// +kubebuilder:validation:Optional
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// Specifies the name of agency. The name is a string of 1 to 64 characters.
	// Changing this will create a new agency.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies an array of one or more roles and projects which are used to grant
	// permissions to agency on project. The structure is documented below.
	// +kubebuilder:validation:Optional
	ProjectRole []ProjectRoleParameters `json:"projectRole,omitempty" tf:"project_role,omitempty"`
}

func (*AgencyParameters) DeepCopy

func (in *AgencyParameters) DeepCopy() *AgencyParameters

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

func (*AgencyParameters) DeepCopyInto

func (in *AgencyParameters) DeepCopyInto(out *AgencyParameters)

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

type AgencySpec

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

AgencySpec defines the desired state of Agency

func (*AgencySpec) DeepCopy

func (in *AgencySpec) DeepCopy() *AgencySpec

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

func (*AgencySpec) DeepCopyInto

func (in *AgencySpec) DeepCopyInto(out *AgencySpec)

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

type AgencyStatus

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

AgencyStatus defines the observed state of Agency.

func (*AgencyStatus) DeepCopy

func (in *AgencyStatus) DeepCopy() *AgencyStatus

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

func (*AgencyStatus) DeepCopyInto

func (in *AgencyStatus) DeepCopyInto(out *AgencyStatus)

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

type ConversionRulesInitParameters

type ConversionRulesInitParameters struct {
}

func (*ConversionRulesInitParameters) DeepCopy

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

func (*ConversionRulesInitParameters) DeepCopyInto

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

type ConversionRulesLocalInitParameters

type ConversionRulesLocalInitParameters struct {

	// Specifies the user group to which the federated user belongs on the cloud platform.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Specifies the name of a federated user on the cloud platform.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ConversionRulesLocalInitParameters) DeepCopy

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

func (*ConversionRulesLocalInitParameters) DeepCopyInto

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

type ConversionRulesLocalObservation

type ConversionRulesLocalObservation struct {

	// Specifies the user group to which the federated user belongs on the cloud platform.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Specifies the name of a federated user on the cloud platform.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ConversionRulesLocalObservation) DeepCopy

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

func (*ConversionRulesLocalObservation) DeepCopyInto

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

type ConversionRulesLocalParameters

type ConversionRulesLocalParameters struct {

	// Specifies the user group to which the federated user belongs on the cloud platform.
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Specifies the name of a federated user on the cloud platform.
	// +kubebuilder:validation:Optional
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*ConversionRulesLocalParameters) DeepCopy

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

func (*ConversionRulesLocalParameters) DeepCopyInto

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

type ConversionRulesObservation

type ConversionRulesObservation struct {

	// The federated user information on the cloud platform.
	Local []LocalObservation `json:"local,omitempty" tf:"local,omitempty"`

	// The description of the identity provider.
	Remote []RemoteObservation `json:"remote,omitempty" tf:"remote,omitempty"`
}

func (*ConversionRulesObservation) DeepCopy

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

func (*ConversionRulesObservation) DeepCopyInto

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

type ConversionRulesParameters

type ConversionRulesParameters struct {
}

func (*ConversionRulesParameters) DeepCopy

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

func (*ConversionRulesParameters) DeepCopyInto

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

type ConversionRulesRemoteInitParameters

type ConversionRulesRemoteInitParameters struct {

	// Specifies the attribute in the IDP assertion.
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// Specifies the condition of conversion rule.
	// Available options are:
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Specifies the rule is matched only if the specified strings appear in the attribute type.
	Value []*string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConversionRulesRemoteInitParameters) DeepCopy

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

func (*ConversionRulesRemoteInitParameters) DeepCopyInto

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

type ConversionRulesRemoteObservation

type ConversionRulesRemoteObservation struct {

	// Specifies the attribute in the IDP assertion.
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// Specifies the condition of conversion rule.
	// Available options are:
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Specifies the rule is matched only if the specified strings appear in the attribute type.
	Value []*string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConversionRulesRemoteObservation) DeepCopy

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

func (*ConversionRulesRemoteObservation) DeepCopyInto

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

type ConversionRulesRemoteParameters

type ConversionRulesRemoteParameters struct {

	// Specifies the attribute in the IDP assertion.
	// +kubebuilder:validation:Optional
	Attribute *string `json:"attribute" tf:"attribute,omitempty"`

	// Specifies the condition of conversion rule.
	// Available options are:
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Specifies the rule is matched only if the specified strings appear in the attribute type.
	// +kubebuilder:validation:Optional
	Value []*string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConversionRulesRemoteParameters) DeepCopy

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

func (*ConversionRulesRemoteParameters) DeepCopyInto

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

type Group

type Group 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   GroupSpec   `json:"spec"`
	Status GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters

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

GetInitParameters of this Group

func (*Group) GetManagementPolicies

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

GetManagementPolicies of this Group.

func (*Group) GetMergedParameters

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

GetInitParameters of this Group

func (*Group) GetObservation

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

GetObservation of this Group

func (*Group) GetParameters

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

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) Hub

func (tr *Group) Hub()

Hub marks this type as a conversion hub.

func (*Group) LateInitialize

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

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

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies

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

SetManagementPolicies of this Group.

func (*Group) SetObservation

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

SetObservation for this Group

func (*Group) SetParameters

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

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupInitParameters

type GroupInitParameters struct {

	// Specifies the description of the group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the group. The length is less than or equal to 64 bytes.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*GroupInitParameters) DeepCopy

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto

func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)

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

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupMembership

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

GroupMembership is the Schema for the GroupMemberships API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*GroupMembership) DeepCopy

func (in *GroupMembership) DeepCopy() *GroupMembership

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

func (*GroupMembership) DeepCopyInto

func (in *GroupMembership) DeepCopyInto(out *GroupMembership)

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

func (*GroupMembership) DeepCopyObject

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

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

func (*GroupMembership) GetCondition

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

GetCondition of this GroupMembership.

func (*GroupMembership) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GroupMembership

func (*GroupMembership) GetDeletionPolicy

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

GetDeletionPolicy of this GroupMembership.

func (*GroupMembership) GetID

func (tr *GroupMembership) GetID() string

GetID returns ID of underlying Terraform resource of this GroupMembership

func (*GroupMembership) GetInitParameters

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

GetInitParameters of this GroupMembership

func (*GroupMembership) GetManagementPolicies

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

GetManagementPolicies of this GroupMembership.

func (*GroupMembership) GetMergedParameters

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

GetInitParameters of this GroupMembership

func (*GroupMembership) GetObservation

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

GetObservation of this GroupMembership

func (*GroupMembership) GetParameters

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

GetParameters of this GroupMembership

func (*GroupMembership) GetProviderConfigReference

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

GetProviderConfigReference of this GroupMembership.

func (*GroupMembership) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GroupMembership.

func (*GroupMembership) GetTerraformResourceType

func (mg *GroupMembership) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupMembership

func (*GroupMembership) GetTerraformSchemaVersion

func (tr *GroupMembership) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupMembership) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GroupMembership.

func (*GroupMembership) Hub

func (tr *GroupMembership) Hub()

Hub marks this type as a conversion hub.

func (*GroupMembership) LateInitialize

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

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

func (*GroupMembership) SetConditions

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

SetConditions of this GroupMembership.

func (*GroupMembership) SetDeletionPolicy

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

SetDeletionPolicy of this GroupMembership.

func (*GroupMembership) SetManagementPolicies

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

SetManagementPolicies of this GroupMembership.

func (*GroupMembership) SetObservation

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

SetObservation for this GroupMembership

func (*GroupMembership) SetParameters

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

SetParameters for this GroupMembership

func (*GroupMembership) SetProviderConfigReference

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

SetProviderConfigReference of this GroupMembership.

func (*GroupMembership) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GroupMembership.

func (*GroupMembership) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GroupMembership.

type GroupMembershipInitParameters

type GroupMembershipInitParameters struct {

	// Specifies the group ID of this membership.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Specifies a list of IAM user IDs to associate to the group.
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`
}

func (*GroupMembershipInitParameters) DeepCopy

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

func (*GroupMembershipInitParameters) DeepCopyInto

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

type GroupMembershipList

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

GroupMembershipList contains a list of GroupMemberships

func (*GroupMembershipList) DeepCopy

func (in *GroupMembershipList) DeepCopy() *GroupMembershipList

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

func (*GroupMembershipList) DeepCopyInto

func (in *GroupMembershipList) DeepCopyInto(out *GroupMembershipList)

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

func (*GroupMembershipList) DeepCopyObject

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

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

func (*GroupMembershipList) GetItems

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

GetItems of this GroupMembershipList.

type GroupMembershipObservation

type GroupMembershipObservation struct {

	// Specifies the group ID of this membership.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies a list of IAM user IDs to associate to the group.
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`
}

func (*GroupMembershipObservation) DeepCopy

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

func (*GroupMembershipObservation) DeepCopyInto

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

type GroupMembershipParameters

type GroupMembershipParameters struct {

	// Specifies the group ID of this membership.
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// Specifies a list of IAM user IDs to associate to the group.
	// +kubebuilder:validation:Optional
	// +listType=set
	Users []*string `json:"users,omitempty" tf:"users,omitempty"`
}

func (*GroupMembershipParameters) DeepCopy

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

func (*GroupMembershipParameters) DeepCopyInto

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

type GroupMembershipSpec

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

GroupMembershipSpec defines the desired state of GroupMembership

func (*GroupMembershipSpec) DeepCopy

func (in *GroupMembershipSpec) DeepCopy() *GroupMembershipSpec

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

func (*GroupMembershipSpec) DeepCopyInto

func (in *GroupMembershipSpec) DeepCopyInto(out *GroupMembershipSpec)

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

type GroupMembershipStatus

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

GroupMembershipStatus defines the observed state of GroupMembership.

func (*GroupMembershipStatus) DeepCopy

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

func (*GroupMembershipStatus) DeepCopyInto

func (in *GroupMembershipStatus) DeepCopyInto(out *GroupMembershipStatus)

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

type GroupObservation

type GroupObservation struct {

	// Specifies the description of the group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of the group. The length is less than or equal to 64 bytes.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// Specifies the description of the group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the group. The length is less than or equal to 64 bytes.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupRoleAssignment

type GroupRoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupRoleAssignmentSpec   `json:"spec"`
	Status            GroupRoleAssignmentStatus `json:"status,omitempty"`
}

GroupRoleAssignment is the Schema for the GroupRoleAssignments API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*GroupRoleAssignment) DeepCopy

func (in *GroupRoleAssignment) DeepCopy() *GroupRoleAssignment

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

func (*GroupRoleAssignment) DeepCopyInto

func (in *GroupRoleAssignment) DeepCopyInto(out *GroupRoleAssignment)

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

func (*GroupRoleAssignment) DeepCopyObject

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

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

func (*GroupRoleAssignment) GetCondition

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

GetCondition of this GroupRoleAssignment.

func (*GroupRoleAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GroupRoleAssignment

func (*GroupRoleAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this GroupRoleAssignment.

func (*GroupRoleAssignment) GetID

func (tr *GroupRoleAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this GroupRoleAssignment

func (*GroupRoleAssignment) GetInitParameters

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

GetInitParameters of this GroupRoleAssignment

func (*GroupRoleAssignment) GetManagementPolicies

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

GetManagementPolicies of this GroupRoleAssignment.

func (*GroupRoleAssignment) GetMergedParameters

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

GetInitParameters of this GroupRoleAssignment

func (*GroupRoleAssignment) GetObservation

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

GetObservation of this GroupRoleAssignment

func (*GroupRoleAssignment) GetParameters

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

GetParameters of this GroupRoleAssignment

func (*GroupRoleAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this GroupRoleAssignment.

func (*GroupRoleAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GroupRoleAssignment.

func (*GroupRoleAssignment) GetTerraformResourceType

func (mg *GroupRoleAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupRoleAssignment

func (*GroupRoleAssignment) GetTerraformSchemaVersion

func (tr *GroupRoleAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupRoleAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GroupRoleAssignment.

func (*GroupRoleAssignment) Hub

func (tr *GroupRoleAssignment) Hub()

Hub marks this type as a conversion hub.

func (*GroupRoleAssignment) LateInitialize

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

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

func (*GroupRoleAssignment) ResolveReferences

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

ResolveReferences of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetConditions

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

SetConditions of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetManagementPolicies

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

SetManagementPolicies of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetObservation

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

SetObservation for this GroupRoleAssignment

func (*GroupRoleAssignment) SetParameters

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

SetParameters for this GroupRoleAssignment

func (*GroupRoleAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GroupRoleAssignment.

func (*GroupRoleAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GroupRoleAssignment.

type GroupRoleAssignmentInitParameters

type GroupRoleAssignmentInitParameters struct {

	// Specifies the domain to assign the role in.
	// Changing this parameter will create a new resource.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the enterprise project to assign the role in.
	// Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Specifies the project to assign the role in.
	// If project_id is set to all, it means that the specified user group will be able to use all projects,
	// including existing and future projects.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`
}

func (*GroupRoleAssignmentInitParameters) DeepCopy

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

func (*GroupRoleAssignmentInitParameters) DeepCopyInto

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

type GroupRoleAssignmentList

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

GroupRoleAssignmentList contains a list of GroupRoleAssignments

func (*GroupRoleAssignmentList) DeepCopy

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

func (*GroupRoleAssignmentList) DeepCopyInto

func (in *GroupRoleAssignmentList) DeepCopyInto(out *GroupRoleAssignmentList)

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

func (*GroupRoleAssignmentList) DeepCopyObject

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

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

func (*GroupRoleAssignmentList) GetItems

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

GetItems of this GroupRoleAssignmentList.

type GroupRoleAssignmentObservation

type GroupRoleAssignmentObservation struct {

	// Specifies the domain to assign the role in.
	// Changing this parameter will create a new resource.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the enterprise project to assign the role in.
	// Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The resource ID. When assign in domain, the format is <group_id>/<role_id>/<domain_id>;
	// when assign in project, the format is <group_id>/<role_id>/<project_id>;
	// when assign in enterprise project, the format is <group_id>/<role_id>/<enterprise_project_id>;
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the project to assign the role in.
	// If project_id is set to all, it means that the specified user group will be able to use all projects,
	// including existing and future projects.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`
}

func (*GroupRoleAssignmentObservation) DeepCopy

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

func (*GroupRoleAssignmentObservation) DeepCopyInto

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

type GroupRoleAssignmentParameters

type GroupRoleAssignmentParameters struct {

	// Specifies the domain to assign the role in.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the enterprise project to assign the role in.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Specifies the project to assign the role in.
	// If project_id is set to all, it means that the specified user group will be able to use all projects,
	// including existing and future projects.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`
}

func (*GroupRoleAssignmentParameters) DeepCopy

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

func (*GroupRoleAssignmentParameters) DeepCopyInto

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

type GroupRoleAssignmentSpec

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

GroupRoleAssignmentSpec defines the desired state of GroupRoleAssignment

func (*GroupRoleAssignmentSpec) DeepCopy

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

func (*GroupRoleAssignmentSpec) DeepCopyInto

func (in *GroupRoleAssignmentSpec) DeepCopyInto(out *GroupRoleAssignmentSpec)

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

type GroupRoleAssignmentStatus

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

GroupRoleAssignmentStatus defines the observed state of GroupRoleAssignment.

func (*GroupRoleAssignmentStatus) DeepCopy

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

func (*GroupRoleAssignmentStatus) DeepCopyInto

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

type GroupSpec

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

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type IPCidrsInitParameters

type IPCidrsInitParameters struct {

	// Specifies the IPv4 CIDR block, for example, 192.168.0.0/24.
	Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"`

	// Specifies a description about an IPv4 CIDR block. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`
}

func (*IPCidrsInitParameters) DeepCopy

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

func (*IPCidrsInitParameters) DeepCopyInto

func (in *IPCidrsInitParameters) DeepCopyInto(out *IPCidrsInitParameters)

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

type IPCidrsObservation

type IPCidrsObservation struct {

	// Specifies the IPv4 CIDR block, for example, 192.168.0.0/24.
	Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"`

	// Specifies a description about an IPv4 CIDR block. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`
}

func (*IPCidrsObservation) DeepCopy

func (in *IPCidrsObservation) DeepCopy() *IPCidrsObservation

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

func (*IPCidrsObservation) DeepCopyInto

func (in *IPCidrsObservation) DeepCopyInto(out *IPCidrsObservation)

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

type IPCidrsParameters

type IPCidrsParameters struct {

	// Specifies the IPv4 CIDR block, for example, 192.168.0.0/24.
	// +kubebuilder:validation:Optional
	Cidr *string `json:"cidr" tf:"cidr,omitempty"`

	// Specifies a description about an IPv4 CIDR block. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`
}

func (*IPCidrsParameters) DeepCopy

func (in *IPCidrsParameters) DeepCopy() *IPCidrsParameters

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

func (*IPCidrsParameters) DeepCopyInto

func (in *IPCidrsParameters) DeepCopyInto(out *IPCidrsParameters)

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

type IPRangesInitParameters

type IPRangesInitParameters struct {

	// Specifies a description about an IP address range. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the Ip address range, for example, 0.0.0.0-255.255.255.0.
	Range *string `json:"range,omitempty" tf:"range,omitempty"`
}

func (*IPRangesInitParameters) DeepCopy

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

func (*IPRangesInitParameters) DeepCopyInto

func (in *IPRangesInitParameters) DeepCopyInto(out *IPRangesInitParameters)

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

type IPRangesObservation

type IPRangesObservation struct {

	// Specifies a description about an IP address range. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the Ip address range, for example, 0.0.0.0-255.255.255.0.
	Range *string `json:"range,omitempty" tf:"range,omitempty"`
}

func (*IPRangesObservation) DeepCopy

func (in *IPRangesObservation) DeepCopy() *IPRangesObservation

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

func (*IPRangesObservation) DeepCopyInto

func (in *IPRangesObservation) DeepCopyInto(out *IPRangesObservation)

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

type IPRangesParameters

type IPRangesParameters struct {

	// Specifies a description about an IP address range. This parameter can contain a
	// maximum of 255 characters and the following characters are not allowed:@#%^&*<>\.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the Ip address range, for example, 0.0.0.0-255.255.255.0.
	// +kubebuilder:validation:Optional
	Range *string `json:"range" tf:"range,omitempty"`
}

func (*IPRangesParameters) DeepCopy

func (in *IPRangesParameters) DeepCopy() *IPRangesParameters

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

func (*IPRangesParameters) DeepCopyInto

func (in *IPRangesParameters) DeepCopyInto(out *IPRangesParameters)

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

type LocalInitParameters

type LocalInitParameters struct {
}

func (*LocalInitParameters) DeepCopy

func (in *LocalInitParameters) DeepCopy() *LocalInitParameters

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

func (*LocalInitParameters) DeepCopyInto

func (in *LocalInitParameters) DeepCopyInto(out *LocalInitParameters)

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

type LocalObservation

type LocalObservation struct {

	// The user group to which the federated user belongs on the cloud platform.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// The name of a federated user on the cloud platform.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*LocalObservation) DeepCopy

func (in *LocalObservation) DeepCopy() *LocalObservation

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

func (*LocalObservation) DeepCopyInto

func (in *LocalObservation) DeepCopyInto(out *LocalObservation)

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

type LocalParameters

type LocalParameters struct {
}

func (*LocalParameters) DeepCopy

func (in *LocalParameters) DeepCopy() *LocalParameters

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

func (*LocalParameters) DeepCopyInto

func (in *LocalParameters) DeepCopyInto(out *LocalParameters)

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

type LoginPolicy

type LoginPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LoginPolicySpec   `json:"spec"`
	Status            LoginPolicyStatus `json:"status,omitempty"`
}

LoginPolicy is the Schema for the LoginPolicys API. Manages the account login policy within HuaweiCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*LoginPolicy) DeepCopy

func (in *LoginPolicy) DeepCopy() *LoginPolicy

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

func (*LoginPolicy) DeepCopyInto

func (in *LoginPolicy) DeepCopyInto(out *LoginPolicy)

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

func (*LoginPolicy) DeepCopyObject

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

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

func (*LoginPolicy) GetCondition

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

GetCondition of this LoginPolicy.

func (*LoginPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LoginPolicy

func (*LoginPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this LoginPolicy.

func (*LoginPolicy) GetID

func (tr *LoginPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this LoginPolicy

func (*LoginPolicy) GetInitParameters

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

GetInitParameters of this LoginPolicy

func (*LoginPolicy) GetManagementPolicies

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

GetManagementPolicies of this LoginPolicy.

func (*LoginPolicy) GetMergedParameters

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

GetInitParameters of this LoginPolicy

func (*LoginPolicy) GetObservation

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

GetObservation of this LoginPolicy

func (*LoginPolicy) GetParameters

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

GetParameters of this LoginPolicy

func (*LoginPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this LoginPolicy.

func (*LoginPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LoginPolicy.

func (*LoginPolicy) GetTerraformResourceType

func (mg *LoginPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LoginPolicy

func (*LoginPolicy) GetTerraformSchemaVersion

func (tr *LoginPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LoginPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LoginPolicy.

func (*LoginPolicy) Hub

func (tr *LoginPolicy) Hub()

Hub marks this type as a conversion hub.

func (*LoginPolicy) LateInitialize

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

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

func (*LoginPolicy) SetConditions

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

SetConditions of this LoginPolicy.

func (*LoginPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this LoginPolicy.

func (*LoginPolicy) SetManagementPolicies

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

SetManagementPolicies of this LoginPolicy.

func (*LoginPolicy) SetObservation

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

SetObservation for this LoginPolicy

func (*LoginPolicy) SetParameters

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

SetParameters for this LoginPolicy

func (*LoginPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this LoginPolicy.

func (*LoginPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LoginPolicy.

func (*LoginPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LoginPolicy.

type LoginPolicyInitParameters

type LoginPolicyInitParameters struct {

	// Specifies the validity period (days) to disable users
	// if they have not logged in within the period. The valid value is range from 0 to 240.
	AccountValidityPeriod *float64 `json:"accountValidityPeriod,omitempty" tf:"account_validity_period,omitempty"`

	// Specifies the custom information that will be displayed
	// upon successful login.
	CustomInfoForLogin *string `json:"customInfoForLogin,omitempty" tf:"custom_info_for_login,omitempty"`

	// Specifies the duration (minutes) to lock users out.
	// The valid value is range from 15 to 1440, defaults to 15.
	LockoutDuration *float64 `json:"lockoutDuration,omitempty" tf:"lockout_duration,omitempty"`

	// Specifies the number of unsuccessful login attempts to lock users out.
	// The valid value is range from 3 to 10, defaults to 5.
	LoginFailedTimes *float64 `json:"loginFailedTimes,omitempty" tf:"login_failed_times,omitempty"`

	// Specifies the period (minutes) to count the number of unsuccessful
	// login attempts. The valid value is range from 15 to 60, defaults to 15.
	PeriodWithLoginFailures *float64 `json:"periodWithLoginFailures,omitempty" tf:"period_with_login_failures,omitempty"`

	// Specifies the session timeout (minutes) that will apply if you or users created
	// using your account do not perform any operations within a specific period.
	// The valid value is range from 15 to 1,440, defaults to 60.
	SessionTimeout *float64 `json:"sessionTimeout,omitempty" tf:"session_timeout,omitempty"`

	// Specifies whether to display last login information upon successful login.
	// The value can be true or false.
	ShowRecentLoginInfo *bool `json:"showRecentLoginInfo,omitempty" tf:"show_recent_login_info,omitempty"`
}

func (*LoginPolicyInitParameters) DeepCopy

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

func (*LoginPolicyInitParameters) DeepCopyInto

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

type LoginPolicyList

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

LoginPolicyList contains a list of LoginPolicys

func (*LoginPolicyList) DeepCopy

func (in *LoginPolicyList) DeepCopy() *LoginPolicyList

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

func (*LoginPolicyList) DeepCopyInto

func (in *LoginPolicyList) DeepCopyInto(out *LoginPolicyList)

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

func (*LoginPolicyList) DeepCopyObject

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

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

func (*LoginPolicyList) GetItems

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

GetItems of this LoginPolicyList.

type LoginPolicyObservation

type LoginPolicyObservation struct {

	// Specifies the validity period (days) to disable users
	// if they have not logged in within the period. The valid value is range from 0 to 240.
	AccountValidityPeriod *float64 `json:"accountValidityPeriod,omitempty" tf:"account_validity_period,omitempty"`

	// Specifies the custom information that will be displayed
	// upon successful login.
	CustomInfoForLogin *string `json:"customInfoForLogin,omitempty" tf:"custom_info_for_login,omitempty"`

	// The ID of account login policy, which is the same as the account ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the duration (minutes) to lock users out.
	// The valid value is range from 15 to 1440, defaults to 15.
	LockoutDuration *float64 `json:"lockoutDuration,omitempty" tf:"lockout_duration,omitempty"`

	// Specifies the number of unsuccessful login attempts to lock users out.
	// The valid value is range from 3 to 10, defaults to 5.
	LoginFailedTimes *float64 `json:"loginFailedTimes,omitempty" tf:"login_failed_times,omitempty"`

	// Specifies the period (minutes) to count the number of unsuccessful
	// login attempts. The valid value is range from 15 to 60, defaults to 15.
	PeriodWithLoginFailures *float64 `json:"periodWithLoginFailures,omitempty" tf:"period_with_login_failures,omitempty"`

	// Specifies the session timeout (minutes) that will apply if you or users created
	// using your account do not perform any operations within a specific period.
	// The valid value is range from 15 to 1,440, defaults to 60.
	SessionTimeout *float64 `json:"sessionTimeout,omitempty" tf:"session_timeout,omitempty"`

	// Specifies whether to display last login information upon successful login.
	// The value can be true or false.
	ShowRecentLoginInfo *bool `json:"showRecentLoginInfo,omitempty" tf:"show_recent_login_info,omitempty"`
}

func (*LoginPolicyObservation) DeepCopy

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

func (*LoginPolicyObservation) DeepCopyInto

func (in *LoginPolicyObservation) DeepCopyInto(out *LoginPolicyObservation)

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

type LoginPolicyParameters

type LoginPolicyParameters struct {

	// Specifies the validity period (days) to disable users
	// if they have not logged in within the period. The valid value is range from 0 to 240.
	// +kubebuilder:validation:Optional
	AccountValidityPeriod *float64 `json:"accountValidityPeriod,omitempty" tf:"account_validity_period,omitempty"`

	// Specifies the custom information that will be displayed
	// upon successful login.
	// +kubebuilder:validation:Optional
	CustomInfoForLogin *string `json:"customInfoForLogin,omitempty" tf:"custom_info_for_login,omitempty"`

	// Specifies the duration (minutes) to lock users out.
	// The valid value is range from 15 to 1440, defaults to 15.
	// +kubebuilder:validation:Optional
	LockoutDuration *float64 `json:"lockoutDuration,omitempty" tf:"lockout_duration,omitempty"`

	// Specifies the number of unsuccessful login attempts to lock users out.
	// The valid value is range from 3 to 10, defaults to 5.
	// +kubebuilder:validation:Optional
	LoginFailedTimes *float64 `json:"loginFailedTimes,omitempty" tf:"login_failed_times,omitempty"`

	// Specifies the period (minutes) to count the number of unsuccessful
	// login attempts. The valid value is range from 15 to 60, defaults to 15.
	// +kubebuilder:validation:Optional
	PeriodWithLoginFailures *float64 `json:"periodWithLoginFailures,omitempty" tf:"period_with_login_failures,omitempty"`

	// Specifies the session timeout (minutes) that will apply if you or users created
	// using your account do not perform any operations within a specific period.
	// The valid value is range from 15 to 1,440, defaults to 60.
	// +kubebuilder:validation:Optional
	SessionTimeout *float64 `json:"sessionTimeout,omitempty" tf:"session_timeout,omitempty"`

	// Specifies whether to display last login information upon successful login.
	// The value can be true or false.
	// +kubebuilder:validation:Optional
	ShowRecentLoginInfo *bool `json:"showRecentLoginInfo,omitempty" tf:"show_recent_login_info,omitempty"`
}

func (*LoginPolicyParameters) DeepCopy

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

func (*LoginPolicyParameters) DeepCopyInto

func (in *LoginPolicyParameters) DeepCopyInto(out *LoginPolicyParameters)

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

type LoginPolicySpec

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

LoginPolicySpec defines the desired state of LoginPolicy

func (*LoginPolicySpec) DeepCopy

func (in *LoginPolicySpec) DeepCopy() *LoginPolicySpec

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

func (*LoginPolicySpec) DeepCopyInto

func (in *LoginPolicySpec) DeepCopyInto(out *LoginPolicySpec)

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

type LoginPolicyStatus

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

LoginPolicyStatus defines the observed state of LoginPolicy.

func (*LoginPolicyStatus) DeepCopy

func (in *LoginPolicyStatus) DeepCopy() *LoginPolicyStatus

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

func (*LoginPolicyStatus) DeepCopyInto

func (in *LoginPolicyStatus) DeepCopyInto(out *LoginPolicyStatus)

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

type PasswordPolicy

type PasswordPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PasswordPolicySpec   `json:"spec"`
	Status            PasswordPolicyStatus `json:"status,omitempty"`
}

PasswordPolicy is the Schema for the PasswordPolicys API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*PasswordPolicy) DeepCopy

func (in *PasswordPolicy) DeepCopy() *PasswordPolicy

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

func (*PasswordPolicy) DeepCopyInto

func (in *PasswordPolicy) DeepCopyInto(out *PasswordPolicy)

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

func (*PasswordPolicy) DeepCopyObject

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

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

func (*PasswordPolicy) GetCondition

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

GetCondition of this PasswordPolicy.

func (*PasswordPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PasswordPolicy

func (*PasswordPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this PasswordPolicy.

func (*PasswordPolicy) GetID

func (tr *PasswordPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this PasswordPolicy

func (*PasswordPolicy) GetInitParameters

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

GetInitParameters of this PasswordPolicy

func (*PasswordPolicy) GetManagementPolicies

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

GetManagementPolicies of this PasswordPolicy.

func (*PasswordPolicy) GetMergedParameters

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

GetInitParameters of this PasswordPolicy

func (*PasswordPolicy) GetObservation

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

GetObservation of this PasswordPolicy

func (*PasswordPolicy) GetParameters

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

GetParameters of this PasswordPolicy

func (*PasswordPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this PasswordPolicy.

func (*PasswordPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PasswordPolicy.

func (*PasswordPolicy) GetTerraformResourceType

func (mg *PasswordPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PasswordPolicy

func (*PasswordPolicy) GetTerraformSchemaVersion

func (tr *PasswordPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PasswordPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PasswordPolicy.

func (*PasswordPolicy) Hub

func (tr *PasswordPolicy) Hub()

Hub marks this type as a conversion hub.

func (*PasswordPolicy) LateInitialize

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

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

func (*PasswordPolicy) SetConditions

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

SetConditions of this PasswordPolicy.

func (*PasswordPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this PasswordPolicy.

func (*PasswordPolicy) SetManagementPolicies

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

SetManagementPolicies of this PasswordPolicy.

func (*PasswordPolicy) SetObservation

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

SetObservation for this PasswordPolicy

func (*PasswordPolicy) SetParameters

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

SetParameters for this PasswordPolicy

func (*PasswordPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this PasswordPolicy.

func (*PasswordPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PasswordPolicy.

func (*PasswordPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PasswordPolicy.

type PasswordPolicyInitParameters

type PasswordPolicyInitParameters struct {

	// Specifies the maximum number of times that a character is allowed
	// to consecutively present in a password. The value ranges from 0 to 32 and defaults to 0 which indicates that
	// consecutive identical characters are allowed in a password. For example, value 2 indicates that two consecutive
	// identical characters are not allowed in a password.
	MaximumConsecutiveIdenticalChars *float64 `json:"maximumConsecutiveIdenticalChars,omitempty" tf:"maximum_consecutive_identical_chars,omitempty"`

	// Specifies the minimum period (minutes) after which users are allowed to make
	// a password change. The value ranges from 0 to 1,440 and defaults to 0.
	MinimumPasswordAge *float64 `json:"minimumPasswordAge,omitempty" tf:"minimum_password_age,omitempty"`

	// Specifies the minimum number of characters that a password must contain.
	// The value ranges from 6 to 32 and defaults to 8.
	MinimumPasswordLength *float64 `json:"minimumPasswordLength,omitempty" tf:"minimum_password_length,omitempty"`

	// Specifies the member of previously used passwords that are
	// not allowed. The value ranges from 0 to 10 and defaults to 1. For example, value 3 indicates that the user cannot
	// set the last three passwords that the user has previously used when setting a new password.
	NumberOfRecentPasswordsDisallowed *float64 `json:"numberOfRecentPasswordsDisallowed,omitempty" tf:"number_of_recent_passwords_disallowed,omitempty"`

	// Specifies the minimum number of character types that a password must contain.
	// The value ranges from 2 to 4 and defaults to 2 which indicates that a password must contain at least two of the following:
	// uppercase letters, lowercase letters, digits, and special characters.
	PasswordCharCombination *float64 `json:"passwordCharCombination,omitempty" tf:"password_char_combination,omitempty"`

	// Specifies whether the password can be the username or the username
	// spelled backwards. Defaults to true, which indicates that the username or the inversion of username is not allowed to
	// be used as a password.
	PasswordNotUsernameOrInvert *bool `json:"passwordNotUsernameOrInvert,omitempty" tf:"password_not_username_or_invert,omitempty"`

	// Specifies the password validity period (days).
	// The value ranges from 0 to 180 and defaults to 0 which indicates that this requirement does not apply.
	PasswordValidityPeriod *float64 `json:"passwordValidityPeriod,omitempty" tf:"password_validity_period,omitempty"`
}

func (*PasswordPolicyInitParameters) DeepCopy

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

func (*PasswordPolicyInitParameters) DeepCopyInto

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

type PasswordPolicyList

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

PasswordPolicyList contains a list of PasswordPolicys

func (*PasswordPolicyList) DeepCopy

func (in *PasswordPolicyList) DeepCopy() *PasswordPolicyList

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

func (*PasswordPolicyList) DeepCopyInto

func (in *PasswordPolicyList) DeepCopyInto(out *PasswordPolicyList)

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

func (*PasswordPolicyList) DeepCopyObject

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

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

func (*PasswordPolicyList) GetItems

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

GetItems of this PasswordPolicyList.

type PasswordPolicyObservation

type PasswordPolicyObservation struct {

	// The ID of account password policy, which is the same as the account ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the maximum number of times that a character is allowed
	// to consecutively present in a password. The value ranges from 0 to 32 and defaults to 0 which indicates that
	// consecutive identical characters are allowed in a password. For example, value 2 indicates that two consecutive
	// identical characters are not allowed in a password.
	MaximumConsecutiveIdenticalChars *float64 `json:"maximumConsecutiveIdenticalChars,omitempty" tf:"maximum_consecutive_identical_chars,omitempty"`

	// The maximum number of characters that a password can contain.
	MaximumPasswordLength *float64 `json:"maximumPasswordLength,omitempty" tf:"maximum_password_length,omitempty"`

	// Specifies the minimum period (minutes) after which users are allowed to make
	// a password change. The value ranges from 0 to 1,440 and defaults to 0.
	MinimumPasswordAge *float64 `json:"minimumPasswordAge,omitempty" tf:"minimum_password_age,omitempty"`

	// Specifies the minimum number of characters that a password must contain.
	// The value ranges from 6 to 32 and defaults to 8.
	MinimumPasswordLength *float64 `json:"minimumPasswordLength,omitempty" tf:"minimum_password_length,omitempty"`

	// Specifies the member of previously used passwords that are
	// not allowed. The value ranges from 0 to 10 and defaults to 1. For example, value 3 indicates that the user cannot
	// set the last three passwords that the user has previously used when setting a new password.
	NumberOfRecentPasswordsDisallowed *float64 `json:"numberOfRecentPasswordsDisallowed,omitempty" tf:"number_of_recent_passwords_disallowed,omitempty"`

	// Specifies the minimum number of character types that a password must contain.
	// The value ranges from 2 to 4 and defaults to 2 which indicates that a password must contain at least two of the following:
	// uppercase letters, lowercase letters, digits, and special characters.
	PasswordCharCombination *float64 `json:"passwordCharCombination,omitempty" tf:"password_char_combination,omitempty"`

	// Specifies whether the password can be the username or the username
	// spelled backwards. Defaults to true, which indicates that the username or the inversion of username is not allowed to
	// be used as a password.
	PasswordNotUsernameOrInvert *bool `json:"passwordNotUsernameOrInvert,omitempty" tf:"password_not_username_or_invert,omitempty"`

	// Specifies the password validity period (days).
	// The value ranges from 0 to 180 and defaults to 0 which indicates that this requirement does not apply.
	PasswordValidityPeriod *float64 `json:"passwordValidityPeriod,omitempty" tf:"password_validity_period,omitempty"`
}

func (*PasswordPolicyObservation) DeepCopy

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

func (*PasswordPolicyObservation) DeepCopyInto

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

type PasswordPolicyParameters

type PasswordPolicyParameters struct {

	// Specifies the maximum number of times that a character is allowed
	// to consecutively present in a password. The value ranges from 0 to 32 and defaults to 0 which indicates that
	// consecutive identical characters are allowed in a password. For example, value 2 indicates that two consecutive
	// identical characters are not allowed in a password.
	// +kubebuilder:validation:Optional
	MaximumConsecutiveIdenticalChars *float64 `json:"maximumConsecutiveIdenticalChars,omitempty" tf:"maximum_consecutive_identical_chars,omitempty"`

	// Specifies the minimum period (minutes) after which users are allowed to make
	// a password change. The value ranges from 0 to 1,440 and defaults to 0.
	// +kubebuilder:validation:Optional
	MinimumPasswordAge *float64 `json:"minimumPasswordAge,omitempty" tf:"minimum_password_age,omitempty"`

	// Specifies the minimum number of characters that a password must contain.
	// The value ranges from 6 to 32 and defaults to 8.
	// +kubebuilder:validation:Optional
	MinimumPasswordLength *float64 `json:"minimumPasswordLength,omitempty" tf:"minimum_password_length,omitempty"`

	// Specifies the member of previously used passwords that are
	// not allowed. The value ranges from 0 to 10 and defaults to 1. For example, value 3 indicates that the user cannot
	// set the last three passwords that the user has previously used when setting a new password.
	// +kubebuilder:validation:Optional
	NumberOfRecentPasswordsDisallowed *float64 `json:"numberOfRecentPasswordsDisallowed,omitempty" tf:"number_of_recent_passwords_disallowed,omitempty"`

	// Specifies the minimum number of character types that a password must contain.
	// The value ranges from 2 to 4 and defaults to 2 which indicates that a password must contain at least two of the following:
	// uppercase letters, lowercase letters, digits, and special characters.
	// +kubebuilder:validation:Optional
	PasswordCharCombination *float64 `json:"passwordCharCombination,omitempty" tf:"password_char_combination,omitempty"`

	// Specifies whether the password can be the username or the username
	// spelled backwards. Defaults to true, which indicates that the username or the inversion of username is not allowed to
	// be used as a password.
	// +kubebuilder:validation:Optional
	PasswordNotUsernameOrInvert *bool `json:"passwordNotUsernameOrInvert,omitempty" tf:"password_not_username_or_invert,omitempty"`

	// Specifies the password validity period (days).
	// The value ranges from 0 to 180 and defaults to 0 which indicates that this requirement does not apply.
	// +kubebuilder:validation:Optional
	PasswordValidityPeriod *float64 `json:"passwordValidityPeriod,omitempty" tf:"password_validity_period,omitempty"`
}

func (*PasswordPolicyParameters) DeepCopy

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

func (*PasswordPolicyParameters) DeepCopyInto

func (in *PasswordPolicyParameters) DeepCopyInto(out *PasswordPolicyParameters)

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

type PasswordPolicySpec

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

PasswordPolicySpec defines the desired state of PasswordPolicy

func (*PasswordPolicySpec) DeepCopy

func (in *PasswordPolicySpec) DeepCopy() *PasswordPolicySpec

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

func (*PasswordPolicySpec) DeepCopyInto

func (in *PasswordPolicySpec) DeepCopyInto(out *PasswordPolicySpec)

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

type PasswordPolicyStatus

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

PasswordPolicyStatus defines the observed state of PasswordPolicy.

func (*PasswordPolicyStatus) DeepCopy

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

func (*PasswordPolicyStatus) DeepCopyInto

func (in *PasswordPolicyStatus) DeepCopyInto(out *PasswordPolicyStatus)

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

type Project

type Project 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   ProjectSpec   `json:"spec"`
	Status ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the Projects API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) GetCondition

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

GetCondition of this Project.

func (*Project) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Project

func (*Project) GetDeletionPolicy

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

GetDeletionPolicy of this Project.

func (*Project) GetID

func (tr *Project) GetID() string

GetID returns ID of underlying Terraform resource of this Project

func (*Project) GetInitParameters

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

GetInitParameters of this Project

func (*Project) GetManagementPolicies

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

GetManagementPolicies of this Project.

func (*Project) GetMergedParameters

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

GetInitParameters of this Project

func (*Project) GetObservation

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

GetObservation of this Project

func (*Project) GetParameters

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

GetParameters of this Project

func (*Project) GetProviderConfigReference

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

GetProviderConfigReference of this Project.

func (*Project) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Project.

func (*Project) GetTerraformResourceType

func (mg *Project) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Project

func (*Project) GetTerraformSchemaVersion

func (tr *Project) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Project) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Project.

func (*Project) Hub

func (tr *Project) Hub()

Hub marks this type as a conversion hub.

func (*Project) LateInitialize

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

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

func (*Project) SetConditions

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

SetConditions of this Project.

func (*Project) SetDeletionPolicy

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

SetDeletionPolicy of this Project.

func (*Project) SetManagementPolicies

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

SetManagementPolicies of this Project.

func (*Project) SetObservation

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

SetObservation for this Project

func (*Project) SetParameters

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

SetParameters for this Project

func (*Project) SetProviderConfigReference

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

SetProviderConfigReference of this Project.

func (*Project) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Project.

func (*Project) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Project.

type ProjectInitParameters

type ProjectInitParameters struct {

	// Specifies the description of the project.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the project. it must start with an existing region and be less
	// than or equal to 64 characters. Example: cn-north-1_project1.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the status of the project.
	// Valid values are normal and suspended, default is normal.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProjectInitParameters) DeepCopy

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

func (*ProjectInitParameters) DeepCopyInto

func (in *ProjectInitParameters) DeepCopyInto(out *ProjectInitParameters)

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

type ProjectList

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

ProjectList contains a list of Projects

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) GetItems

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

GetItems of this ProjectList.

type ProjectObservation

type ProjectObservation struct {

	// Specifies the description of the project.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether the IAM project is enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of the project. it must start with an existing region and be less
	// than or equal to 64 characters. Example: cn-north-1_project1.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The parent of the IAM project.
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// Specifies the status of the project.
	// Valid values are normal and suspended, default is normal.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProjectObservation) DeepCopy

func (in *ProjectObservation) DeepCopy() *ProjectObservation

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

func (*ProjectObservation) DeepCopyInto

func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)

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

type ProjectParameters

type ProjectParameters struct {

	// Specifies the description of the project.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the project. it must start with an existing region and be less
	// than or equal to 64 characters. Example: cn-north-1_project1.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the status of the project.
	// Valid values are normal and suspended, default is normal.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProjectParameters) DeepCopy

func (in *ProjectParameters) DeepCopy() *ProjectParameters

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

func (*ProjectParameters) DeepCopyInto

func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)

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

type ProjectRoleInitParameters

type ProjectRoleInitParameters struct {

	// Specifies the name of project.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Specifies an array of role names.
	// +listType=set
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*ProjectRoleInitParameters) DeepCopy

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

func (*ProjectRoleInitParameters) DeepCopyInto

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

type ProjectRoleObservation

type ProjectRoleObservation struct {

	// Specifies the name of project.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Specifies an array of role names.
	// +listType=set
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*ProjectRoleObservation) DeepCopy

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

func (*ProjectRoleObservation) DeepCopyInto

func (in *ProjectRoleObservation) DeepCopyInto(out *ProjectRoleObservation)

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

type ProjectRoleParameters

type ProjectRoleParameters struct {

	// Specifies the name of project.
	// +kubebuilder:validation:Optional
	Project *string `json:"project" tf:"project,omitempty"`

	// Specifies an array of role names.
	// +kubebuilder:validation:Optional
	// +listType=set
	Roles []*string `json:"roles" tf:"roles,omitempty"`
}

func (*ProjectRoleParameters) DeepCopy

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

func (*ProjectRoleParameters) DeepCopyInto

func (in *ProjectRoleParameters) DeepCopyInto(out *ProjectRoleParameters)

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

type ProjectSpec

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

ProjectSpec defines the desired state of Project

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectStatus

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

ProjectStatus defines the observed state of Project.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

type ProtectionPolicy

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

ProtectionPolicy is the Schema for the ProtectionPolicys API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*ProtectionPolicy) DeepCopy

func (in *ProtectionPolicy) DeepCopy() *ProtectionPolicy

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

func (*ProtectionPolicy) DeepCopyInto

func (in *ProtectionPolicy) DeepCopyInto(out *ProtectionPolicy)

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

func (*ProtectionPolicy) DeepCopyObject

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

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

func (*ProtectionPolicy) GetCondition

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

GetCondition of this ProtectionPolicy.

func (*ProtectionPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProtectionPolicy

func (*ProtectionPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this ProtectionPolicy.

func (*ProtectionPolicy) GetID

func (tr *ProtectionPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this ProtectionPolicy

func (*ProtectionPolicy) GetInitParameters

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

GetInitParameters of this ProtectionPolicy

func (*ProtectionPolicy) GetManagementPolicies

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

GetManagementPolicies of this ProtectionPolicy.

func (*ProtectionPolicy) GetMergedParameters

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

GetInitParameters of this ProtectionPolicy

func (*ProtectionPolicy) GetObservation

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

GetObservation of this ProtectionPolicy

func (*ProtectionPolicy) GetParameters

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

GetParameters of this ProtectionPolicy

func (*ProtectionPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this ProtectionPolicy.

func (*ProtectionPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProtectionPolicy.

func (*ProtectionPolicy) GetTerraformResourceType

func (mg *ProtectionPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProtectionPolicy

func (*ProtectionPolicy) GetTerraformSchemaVersion

func (tr *ProtectionPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProtectionPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProtectionPolicy.

func (*ProtectionPolicy) Hub

func (tr *ProtectionPolicy) Hub()

Hub marks this type as a conversion hub.

func (*ProtectionPolicy) LateInitialize

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

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

func (*ProtectionPolicy) SetConditions

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

SetConditions of this ProtectionPolicy.

func (*ProtectionPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this ProtectionPolicy.

func (*ProtectionPolicy) SetManagementPolicies

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

SetManagementPolicies of this ProtectionPolicy.

func (*ProtectionPolicy) SetObservation

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

SetObservation for this ProtectionPolicy

func (*ProtectionPolicy) SetParameters

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

SetParameters for this ProtectionPolicy

func (*ProtectionPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this ProtectionPolicy.

func (*ProtectionPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProtectionPolicy.

func (*ProtectionPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProtectionPolicy.

type ProtectionPolicyInitParameters

type ProtectionPolicyInitParameters struct {

	// Specifies whether to enable operation protection.
	ProtectionEnabled *bool `json:"protectionEnabled,omitempty" tf:"protection_enabled,omitempty"`

	// Specifies the attributes IAM users can modify.
	// The object structure is documented below.
	SelfManagement []SelfManagementInitParameters `json:"selfManagement,omitempty" tf:"self_management,omitempty"`

	// Specifies the email address used for verification. An example value is example@email.com.
	VerificationEmail *string `json:"verificationEmail,omitempty" tf:"verification_email,omitempty"`

	// Specifies the mobile number used for verification. An example value is 0086-123456789.
	VerificationMobile *string `json:"verificationMobile,omitempty" tf:"verification_mobile,omitempty"`
}

func (*ProtectionPolicyInitParameters) DeepCopy

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

func (*ProtectionPolicyInitParameters) DeepCopyInto

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

type ProtectionPolicyList

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

ProtectionPolicyList contains a list of ProtectionPolicys

func (*ProtectionPolicyList) DeepCopy

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

func (*ProtectionPolicyList) DeepCopyInto

func (in *ProtectionPolicyList) DeepCopyInto(out *ProtectionPolicyList)

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

func (*ProtectionPolicyList) DeepCopyObject

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

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

func (*ProtectionPolicyList) GetItems

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

GetItems of this ProtectionPolicyList.

type ProtectionPolicyObservation

type ProtectionPolicyObservation struct {

	// The ID of account protection policy, which is the same as the account ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies whether to enable operation protection.
	ProtectionEnabled *bool `json:"protectionEnabled,omitempty" tf:"protection_enabled,omitempty"`

	// Specifies the attributes IAM users can modify.
	// The object structure is documented below.
	SelfManagement []SelfManagementObservation `json:"selfManagement,omitempty" tf:"self_management,omitempty"`

	// Indicates whether the IAM users perform verification by themselves.
	SelfVerification *bool `json:"selfVerification,omitempty" tf:"self_verification,omitempty"`

	// Specifies the email address used for verification. An example value is example@email.com.
	VerificationEmail *string `json:"verificationEmail,omitempty" tf:"verification_email,omitempty"`

	// Specifies the mobile number used for verification. An example value is 0086-123456789.
	VerificationMobile *string `json:"verificationMobile,omitempty" tf:"verification_mobile,omitempty"`
}

func (*ProtectionPolicyObservation) DeepCopy

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

func (*ProtectionPolicyObservation) DeepCopyInto

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

type ProtectionPolicyParameters

type ProtectionPolicyParameters struct {

	// Specifies whether to enable operation protection.
	// +kubebuilder:validation:Optional
	ProtectionEnabled *bool `json:"protectionEnabled,omitempty" tf:"protection_enabled,omitempty"`

	// Specifies the attributes IAM users can modify.
	// The object structure is documented below.
	// +kubebuilder:validation:Optional
	SelfManagement []SelfManagementParameters `json:"selfManagement,omitempty" tf:"self_management,omitempty"`

	// Specifies the email address used for verification. An example value is example@email.com.
	// +kubebuilder:validation:Optional
	VerificationEmail *string `json:"verificationEmail,omitempty" tf:"verification_email,omitempty"`

	// Specifies the mobile number used for verification. An example value is 0086-123456789.
	// +kubebuilder:validation:Optional
	VerificationMobile *string `json:"verificationMobile,omitempty" tf:"verification_mobile,omitempty"`
}

func (*ProtectionPolicyParameters) DeepCopy

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

func (*ProtectionPolicyParameters) DeepCopyInto

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

type ProtectionPolicySpec

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

ProtectionPolicySpec defines the desired state of ProtectionPolicy

func (*ProtectionPolicySpec) DeepCopy

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

func (*ProtectionPolicySpec) DeepCopyInto

func (in *ProtectionPolicySpec) DeepCopyInto(out *ProtectionPolicySpec)

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

type ProtectionPolicyStatus

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

ProtectionPolicyStatus defines the observed state of ProtectionPolicy.

func (*ProtectionPolicyStatus) DeepCopy

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

func (*ProtectionPolicyStatus) DeepCopyInto

func (in *ProtectionPolicyStatus) DeepCopyInto(out *ProtectionPolicyStatus)

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

type Provider

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

Provider is the Schema for the Providers API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

func (*Provider) GetCondition

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

GetCondition of this Provider.

func (*Provider) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Provider

func (*Provider) GetDeletionPolicy

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

GetDeletionPolicy of this Provider.

func (*Provider) GetID

func (tr *Provider) GetID() string

GetID returns ID of underlying Terraform resource of this Provider

func (*Provider) GetInitParameters

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

GetInitParameters of this Provider

func (*Provider) GetManagementPolicies

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

GetManagementPolicies of this Provider.

func (*Provider) GetMergedParameters

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

GetInitParameters of this Provider

func (*Provider) GetObservation

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

GetObservation of this Provider

func (*Provider) GetParameters

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

GetParameters of this Provider

func (*Provider) GetProviderConfigReference

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

GetProviderConfigReference of this Provider.

func (*Provider) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Provider.

func (*Provider) GetTerraformResourceType

func (mg *Provider) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Provider

func (*Provider) GetTerraformSchemaVersion

func (tr *Provider) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Provider) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Provider.

func (*Provider) Hub

func (tr *Provider) Hub()

Hub marks this type as a conversion hub.

func (*Provider) LateInitialize

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

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

func (*Provider) SetConditions

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

SetConditions of this Provider.

func (*Provider) SetDeletionPolicy

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

SetDeletionPolicy of this Provider.

func (*Provider) SetManagementPolicies

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

SetManagementPolicies of this Provider.

func (*Provider) SetObservation

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

SetObservation for this Provider

func (*Provider) SetParameters

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

SetParameters for this Provider

func (*Provider) SetProviderConfigReference

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

SetProviderConfigReference of this Provider.

func (*Provider) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Provider.

func (*Provider) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Provider.

type ProviderConversion

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

ProviderConversion is the Schema for the ProviderConversions API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*ProviderConversion) DeepCopy

func (in *ProviderConversion) DeepCopy() *ProviderConversion

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

func (*ProviderConversion) DeepCopyInto

func (in *ProviderConversion) DeepCopyInto(out *ProviderConversion)

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

func (*ProviderConversion) DeepCopyObject

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

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

func (*ProviderConversion) GetCondition

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

GetCondition of this ProviderConversion.

func (*ProviderConversion) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProviderConversion

func (*ProviderConversion) GetDeletionPolicy

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

GetDeletionPolicy of this ProviderConversion.

func (*ProviderConversion) GetID

func (tr *ProviderConversion) GetID() string

GetID returns ID of underlying Terraform resource of this ProviderConversion

func (*ProviderConversion) GetInitParameters

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

GetInitParameters of this ProviderConversion

func (*ProviderConversion) GetManagementPolicies

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

GetManagementPolicies of this ProviderConversion.

func (*ProviderConversion) GetMergedParameters

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

GetInitParameters of this ProviderConversion

func (*ProviderConversion) GetObservation

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

GetObservation of this ProviderConversion

func (*ProviderConversion) GetParameters

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

GetParameters of this ProviderConversion

func (*ProviderConversion) GetProviderConfigReference

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

GetProviderConfigReference of this ProviderConversion.

func (*ProviderConversion) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProviderConversion.

func (*ProviderConversion) GetTerraformResourceType

func (mg *ProviderConversion) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProviderConversion

func (*ProviderConversion) GetTerraformSchemaVersion

func (tr *ProviderConversion) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProviderConversion) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProviderConversion.

func (*ProviderConversion) Hub

func (tr *ProviderConversion) Hub()

Hub marks this type as a conversion hub.

func (*ProviderConversion) LateInitialize

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

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

func (*ProviderConversion) SetConditions

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

SetConditions of this ProviderConversion.

func (*ProviderConversion) SetDeletionPolicy

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

SetDeletionPolicy of this ProviderConversion.

func (*ProviderConversion) SetManagementPolicies

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

SetManagementPolicies of this ProviderConversion.

func (*ProviderConversion) SetObservation

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

SetObservation for this ProviderConversion

func (*ProviderConversion) SetParameters

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

SetParameters for this ProviderConversion

func (*ProviderConversion) SetProviderConfigReference

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

SetProviderConfigReference of this ProviderConversion.

func (*ProviderConversion) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProviderConversion.

func (*ProviderConversion) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProviderConversion.

type ProviderConversionConversionRulesInitParameters

type ProviderConversionConversionRulesInitParameters struct {

	// Specifies the federated user information on the cloud platform.
	Local []ConversionRulesLocalInitParameters `json:"local,omitempty" tf:"local,omitempty"`

	// Specifies Federated user information in the IDP system.
	Remote []ConversionRulesRemoteInitParameters `json:"remote,omitempty" tf:"remote,omitempty"`
}

func (*ProviderConversionConversionRulesInitParameters) DeepCopy

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

func (*ProviderConversionConversionRulesInitParameters) DeepCopyInto

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

type ProviderConversionConversionRulesObservation

type ProviderConversionConversionRulesObservation struct {

	// Specifies the federated user information on the cloud platform.
	Local []ConversionRulesLocalObservation `json:"local,omitempty" tf:"local,omitempty"`

	// Specifies Federated user information in the IDP system.
	Remote []ConversionRulesRemoteObservation `json:"remote,omitempty" tf:"remote,omitempty"`
}

func (*ProviderConversionConversionRulesObservation) DeepCopy

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

func (*ProviderConversionConversionRulesObservation) DeepCopyInto

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

type ProviderConversionConversionRulesParameters

type ProviderConversionConversionRulesParameters struct {

	// Specifies the federated user information on the cloud platform.
	// +kubebuilder:validation:Optional
	Local []ConversionRulesLocalParameters `json:"local" tf:"local,omitempty"`

	// Specifies Federated user information in the IDP system.
	// +kubebuilder:validation:Optional
	Remote []ConversionRulesRemoteParameters `json:"remote" tf:"remote,omitempty"`
}

func (*ProviderConversionConversionRulesParameters) DeepCopy

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

func (*ProviderConversionConversionRulesParameters) DeepCopyInto

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

type ProviderConversionInitParameters

type ProviderConversionInitParameters struct {

	// Specifies the identity conversion rules of the identity provider.
	// You can use identity conversion rules to map the identities of existing users to Huawei Cloud and manage their access
	// to cloud resources.
	// The object structure is documented below.
	ConversionRules []ProviderConversionConversionRulesInitParameters `json:"conversionRules,omitempty" tf:"conversion_rules,omitempty"`

	// Specifies the ID of the identity provider used to manage the conversion rules.
	// Changing this parameter will create a new resource.
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`
}

func (*ProviderConversionInitParameters) DeepCopy

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

func (*ProviderConversionInitParameters) DeepCopyInto

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

type ProviderConversionList

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

ProviderConversionList contains a list of ProviderConversions

func (*ProviderConversionList) DeepCopy

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

func (*ProviderConversionList) DeepCopyInto

func (in *ProviderConversionList) DeepCopyInto(out *ProviderConversionList)

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

func (*ProviderConversionList) DeepCopyObject

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

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

func (*ProviderConversionList) GetItems

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

GetItems of this ProviderConversionList.

type ProviderConversionObservation

type ProviderConversionObservation struct {

	// Specifies the identity conversion rules of the identity provider.
	// You can use identity conversion rules to map the identities of existing users to Huawei Cloud and manage their access
	// to cloud resources.
	// The object structure is documented below.
	ConversionRules []ProviderConversionConversionRulesObservation `json:"conversionRules,omitempty" tf:"conversion_rules,omitempty"`

	// The ID of conversion rules.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the ID of the identity provider used to manage the conversion rules.
	// Changing this parameter will create a new resource.
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`
}

func (*ProviderConversionObservation) DeepCopy

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

func (*ProviderConversionObservation) DeepCopyInto

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

type ProviderConversionParameters

type ProviderConversionParameters struct {

	// Specifies the identity conversion rules of the identity provider.
	// You can use identity conversion rules to map the identities of existing users to Huawei Cloud and manage their access
	// to cloud resources.
	// The object structure is documented below.
	// +kubebuilder:validation:Optional
	ConversionRules []ProviderConversionConversionRulesParameters `json:"conversionRules,omitempty" tf:"conversion_rules,omitempty"`

	// Specifies the ID of the identity provider used to manage the conversion rules.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`
}

func (*ProviderConversionParameters) DeepCopy

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

func (*ProviderConversionParameters) DeepCopyInto

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

type ProviderConversionSpec

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

ProviderConversionSpec defines the desired state of ProviderConversion

func (*ProviderConversionSpec) DeepCopy

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

func (*ProviderConversionSpec) DeepCopyInto

func (in *ProviderConversionSpec) DeepCopyInto(out *ProviderConversionSpec)

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

type ProviderConversionStatus

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

ProviderConversionStatus defines the observed state of ProviderConversion.

func (*ProviderConversionStatus) DeepCopy

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

func (*ProviderConversionStatus) DeepCopyInto

func (in *ProviderConversionStatus) DeepCopyInto(out *ProviderConversionStatus)

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

type ProviderInitParameters

type ProviderInitParameters struct {

	// Specifies the description of the identity provider.
	// This field is required only if the protocol is set to oidc.
	AccessConfig []AccessConfigInitParameters `json:"accessConfig,omitempty" tf:"access_config,omitempty"`

	// Specifies the description of the identity provider.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the metadata of the IDP(Identity Provider) server.
	// To obtain the metadata file of your enterprise IDP, contact the enterprise administrator.
	// This field is used to import a metadata file to IAM to implement federated identity authentication.
	// This field is required only if the protocol is set to saml.
	// The maximum length is 30,000 characters and it stores in the state with SHA1 algorithm.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Specifies the name of the identity provider to be registered.
	// The maximum length is 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
	// The name is unique, it is recommended to include domain name information.
	// Changing this creates a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol of the identity provider.
	// Valid values are saml and oidc. Changing this creates a new resource.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the single sign-on type of the identity provider.
	// Valid values are as follows:
	SsoType *string `json:"ssoType,omitempty" tf:"sso_type,omitempty"`

	// Enabled status for the identity provider. Defaults to true.
	Status *bool `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProviderInitParameters) DeepCopy

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

func (*ProviderInitParameters) DeepCopyInto

func (in *ProviderInitParameters) DeepCopyInto(out *ProviderInitParameters)

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

type ProviderList

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

ProviderList contains a list of Providers

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

func (*ProviderList) GetItems

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

GetItems of this ProviderList.

type ProviderObservation

type ProviderObservation struct {

	// Specifies the description of the identity provider.
	// This field is required only if the protocol is set to oidc.
	AccessConfig []AccessConfigObservation `json:"accessConfig,omitempty" tf:"access_config,omitempty"`

	// The identity conversion rules of the identity provider.
	// The object structure is documented below
	ConversionRules []ConversionRulesObservation `json:"conversionRules,omitempty" tf:"conversion_rules,omitempty"`

	// Specifies the description of the identity provider.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A resource ID which equals the identity provider name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The login link of the identity provider.
	LoginLink *string `json:"loginLink,omitempty" tf:"login_link,omitempty"`

	// Specifies the metadata of the IDP(Identity Provider) server.
	// To obtain the metadata file of your enterprise IDP, contact the enterprise administrator.
	// This field is used to import a metadata file to IAM to implement federated identity authentication.
	// This field is required only if the protocol is set to saml.
	// The maximum length is 30,000 characters and it stores in the state with SHA1 algorithm.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Specifies the name of the identity provider to be registered.
	// The maximum length is 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
	// The name is unique, it is recommended to include domain name information.
	// Changing this creates a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol of the identity provider.
	// Valid values are saml and oidc. Changing this creates a new resource.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the single sign-on type of the identity provider.
	// Valid values are as follows:
	SsoType *string `json:"ssoType,omitempty" tf:"sso_type,omitempty"`

	// Enabled status for the identity provider. Defaults to true.
	Status *bool `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProviderObservation) DeepCopy

func (in *ProviderObservation) DeepCopy() *ProviderObservation

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

func (*ProviderObservation) DeepCopyInto

func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation)

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

type ProviderParameters

type ProviderParameters struct {

	// Specifies the description of the identity provider.
	// This field is required only if the protocol is set to oidc.
	// +kubebuilder:validation:Optional
	AccessConfig []AccessConfigParameters `json:"accessConfig,omitempty" tf:"access_config,omitempty"`

	// Specifies the description of the identity provider.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the metadata of the IDP(Identity Provider) server.
	// To obtain the metadata file of your enterprise IDP, contact the enterprise administrator.
	// This field is used to import a metadata file to IAM to implement federated identity authentication.
	// This field is required only if the protocol is set to saml.
	// The maximum length is 30,000 characters and it stores in the state with SHA1 algorithm.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Specifies the name of the identity provider to be registered.
	// The maximum length is 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
	// The name is unique, it is recommended to include domain name information.
	// Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol of the identity provider.
	// Valid values are saml and oidc. Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the single sign-on type of the identity provider.
	// Valid values are as follows:
	// +kubebuilder:validation:Optional
	SsoType *string `json:"ssoType,omitempty" tf:"sso_type,omitempty"`

	// Enabled status for the identity provider. Defaults to true.
	// +kubebuilder:validation:Optional
	Status *bool `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ProviderParameters) DeepCopy

func (in *ProviderParameters) DeepCopy() *ProviderParameters

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

func (*ProviderParameters) DeepCopyInto

func (in *ProviderParameters) DeepCopyInto(out *ProviderParameters)

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

type ProviderSpec

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

ProviderSpec defines the desired state of Provider

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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

type ProviderStatus

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

ProviderStatus defines the observed state of Provider.

func (*ProviderStatus) DeepCopy

func (in *ProviderStatus) DeepCopy() *ProviderStatus

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

func (*ProviderStatus) DeepCopyInto

func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)

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

type RemoteInitParameters

type RemoteInitParameters struct {
}

func (*RemoteInitParameters) DeepCopy

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

func (*RemoteInitParameters) DeepCopyInto

func (in *RemoteInitParameters) DeepCopyInto(out *RemoteInitParameters)

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

type RemoteObservation

type RemoteObservation struct {

	// The attribute in the IDP assertion.
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// The condition of conversion rule.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// The rule is matched only if the specified strings appear in the attribute type.
	Value []*string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RemoteObservation) DeepCopy

func (in *RemoteObservation) DeepCopy() *RemoteObservation

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

func (*RemoteObservation) DeepCopyInto

func (in *RemoteObservation) DeepCopyInto(out *RemoteObservation)

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

type RemoteParameters

type RemoteParameters struct {
}

func (*RemoteParameters) DeepCopy

func (in *RemoteParameters) DeepCopy() *RemoteParameters

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

func (*RemoteParameters) DeepCopyInto

func (in *RemoteParameters) DeepCopyInto(out *RemoteParameters)

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

type Role

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

Role is the Schema for the Roles API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

func (*Role) GetCondition

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

GetCondition of this Role.

func (*Role) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Role

func (*Role) GetDeletionPolicy

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

GetDeletionPolicy of this Role.

func (*Role) GetID

func (tr *Role) GetID() string

GetID returns ID of underlying Terraform resource of this Role

func (*Role) GetInitParameters

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

GetInitParameters of this Role

func (*Role) GetManagementPolicies

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

GetManagementPolicies of this Role.

func (*Role) GetMergedParameters

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

GetInitParameters of this Role

func (*Role) GetObservation

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

GetObservation of this Role

func (*Role) GetParameters

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

GetParameters of this Role

func (*Role) GetProviderConfigReference

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

GetProviderConfigReference of this Role.

func (*Role) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Role.

func (*Role) GetTerraformResourceType

func (mg *Role) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Role

func (*Role) GetTerraformSchemaVersion

func (tr *Role) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Role) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Role.

func (*Role) Hub

func (tr *Role) Hub()

Hub marks this type as a conversion hub.

func (*Role) LateInitialize

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

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

func (*Role) SetConditions

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

SetConditions of this Role.

func (*Role) SetDeletionPolicy

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

SetDeletionPolicy of this Role.

func (*Role) SetManagementPolicies

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

SetManagementPolicies of this Role.

func (*Role) SetObservation

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

SetObservation for this Role

func (*Role) SetParameters

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

SetParameters for this Role

func (*Role) SetProviderConfigReference

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

SetProviderConfigReference of this Role.

func (*Role) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Role.

func (*Role) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Role.

type RoleAssignment

type RoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleAssignmentSpec   `json:"spec"`
	Status            RoleAssignmentStatus `json:"status,omitempty"`
}

RoleAssignment is the Schema for the RoleAssignments API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*RoleAssignment) DeepCopy

func (in *RoleAssignment) DeepCopy() *RoleAssignment

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

func (*RoleAssignment) DeepCopyInto

func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)

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

func (*RoleAssignment) DeepCopyObject

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

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

func (*RoleAssignment) GetCondition

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

GetCondition of this RoleAssignment.

func (*RoleAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleAssignment

func (*RoleAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) GetID

func (tr *RoleAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this RoleAssignment

func (*RoleAssignment) GetInitParameters

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetManagementPolicies

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

GetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) GetMergedParameters

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetObservation

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

GetObservation of this RoleAssignment

func (*RoleAssignment) GetParameters

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

GetParameters of this RoleAssignment

func (*RoleAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) GetTerraformResourceType

func (mg *RoleAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleAssignment

func (*RoleAssignment) GetTerraformSchemaVersion

func (tr *RoleAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleAssignment.

func (*RoleAssignment) Hub

func (tr *RoleAssignment) Hub()

Hub marks this type as a conversion hub.

func (*RoleAssignment) LateInitialize

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

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

func (*RoleAssignment) ResolveReferences

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

ResolveReferences of this RoleAssignment.

func (*RoleAssignment) SetConditions

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

SetConditions of this RoleAssignment.

func (*RoleAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) SetManagementPolicies

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

SetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) SetObservation

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

SetObservation for this RoleAssignment

func (*RoleAssignment) SetParameters

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

SetParameters for this RoleAssignment

func (*RoleAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleAssignment.

type RoleAssignmentInitParameters

type RoleAssignmentInitParameters struct {

	// Specifies the domain to assign the role in.
	// Required if project_id is empty. Changing this parameter will create a new resource.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`
}

func (*RoleAssignmentInitParameters) DeepCopy

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

func (*RoleAssignmentInitParameters) DeepCopyInto

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

type RoleAssignmentList

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

RoleAssignmentList contains a list of RoleAssignments

func (*RoleAssignmentList) DeepCopy

func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList

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

func (*RoleAssignmentList) DeepCopyInto

func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)

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

func (*RoleAssignmentList) DeepCopyObject

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

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

func (*RoleAssignmentList) GetItems

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

GetItems of this RoleAssignmentList.

type RoleAssignmentObservation

type RoleAssignmentObservation struct {

	// Specifies the domain to assign the role in.
	// Required if project_id is empty. Changing this parameter will create a new resource.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`
}

func (*RoleAssignmentObservation) DeepCopy

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

func (*RoleAssignmentObservation) DeepCopyInto

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

type RoleAssignmentParameters

type RoleAssignmentParameters struct {

	// Specifies the domain to assign the role in.
	// Required if project_id is empty. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the group to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group in iam to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Specifies the project to assign the role in.
	// Required if domain_id is empty. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`
}

func (*RoleAssignmentParameters) DeepCopy

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

func (*RoleAssignmentParameters) DeepCopyInto

func (in *RoleAssignmentParameters) DeepCopyInto(out *RoleAssignmentParameters)

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

type RoleAssignmentSpec

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

RoleAssignmentSpec defines the desired state of RoleAssignment

func (*RoleAssignmentSpec) DeepCopy

func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec

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

func (*RoleAssignmentSpec) DeepCopyInto

func (in *RoleAssignmentSpec) DeepCopyInto(out *RoleAssignmentSpec)

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

type RoleAssignmentStatus

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

RoleAssignmentStatus defines the observed state of RoleAssignment.

func (*RoleAssignmentStatus) DeepCopy

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

func (*RoleAssignmentStatus) DeepCopyInto

func (in *RoleAssignmentStatus) DeepCopyInto(out *RoleAssignmentStatus)

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

type RoleInitParameters

type RoleInitParameters struct {

	// Specifies the description of the custom policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the custom policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the content of the custom policy in JSON format. For more details,
	// please refer to the official document.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// Specifies the display mode of the custom policy. Valid options are as follows:
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RoleInitParameters) DeepCopy

func (in *RoleInitParameters) DeepCopy() *RoleInitParameters

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

func (*RoleInitParameters) DeepCopyInto

func (in *RoleInitParameters) DeepCopyInto(out *RoleInitParameters)

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

type RoleList

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

RoleList contains a list of Roles

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

func (*RoleList) GetItems

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

GetItems of this RoleList.

type RoleObservation

type RoleObservation struct {

	// Specifies the description of the custom policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The custom policy ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of the custom policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the content of the custom policy in JSON format. For more details,
	// please refer to the official document.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The number of references.
	References *float64 `json:"references,omitempty" tf:"references,omitempty"`

	// Specifies the display mode of the custom policy. Valid options are as follows:
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RoleObservation) DeepCopy

func (in *RoleObservation) DeepCopy() *RoleObservation

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

func (*RoleObservation) DeepCopyInto

func (in *RoleObservation) DeepCopyInto(out *RoleObservation)

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

type RoleParameters

type RoleParameters struct {

	// Specifies the description of the custom policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of the custom policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the content of the custom policy in JSON format. For more details,
	// please refer to the official document.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// Specifies the display mode of the custom policy. Valid options are as follows:
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RoleParameters) DeepCopy

func (in *RoleParameters) DeepCopy() *RoleParameters

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

func (*RoleParameters) DeepCopyInto

func (in *RoleParameters) DeepCopyInto(out *RoleParameters)

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

type RoleSpec

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

RoleSpec defines the desired state of Role

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type RoleStatus

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

RoleStatus defines the observed state of Role.

func (*RoleStatus) DeepCopy

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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

type SelfManagementInitParameters

type SelfManagementInitParameters struct {

	// Specifies whether to allow IAM users to manage access keys by themselves.
	AccessKey *bool `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Specifies whether to allow IAM users to change their email addresses.
	Email *bool `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether to allow IAM users to change their mobile numbers.
	Mobile *bool `json:"mobile,omitempty" tf:"mobile,omitempty"`

	// Specifies whether to allow IAM users to change their passwords.
	Password *bool `json:"password,omitempty" tf:"password,omitempty"`
}

func (*SelfManagementInitParameters) DeepCopy

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

func (*SelfManagementInitParameters) DeepCopyInto

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

type SelfManagementObservation

type SelfManagementObservation struct {

	// Specifies whether to allow IAM users to manage access keys by themselves.
	AccessKey *bool `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Specifies whether to allow IAM users to change their email addresses.
	Email *bool `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether to allow IAM users to change their mobile numbers.
	Mobile *bool `json:"mobile,omitempty" tf:"mobile,omitempty"`

	// Specifies whether to allow IAM users to change their passwords.
	Password *bool `json:"password,omitempty" tf:"password,omitempty"`
}

func (*SelfManagementObservation) DeepCopy

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

func (*SelfManagementObservation) DeepCopyInto

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

type SelfManagementParameters

type SelfManagementParameters struct {

	// Specifies whether to allow IAM users to manage access keys by themselves.
	// +kubebuilder:validation:Optional
	AccessKey *bool `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Specifies whether to allow IAM users to change their email addresses.
	// +kubebuilder:validation:Optional
	Email *bool `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether to allow IAM users to change their mobile numbers.
	// +kubebuilder:validation:Optional
	Mobile *bool `json:"mobile,omitempty" tf:"mobile,omitempty"`

	// Specifies whether to allow IAM users to change their passwords.
	// +kubebuilder:validation:Optional
	Password *bool `json:"password,omitempty" tf:"password,omitempty"`
}

func (*SelfManagementParameters) DeepCopy

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

func (*SelfManagementParameters) DeepCopyInto

func (in *SelfManagementParameters) DeepCopyInto(out *SelfManagementParameters)

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

type User

type User 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   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

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

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

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

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters

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

GetInitParameters of this User

func (*User) GetManagementPolicies

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

GetManagementPolicies of this User.

func (*User) GetMergedParameters

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

GetInitParameters of this User

func (*User) GetObservation

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

GetObservation of this User

func (*User) GetParameters

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

GetParameters of this User

func (*User) GetProviderConfigReference

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

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this User.

func (*User) Hub

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

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

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

func (*User) SetConditions

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

SetConditions of this User.

func (*User) SetDeletionPolicy

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

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies

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

SetManagementPolicies of this User.

func (*User) SetObservation

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

SetObservation for this User

func (*User) SetParameters

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

SetParameters for this User

func (*User) SetProviderConfigReference

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

SetProviderConfigReference of this User.

func (*User) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this User.

type UserInitParameters

type UserInitParameters struct {

	// Specifies the access type of the user. Available values are:
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Specifies the country code. The country code of the Chinese mainland is 0086. This
	// parameter must be used together with phone.
	CountryCode *string `json:"countryCode,omitempty" tf:"country_code,omitempty"`

	// Specifies the description of the user.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the email address with a maximum of 255 characters.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether the user is enabled or disabled. Valid values are true and false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the ID of the IAM user in the external system.
	// This parameter is used for IAM user SSO type, make sure that the IAM_SAML_Attributes_xUserId of the federated user
	// is the same as the external_identity_id of the corresponding IAM user.
	ExternalIdentityID *string `json:"externalIdentityId,omitempty" tf:"external_identity_id,omitempty"`

	// Specifies the type of the IAM user in the external system.
	// Only TenantIdp is supported now. This parameter must be used together with external_identity_id.
	ExternalIdentityType *string `json:"externalIdentityType,omitempty" tf:"external_identity_type,omitempty"`

	// Specifies the verification method of login protect. If it is
	// empty, the login protection will be disabled.
	LoginProtectVerificationMethod *string `json:"loginProtectVerificationMethod,omitempty" tf:"login_protect_verification_method,omitempty"`

	// Specifies the name of the user. The user name consists of 1 to 32 characters. It can
	// contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a
	// digit.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the password for the user with 6 to 32 characters. It must contain at least
	// two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specifies the mobile number with a maximum of 32 digits. This parameter must be used
	// together with country_code.
	Phone *string `json:"phone,omitempty" tf:"phone,omitempty"`

	// Specifies whether or not the password should be reset. By default, the password is asked
	// to reset at the first login.
	PwdReset *bool `json:"pwdReset,omitempty" tf:"pwd_reset,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

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

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// Specifies the access type of the user. Available values are:
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Specifies the country code. The country code of the Chinese mainland is 0086. This
	// parameter must be used together with phone.
	CountryCode *string `json:"countryCode,omitempty" tf:"country_code,omitempty"`

	// The time when the IAM user was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Specifies the description of the user.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the email address with a maximum of 255 characters.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether the user is enabled or disabled. Valid values are true and false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the ID of the IAM user in the external system.
	// This parameter is used for IAM user SSO type, make sure that the IAM_SAML_Attributes_xUserId of the federated user
	// is the same as the external_identity_id of the corresponding IAM user.
	ExternalIdentityID *string `json:"externalIdentityId,omitempty" tf:"external_identity_id,omitempty"`

	// Specifies the type of the IAM user in the external system.
	// Only TenantIdp is supported now. This parameter must be used together with external_identity_id.
	ExternalIdentityType *string `json:"externalIdentityType,omitempty" tf:"external_identity_type,omitempty"`

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The time when the IAM user last login.
	LastLogin *string `json:"lastLogin,omitempty" tf:"last_login,omitempty"`

	// Specifies the verification method of login protect. If it is
	// empty, the login protection will be disabled.
	LoginProtectVerificationMethod *string `json:"loginProtectVerificationMethod,omitempty" tf:"login_protect_verification_method,omitempty"`

	// Specifies the name of the user. The user name consists of 1 to 32 characters. It can
	// contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a
	// digit.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Indicates the password strength.
	PasswordStrength *string `json:"passwordStrength,omitempty" tf:"password_strength,omitempty"`

	// Specifies the mobile number with a maximum of 32 digits. This parameter must be used
	// together with country_code.
	Phone *string `json:"phone,omitempty" tf:"phone,omitempty"`

	// Specifies whether or not the password should be reset. By default, the password is asked
	// to reset at the first login.
	PwdReset *bool `json:"pwdReset,omitempty" tf:"pwd_reset,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// Specifies the access type of the user. Available values are:
	// +kubebuilder:validation:Optional
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Specifies the country code. The country code of the Chinese mainland is 0086. This
	// parameter must be used together with phone.
	// +kubebuilder:validation:Optional
	CountryCode *string `json:"countryCode,omitempty" tf:"country_code,omitempty"`

	// Specifies the description of the user.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the email address with a maximum of 255 characters.
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Specifies whether the user is enabled or disabled. Valid values are true and false.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the ID of the IAM user in the external system.
	// This parameter is used for IAM user SSO type, make sure that the IAM_SAML_Attributes_xUserId of the federated user
	// is the same as the external_identity_id of the corresponding IAM user.
	// +kubebuilder:validation:Optional
	ExternalIdentityID *string `json:"externalIdentityId,omitempty" tf:"external_identity_id,omitempty"`

	// Specifies the type of the IAM user in the external system.
	// Only TenantIdp is supported now. This parameter must be used together with external_identity_id.
	// +kubebuilder:validation:Optional
	ExternalIdentityType *string `json:"externalIdentityType,omitempty" tf:"external_identity_type,omitempty"`

	// Specifies the verification method of login protect. If it is
	// empty, the login protection will be disabled.
	// +kubebuilder:validation:Optional
	LoginProtectVerificationMethod *string `json:"loginProtectVerificationMethod,omitempty" tf:"login_protect_verification_method,omitempty"`

	// Specifies the name of the user. The user name consists of 1 to 32 characters. It can
	// contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a
	// digit.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the password for the user with 6 to 32 characters. It must contain at least
	// two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specifies the mobile number with a maximum of 32 digits. This parameter must be used
	// together with country_code.
	// +kubebuilder:validation:Optional
	Phone *string `json:"phone,omitempty" tf:"phone,omitempty"`

	// Specifies whether or not the password should be reset. By default, the password is asked
	// to reset at the first login.
	// +kubebuilder:validation:Optional
	PwdReset *bool `json:"pwdReset,omitempty" tf:"pwd_reset,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserRoleAssignment

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

UserRoleAssignment is the Schema for the UserRoleAssignments API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*UserRoleAssignment) DeepCopy

func (in *UserRoleAssignment) DeepCopy() *UserRoleAssignment

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

func (*UserRoleAssignment) DeepCopyInto

func (in *UserRoleAssignment) DeepCopyInto(out *UserRoleAssignment)

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

func (*UserRoleAssignment) DeepCopyObject

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

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

func (*UserRoleAssignment) GetCondition

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

GetCondition of this UserRoleAssignment.

func (*UserRoleAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UserRoleAssignment

func (*UserRoleAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this UserRoleAssignment.

func (*UserRoleAssignment) GetID

func (tr *UserRoleAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this UserRoleAssignment

func (*UserRoleAssignment) GetInitParameters

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

GetInitParameters of this UserRoleAssignment

func (*UserRoleAssignment) GetManagementPolicies

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

GetManagementPolicies of this UserRoleAssignment.

func (*UserRoleAssignment) GetMergedParameters

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

GetInitParameters of this UserRoleAssignment

func (*UserRoleAssignment) GetObservation

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

GetObservation of this UserRoleAssignment

func (*UserRoleAssignment) GetParameters

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

GetParameters of this UserRoleAssignment

func (*UserRoleAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this UserRoleAssignment.

func (*UserRoleAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UserRoleAssignment.

func (*UserRoleAssignment) GetTerraformResourceType

func (mg *UserRoleAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UserRoleAssignment

func (*UserRoleAssignment) GetTerraformSchemaVersion

func (tr *UserRoleAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UserRoleAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UserRoleAssignment.

func (*UserRoleAssignment) Hub

func (tr *UserRoleAssignment) Hub()

Hub marks this type as a conversion hub.

func (*UserRoleAssignment) LateInitialize

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

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

func (*UserRoleAssignment) ResolveReferences

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

ResolveReferences of this UserRoleAssignment.

func (*UserRoleAssignment) SetConditions

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

SetConditions of this UserRoleAssignment.

func (*UserRoleAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this UserRoleAssignment.

func (*UserRoleAssignment) SetManagementPolicies

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

SetManagementPolicies of this UserRoleAssignment.

func (*UserRoleAssignment) SetObservation

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

SetObservation for this UserRoleAssignment

func (*UserRoleAssignment) SetParameters

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

SetParameters for this UserRoleAssignment

func (*UserRoleAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this UserRoleAssignment.

func (*UserRoleAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UserRoleAssignment.

func (*UserRoleAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UserRoleAssignment.

type UserRoleAssignmentInitParameters

type UserRoleAssignmentInitParameters struct {

	// Specifies the ID of the enterprise project
	// to assign the role in. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`

	// Specifies the the ID of user to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*UserRoleAssignmentInitParameters) DeepCopy

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

func (*UserRoleAssignmentInitParameters) DeepCopyInto

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

type UserRoleAssignmentList

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

UserRoleAssignmentList contains a list of UserRoleAssignments

func (*UserRoleAssignmentList) DeepCopy

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

func (*UserRoleAssignmentList) DeepCopyInto

func (in *UserRoleAssignmentList) DeepCopyInto(out *UserRoleAssignmentList)

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

func (*UserRoleAssignmentList) DeepCopyObject

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

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

func (*UserRoleAssignmentList) GetItems

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

GetItems of this UserRoleAssignmentList.

type UserRoleAssignmentObservation

type UserRoleAssignmentObservation struct {

	// Specifies the ID of the enterprise project
	// to assign the role in. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// The resource ID. The format is <user_id>/<role_id>/<enterprise_project_id>.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Specifies the the ID of user to assign the role to.
	// Changing this parameter will create a new resource.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*UserRoleAssignmentObservation) DeepCopy

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

func (*UserRoleAssignmentObservation) DeepCopyInto

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

type UserRoleAssignmentParameters

type UserRoleAssignmentParameters struct {

	// Specifies the ID of the enterprise project
	// to assign the role in. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the role to assign.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Reference to a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"`

	// Specifies the the ID of user to assign the role to.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*UserRoleAssignmentParameters) DeepCopy

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

func (*UserRoleAssignmentParameters) DeepCopyInto

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

type UserRoleAssignmentSpec

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

UserRoleAssignmentSpec defines the desired state of UserRoleAssignment

func (*UserRoleAssignmentSpec) DeepCopy

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

func (*UserRoleAssignmentSpec) DeepCopyInto

func (in *UserRoleAssignmentSpec) DeepCopyInto(out *UserRoleAssignmentSpec)

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

type UserRoleAssignmentStatus

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

UserRoleAssignmentStatus defines the observed state of UserRoleAssignment.

func (*UserRoleAssignmentStatus) DeepCopy

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

func (*UserRoleAssignmentStatus) DeepCopyInto

func (in *UserRoleAssignmentStatus) DeepCopyInto(out *UserRoleAssignmentStatus)

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

type UserSpec

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

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

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

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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

type UserToken

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

UserToken is the Schema for the UserTokens API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*UserToken) DeepCopy

func (in *UserToken) DeepCopy() *UserToken

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

func (*UserToken) DeepCopyInto

func (in *UserToken) DeepCopyInto(out *UserToken)

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

func (*UserToken) DeepCopyObject

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

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

func (*UserToken) GetCondition

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

GetCondition of this UserToken.

func (*UserToken) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UserToken

func (*UserToken) GetDeletionPolicy

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

GetDeletionPolicy of this UserToken.

func (*UserToken) GetID

func (tr *UserToken) GetID() string

GetID returns ID of underlying Terraform resource of this UserToken

func (*UserToken) GetInitParameters

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

GetInitParameters of this UserToken

func (*UserToken) GetManagementPolicies

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

GetManagementPolicies of this UserToken.

func (*UserToken) GetMergedParameters

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

GetInitParameters of this UserToken

func (*UserToken) GetObservation

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

GetObservation of this UserToken

func (*UserToken) GetParameters

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

GetParameters of this UserToken

func (*UserToken) GetProviderConfigReference

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

GetProviderConfigReference of this UserToken.

func (*UserToken) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UserToken.

func (*UserToken) GetTerraformResourceType

func (mg *UserToken) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UserToken

func (*UserToken) GetTerraformSchemaVersion

func (tr *UserToken) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UserToken) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UserToken.

func (*UserToken) Hub

func (tr *UserToken) Hub()

Hub marks this type as a conversion hub.

func (*UserToken) LateInitialize

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

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

func (*UserToken) SetConditions

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

SetConditions of this UserToken.

func (*UserToken) SetDeletionPolicy

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

SetDeletionPolicy of this UserToken.

func (*UserToken) SetManagementPolicies

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

SetManagementPolicies of this UserToken.

func (*UserToken) SetObservation

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

SetObservation for this UserToken

func (*UserToken) SetParameters

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

SetParameters for this UserToken

func (*UserToken) SetProviderConfigReference

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

SetProviderConfigReference of this UserToken.

func (*UserToken) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UserToken.

func (*UserToken) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UserToken.

type UserTokenInitParameters

type UserTokenInitParameters struct {

	// Specifies the account name to which the IAM user belongs.
	// Changing this will create a new token.
	AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"`

	// Specifies the IAM user password. Changing this will create a new token.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Specifies the project name. If it is blank, the token applies to global
	// services, otherwise the token applies to project-level services. Changing this will create a new token.
	ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"`

	// Specifies the IAM user name. Changing this will create a new token.
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*UserTokenInitParameters) DeepCopy

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

func (*UserTokenInitParameters) DeepCopyInto

func (in *UserTokenInitParameters) DeepCopyInto(out *UserTokenInitParameters)

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

type UserTokenList

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

UserTokenList contains a list of UserTokens

func (*UserTokenList) DeepCopy

func (in *UserTokenList) DeepCopy() *UserTokenList

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

func (*UserTokenList) DeepCopyInto

func (in *UserTokenList) DeepCopyInto(out *UserTokenList)

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

func (*UserTokenList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UserTokenList) GetItems

func (l *UserTokenList) GetItems() []resource.Managed

GetItems of this UserTokenList.

type UserTokenObservation

type UserTokenObservation struct {

	// Specifies the account name to which the IAM user belongs.
	// Changing this will create a new token.
	AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"`

	// The Time when the token will expire. The value is a UTC time in the YYYY-MM-DDTHH:mm:ss.ssssssZ format.
	ExpiresAt *string `json:"expiresAt,omitempty" tf:"expires_at,omitempty"`

	// Resource ID in format <account_name>/<user_name>.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the project name. If it is blank, the token applies to global
	// services, otherwise the token applies to project-level services. Changing this will create a new token.
	ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"`

	// The token. Validity period is 24 hours.
	Token *string `json:"token,omitempty" tf:"token,omitempty"`

	// Specifies the IAM user name. Changing this will create a new token.
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*UserTokenObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTokenObservation.

func (*UserTokenObservation) DeepCopyInto

func (in *UserTokenObservation) DeepCopyInto(out *UserTokenObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserTokenParameters

type UserTokenParameters struct {

	// Specifies the account name to which the IAM user belongs.
	// Changing this will create a new token.
	// +kubebuilder:validation:Optional
	AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"`

	// Specifies the IAM user password. Changing this will create a new token.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Specifies the project name. If it is blank, the token applies to global
	// services, otherwise the token applies to project-level services. Changing this will create a new token.
	// +kubebuilder:validation:Optional
	ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"`

	// Specifies the IAM user name. Changing this will create a new token.
	// +kubebuilder:validation:Optional
	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*UserTokenParameters) DeepCopy

func (in *UserTokenParameters) DeepCopy() *UserTokenParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTokenParameters.

func (*UserTokenParameters) DeepCopyInto

func (in *UserTokenParameters) DeepCopyInto(out *UserTokenParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserTokenSpec

type UserTokenSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserTokenParameters `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 UserTokenInitParameters `json:"initProvider,omitempty"`
}

UserTokenSpec defines the desired state of UserToken

func (*UserTokenSpec) DeepCopy

func (in *UserTokenSpec) DeepCopy() *UserTokenSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTokenSpec.

func (*UserTokenSpec) DeepCopyInto

func (in *UserTokenSpec) DeepCopyInto(out *UserTokenSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserTokenStatus

type UserTokenStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        UserTokenObservation `json:"atProvider,omitempty"`
}

UserTokenStatus defines the observed state of UserToken.

func (*UserTokenStatus) DeepCopy

func (in *UserTokenStatus) DeepCopy() *UserTokenStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTokenStatus.

func (*UserTokenStatus) DeepCopyInto

func (in *UserTokenStatus) DeepCopyInto(out *UserTokenStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMfaDevice

type VirtualMfaDevice 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   VirtualMfaDeviceSpec   `json:"spec"`
	Status VirtualMfaDeviceStatus `json:"status,omitempty"`
}

VirtualMfaDevice is the Schema for the VirtualMfaDevices API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,huaweicloud}

func (*VirtualMfaDevice) DeepCopy

func (in *VirtualMfaDevice) DeepCopy() *VirtualMfaDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDevice.

func (*VirtualMfaDevice) DeepCopyInto

func (in *VirtualMfaDevice) DeepCopyInto(out *VirtualMfaDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMfaDevice) DeepCopyObject

func (in *VirtualMfaDevice) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMfaDevice) GetCondition

func (mg *VirtualMfaDevice) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this VirtualMfaDevice.

func (*VirtualMfaDevice) GetConnectionDetailsMapping

func (tr *VirtualMfaDevice) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this VirtualMfaDevice

func (*VirtualMfaDevice) GetDeletionPolicy

func (mg *VirtualMfaDevice) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this VirtualMfaDevice.

func (*VirtualMfaDevice) GetID

func (tr *VirtualMfaDevice) GetID() string

GetID returns ID of underlying Terraform resource of this VirtualMfaDevice

func (*VirtualMfaDevice) GetInitParameters

func (tr *VirtualMfaDevice) GetInitParameters() (map[string]any, error)

GetInitParameters of this VirtualMfaDevice

func (*VirtualMfaDevice) GetManagementPolicies

func (mg *VirtualMfaDevice) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this VirtualMfaDevice.

func (*VirtualMfaDevice) GetMergedParameters

func (tr *VirtualMfaDevice) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this VirtualMfaDevice

func (*VirtualMfaDevice) GetObservation

func (tr *VirtualMfaDevice) GetObservation() (map[string]any, error)

GetObservation of this VirtualMfaDevice

func (*VirtualMfaDevice) GetParameters

func (tr *VirtualMfaDevice) GetParameters() (map[string]any, error)

GetParameters of this VirtualMfaDevice

func (*VirtualMfaDevice) GetProviderConfigReference

func (mg *VirtualMfaDevice) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this VirtualMfaDevice.

func (*VirtualMfaDevice) GetPublishConnectionDetailsTo

func (mg *VirtualMfaDevice) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this VirtualMfaDevice.

func (*VirtualMfaDevice) GetTerraformResourceType

func (mg *VirtualMfaDevice) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VirtualMfaDevice

func (*VirtualMfaDevice) GetTerraformSchemaVersion

func (tr *VirtualMfaDevice) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VirtualMfaDevice) GetWriteConnectionSecretToReference

func (mg *VirtualMfaDevice) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this VirtualMfaDevice.

func (*VirtualMfaDevice) Hub

func (tr *VirtualMfaDevice) Hub()

Hub marks this type as a conversion hub.

func (*VirtualMfaDevice) LateInitialize

func (tr *VirtualMfaDevice) LateInitialize(attrs []byte) (bool, error)

LateInitialize this VirtualMfaDevice using its observed tfState. returns True if there are any spec changes for the resource.

func (*VirtualMfaDevice) ResolveReferences

func (mg *VirtualMfaDevice) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetConditions

func (mg *VirtualMfaDevice) SetConditions(c ...xpv1.Condition)

SetConditions of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetDeletionPolicy

func (mg *VirtualMfaDevice) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetManagementPolicies

func (mg *VirtualMfaDevice) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetObservation

func (tr *VirtualMfaDevice) SetObservation(obs map[string]any) error

SetObservation for this VirtualMfaDevice

func (*VirtualMfaDevice) SetParameters

func (tr *VirtualMfaDevice) SetParameters(params map[string]any) error

SetParameters for this VirtualMfaDevice

func (*VirtualMfaDevice) SetProviderConfigReference

func (mg *VirtualMfaDevice) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetPublishConnectionDetailsTo

func (mg *VirtualMfaDevice) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this VirtualMfaDevice.

func (*VirtualMfaDevice) SetWriteConnectionSecretToReference

func (mg *VirtualMfaDevice) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this VirtualMfaDevice.

type VirtualMfaDeviceInitParameters

type VirtualMfaDeviceInitParameters struct {

	// Specifies the virtual MFA device name. Changing this will create a new virtual
	// MFA device.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the user ID which the virtual MFA device belongs to.
	// Changing this will create a new virtual MFA device.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*VirtualMfaDeviceInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceInitParameters.

func (*VirtualMfaDeviceInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMfaDeviceList

type VirtualMfaDeviceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMfaDevice `json:"items"`
}

VirtualMfaDeviceList contains a list of VirtualMfaDevices

func (*VirtualMfaDeviceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceList.

func (*VirtualMfaDeviceList) DeepCopyInto

func (in *VirtualMfaDeviceList) DeepCopyInto(out *VirtualMfaDeviceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMfaDeviceList) DeepCopyObject

func (in *VirtualMfaDeviceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMfaDeviceList) GetItems

func (l *VirtualMfaDeviceList) GetItems() []resource.Managed

GetItems of this VirtualMfaDeviceList.

type VirtualMfaDeviceObservation

type VirtualMfaDeviceObservation struct {

	// The base32 seed, which a third-patry system can use to generate a CAPTCHA code.
	Base32StringSeed *string `json:"base32StringSeed,omitempty" tf:"base32_string_seed,omitempty"`

	// Indicates the serial number.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the virtual MFA device name. Changing this will create a new virtual
	// MFA device.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A QR code PNG image that encodes otpauth://totp/huawei:$domainName@$userName?secret=$Base32String
	// where $domainName is IAM domain name, $userName is IAM user name, and Base32String is the seed in base32 format.
	QrCodePng *string `json:"qrCodePng,omitempty" tf:"qr_code_png,omitempty"`

	// Specifies the user ID which the virtual MFA device belongs to.
	// Changing this will create a new virtual MFA device.
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*VirtualMfaDeviceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceObservation.

func (*VirtualMfaDeviceObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMfaDeviceParameters

type VirtualMfaDeviceParameters struct {

	// Specifies the virtual MFA device name. Changing this will create a new virtual
	// MFA device.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the user ID which the virtual MFA device belongs to.
	// Changing this will create a new virtual MFA device.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/iam/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*VirtualMfaDeviceParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceParameters.

func (*VirtualMfaDeviceParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMfaDeviceSpec

type VirtualMfaDeviceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VirtualMfaDeviceParameters `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 VirtualMfaDeviceInitParameters `json:"initProvider,omitempty"`
}

VirtualMfaDeviceSpec defines the desired state of VirtualMfaDevice

func (*VirtualMfaDeviceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceSpec.

func (*VirtualMfaDeviceSpec) DeepCopyInto

func (in *VirtualMfaDeviceSpec) DeepCopyInto(out *VirtualMfaDeviceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMfaDeviceStatus

type VirtualMfaDeviceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        VirtualMfaDeviceObservation `json:"atProvider,omitempty"`
}

VirtualMfaDeviceStatus defines the observed state of VirtualMfaDevice.

func (*VirtualMfaDeviceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMfaDeviceStatus.

func (*VirtualMfaDeviceStatus) DeepCopyInto

func (in *VirtualMfaDeviceStatus) DeepCopyInto(out *VirtualMfaDeviceStatus)

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