v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the iam resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=iam.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=iam.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iam.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	FolderIAMBinding_Kind             = "FolderIAMBinding"
	FolderIAMBinding_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FolderIAMBinding_Kind}.String()
	FolderIAMBinding_KindAPIVersion   = FolderIAMBinding_Kind + "." + CRDGroupVersion.String()
	FolderIAMBinding_GroupVersionKind = CRDGroupVersion.WithKind(FolderIAMBinding_Kind)
)

Repository type metadata.

View Source
var (
	FolderIAMMember_Kind             = "FolderIAMMember"
	FolderIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FolderIAMMember_Kind}.String()
	FolderIAMMember_KindAPIVersion   = FolderIAMMember_Kind + "." + CRDGroupVersion.String()
	FolderIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(FolderIAMMember_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 (
	ServiceAccount_Kind             = "ServiceAccount"
	ServiceAccount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccount_Kind}.String()
	ServiceAccount_KindAPIVersion   = ServiceAccount_Kind + "." + CRDGroupVersion.String()
	ServiceAccount_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccount_Kind)
)

Repository type metadata.

View Source
var (
	ServiceAccountIAMMember_Kind             = "ServiceAccountIAMMember"
	ServiceAccountIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccountIAMMember_Kind}.String()
	ServiceAccountIAMMember_KindAPIVersion   = ServiceAccountIAMMember_Kind + "." + CRDGroupVersion.String()
	ServiceAccountIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccountIAMMember_Kind)
)

Repository type metadata.

View Source
var (
	ServiceAccountKey_Kind             = "ServiceAccountKey"
	ServiceAccountKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccountKey_Kind}.String()
	ServiceAccountKey_KindAPIVersion   = ServiceAccountKey_Kind + "." + CRDGroupVersion.String()
	ServiceAccountKey_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccountKey_Kind)
)

Repository type metadata.

View Source
var (
	ServiceAccountStaticAccessKey_Kind             = "ServiceAccountStaticAccessKey"
	ServiceAccountStaticAccessKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccountStaticAccessKey_Kind}.String()
	ServiceAccountStaticAccessKey_KindAPIVersion   = ServiceAccountStaticAccessKey_Kind + "." + CRDGroupVersion.String()
	ServiceAccountStaticAccessKey_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccountStaticAccessKey_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type FolderIAMBinding

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

FolderIAMBinding is the Schema for the FolderIAMBindings API. Allows management of a single IAM binding for a Yandex Resource Manager folder. +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,yandex-cloud}

func (*FolderIAMBinding) DeepCopy

func (in *FolderIAMBinding) DeepCopy() *FolderIAMBinding

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

func (*FolderIAMBinding) DeepCopyInto

func (in *FolderIAMBinding) DeepCopyInto(out *FolderIAMBinding)

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

func (*FolderIAMBinding) DeepCopyObject

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

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

func (*FolderIAMBinding) GetCondition

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

GetCondition of this FolderIAMBinding.

func (*FolderIAMBinding) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FolderIAMBinding

func (*FolderIAMBinding) GetDeletionPolicy

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

GetDeletionPolicy of this FolderIAMBinding.

func (*FolderIAMBinding) GetID

func (tr *FolderIAMBinding) GetID() string

GetID returns ID of underlying Terraform resource of this FolderIAMBinding

func (*FolderIAMBinding) GetInitParameters

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

GetInitParameters of this FolderIAMBinding

func (*FolderIAMBinding) GetManagementPolicies

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

GetManagementPolicies of this FolderIAMBinding.

func (*FolderIAMBinding) GetMergedParameters

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

GetInitParameters of this FolderIAMBinding

func (*FolderIAMBinding) GetObservation

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

GetObservation of this FolderIAMBinding

func (*FolderIAMBinding) GetParameters

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

GetParameters of this FolderIAMBinding

func (*FolderIAMBinding) GetProviderConfigReference

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

GetProviderConfigReference of this FolderIAMBinding.

func (*FolderIAMBinding) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FolderIAMBinding.

func (*FolderIAMBinding) GetTerraformResourceType

func (mg *FolderIAMBinding) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FolderIAMBinding

func (*FolderIAMBinding) GetTerraformSchemaVersion

func (tr *FolderIAMBinding) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FolderIAMBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FolderIAMBinding.

func (*FolderIAMBinding) Hub

func (tr *FolderIAMBinding) Hub()

Hub marks this type as a conversion hub.

func (*FolderIAMBinding) LateInitialize

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

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

func (*FolderIAMBinding) ResolveReferences

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

ResolveReferences of this FolderIAMBinding.

func (*FolderIAMBinding) SetConditions

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

SetConditions of this FolderIAMBinding.

func (*FolderIAMBinding) SetDeletionPolicy

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

SetDeletionPolicy of this FolderIAMBinding.

func (*FolderIAMBinding) SetManagementPolicies

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

SetManagementPolicies of this FolderIAMBinding.

func (*FolderIAMBinding) SetObservation

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

SetObservation for this FolderIAMBinding

func (*FolderIAMBinding) SetParameters

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

SetParameters for this FolderIAMBinding

func (*FolderIAMBinding) SetProviderConfigReference

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

SetProviderConfigReference of this FolderIAMBinding.

func (*FolderIAMBinding) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FolderIAMBinding.

func (*FolderIAMBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FolderIAMBinding.

type FolderIAMBindingInitParameters

type FolderIAMBindingInitParameters struct {

	// ID of the folder to attach a policy to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// An array of identities that will be granted the privilege that is specified in the role field.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountsRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountsSelector
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The role that should be assigned. Only one
	// yandex_resourcemanager_folder_iam_binding can be used per role.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountsRef []v1.Reference `json:"serviceAccountsRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountsSelector *v1.Selector `json:"serviceAccountsSelector,omitempty" tf:"-"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMBindingInitParameters) DeepCopy

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

func (*FolderIAMBindingInitParameters) DeepCopyInto

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

type FolderIAMBindingList

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

FolderIAMBindingList contains a list of FolderIAMBindings

func (*FolderIAMBindingList) DeepCopy

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

func (*FolderIAMBindingList) DeepCopyInto

func (in *FolderIAMBindingList) DeepCopyInto(out *FolderIAMBindingList)

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

func (*FolderIAMBindingList) DeepCopyObject

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

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

func (*FolderIAMBindingList) GetItems

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

GetItems of this FolderIAMBindingList.

type FolderIAMBindingObservation

type FolderIAMBindingObservation struct {

	// ID of the folder to attach a policy to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// An array of identities that will be granted the privilege that is specified in the role field.
	// Each entry can have one of the following values:
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The role that should be assigned. Only one
	// yandex_resourcemanager_folder_iam_binding can be used per role.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMBindingObservation) DeepCopy

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

func (*FolderIAMBindingObservation) DeepCopyInto

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

type FolderIAMBindingParameters

type FolderIAMBindingParameters struct {

	// ID of the folder to attach a policy to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// An array of identities that will be granted the privilege that is specified in the role field.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountsRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountsSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The role that should be assigned. Only one
	// yandex_resourcemanager_folder_iam_binding can be used per role.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountsRef []v1.Reference `json:"serviceAccountsRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountsSelector *v1.Selector `json:"serviceAccountsSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMBindingParameters) DeepCopy

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

func (*FolderIAMBindingParameters) DeepCopyInto

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

type FolderIAMBindingSpec

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

FolderIAMBindingSpec defines the desired state of FolderIAMBinding

func (*FolderIAMBindingSpec) DeepCopy

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

func (*FolderIAMBindingSpec) DeepCopyInto

func (in *FolderIAMBindingSpec) DeepCopyInto(out *FolderIAMBindingSpec)

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

type FolderIAMBindingStatus

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

FolderIAMBindingStatus defines the observed state of FolderIAMBinding.

func (*FolderIAMBindingStatus) DeepCopy

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

func (*FolderIAMBindingStatus) DeepCopyInto

func (in *FolderIAMBindingStatus) DeepCopyInto(out *FolderIAMBindingStatus)

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

type FolderIAMMember

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

FolderIAMMember is the Schema for the FolderIAMMembers API. Allows management of a single member for a single IAM binding for a Yandex Resource Manager folder. +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,yandex-cloud}

func (*FolderIAMMember) DeepCopy

func (in *FolderIAMMember) DeepCopy() *FolderIAMMember

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

func (*FolderIAMMember) DeepCopyInto

func (in *FolderIAMMember) DeepCopyInto(out *FolderIAMMember)

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

func (*FolderIAMMember) DeepCopyObject

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

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

func (*FolderIAMMember) GetCondition

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

GetCondition of this FolderIAMMember.

func (*FolderIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FolderIAMMember

func (*FolderIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this FolderIAMMember.

func (*FolderIAMMember) GetID

func (tr *FolderIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this FolderIAMMember

func (*FolderIAMMember) GetInitParameters

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

GetInitParameters of this FolderIAMMember

func (*FolderIAMMember) GetManagementPolicies

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

GetManagementPolicies of this FolderIAMMember.

func (*FolderIAMMember) GetMergedParameters

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

GetInitParameters of this FolderIAMMember

func (*FolderIAMMember) GetObservation

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

GetObservation of this FolderIAMMember

func (*FolderIAMMember) GetParameters

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

GetParameters of this FolderIAMMember

func (*FolderIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this FolderIAMMember.

func (*FolderIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FolderIAMMember.

func (*FolderIAMMember) GetTerraformResourceType

func (mg *FolderIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FolderIAMMember

func (*FolderIAMMember) GetTerraformSchemaVersion

func (tr *FolderIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FolderIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FolderIAMMember.

func (*FolderIAMMember) Hub

func (tr *FolderIAMMember) Hub()

Hub marks this type as a conversion hub.

func (*FolderIAMMember) LateInitialize

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

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

func (*FolderIAMMember) ResolveReferences

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

ResolveReferences of this FolderIAMMember.

func (*FolderIAMMember) SetConditions

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

SetConditions of this FolderIAMMember.

func (*FolderIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this FolderIAMMember.

func (*FolderIAMMember) SetManagementPolicies

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

SetManagementPolicies of this FolderIAMMember.

func (*FolderIAMMember) SetObservation

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

SetObservation for this FolderIAMMember

func (*FolderIAMMember) SetParameters

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

SetParameters for this FolderIAMMember

func (*FolderIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this FolderIAMMember.

func (*FolderIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FolderIAMMember.

func (*FolderIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FolderIAMMember.

type FolderIAMMemberInitParameters

type FolderIAMMemberInitParameters struct {

	// ID of the folder to attach a policy to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// The identity that will be granted the privilege that is specified in the role field.
	// This field can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be assigned.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMMemberInitParameters) DeepCopy

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

func (*FolderIAMMemberInitParameters) DeepCopyInto

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

type FolderIAMMemberList

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

FolderIAMMemberList contains a list of FolderIAMMembers

func (*FolderIAMMemberList) DeepCopy

func (in *FolderIAMMemberList) DeepCopy() *FolderIAMMemberList

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

func (*FolderIAMMemberList) DeepCopyInto

func (in *FolderIAMMemberList) DeepCopyInto(out *FolderIAMMemberList)

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

func (*FolderIAMMemberList) DeepCopyObject

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

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

func (*FolderIAMMemberList) GetItems

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

GetItems of this FolderIAMMemberList.

type FolderIAMMemberObservation

type FolderIAMMemberObservation struct {

	// ID of the folder to attach a policy to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// The identity that will be granted the privilege that is specified in the role field.
	// This field can have one of the following values:
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be assigned.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMMemberObservation) DeepCopy

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

func (*FolderIAMMemberObservation) DeepCopyInto

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

type FolderIAMMemberParameters

type FolderIAMMemberParameters struct {

	// ID of the folder to attach a policy to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// The identity that will be granted the privilege that is specified in the role field.
	// This field can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +kubebuilder:validation:Optional
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be assigned.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*FolderIAMMemberParameters) DeepCopy

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

func (*FolderIAMMemberParameters) DeepCopyInto

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

type FolderIAMMemberSpec

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

FolderIAMMemberSpec defines the desired state of FolderIAMMember

func (*FolderIAMMemberSpec) DeepCopy

func (in *FolderIAMMemberSpec) DeepCopy() *FolderIAMMemberSpec

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

func (*FolderIAMMemberSpec) DeepCopyInto

func (in *FolderIAMMemberSpec) DeepCopyInto(out *FolderIAMMemberSpec)

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

type FolderIAMMemberStatus

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

FolderIAMMemberStatus defines the observed state of FolderIAMMember.

func (*FolderIAMMemberStatus) DeepCopy

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

func (*FolderIAMMemberStatus) DeepCopyInto

func (in *FolderIAMMemberStatus) DeepCopyInto(out *FolderIAMMemberStatus)

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

type ServiceAccount

type ServiceAccount 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   ServiceAccountSpec   `json:"spec"`
	Status ServiceAccountStatus `json:"status,omitempty"`
}

ServiceAccount is the Schema for the ServiceAccounts API. Allows management of a Yandex.Cloud IAM service account. +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,yandex-cloud}

func (*ServiceAccount) DeepCopy

func (in *ServiceAccount) DeepCopy() *ServiceAccount

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

func (*ServiceAccount) DeepCopyInto

func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)

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

func (*ServiceAccount) DeepCopyObject

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

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

func (*ServiceAccount) GetCondition

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

GetCondition of this ServiceAccount.

func (*ServiceAccount) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServiceAccount

func (*ServiceAccount) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceAccount.

func (*ServiceAccount) GetID

func (tr *ServiceAccount) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceAccount

func (*ServiceAccount) GetInitParameters

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

GetInitParameters of this ServiceAccount

func (*ServiceAccount) GetManagementPolicies

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

GetManagementPolicies of this ServiceAccount.

func (*ServiceAccount) GetMergedParameters

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

GetInitParameters of this ServiceAccount

func (*ServiceAccount) GetObservation

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

GetObservation of this ServiceAccount

func (*ServiceAccount) GetParameters

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

GetParameters of this ServiceAccount

func (*ServiceAccount) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceAccount.

func (*ServiceAccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceAccount.

func (*ServiceAccount) GetTerraformResourceType

func (mg *ServiceAccount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceAccount

func (*ServiceAccount) GetTerraformSchemaVersion

func (tr *ServiceAccount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceAccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceAccount.

func (*ServiceAccount) Hub

func (tr *ServiceAccount) Hub()

Hub marks this type as a conversion hub.

func (*ServiceAccount) LateInitialize

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

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

func (*ServiceAccount) ResolveReferences

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

ResolveReferences of this ServiceAccount.

func (*ServiceAccount) SetConditions

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

SetConditions of this ServiceAccount.

func (*ServiceAccount) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceAccount.

func (*ServiceAccount) SetManagementPolicies

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

SetManagementPolicies of this ServiceAccount.

func (*ServiceAccount) SetObservation

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

SetObservation for this ServiceAccount

func (*ServiceAccount) SetParameters

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

SetParameters for this ServiceAccount

func (*ServiceAccount) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceAccount.

func (*ServiceAccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceAccount.

func (*ServiceAccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceAccount.

type ServiceAccountIAMMember

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

ServiceAccountIAMMember is the Schema for the ServiceAccountIAMMembers API. Allows management of a single member for a single IAM binding for a Yandex IAM service account. +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,yandex-cloud}

func (*ServiceAccountIAMMember) DeepCopy

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

func (*ServiceAccountIAMMember) DeepCopyInto

func (in *ServiceAccountIAMMember) DeepCopyInto(out *ServiceAccountIAMMember)

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

func (*ServiceAccountIAMMember) DeepCopyObject

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

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

func (*ServiceAccountIAMMember) GetCondition

GetCondition of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) GetID

func (tr *ServiceAccountIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetInitParameters

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

GetInitParameters of this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetManagementPolicies

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

GetManagementPolicies of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) GetMergedParameters

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

GetInitParameters of this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetObservation

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

GetObservation of this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetParameters

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

GetParameters of this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) GetTerraformResourceType

func (mg *ServiceAccountIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) GetTerraformSchemaVersion

func (tr *ServiceAccountIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceAccountIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) Hub

func (tr *ServiceAccountIAMMember) Hub()

Hub marks this type as a conversion hub.

func (*ServiceAccountIAMMember) LateInitialize

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

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

func (*ServiceAccountIAMMember) ResolveReferences

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

ResolveReferences of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetConditions

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

SetConditions of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetManagementPolicies

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

SetManagementPolicies of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetObservation

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

SetObservation for this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) SetParameters

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

SetParameters for this ServiceAccountIAMMember

func (*ServiceAccountIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceAccountIAMMember.

func (*ServiceAccountIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceAccountIAMMember.

type ServiceAccountIAMMemberInitParameters

type ServiceAccountIAMMemberInitParameters struct {

	// Identity that will be granted the privilege in role.
	// Entry can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be applied. Only one
	// yandex_iam_service_account_iam_binding can be used per role.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The service account ID to apply a policy to.
	// +crossplane:generate:reference:type=ServiceAccount
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// Reference to a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*ServiceAccountIAMMemberInitParameters) DeepCopy

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

func (*ServiceAccountIAMMemberInitParameters) DeepCopyInto

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

type ServiceAccountIAMMemberList

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

ServiceAccountIAMMemberList contains a list of ServiceAccountIAMMembers

func (*ServiceAccountIAMMemberList) DeepCopy

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

func (*ServiceAccountIAMMemberList) DeepCopyInto

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

func (*ServiceAccountIAMMemberList) DeepCopyObject

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

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

func (*ServiceAccountIAMMemberList) GetItems

GetItems of this ServiceAccountIAMMemberList.

type ServiceAccountIAMMemberObservation

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

	// Identity that will be granted the privilege in role.
	// Entry can have one of the following values:
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be applied. Only one
	// yandex_iam_service_account_iam_binding can be used per role.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The service account ID to apply a policy to.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*ServiceAccountIAMMemberObservation) DeepCopy

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

func (*ServiceAccountIAMMemberObservation) DeepCopyInto

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

type ServiceAccountIAMMemberParameters

type ServiceAccountIAMMemberParameters struct {

	// Identity that will be granted the privilege in role.
	// Entry can have one of the following values:
	// +crossplane:generate:reference:type=ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/yandex-cloud/crossplane-provider-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +kubebuilder:validation:Optional
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// The role that should be applied. Only one
	// yandex_iam_service_account_iam_binding can be used per role.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The service account ID to apply a policy to.
	// +crossplane:generate:reference:type=ServiceAccount
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`

	// Reference to a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate member.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*ServiceAccountIAMMemberParameters) DeepCopy

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

func (*ServiceAccountIAMMemberParameters) DeepCopyInto

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

type ServiceAccountIAMMemberSpec

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

ServiceAccountIAMMemberSpec defines the desired state of ServiceAccountIAMMember

func (*ServiceAccountIAMMemberSpec) DeepCopy

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

func (*ServiceAccountIAMMemberSpec) DeepCopyInto

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

type ServiceAccountIAMMemberStatus

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

ServiceAccountIAMMemberStatus defines the observed state of ServiceAccountIAMMember.

func (*ServiceAccountIAMMemberStatus) DeepCopy

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

func (*ServiceAccountIAMMemberStatus) DeepCopyInto

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

type ServiceAccountInitParameters

type ServiceAccountInitParameters struct {

	// Description of the service account.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of the folder that the service account will be created in.
	// Defaults to the provider folder configuration.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Name of the service account.
	// Can be updated without creating a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ServiceAccountInitParameters) DeepCopy

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

func (*ServiceAccountInitParameters) DeepCopyInto

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

type ServiceAccountKey

type ServiceAccountKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceAccountKeySpec   `json:"spec"`
	Status            ServiceAccountKeyStatus `json:"status,omitempty"`
}

ServiceAccountKey is the Schema for the ServiceAccountKeys API. Allows management of a Yandex.Cloud IAM service account key. +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,yandex-cloud}

func (*ServiceAccountKey) DeepCopy

func (in *ServiceAccountKey) DeepCopy() *ServiceAccountKey

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

func (*ServiceAccountKey) DeepCopyInto

func (in *ServiceAccountKey) DeepCopyInto(out *ServiceAccountKey)

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

func (*ServiceAccountKey) DeepCopyObject

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

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

func (*ServiceAccountKey) GetCondition

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

GetCondition of this ServiceAccountKey.

func (*ServiceAccountKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServiceAccountKey

func (*ServiceAccountKey) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceAccountKey.

func (*ServiceAccountKey) GetID

func (tr *ServiceAccountKey) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceAccountKey

func (*ServiceAccountKey) GetInitParameters

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

GetInitParameters of this ServiceAccountKey

func (*ServiceAccountKey) GetManagementPolicies

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

GetManagementPolicies of this ServiceAccountKey.

func (*ServiceAccountKey) GetMergedParameters

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

GetInitParameters of this ServiceAccountKey

func (*ServiceAccountKey) GetObservation

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

GetObservation of this ServiceAccountKey

func (*ServiceAccountKey) GetParameters

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

GetParameters of this ServiceAccountKey

func (*ServiceAccountKey) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceAccountKey.

func (*ServiceAccountKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceAccountKey.

func (*ServiceAccountKey) GetTerraformResourceType

func (mg *ServiceAccountKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceAccountKey

func (*ServiceAccountKey) GetTerraformSchemaVersion

func (tr *ServiceAccountKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceAccountKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceAccountKey.

func (*ServiceAccountKey) Hub

func (tr *ServiceAccountKey) Hub()

Hub marks this type as a conversion hub.

func (*ServiceAccountKey) LateInitialize

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

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

func (*ServiceAccountKey) ResolveReferences

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

ResolveReferences of this ServiceAccountKey.

func (*ServiceAccountKey) SetConditions

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

SetConditions of this ServiceAccountKey.

func (*ServiceAccountKey) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceAccountKey.

func (*ServiceAccountKey) SetManagementPolicies

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

SetManagementPolicies of this ServiceAccountKey.

func (*ServiceAccountKey) SetObservation

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

SetObservation for this ServiceAccountKey

func (*ServiceAccountKey) SetParameters

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

SetParameters for this ServiceAccountKey

func (*ServiceAccountKey) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceAccountKey.

func (*ServiceAccountKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceAccountKey.

func (*ServiceAccountKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceAccountKey.

type ServiceAccountKeyInitParameters

type ServiceAccountKeyInitParameters struct {

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

	// The output format of the keys. PEM_FILE is the default format.
	Format *string `json:"format,omitempty" tf:"format,omitempty"`

	// The algorithm used to generate the key. RSA_2048 is the default algorithm.
	// Valid values are listed in the API reference.
	KeyAlgorithm *string `json:"keyAlgorithm,omitempty" tf:"key_algorithm,omitempty"`

	// An optional PGP key to encrypt the resulting private key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// ID of the service account to create a pair for.
	// +crossplane:generate:reference:type=ServiceAccount
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`
}

func (*ServiceAccountKeyInitParameters) DeepCopy

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

func (*ServiceAccountKeyInitParameters) DeepCopyInto

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

type ServiceAccountKeyList

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

ServiceAccountKeyList contains a list of ServiceAccountKeys

func (*ServiceAccountKeyList) DeepCopy

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

func (*ServiceAccountKeyList) DeepCopyInto

func (in *ServiceAccountKeyList) DeepCopyInto(out *ServiceAccountKeyList)

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

func (*ServiceAccountKeyList) DeepCopyObject

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

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

func (*ServiceAccountKeyList) GetItems

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

GetItems of this ServiceAccountKeyList.

type ServiceAccountKeyObservation

type ServiceAccountKeyObservation struct {

	// Creation timestamp of the static access key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	// The encrypted private key, base64 encoded. This is only populated when pgp_key is supplied.
	EncryptedPrivateKey *string `json:"encryptedPrivateKey,omitempty" tf:"encrypted_private_key,omitempty"`

	// The output format of the keys. PEM_FILE is the default format.
	Format *string `json:"format,omitempty" tf:"format,omitempty"`

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

	// The algorithm used to generate the key. RSA_2048 is the default algorithm.
	// Valid values are listed in the API reference.
	KeyAlgorithm *string `json:"keyAlgorithm,omitempty" tf:"key_algorithm,omitempty"`

	// The fingerprint of the PGP key used to encrypt the private key. This is only populated when pgp_key is supplied.
	KeyFingerprint *string `json:"keyFingerprint,omitempty" tf:"key_fingerprint,omitempty"`

	// An optional PGP key to encrypt the resulting private key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// The public key.
	PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`

	// ID of the service account to create a pair for.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*ServiceAccountKeyObservation) DeepCopy

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

func (*ServiceAccountKeyObservation) DeepCopyInto

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

type ServiceAccountKeyParameters

type ServiceAccountKeyParameters struct {

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

	// The output format of the keys. PEM_FILE is the default format.
	// +kubebuilder:validation:Optional
	Format *string `json:"format,omitempty" tf:"format,omitempty"`

	// The algorithm used to generate the key. RSA_2048 is the default algorithm.
	// Valid values are listed in the API reference.
	// +kubebuilder:validation:Optional
	KeyAlgorithm *string `json:"keyAlgorithm,omitempty" tf:"key_algorithm,omitempty"`

	// An optional PGP key to encrypt the resulting private key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	// +kubebuilder:validation:Optional
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// ID of the service account to create a pair for.
	// +crossplane:generate:reference:type=ServiceAccount
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`
}

func (*ServiceAccountKeyParameters) DeepCopy

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

func (*ServiceAccountKeyParameters) DeepCopyInto

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

type ServiceAccountKeySpec

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

ServiceAccountKeySpec defines the desired state of ServiceAccountKey

func (*ServiceAccountKeySpec) DeepCopy

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

func (*ServiceAccountKeySpec) DeepCopyInto

func (in *ServiceAccountKeySpec) DeepCopyInto(out *ServiceAccountKeySpec)

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

type ServiceAccountKeyStatus

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

ServiceAccountKeyStatus defines the observed state of ServiceAccountKey.

func (*ServiceAccountKeyStatus) DeepCopy

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

func (*ServiceAccountKeyStatus) DeepCopyInto

func (in *ServiceAccountKeyStatus) DeepCopyInto(out *ServiceAccountKeyStatus)

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

type ServiceAccountList

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

ServiceAccountList contains a list of ServiceAccounts

func (*ServiceAccountList) DeepCopy

func (in *ServiceAccountList) DeepCopy() *ServiceAccountList

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

func (*ServiceAccountList) DeepCopyInto

func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList)

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

func (*ServiceAccountList) DeepCopyObject

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

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

func (*ServiceAccountList) GetItems

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

GetItems of this ServiceAccountList.

type ServiceAccountObservation

type ServiceAccountObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the service account.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of the folder that the service account will be created in.
	// Defaults to the provider folder configuration.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// Name of the service account.
	// Can be updated without creating a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ServiceAccountObservation) DeepCopy

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

func (*ServiceAccountObservation) DeepCopyInto

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

type ServiceAccountParameters

type ServiceAccountParameters struct {

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

	// ID of the folder that the service account will be created in.
	// Defaults to the provider folder configuration.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Name of the service account.
	// Can be updated without creating a new resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ServiceAccountParameters) DeepCopy

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

func (*ServiceAccountParameters) DeepCopyInto

func (in *ServiceAccountParameters) DeepCopyInto(out *ServiceAccountParameters)

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

type ServiceAccountSpec

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

ServiceAccountSpec defines the desired state of ServiceAccount

func (*ServiceAccountSpec) DeepCopy

func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec

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

func (*ServiceAccountSpec) DeepCopyInto

func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)

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

type ServiceAccountStaticAccessKey

type ServiceAccountStaticAccessKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceAccountStaticAccessKeySpec   `json:"spec"`
	Status            ServiceAccountStaticAccessKeyStatus `json:"status,omitempty"`
}

ServiceAccountStaticAccessKey is the Schema for the ServiceAccountStaticAccessKeys API. Allows management of a Yandex.Cloud IAM service account static access key. +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,yandex-cloud}

func (*ServiceAccountStaticAccessKey) DeepCopy

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

func (*ServiceAccountStaticAccessKey) DeepCopyInto

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

func (*ServiceAccountStaticAccessKey) DeepCopyObject

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

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

func (*ServiceAccountStaticAccessKey) GetCondition

GetCondition of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) GetID

GetID returns ID of underlying Terraform resource of this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetInitParameters

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

GetInitParameters of this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetManagementPolicies

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

GetManagementPolicies of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) GetMergedParameters

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

GetInitParameters of this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetObservation

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

GetObservation of this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetParameters

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

GetParameters of this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) GetTerraformResourceType

func (mg *ServiceAccountStaticAccessKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) GetTerraformSchemaVersion

func (tr *ServiceAccountStaticAccessKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceAccountStaticAccessKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) Hub

Hub marks this type as a conversion hub.

func (*ServiceAccountStaticAccessKey) LateInitialize

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

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

func (*ServiceAccountStaticAccessKey) ResolveReferences

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

ResolveReferences of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetConditions

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

SetConditions of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetManagementPolicies

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

SetManagementPolicies of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetObservation

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

SetObservation for this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) SetParameters

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

SetParameters for this ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKey) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceAccountStaticAccessKey.

type ServiceAccountStaticAccessKeyInitParameters

type ServiceAccountStaticAccessKeyInitParameters struct {

	// The description of the service account static key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An optional PGP key to encrypt the resulting secret key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// ID of the service account which is used to get a static key.
	// +crossplane:generate:reference:type=ServiceAccount
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`
}

func (*ServiceAccountStaticAccessKeyInitParameters) DeepCopy

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

func (*ServiceAccountStaticAccessKeyInitParameters) DeepCopyInto

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

type ServiceAccountStaticAccessKeyList

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

ServiceAccountStaticAccessKeyList contains a list of ServiceAccountStaticAccessKeys

func (*ServiceAccountStaticAccessKeyList) DeepCopy

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

func (*ServiceAccountStaticAccessKeyList) DeepCopyInto

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

func (*ServiceAccountStaticAccessKeyList) DeepCopyObject

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

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

func (*ServiceAccountStaticAccessKeyList) GetItems

GetItems of this ServiceAccountStaticAccessKeyList.

type ServiceAccountStaticAccessKeyObservation

type ServiceAccountStaticAccessKeyObservation struct {

	// ID of the static access key.
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Creation timestamp of the static access key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The description of the service account static key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The encrypted secret, base64 encoded. This is only populated when pgp_key is supplied.
	EncryptedSecretKey *string `json:"encryptedSecretKey,omitempty" tf:"encrypted_secret_key,omitempty"`

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

	// The fingerprint of the PGP key used to encrypt the secret key. This is only populated when pgp_key is supplied.
	KeyFingerprint *string `json:"keyFingerprint,omitempty" tf:"key_fingerprint,omitempty"`

	// An optional PGP key to encrypt the resulting secret key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// ID of the service account which is used to get a static key.
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*ServiceAccountStaticAccessKeyObservation) DeepCopy

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

func (*ServiceAccountStaticAccessKeyObservation) DeepCopyInto

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

type ServiceAccountStaticAccessKeyParameters

type ServiceAccountStaticAccessKeyParameters struct {

	// The description of the service account static key.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An optional PGP key to encrypt the resulting secret key material. May either be a base64-encoded public key or a keybase username in the form keybase:keybaseusername.
	// +kubebuilder:validation:Optional
	PgpKey *string `json:"pgpKey,omitempty" tf:"pgp_key,omitempty"`

	// ID of the service account which is used to get a static key.
	// +crossplane:generate:reference:type=ServiceAccount
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Reference to a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount to populate serviceAccountId.
	// +kubebuilder:validation:Optional
	ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"`
}

func (*ServiceAccountStaticAccessKeyParameters) DeepCopy

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

func (*ServiceAccountStaticAccessKeyParameters) DeepCopyInto

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

type ServiceAccountStaticAccessKeySpec

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

ServiceAccountStaticAccessKeySpec defines the desired state of ServiceAccountStaticAccessKey

func (*ServiceAccountStaticAccessKeySpec) DeepCopy

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

func (*ServiceAccountStaticAccessKeySpec) DeepCopyInto

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

type ServiceAccountStaticAccessKeyStatus

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

ServiceAccountStaticAccessKeyStatus defines the observed state of ServiceAccountStaticAccessKey.

func (*ServiceAccountStaticAccessKeyStatus) DeepCopy

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

func (*ServiceAccountStaticAccessKeyStatus) DeepCopyInto

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

type ServiceAccountStatus

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

ServiceAccountStatus defines the observed state of ServiceAccount.

func (*ServiceAccountStatus) DeepCopy

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

func (*ServiceAccountStatus) DeepCopyInto

func (in *ServiceAccountStatus) DeepCopyInto(out *ServiceAccountStatus)

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