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=directoryroles.azuread.upbound.io +versionName=v1beta1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CustomDirectoryRole_Kind             = "CustomDirectoryRole"
	CustomDirectoryRole_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomDirectoryRole_Kind}.String()
	CustomDirectoryRole_KindAPIVersion   = CustomDirectoryRole_Kind + "." + CRDGroupVersion.String()
	CustomDirectoryRole_GroupVersionKind = CRDGroupVersion.WithKind(CustomDirectoryRole_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 (
	Role_Kind             = "Role"
	Role_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String()
	Role_KindAPIVersion   = Role_Kind + "." + CRDGroupVersion.String()
	Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind)
)

Repository type metadata.

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

Repository type metadata.

Functions

This section is empty.

Types

type CustomDirectoryRole

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

CustomDirectoryRole is the Schema for the CustomDirectoryRoles 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 (*CustomDirectoryRole) DeepCopy

func (in *CustomDirectoryRole) DeepCopy() *CustomDirectoryRole

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

func (*CustomDirectoryRole) DeepCopyInto

func (in *CustomDirectoryRole) DeepCopyInto(out *CustomDirectoryRole)

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

func (*CustomDirectoryRole) DeepCopyObject

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

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

func (*CustomDirectoryRole) GetCondition

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

GetCondition of this CustomDirectoryRole.

func (*CustomDirectoryRole) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CustomDirectoryRole

func (*CustomDirectoryRole) GetDeletionPolicy

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

GetDeletionPolicy of this CustomDirectoryRole.

func (*CustomDirectoryRole) GetID

func (tr *CustomDirectoryRole) GetID() string

GetID returns ID of underlying Terraform resource of this CustomDirectoryRole

func (*CustomDirectoryRole) GetInitParameters added in v0.10.0

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

GetInitParameters of this CustomDirectoryRole

func (*CustomDirectoryRole) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this CustomDirectoryRole.

func (*CustomDirectoryRole) GetMergedParameters added in v0.14.0

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

GetInitParameters of this CustomDirectoryRole

func (*CustomDirectoryRole) GetObservation

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

GetObservation of this CustomDirectoryRole

func (*CustomDirectoryRole) GetParameters

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

GetParameters of this CustomDirectoryRole

func (*CustomDirectoryRole) GetProviderConfigReference

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

GetProviderConfigReference of this CustomDirectoryRole.

func (*CustomDirectoryRole) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CustomDirectoryRole.

func (*CustomDirectoryRole) GetTerraformResourceType

func (mg *CustomDirectoryRole) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomDirectoryRole

func (*CustomDirectoryRole) GetTerraformSchemaVersion

func (tr *CustomDirectoryRole) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomDirectoryRole) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CustomDirectoryRole.

func (*CustomDirectoryRole) Hub added in v0.15.1

func (tr *CustomDirectoryRole) Hub()

Hub marks this type as a conversion hub.

func (*CustomDirectoryRole) LateInitialize

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

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

func (*CustomDirectoryRole) SetConditions

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

SetConditions of this CustomDirectoryRole.

func (*CustomDirectoryRole) SetDeletionPolicy

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

SetDeletionPolicy of this CustomDirectoryRole.

func (*CustomDirectoryRole) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this CustomDirectoryRole.

func (*CustomDirectoryRole) SetObservation

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

SetObservation for this CustomDirectoryRole

func (*CustomDirectoryRole) SetParameters

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

SetParameters for this CustomDirectoryRole

func (*CustomDirectoryRole) SetProviderConfigReference

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

SetProviderConfigReference of this CustomDirectoryRole.

func (*CustomDirectoryRole) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CustomDirectoryRole.

func (*CustomDirectoryRole) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CustomDirectoryRole.

type CustomDirectoryRoleInitParameters added in v0.10.0

type CustomDirectoryRoleInitParameters struct {

	// The description of the custom directory role.
	// The description of the custom directory role
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the custom directory role.
	// The display name of the custom directory role
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Indicates whether the role is enabled for assignment.
	// Indicates whether the role is enabled for assignment
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A collection of permissions blocks as documented below.
	// List of permissions that are included in the custom directory role
	Permissions []PermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories. Changing this forces a new resource to be created.
	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories.
	TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"`

	// - The version of the role definition. This can be any arbitrary string between 1-128 characters.
	// The version of the role definition.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*CustomDirectoryRoleInitParameters) DeepCopy added in v0.10.0

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

func (*CustomDirectoryRoleInitParameters) DeepCopyInto added in v0.10.0

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

type CustomDirectoryRoleList

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

CustomDirectoryRoleList contains a list of CustomDirectoryRoles

func (*CustomDirectoryRoleList) DeepCopy

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

func (*CustomDirectoryRoleList) DeepCopyInto

func (in *CustomDirectoryRoleList) DeepCopyInto(out *CustomDirectoryRoleList)

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

func (*CustomDirectoryRoleList) DeepCopyObject

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

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

func (*CustomDirectoryRoleList) GetItems

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

GetItems of this CustomDirectoryRoleList.

type CustomDirectoryRoleObservation

type CustomDirectoryRoleObservation struct {

	// The description of the custom directory role.
	// The description of the custom directory role
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the custom directory role.
	// The display name of the custom directory role
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Indicates whether the role is enabled for assignment.
	// Indicates whether the role is enabled for assignment
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// The object ID of the custom directory role.
	// The object ID of the directory role
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// A collection of permissions blocks as documented below.
	// List of permissions that are included in the custom directory role
	Permissions []PermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories. Changing this forces a new resource to be created.
	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories.
	TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"`

	// - The version of the role definition. This can be any arbitrary string between 1-128 characters.
	// The version of the role definition.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*CustomDirectoryRoleObservation) DeepCopy

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

func (*CustomDirectoryRoleObservation) DeepCopyInto

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

type CustomDirectoryRoleParameters

type CustomDirectoryRoleParameters struct {

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

	// The display name of the custom directory role.
	// The display name of the custom directory role
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Indicates whether the role is enabled for assignment.
	// Indicates whether the role is enabled for assignment
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A collection of permissions blocks as documented below.
	// List of permissions that are included in the custom directory role
	// +kubebuilder:validation:Optional
	Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories. Changing this forces a new resource to be created.
	// Custom template identifier that is typically used if one needs an identifier to be the same across different directories.
	// +kubebuilder:validation:Optional
	TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"`

	// - The version of the role definition. This can be any arbitrary string between 1-128 characters.
	// The version of the role definition.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*CustomDirectoryRoleParameters) DeepCopy

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

func (*CustomDirectoryRoleParameters) DeepCopyInto

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

type CustomDirectoryRoleSpec

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

CustomDirectoryRoleSpec defines the desired state of CustomDirectoryRole

func (*CustomDirectoryRoleSpec) DeepCopy

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

func (*CustomDirectoryRoleSpec) DeepCopyInto

func (in *CustomDirectoryRoleSpec) DeepCopyInto(out *CustomDirectoryRoleSpec)

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

type CustomDirectoryRoleStatus

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

CustomDirectoryRoleStatus defines the observed state of CustomDirectoryRole.

func (*CustomDirectoryRoleStatus) DeepCopy

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

func (*CustomDirectoryRoleStatus) DeepCopyInto

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

type PermissionsInitParameters added in v0.10.0

type PermissionsInitParameters struct {

	// A set of tasks that can be performed on a resource. For more information, see the Permissions Reference documentation.
	// Set of tasks that can be performed on a resource
	// +listType=set
	AllowedResourceActions []*string `json:"allowedResourceActions,omitempty" tf:"allowed_resource_actions,omitempty"`
}

func (*PermissionsInitParameters) DeepCopy added in v0.10.0

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

func (*PermissionsInitParameters) DeepCopyInto added in v0.10.0

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

type PermissionsObservation

type PermissionsObservation struct {

	// A set of tasks that can be performed on a resource. For more information, see the Permissions Reference documentation.
	// Set of tasks that can be performed on a resource
	// +listType=set
	AllowedResourceActions []*string `json:"allowedResourceActions,omitempty" tf:"allowed_resource_actions,omitempty"`
}

func (*PermissionsObservation) DeepCopy

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

func (*PermissionsObservation) DeepCopyInto

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters

type PermissionsParameters struct {

	// A set of tasks that can be performed on a resource. For more information, see the Permissions Reference documentation.
	// Set of tasks that can be performed on a resource
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowedResourceActions []*string `json:"allowedResourceActions" tf:"allowed_resource_actions,omitempty"`
}

func (*PermissionsParameters) DeepCopy

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

func (*PermissionsParameters) DeepCopyInto

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type Role

type Role struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleSpec   `json:"spec"`
	Status            RoleStatus `json:"status,omitempty"`
}

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

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

func (*Role) GetCondition

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

GetCondition of this Role.

func (*Role) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Role

func (*Role) GetDeletionPolicy

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

GetDeletionPolicy of this Role.

func (*Role) GetID

func (tr *Role) GetID() string

GetID returns ID of underlying Terraform resource of this Role

func (*Role) GetInitParameters added in v0.10.0

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

GetInitParameters of this Role

func (*Role) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this Role.

func (*Role) GetMergedParameters added in v0.14.0

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

GetInitParameters of this Role

func (*Role) GetObservation

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

GetObservation of this Role

func (*Role) GetParameters

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

GetParameters of this Role

func (*Role) GetProviderConfigReference

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

GetProviderConfigReference of this Role.

func (*Role) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Role.

func (*Role) GetTerraformResourceType

func (mg *Role) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Role

func (*Role) GetTerraformSchemaVersion

func (tr *Role) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Role) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Role.

func (*Role) Hub added in v0.15.1

func (tr *Role) Hub()

Hub marks this type as a conversion hub.

func (*Role) LateInitialize

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

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

func (*Role) SetConditions

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

SetConditions of this Role.

func (*Role) SetDeletionPolicy

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

SetDeletionPolicy of this Role.

func (*Role) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this Role.

func (*Role) SetObservation

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

SetObservation for this Role

func (*Role) SetParameters

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

SetParameters for this Role

func (*Role) SetProviderConfigReference

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

SetProviderConfigReference of this Role.

func (*Role) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Role.

func (*Role) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Role.

type RoleAssignment

type RoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleAssignmentSpec   `json:"spec"`
	Status            RoleAssignmentStatus `json:"status,omitempty"`
}

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

	// Identifier of the app-specific scope when the assignment scope is app-specific. Cannot be used with directory_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the app-specific scope when the assignment scope is app-specific
	AppScopeID *string `json:"appScopeId,omitempty" tf:"app_scope_id,omitempty"`

	// Identifier of the app-specific scope when the assignment scope is app-specific
	AppScopeObjectID *string `json:"appScopeObjectId,omitempty" tf:"app_scope_object_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment. Cannot be used with app_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the directory object representing the scope of the assignment
	DirectoryScopeID *string `json:"directoryScopeId,omitempty" tf:"directory_scope_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment
	DirectoryScopeObjectID *string `json:"directoryScopeObjectId,omitempty" tf:"directory_scope_object_id,omitempty"`

	// The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the member principal
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/users/v1beta1.User
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

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

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

	// The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
	// The object ID of the directory role for this assignment
	// +crossplane:generate:reference:type=Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("template_id",true)
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

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

	// Selector for a Role to populate roleId.
	// +kubebuilder:validation:Optional
	RoleIDSelector *v1.Selector `json:"roleIdSelector,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 {

	// Identifier of the app-specific scope when the assignment scope is app-specific. Cannot be used with directory_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the app-specific scope when the assignment scope is app-specific
	AppScopeID *string `json:"appScopeId,omitempty" tf:"app_scope_id,omitempty"`

	// Identifier of the app-specific scope when the assignment scope is app-specific
	AppScopeObjectID *string `json:"appScopeObjectId,omitempty" tf:"app_scope_object_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment. Cannot be used with app_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the directory object representing the scope of the assignment
	DirectoryScopeID *string `json:"directoryScopeId,omitempty" tf:"directory_scope_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment
	DirectoryScopeObjectID *string `json:"directoryScopeObjectId,omitempty" tf:"directory_scope_object_id,omitempty"`

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

	// The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the member principal
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

	// The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
	// The object ID of the directory role for this assignment
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`
}

func (*RoleAssignmentObservation) DeepCopy

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

func (*RoleAssignmentObservation) DeepCopyInto

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

type RoleAssignmentParameters

type RoleAssignmentParameters struct {

	// Identifier of the app-specific scope when the assignment scope is app-specific. Cannot be used with directory_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the app-specific scope when the assignment scope is app-specific
	// +kubebuilder:validation:Optional
	AppScopeID *string `json:"appScopeId,omitempty" tf:"app_scope_id,omitempty"`

	// Identifier of the app-specific scope when the assignment scope is app-specific
	// +kubebuilder:validation:Optional
	AppScopeObjectID *string `json:"appScopeObjectId,omitempty" tf:"app_scope_object_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment. Cannot be used with app_scope_id. See official documentation for example usage. Changing this forces a new resource to be created.
	// Identifier of the directory object representing the scope of the assignment
	// +kubebuilder:validation:Optional
	DirectoryScopeID *string `json:"directoryScopeId,omitempty" tf:"directory_scope_id,omitempty"`

	// Identifier of the directory object representing the scope of the assignment
	// +kubebuilder:validation:Optional
	DirectoryScopeObjectID *string `json:"directoryScopeObjectId,omitempty" tf:"directory_scope_object_id,omitempty"`

	// The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
	// The object ID of the member principal
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/users/v1beta1.User
	// +kubebuilder:validation:Optional
	PrincipalObjectID *string `json:"principalObjectId,omitempty" tf:"principal_object_id,omitempty"`

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

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

	// The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
	// The object ID of the directory role for this assignment
	// +crossplane:generate:reference:type=Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("template_id",true)
	// +kubebuilder:validation:Optional
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

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

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

func (*RoleAssignmentParameters) DeepCopy

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

func (*RoleAssignmentParameters) DeepCopyInto

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

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

type RoleAssignmentSpec

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

RoleAssignmentSpec defines the desired state of RoleAssignment

func (*RoleAssignmentSpec) DeepCopy

func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec

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

func (*RoleAssignmentSpec) DeepCopyInto

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

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

type RoleAssignmentStatus

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

RoleAssignmentStatus defines the observed state of RoleAssignment.

func (*RoleAssignmentStatus) DeepCopy

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

func (*RoleAssignmentStatus) DeepCopyInto

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

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

type RoleInitParameters added in v0.10.0

type RoleInitParameters struct {

	// The display name of the directory role to activate. Changing this forces a new resource to be created.
	// The display name of the directory role
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
}

func (*RoleInitParameters) DeepCopy added in v0.10.0

func (in *RoleInitParameters) DeepCopy() *RoleInitParameters

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

func (*RoleInitParameters) DeepCopyInto added in v0.10.0

func (in *RoleInitParameters) DeepCopyInto(out *RoleInitParameters)

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

type RoleList

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

RoleList contains a list of Roles

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

func (*RoleList) GetItems

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

GetItems of this RoleList.

type RoleObservation

type RoleObservation struct {

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

	// The display name of the directory role to activate. Changing this forces a new resource to be created.
	// The display name of the directory role
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

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

	// The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
	// The object ID of the template associated with the directory role
	TemplateID *string `json:"templateId,omitempty" tf:"template_id,omitempty"`
}

func (*RoleObservation) DeepCopy

func (in *RoleObservation) DeepCopy() *RoleObservation

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

func (*RoleObservation) DeepCopyInto

func (in *RoleObservation) DeepCopyInto(out *RoleObservation)

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

type RoleParameters

type RoleParameters struct {

	// The display name of the directory role to activate. Changing this forces a new resource to be created.
	// The display name of the directory role
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
}

func (*RoleParameters) DeepCopy

func (in *RoleParameters) DeepCopy() *RoleParameters

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

func (*RoleParameters) DeepCopyInto

func (in *RoleParameters) DeepCopyInto(out *RoleParameters)

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

type RoleSpec

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

RoleSpec defines the desired state of Role

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type RoleStatus

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

RoleStatus defines the observed state of Role.

func (*RoleStatus) DeepCopy

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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

Jump to

Keyboard shortcuts

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