v1beta1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=administrativeunits.azuread.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "administrativeunits.azuread.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Member_Kind             = "Member"
	Member_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Member_Kind}.String()
	Member_KindAPIVersion   = Member_Kind + "." + CRDGroupVersion.String()
	Member_GroupVersionKind = CRDGroupVersion.WithKind(Member_Kind)
)

Repository type metadata.

View Source
var (
	Unit_Kind             = "Unit"
	Unit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Unit_Kind}.String()
	Unit_KindAPIVersion   = Unit_Kind + "." + CRDGroupVersion.String()
	Unit_GroupVersionKind = CRDGroupVersion.WithKind(Unit_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Member

type Member struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MemberSpec   `json:"spec"`
	Status            MemberStatus `json:"status,omitempty"`
}

Member is the Schema for the Members 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,azuread}

func (*Member) DeepCopy

func (in *Member) DeepCopy() *Member

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

func (*Member) DeepCopyInto

func (in *Member) DeepCopyInto(out *Member)

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

func (*Member) DeepCopyObject

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

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

func (*Member) GetCondition

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

GetCondition of this Member.

func (*Member) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Member

func (*Member) GetDeletionPolicy

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

GetDeletionPolicy of this Member.

func (*Member) GetID

func (tr *Member) GetID() string

GetID returns ID of underlying Terraform resource of this Member

func (*Member) GetInitParameters added in v0.10.0

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

GetInitParameters of this Member

func (*Member) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this Member.

func (*Member) GetMergedParameters added in v0.14.0

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

GetInitParameters of this Member

func (*Member) GetObservation

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

GetObservation of this Member

func (*Member) GetParameters

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

GetParameters of this Member

func (*Member) GetProviderConfigReference

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

GetProviderConfigReference of this Member.

func (*Member) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Member.

func (*Member) GetTerraformResourceType

func (mg *Member) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Member

func (*Member) GetTerraformSchemaVersion

func (tr *Member) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Member) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Member.

func (*Member) Hub added in v0.15.1

func (tr *Member) Hub()

Hub marks this type as a conversion hub.

func (*Member) LateInitialize

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

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

func (*Member) ResolveReferences

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

ResolveReferences of this Member.

func (*Member) SetConditions

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

SetConditions of this Member.

func (*Member) SetDeletionPolicy

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

SetDeletionPolicy of this Member.

func (*Member) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this Member.

func (*Member) SetObservation

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

SetObservation for this Member

func (*Member) SetParameters

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

SetParameters for this Member

func (*Member) SetProviderConfigReference

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

SetProviderConfigReference of this Member.

func (*Member) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Member.

func (*Member) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Member.

type MemberInitParameters added in v0.10.0

type MemberInitParameters struct {

	// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
	// The object ID of the administrative unit
	// +crossplane:generate:reference:type=Unit
	AdministrativeUnitObjectID *string `json:"administrativeUnitObjectId,omitempty" tf:"administrative_unit_object_id,omitempty"`

	// Reference to a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDRef *v1.Reference `json:"administrativeUnitObjectIdRef,omitempty" tf:"-"`

	// Selector for a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDSelector *v1.Selector `json:"administrativeUnitObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
	// The object ID of the member
	MemberObjectID *string `json:"memberObjectId,omitempty" tf:"member_object_id,omitempty"`
}

func (*MemberInitParameters) DeepCopy added in v0.10.0

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

func (*MemberInitParameters) DeepCopyInto added in v0.10.0

func (in *MemberInitParameters) DeepCopyInto(out *MemberInitParameters)

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

type MemberList

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

MemberList contains a list of Members

func (*MemberList) DeepCopy

func (in *MemberList) DeepCopy() *MemberList

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

func (*MemberList) DeepCopyInto

func (in *MemberList) DeepCopyInto(out *MemberList)

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

func (*MemberList) DeepCopyObject

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

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

func (*MemberList) GetItems

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

GetItems of this MemberList.

type MemberObservation

type MemberObservation struct {

	// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
	// The object ID of the administrative unit
	AdministrativeUnitObjectID *string `json:"administrativeUnitObjectId,omitempty" tf:"administrative_unit_object_id,omitempty"`

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

	// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
	// The object ID of the member
	MemberObjectID *string `json:"memberObjectId,omitempty" tf:"member_object_id,omitempty"`
}

func (*MemberObservation) DeepCopy

func (in *MemberObservation) DeepCopy() *MemberObservation

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

func (*MemberObservation) DeepCopyInto

func (in *MemberObservation) DeepCopyInto(out *MemberObservation)

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

type MemberParameters

type MemberParameters struct {

	// The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
	// The object ID of the administrative unit
	// +crossplane:generate:reference:type=Unit
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectID *string `json:"administrativeUnitObjectId,omitempty" tf:"administrative_unit_object_id,omitempty"`

	// Reference to a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDRef *v1.Reference `json:"administrativeUnitObjectIdRef,omitempty" tf:"-"`

	// Selector for a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDSelector *v1.Selector `json:"administrativeUnitObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the user or group you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
	// The object ID of the member
	// +kubebuilder:validation:Optional
	MemberObjectID *string `json:"memberObjectId,omitempty" tf:"member_object_id,omitempty"`
}

func (*MemberParameters) DeepCopy

func (in *MemberParameters) DeepCopy() *MemberParameters

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

func (*MemberParameters) DeepCopyInto

func (in *MemberParameters) DeepCopyInto(out *MemberParameters)

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

type MemberSpec

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

MemberSpec defines the desired state of Member

func (*MemberSpec) DeepCopy

func (in *MemberSpec) DeepCopy() *MemberSpec

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

func (*MemberSpec) DeepCopyInto

func (in *MemberSpec) DeepCopyInto(out *MemberSpec)

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

type MemberStatus

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

MemberStatus defines the observed state of Member.

func (*MemberStatus) DeepCopy

func (in *MemberStatus) DeepCopy() *MemberStatus

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

func (*MemberStatus) DeepCopyInto

func (in *MemberStatus) DeepCopyInto(out *MemberStatus)

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

type Unit

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

Unit is the Schema for the Units 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,azuread}

func (*Unit) DeepCopy

func (in *Unit) DeepCopy() *Unit

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

func (*Unit) DeepCopyInto

func (in *Unit) DeepCopyInto(out *Unit)

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

func (*Unit) DeepCopyObject

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

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

func (*Unit) GetCondition

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

GetCondition of this Unit.

func (*Unit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Unit

func (*Unit) GetDeletionPolicy

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

GetDeletionPolicy of this Unit.

func (*Unit) GetID

func (tr *Unit) GetID() string

GetID returns ID of underlying Terraform resource of this Unit

func (*Unit) GetInitParameters added in v0.10.0

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

GetInitParameters of this Unit

func (*Unit) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this Unit.

func (*Unit) GetMergedParameters added in v0.14.0

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

GetInitParameters of this Unit

func (*Unit) GetObservation

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

GetObservation of this Unit

func (*Unit) GetParameters

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

GetParameters of this Unit

func (*Unit) GetProviderConfigReference

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

GetProviderConfigReference of this Unit.

func (*Unit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Unit.

func (*Unit) GetTerraformResourceType

func (mg *Unit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Unit

func (*Unit) GetTerraformSchemaVersion

func (tr *Unit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Unit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Unit.

func (*Unit) Hub added in v0.15.1

func (tr *Unit) Hub()

Hub marks this type as a conversion hub.

func (*Unit) LateInitialize

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

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

func (*Unit) SetConditions

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

SetConditions of this Unit.

func (*Unit) SetDeletionPolicy

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

SetDeletionPolicy of this Unit.

func (*Unit) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this Unit.

func (*Unit) SetObservation

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

SetObservation for this Unit

func (*Unit) SetParameters

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

SetParameters for this Unit

func (*Unit) SetProviderConfigReference

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

SetProviderConfigReference of this Unit.

func (*Unit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Unit.

func (*Unit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Unit.

type UnitInitParameters added in v0.10.0

type UnitInitParameters struct {

	// The description of the administrative unit.
	// The description for the administrative unit
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the administrative unit.
	// The display name for the administrative unit
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Whether the administrative unit and its members are hidden or publicly viewable in the directory.
	// Whether the administrative unit and its members are hidden or publicly viewable in the directory
	HiddenMembershipEnabled *bool `json:"hiddenMembershipEnabled,omitempty" tf:"hidden_membership_enabled,omitempty"`

	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// If `true`, will return an error if an existing administrative unit is found with the same name
	PreventDuplicateNames *bool `json:"preventDuplicateNames,omitempty" tf:"prevent_duplicate_names,omitempty"`
}

func (*UnitInitParameters) DeepCopy added in v0.10.0

func (in *UnitInitParameters) DeepCopy() *UnitInitParameters

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

func (*UnitInitParameters) DeepCopyInto added in v0.10.0

func (in *UnitInitParameters) DeepCopyInto(out *UnitInitParameters)

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

type UnitList

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

UnitList contains a list of Units

func (*UnitList) DeepCopy

func (in *UnitList) DeepCopy() *UnitList

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

func (*UnitList) DeepCopyInto

func (in *UnitList) DeepCopyInto(out *UnitList)

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

func (*UnitList) DeepCopyObject

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

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

func (*UnitList) GetItems

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

GetItems of this UnitList.

type UnitObservation

type UnitObservation struct {

	// The description of the administrative unit.
	// The description for the administrative unit
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the administrative unit.
	// The display name for the administrative unit
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Whether the administrative unit and its members are hidden or publicly viewable in the directory.
	// Whether the administrative unit and its members are hidden or publicly viewable in the directory
	HiddenMembershipEnabled *bool `json:"hiddenMembershipEnabled,omitempty" tf:"hidden_membership_enabled,omitempty"`

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

	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The object ID of the administrative unit.
	// The object ID of the administrative unit
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// If `true`, will return an error if an existing administrative unit is found with the same name
	PreventDuplicateNames *bool `json:"preventDuplicateNames,omitempty" tf:"prevent_duplicate_names,omitempty"`
}

func (*UnitObservation) DeepCopy

func (in *UnitObservation) DeepCopy() *UnitObservation

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

func (*UnitObservation) DeepCopyInto

func (in *UnitObservation) DeepCopyInto(out *UnitObservation)

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

type UnitParameters

type UnitParameters struct {

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

	// The display name of the administrative unit.
	// The display name for the administrative unit
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Whether the administrative unit and its members are hidden or publicly viewable in the directory.
	// Whether the administrative unit and its members are hidden or publicly viewable in the directory
	// +kubebuilder:validation:Optional
	HiddenMembershipEnabled *bool `json:"hiddenMembershipEnabled,omitempty" tf:"hidden_membership_enabled,omitempty"`

	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups.
	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups
	// +kubebuilder:validation:Optional
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// If `true`, will return an error if an existing administrative unit is found with the same name
	// +kubebuilder:validation:Optional
	PreventDuplicateNames *bool `json:"preventDuplicateNames,omitempty" tf:"prevent_duplicate_names,omitempty"`
}

func (*UnitParameters) DeepCopy

func (in *UnitParameters) DeepCopy() *UnitParameters

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

func (*UnitParameters) DeepCopyInto

func (in *UnitParameters) DeepCopyInto(out *UnitParameters)

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

type UnitSpec

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

UnitSpec defines the desired state of Unit

func (*UnitSpec) DeepCopy

func (in *UnitSpec) DeepCopy() *UnitSpec

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

func (*UnitSpec) DeepCopyInto

func (in *UnitSpec) DeepCopyInto(out *UnitSpec)

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

type UnitStatus

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

UnitStatus defines the observed state of Unit.

func (*UnitStatus) DeepCopy

func (in *UnitStatus) DeepCopy() *UnitStatus

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

func (*UnitStatus) DeepCopyInto

func (in *UnitStatus) DeepCopyInto(out *UnitStatus)

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