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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "users.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 (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.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.userPrincipalName) || (has(self.initProvider) && has(self.initProvider.userPrincipalName))",message="spec.forProvider.userPrincipalName is a required parameter"
	Spec   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

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

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

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

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

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

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters added in v0.10.0

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

GetInitParameters of this User

func (*User) GetManagementPolicies added in v0.10.0

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

GetManagementPolicies of this User.

func (*User) GetMergedParameters added in v0.14.0

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

GetInitParameters of this User

func (*User) GetObservation

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

GetObservation of this User

func (*User) GetParameters

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

GetParameters of this User

func (*User) GetProviderConfigReference

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

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this User.

func (*User) Hub added in v0.15.1

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

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

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

func (*User) SetConditions

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

SetConditions of this User.

func (*User) SetDeletionPolicy

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

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies added in v0.10.0

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

SetManagementPolicies of this User.

func (*User) SetObservation

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

SetObservation for this User

func (*User) SetParameters

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

SetParameters for this User

func (*User) SetProviderConfigReference

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

SetProviderConfigReference of this User.

func (*User) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this User.

type UserInitParameters added in v0.10.0

type UserInitParameters struct {

	// Whether or not the account should be enabled.
	// Whether or not the account should be enabled
	AccountEnabled *bool `json:"accountEnabled,omitempty" tf:"account_enabled,omitempty"`

	// The age group of the user. Supported values are Adult, NotAdult and Minor. Omit this property or specify a blank string to unset.
	// The age group of the user
	AgeGroup *string `json:"ageGroup,omitempty" tf:"age_group,omitempty"`

	// A list of telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect.
	// The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect
	BusinessPhones []*string `json:"businessPhones,omitempty" tf:"business_phones,omitempty"`

	// The city in which the user is located.
	// The city in which the user is located
	City *string `json:"city,omitempty" tf:"city,omitempty"`

	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether consent has been obtained for minors. Supported values are Granted, Denied and NotRequired. Omit this property or specify a blank string to unset.
	// Whether consent has been obtained for minors
	ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty" tf:"consent_provided_for_minor,omitempty"`

	// The cost center associated with the user.
	// The cost center associated with the user.
	CostCenter *string `json:"costCenter,omitempty" tf:"cost_center,omitempty"`

	// The country/region in which the user is located. Examples include: NO, JP, and GB.
	// The country/region in which the user is located, e.g. `US` or `UK`
	Country *string `json:"country,omitempty" tf:"country,omitempty"`

	// The name for the department in which the user works.
	// The name for the department in which the user works
	Department *string `json:"department,omitempty" tf:"department,omitempty"`

	// Whether the user's password is exempt from expiring. Defaults to false.
	// Whether the users password is exempt from expiring
	DisablePasswordExpiration *bool `json:"disablePasswordExpiration,omitempty" tf:"disable_password_expiration,omitempty"`

	// Whether the user is allowed weaker passwords than the default policy to be specified. Defaults to false.
	// Whether the user is allowed weaker passwords than the default policy to be specified.
	DisableStrongPassword *bool `json:"disableStrongPassword,omitempty" tf:"disable_strong_password,omitempty"`

	// The name to display in the address book for the user.
	// The name to display in the address book for the user
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The name of the division in which the user works.
	// The name of the division in which the user works.
	Division *string `json:"division,omitempty" tf:"division,omitempty"`

	// The employee identifier assigned to the user by the organisation.
	// The employee identifier assigned to the user by the organisation
	EmployeeID *string `json:"employeeId,omitempty" tf:"employee_id,omitempty"`

	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	EmployeeType *string `json:"employeeType,omitempty" tf:"employee_type,omitempty"`

	// The fax number of the user.
	// The fax number of the user
	FaxNumber *string `json:"faxNumber,omitempty" tf:"fax_number,omitempty"`

	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password. Defaults to false.
	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password
	ForcePasswordChange *bool `json:"forcePasswordChange,omitempty" tf:"force_password_change,omitempty"`

	// The given name (first name) of the user.
	// The given name (first name) of the user
	GivenName *string `json:"givenName,omitempty" tf:"given_name,omitempty"`

	// The user’s job title.
	// The user’s job title
	JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"`

	// The SMTP address for the user. This property cannot be unset once specified.
	// The SMTP address for the user. Cannot be unset.
	Mail *string `json:"mail,omitempty" tf:"mail,omitempty"`

	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN).
	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN)
	MailNickname *string `json:"mailNickname,omitempty" tf:"mail_nickname,omitempty"`

	// The object ID of the user's manager.
	// The object ID of the user's manager
	ManagerID *string `json:"managerId,omitempty" tf:"manager_id,omitempty"`

	// The primary cellular telephone number for the user.
	// The primary cellular telephone number for the user
	MobilePhone *string `json:"mobilePhone,omitempty" tf:"mobile_phone,omitempty"`

	// The office location in the user's place of business.
	// The office location in the user's place of business
	OfficeLocation *string `json:"officeLocation,omitempty" tf:"office_location,omitempty"`

	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's user_principal_name property when creating a new user account.
	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's `user_principal_name` property when creating a new user account
	OnpremisesImmutableID *string `json:"onpremisesImmutableId,omitempty" tf:"onpremises_immutable_id,omitempty"`

	// A list of additional email addresses for the user.
	// Additional email addresses for the user
	// +listType=set
	OtherMails []*string `json:"otherMails,omitempty" tf:"other_mails,omitempty"`

	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code
	PostalCode *string `json:"postalCode,omitempty" tf:"postal_code,omitempty"`

	// The user's preferred language, in ISO 639-1 notation.
	// The user's preferred language, in ISO 639-1 notation
	PreferredLanguage *string `json:"preferredLanguage,omitempty" tf:"preferred_language,omitempty"`

	// Whether or not the Outlook global address list should include this user. Defaults to true.
	// Whether or not the Outlook global address list should include this user
	ShowInAddressList *bool `json:"showInAddressList,omitempty" tf:"show_in_address_list,omitempty"`

	// The state or province in the user's address.
	// The state or province in the user's address
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The street address of the user's place of business.
	// The street address of the user's place of business
	StreetAddress *string `json:"streetAddress,omitempty" tf:"street_address,omitempty"`

	// The user's surname (family name or last name).
	// The user's surname (family name or last name)
	Surname *string `json:"surname,omitempty" tf:"surname,omitempty"`

	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: NO, JP, and GB. Cannot be reset to null once set.
	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: `NO`, `JP`, and `GB`. Cannot be reset to null once set
	UsageLocation *string `json:"usageLocation,omitempty" tf:"usage_location,omitempty"`

	// The user principal name (UPN) of the user.
	// The user principal name (UPN) of the user
	UserPrincipalName *string `json:"userPrincipalName,omitempty" tf:"user_principal_name,omitempty"`
}

func (*UserInitParameters) DeepCopy added in v0.10.0

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto added in v0.10.0

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

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

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// A freeform field for the user to describe themselves
	AboutMe *string `json:"aboutMe,omitempty" tf:"about_me,omitempty"`

	// Whether or not the account should be enabled.
	// Whether or not the account should be enabled
	AccountEnabled *bool `json:"accountEnabled,omitempty" tf:"account_enabled,omitempty"`

	// The age group of the user. Supported values are Adult, NotAdult and Minor. Omit this property or specify a blank string to unset.
	// The age group of the user
	AgeGroup *string `json:"ageGroup,omitempty" tf:"age_group,omitempty"`

	// A list of telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect.
	// The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect
	BusinessPhones []*string `json:"businessPhones,omitempty" tf:"business_phones,omitempty"`

	// The city in which the user is located.
	// The city in which the user is located
	City *string `json:"city,omitempty" tf:"city,omitempty"`

	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether consent has been obtained for minors. Supported values are Granted, Denied and NotRequired. Omit this property or specify a blank string to unset.
	// Whether consent has been obtained for minors
	ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty" tf:"consent_provided_for_minor,omitempty"`

	// The cost center associated with the user.
	// The cost center associated with the user.
	CostCenter *string `json:"costCenter,omitempty" tf:"cost_center,omitempty"`

	// The country/region in which the user is located. Examples include: NO, JP, and GB.
	// The country/region in which the user is located, e.g. `US` or `UK`
	Country *string `json:"country,omitempty" tf:"country,omitempty"`

	// Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified).
	// Indicates whether the user account was created as a regular school or work account (`null`), an external account (`Invitation`), a local account for an Azure Active Directory B2C tenant (`LocalAccount`) or self-service sign-up using email verification (`EmailVerified`)
	CreationType *string `json:"creationType,omitempty" tf:"creation_type,omitempty"`

	// The name for the department in which the user works.
	// The name for the department in which the user works
	Department *string `json:"department,omitempty" tf:"department,omitempty"`

	// Whether the user's password is exempt from expiring. Defaults to false.
	// Whether the users password is exempt from expiring
	DisablePasswordExpiration *bool `json:"disablePasswordExpiration,omitempty" tf:"disable_password_expiration,omitempty"`

	// Whether the user is allowed weaker passwords than the default policy to be specified. Defaults to false.
	// Whether the user is allowed weaker passwords than the default policy to be specified.
	DisableStrongPassword *bool `json:"disableStrongPassword,omitempty" tf:"disable_strong_password,omitempty"`

	// The name to display in the address book for the user.
	// The name to display in the address book for the user
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The name of the division in which the user works.
	// The name of the division in which the user works.
	Division *string `json:"division,omitempty" tf:"division,omitempty"`

	// The employee identifier assigned to the user by the organisation.
	// The employee identifier assigned to the user by the organisation
	EmployeeID *string `json:"employeeId,omitempty" tf:"employee_id,omitempty"`

	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	EmployeeType *string `json:"employeeType,omitempty" tf:"employee_type,omitempty"`

	// For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are PendingAcceptance or Accepted.
	// For an external user invited to the tenant, this property represents the invited user's invitation status
	ExternalUserState *string `json:"externalUserState,omitempty" tf:"external_user_state,omitempty"`

	// The fax number of the user.
	// The fax number of the user
	FaxNumber *string `json:"faxNumber,omitempty" tf:"fax_number,omitempty"`

	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password. Defaults to false.
	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password
	ForcePasswordChange *bool `json:"forcePasswordChange,omitempty" tf:"force_password_change,omitempty"`

	// The given name (first name) of the user.
	// The given name (first name) of the user
	GivenName *string `json:"givenName,omitempty" tf:"given_name,omitempty"`

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

	// A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
	// The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user
	ImAddresses []*string `json:"imAddresses,omitempty" tf:"im_addresses,omitempty"`

	// The user’s job title.
	// The user’s job title
	JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"`

	// The SMTP address for the user. This property cannot be unset once specified.
	// The SMTP address for the user. Cannot be unset.
	Mail *string `json:"mail,omitempty" tf:"mail,omitempty"`

	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN).
	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN)
	MailNickname *string `json:"mailNickname,omitempty" tf:"mail_nickname,omitempty"`

	// The object ID of the user's manager.
	// The object ID of the user's manager
	ManagerID *string `json:"managerId,omitempty" tf:"manager_id,omitempty"`

	// The primary cellular telephone number for the user.
	// The primary cellular telephone number for the user
	MobilePhone *string `json:"mobilePhone,omitempty" tf:"mobile_phone,omitempty"`

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

	// The office location in the user's place of business.
	// The office location in the user's place of business
	OfficeLocation *string `json:"officeLocation,omitempty" tf:"office_location,omitempty"`

	// The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
	// The on-premise Active Directory distinguished name (DN) of the user
	OnpremisesDistinguishedName *string `json:"onpremisesDistinguishedName,omitempty" tf:"onpremises_distinguished_name,omitempty"`

	// The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
	// The on-premise FQDN (i.e. dnsDomainName) of the user
	OnpremisesDomainName *string `json:"onpremisesDomainName,omitempty" tf:"onpremises_domain_name,omitempty"`

	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's user_principal_name property when creating a new user account.
	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's `user_principal_name` property when creating a new user account
	OnpremisesImmutableID *string `json:"onpremisesImmutableId,omitempty" tf:"onpremises_immutable_id,omitempty"`

	// The on-premise SAM account name of the user.
	// The on-premise SAM account name of the user
	OnpremisesSamAccountName *string `json:"onpremisesSamAccountName,omitempty" tf:"onpremises_sam_account_name,omitempty"`

	// The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
	// The on-premise security identifier (SID) of the user
	OnpremisesSecurityIdentifier *string `json:"onpremisesSecurityIdentifier,omitempty" tf:"onpremises_security_identifier,omitempty"`

	// Whether this user is synchronised from an on-premises directory (true), no longer synchronised (false), or has never been synchronised (null).
	// Whether this user is synchronized from an on-premises directory (true), no longer synchronized (false), or has never been synchronized (null)
	OnpremisesSyncEnabled *bool `json:"onpremisesSyncEnabled,omitempty" tf:"onpremises_sync_enabled,omitempty"`

	// The on-premise user principal name of the user.
	// The on-premise user principal name of the user
	OnpremisesUserPrincipalName *string `json:"onpremisesUserPrincipalName,omitempty" tf:"onpremises_user_principal_name,omitempty"`

	// A list of additional email addresses for the user.
	// Additional email addresses for the user
	// +listType=set
	OtherMails []*string `json:"otherMails,omitempty" tf:"other_mails,omitempty"`

	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code
	PostalCode *string `json:"postalCode,omitempty" tf:"postal_code,omitempty"`

	// The user's preferred language, in ISO 639-1 notation.
	// The user's preferred language, in ISO 639-1 notation
	PreferredLanguage *string `json:"preferredLanguage,omitempty" tf:"preferred_language,omitempty"`

	// List of email addresses for the user that direct to the same mailbox.
	// Email addresses for the user that direct to the same mailbox
	ProxyAddresses []*string `json:"proxyAddresses,omitempty" tf:"proxy_addresses,omitempty"`

	// Whether or not the Outlook global address list should include this user. Defaults to true.
	// Whether or not the Outlook global address list should include this user
	ShowInAddressList *bool `json:"showInAddressList,omitempty" tf:"show_in_address_list,omitempty"`

	// The state or province in the user's address.
	// The state or province in the user's address
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The street address of the user's place of business.
	// The street address of the user's place of business
	StreetAddress *string `json:"streetAddress,omitempty" tf:"street_address,omitempty"`

	// The user's surname (family name or last name).
	// The user's surname (family name or last name)
	Surname *string `json:"surname,omitempty" tf:"surname,omitempty"`

	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: NO, JP, and GB. Cannot be reset to null once set.
	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: `NO`, `JP`, and `GB`. Cannot be reset to null once set
	UsageLocation *string `json:"usageLocation,omitempty" tf:"usage_location,omitempty"`

	// The user principal name (UPN) of the user.
	// The user principal name (UPN) of the user
	UserPrincipalName *string `json:"userPrincipalName,omitempty" tf:"user_principal_name,omitempty"`

	// The user type in the directory. Possible values are Guest or Member.
	// The user type in the directory. Possible values are `Guest` or `Member`
	UserType *string `json:"userType,omitempty" tf:"user_type,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// Whether or not the account should be enabled.
	// Whether or not the account should be enabled
	// +kubebuilder:validation:Optional
	AccountEnabled *bool `json:"accountEnabled,omitempty" tf:"account_enabled,omitempty"`

	// The age group of the user. Supported values are Adult, NotAdult and Minor. Omit this property or specify a blank string to unset.
	// The age group of the user
	// +kubebuilder:validation:Optional
	AgeGroup *string `json:"ageGroup,omitempty" tf:"age_group,omitempty"`

	// A list of telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect.
	// The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced with Azure AD Connect
	// +kubebuilder:validation:Optional
	BusinessPhones []*string `json:"businessPhones,omitempty" tf:"business_phones,omitempty"`

	// The city in which the user is located.
	// The city in which the user is located
	// +kubebuilder:validation:Optional
	City *string `json:"city,omitempty" tf:"city,omitempty"`

	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from
	// +kubebuilder:validation:Optional
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether consent has been obtained for minors. Supported values are Granted, Denied and NotRequired. Omit this property or specify a blank string to unset.
	// Whether consent has been obtained for minors
	// +kubebuilder:validation:Optional
	ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty" tf:"consent_provided_for_minor,omitempty"`

	// The cost center associated with the user.
	// The cost center associated with the user.
	// +kubebuilder:validation:Optional
	CostCenter *string `json:"costCenter,omitempty" tf:"cost_center,omitempty"`

	// The country/region in which the user is located. Examples include: NO, JP, and GB.
	// The country/region in which the user is located, e.g. `US` or `UK`
	// +kubebuilder:validation:Optional
	Country *string `json:"country,omitempty" tf:"country,omitempty"`

	// The name for the department in which the user works.
	// The name for the department in which the user works
	// +kubebuilder:validation:Optional
	Department *string `json:"department,omitempty" tf:"department,omitempty"`

	// Whether the user's password is exempt from expiring. Defaults to false.
	// Whether the users password is exempt from expiring
	// +kubebuilder:validation:Optional
	DisablePasswordExpiration *bool `json:"disablePasswordExpiration,omitempty" tf:"disable_password_expiration,omitempty"`

	// Whether the user is allowed weaker passwords than the default policy to be specified. Defaults to false.
	// Whether the user is allowed weaker passwords than the default policy to be specified.
	// +kubebuilder:validation:Optional
	DisableStrongPassword *bool `json:"disableStrongPassword,omitempty" tf:"disable_strong_password,omitempty"`

	// The name to display in the address book for the user.
	// The name to display in the address book for the user
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The name of the division in which the user works.
	// The name of the division in which the user works.
	// +kubebuilder:validation:Optional
	Division *string `json:"division,omitempty" tf:"division,omitempty"`

	// The employee identifier assigned to the user by the organisation.
	// The employee identifier assigned to the user by the organisation
	// +kubebuilder:validation:Optional
	EmployeeID *string `json:"employeeId,omitempty" tf:"employee_id,omitempty"`

	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	// Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
	// +kubebuilder:validation:Optional
	EmployeeType *string `json:"employeeType,omitempty" tf:"employee_type,omitempty"`

	// The fax number of the user.
	// The fax number of the user
	// +kubebuilder:validation:Optional
	FaxNumber *string `json:"faxNumber,omitempty" tf:"fax_number,omitempty"`

	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password. Defaults to false.
	// Whether the user is forced to change the password during the next sign-in. Only takes effect when also changing the password
	// +kubebuilder:validation:Optional
	ForcePasswordChange *bool `json:"forcePasswordChange,omitempty" tf:"force_password_change,omitempty"`

	// The given name (first name) of the user.
	// The given name (first name) of the user
	// +kubebuilder:validation:Optional
	GivenName *string `json:"givenName,omitempty" tf:"given_name,omitempty"`

	// The user’s job title.
	// The user’s job title
	// +kubebuilder:validation:Optional
	JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"`

	// The SMTP address for the user. This property cannot be unset once specified.
	// The SMTP address for the user. Cannot be unset.
	// +kubebuilder:validation:Optional
	Mail *string `json:"mail,omitempty" tf:"mail,omitempty"`

	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN).
	// The mail alias for the user. Defaults to the user name part of the user principal name (UPN)
	// +kubebuilder:validation:Optional
	MailNickname *string `json:"mailNickname,omitempty" tf:"mail_nickname,omitempty"`

	// The object ID of the user's manager.
	// The object ID of the user's manager
	// +kubebuilder:validation:Optional
	ManagerID *string `json:"managerId,omitempty" tf:"manager_id,omitempty"`

	// The primary cellular telephone number for the user.
	// The primary cellular telephone number for the user
	// +kubebuilder:validation:Optional
	MobilePhone *string `json:"mobilePhone,omitempty" tf:"mobile_phone,omitempty"`

	// The office location in the user's place of business.
	// The office location in the user's place of business
	// +kubebuilder:validation:Optional
	OfficeLocation *string `json:"officeLocation,omitempty" tf:"office_location,omitempty"`

	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's user_principal_name property when creating a new user account.
	// The value used to associate an on-premise Active Directory user account with their Azure AD user object. This must be specified if you are using a federated domain for the user's `user_principal_name` property when creating a new user account
	// +kubebuilder:validation:Optional
	OnpremisesImmutableID *string `json:"onpremisesImmutableId,omitempty" tf:"onpremises_immutable_id,omitempty"`

	// A list of additional email addresses for the user.
	// Additional email addresses for the user
	// +kubebuilder:validation:Optional
	// +listType=set
	OtherMails []*string `json:"otherMails,omitempty" tf:"other_mails,omitempty"`

	// The password for the user. The password must satisfy minimum requirements as specified by the password policy. The maximum length is 256 characters. This property is required when creating a new user.
	// The password for the user. The password must satisfy minimum requirements as specified by the password policy. The maximum length is 256 characters. This property is required when creating a new user
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code
	// +kubebuilder:validation:Optional
	PostalCode *string `json:"postalCode,omitempty" tf:"postal_code,omitempty"`

	// The user's preferred language, in ISO 639-1 notation.
	// The user's preferred language, in ISO 639-1 notation
	// +kubebuilder:validation:Optional
	PreferredLanguage *string `json:"preferredLanguage,omitempty" tf:"preferred_language,omitempty"`

	// Whether or not the Outlook global address list should include this user. Defaults to true.
	// Whether or not the Outlook global address list should include this user
	// +kubebuilder:validation:Optional
	ShowInAddressList *bool `json:"showInAddressList,omitempty" tf:"show_in_address_list,omitempty"`

	// The state or province in the user's address.
	// The state or province in the user's address
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The street address of the user's place of business.
	// The street address of the user's place of business
	// +kubebuilder:validation:Optional
	StreetAddress *string `json:"streetAddress,omitempty" tf:"street_address,omitempty"`

	// The user's surname (family name or last name).
	// The user's surname (family name or last name)
	// +kubebuilder:validation:Optional
	Surname *string `json:"surname,omitempty" tf:"surname,omitempty"`

	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: NO, JP, and GB. Cannot be reset to null once set.
	// The usage location of the user. Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. The usage location is a two letter country code (ISO standard 3166). Examples include: `NO`, `JP`, and `GB`. Cannot be reset to null once set
	// +kubebuilder:validation:Optional
	UsageLocation *string `json:"usageLocation,omitempty" tf:"usage_location,omitempty"`

	// The user principal name (UPN) of the user.
	// The user principal name (UPN) of the user
	// +kubebuilder:validation:Optional
	UserPrincipalName *string `json:"userPrincipalName,omitempty" tf:"user_principal_name,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

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

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

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

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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

Jump to

Keyboard shortcuts

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