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: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "app.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 (
	RoleAssignment_Kind             = "RoleAssignment"
	RoleAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignment_Kind}.String()
	RoleAssignment_KindAPIVersion   = RoleAssignment_Kind + "." + CRDGroupVersion.String()
	RoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type RoleAssignment

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

RoleAssignment is the Schema for the RoleAssignments API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azuread}

func (*RoleAssignment) DeepCopy

func (in *RoleAssignment) DeepCopy() *RoleAssignment

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

func (*RoleAssignment) DeepCopyInto

func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)

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

func (*RoleAssignment) DeepCopyObject

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

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

func (*RoleAssignment) GetCondition

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

GetCondition of this RoleAssignment.

func (*RoleAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleAssignment

func (*RoleAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) GetID

func (tr *RoleAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this RoleAssignment

func (*RoleAssignment) GetInitParameters added in v0.10.0

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) GetMergedParameters added in v0.14.0

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetObservation

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

GetObservation of this RoleAssignment

func (*RoleAssignment) GetParameters

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

GetParameters of this RoleAssignment

func (*RoleAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) GetTerraformResourceType

func (mg *RoleAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleAssignment

func (*RoleAssignment) GetTerraformSchemaVersion

func (tr *RoleAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleAssignment.

func (*RoleAssignment) Hub added in v0.15.1

func (tr *RoleAssignment) Hub()

Hub marks this type as a conversion hub.

func (*RoleAssignment) LateInitialize

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

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

func (*RoleAssignment) ResolveReferences

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

ResolveReferences of this RoleAssignment.

func (*RoleAssignment) SetConditions

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

SetConditions of this RoleAssignment.

func (*RoleAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) SetObservation

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

SetObservation for this RoleAssignment

func (*RoleAssignment) SetParameters

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

SetParameters for this RoleAssignment

func (*RoleAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleAssignment.

type RoleAssignmentInitParameters added in v0.10.0

type RoleAssignmentInitParameters struct {

	// The ID of the app role to be assigned, or the default role ID 00000000-0000-0000-0000-000000000000. Changing this forces a new resource to be created.
	// The ID of the app role to be assigned
	AppRoleID *string `json:"appRoleId,omitempty" tf:"app_role_id,omitempty"`

	// The object ID of the user, group or service principal to be assigned this app role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the user, group or service principal to be assigned this app role
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate principalObjectId.
	// +kubebuilder:validation:Optional
	PrincipalObjectIDRef *v1.Reference `json:"principalObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate principalObjectId.
	// +kubebuilder:validation:Optional
	PrincipalObjectIDSelector *v1.Selector `json:"principalObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the service principal representing the resource. Changing this forces a new resource to be created.
	// The object ID of the service principal representing the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	ResourceObjectID *string `json:"resourceObjectId,omitempty" tf:"resource_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate resourceObjectId.
	// +kubebuilder:validation:Optional
	ResourceObjectIDRef *v1.Reference `json:"resourceObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate resourceObjectId.
	// +kubebuilder:validation:Optional
	ResourceObjectIDSelector *v1.Selector `json:"resourceObjectIdSelector,omitempty" tf:"-"`
}

func (*RoleAssignmentInitParameters) DeepCopy added in v0.10.0

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

func (*RoleAssignmentInitParameters) DeepCopyInto added in v0.10.0

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

type RoleAssignmentList

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

RoleAssignmentList contains a list of RoleAssignments

func (*RoleAssignmentList) DeepCopy

func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList

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

func (*RoleAssignmentList) DeepCopyInto

func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)

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

func (*RoleAssignmentList) DeepCopyObject

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

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

func (*RoleAssignmentList) GetItems

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

GetItems of this RoleAssignmentList.

type RoleAssignmentObservation

type RoleAssignmentObservation struct {

	// The ID of the app role to be assigned, or the default role ID 00000000-0000-0000-0000-000000000000. Changing this forces a new resource to be created.
	// The ID of the app role to be assigned
	AppRoleID *string `json:"appRoleId,omitempty" tf:"app_role_id,omitempty"`

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

	// The display name of the principal to which the app role is assigned.
	// The display name of the principal to which the app role is assigned
	PrincipalDisplayName *string `json:"principalDisplayName,omitempty" tf:"principal_display_name,omitempty"`

	// The object ID of the user, group or service principal to be assigned this app role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the user, group or service principal to be assigned this app role
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

	// The object type of the principal to which the app role is assigned.
	// The object type of the principal to which the app role is assigned
	PrincipalType *string `json:"principalType,omitempty" tf:"principal_type,omitempty"`

	// The display name of the application representing the resource.
	// The display name of the application representing the resource
	ResourceDisplayName *string `json:"resourceDisplayName,omitempty" tf:"resource_display_name,omitempty"`

	// The object ID of the service principal representing the resource. Changing this forces a new resource to be created.
	// The object ID of the service principal representing the resource
	ResourceObjectID *string `json:"resourceObjectId,omitempty" tf:"resource_object_id,omitempty"`
}

func (*RoleAssignmentObservation) DeepCopy

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

func (*RoleAssignmentObservation) DeepCopyInto

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

type RoleAssignmentParameters

type RoleAssignmentParameters struct {

	// The ID of the app role to be assigned, or the default role ID 00000000-0000-0000-0000-000000000000. Changing this forces a new resource to be created.
	// The ID of the app role to be assigned
	// +kubebuilder:validation:Optional
	AppRoleID *string `json:"appRoleId,omitempty" tf:"app_role_id,omitempty"`

	// The object ID of the user, group or service principal to be assigned this app role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the user, group or service principal to be assigned this app role
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	// +kubebuilder:validation:Optional
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate principalObjectId.
	// +kubebuilder:validation:Optional
	PrincipalObjectIDRef *v1.Reference `json:"principalObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate principalObjectId.
	// +kubebuilder:validation:Optional
	PrincipalObjectIDSelector *v1.Selector `json:"principalObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the service principal representing the resource. Changing this forces a new resource to be created.
	// The object ID of the service principal representing the resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	// +kubebuilder:validation:Optional
	ResourceObjectID *string `json:"resourceObjectId,omitempty" tf:"resource_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate resourceObjectId.
	// +kubebuilder:validation:Optional
	ResourceObjectIDRef *v1.Reference `json:"resourceObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate resourceObjectId.
	// +kubebuilder:validation:Optional
	ResourceObjectIDSelector *v1.Selector `json:"resourceObjectIdSelector,omitempty" tf:"-"`
}

func (*RoleAssignmentParameters) DeepCopy

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

func (*RoleAssignmentParameters) DeepCopyInto

func (in *RoleAssignmentParameters) DeepCopyInto(out *RoleAssignmentParameters)

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

type RoleAssignmentSpec

type RoleAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleAssignmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RoleAssignmentInitParameters `json:"initProvider,omitempty"`
}

RoleAssignmentSpec defines the desired state of RoleAssignment

func (*RoleAssignmentSpec) DeepCopy

func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec

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

func (*RoleAssignmentSpec) DeepCopyInto

func (in *RoleAssignmentSpec) DeepCopyInto(out *RoleAssignmentSpec)

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

type RoleAssignmentStatus

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

RoleAssignmentStatus defines the observed state of RoleAssignment.

func (*RoleAssignmentStatus) DeepCopy

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

func (*RoleAssignmentStatus) DeepCopyInto

func (in *RoleAssignmentStatus) DeepCopyInto(out *RoleAssignmentStatus)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL