v1alpha1

package
v0.0.0-...-30237b5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=project.mongodbatlas.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "project.mongodbatlas.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	APIKey_Kind             = "APIKey"
	APIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIKey_Kind}.String()
	APIKey_KindAPIVersion   = APIKey_Kind + "." + CRDGroupVersion.String()
	APIKey_GroupVersionKind = CRDGroupVersion.WithKind(APIKey_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 (
	Invitation_Kind             = "Invitation"
	Invitation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Invitation_Kind}.String()
	Invitation_KindAPIVersion   = Invitation_Kind + "." + CRDGroupVersion.String()
	Invitation_GroupVersionKind = CRDGroupVersion.WithKind(Invitation_Kind)
)

Repository type metadata.

View Source
var (
	IPAccessList_Kind             = "IPAccessList"
	IPAccessList_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPAccessList_Kind}.String()
	IPAccessList_KindAPIVersion   = IPAccessList_Kind + "." + CRDGroupVersion.String()
	IPAccessList_GroupVersionKind = CRDGroupVersion.WithKind(IPAccessList_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.description)",message="description is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	Spec   APIKeySpec   `json:"spec"`
	Status APIKeyStatus `json:"status,omitempty"`
}

APIKey is the Schema for the APIKeys API. Creates and assigns the specified Atlas Organization API Key to the specified Project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,mongodbatlas}

func (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

func (*APIKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this APIKey

func (*APIKey) GetID

func (tr *APIKey) GetID() string

GetID returns ID of underlying Terraform resource of this APIKey

func (*APIKey) GetObservation

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

GetObservation of this APIKey

func (*APIKey) GetParameters

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

GetParameters of this APIKey

func (*APIKey) GetTerraformResourceType

func (mg *APIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIKey

func (*APIKey) GetTerraformSchemaVersion

func (tr *APIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIKey) LateInitialize

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

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

func (*APIKey) SetObservation

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

SetObservation for this APIKey

func (*APIKey) SetParameters

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

SetParameters for this APIKey

type APIKeyList

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

APIKeyList contains a list of APIKeys

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

type APIKeyObservation

type APIKeyObservation struct {

	// Unique identifier for this Project API key.
	APIKeyID *string `json:"apiKeyId,omitempty" tf:"api_key_id,omitempty"`

	// Description of this Project API key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	ProjectAssignment []ProjectAssignmentObservation `json:"projectAssignment,omitempty" tf:"project_assignment,omitempty"`

	// Unique 24-hexadecimal digit string that identifies your project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`

	// List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project.  You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the valid roles that can be assigned. DEPRECATED Use project_assignment instead.
	RoleNames []*string `json:"roleNames,omitempty" tf:"role_names,omitempty"`
}

func (*APIKeyObservation) DeepCopy

func (in *APIKeyObservation) DeepCopy() *APIKeyObservation

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

func (*APIKeyObservation) DeepCopyInto

func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation)

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

type APIKeyParameters

type APIKeyParameters struct {

	// Description of this Project API key.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	ProjectAssignment []ProjectAssignmentParameters `json:"projectAssignment,omitempty" tf:"project_assignment,omitempty"`

	// Unique 24-hexadecimal digit string that identifies your project.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project.  You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the valid roles that can be assigned. DEPRECATED Use project_assignment instead.
	// +kubebuilder:validation:Optional
	RoleNames []*string `json:"roleNames,omitempty" tf:"role_names,omitempty"`
}

func (*APIKeyParameters) DeepCopy

func (in *APIKeyParameters) DeepCopy() *APIKeyParameters

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

func (*APIKeyParameters) DeepCopyInto

func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters)

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

type APIKeySpec

type APIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIKeyParameters `json:"forProvider"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

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

APIKeyStatus defines the observed state of APIKey.

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type IPAccessList

type IPAccessList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	Spec   IPAccessListSpec   `json:"spec"`
	Status IPAccessListStatus `json:"status,omitempty"`
}

IPAccessList is the Schema for the IPAccessLists API. Provides an IP Access List resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,mongodbatlas}

func (*IPAccessList) DeepCopy

func (in *IPAccessList) DeepCopy() *IPAccessList

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

func (*IPAccessList) DeepCopyInto

func (in *IPAccessList) DeepCopyInto(out *IPAccessList)

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

func (*IPAccessList) DeepCopyObject

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

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

func (*IPAccessList) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPAccessList

func (*IPAccessList) GetID

func (tr *IPAccessList) GetID() string

GetID returns ID of underlying Terraform resource of this IPAccessList

func (*IPAccessList) GetObservation

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

GetObservation of this IPAccessList

func (*IPAccessList) GetParameters

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

GetParameters of this IPAccessList

func (*IPAccessList) GetTerraformResourceType

func (mg *IPAccessList) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPAccessList

func (*IPAccessList) GetTerraformSchemaVersion

func (tr *IPAccessList) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPAccessList) LateInitialize

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

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

func (*IPAccessList) SetObservation

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

SetObservation for this IPAccessList

func (*IPAccessList) SetParameters

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

SetParameters for this IPAccessList

type IPAccessListList

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

IPAccessListList contains a list of IPAccessLists

func (*IPAccessListList) DeepCopy

func (in *IPAccessListList) DeepCopy() *IPAccessListList

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

func (*IPAccessListList) DeepCopyInto

func (in *IPAccessListList) DeepCopyInto(out *IPAccessListList)

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

func (*IPAccessListList) DeepCopyObject

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

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

type IPAccessListObservation

type IPAccessListObservation struct {

	// Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one awsSecurityGroup, one cidrBlock, or one ipAddress.
	AwsSecurityGroup *string `json:"awsSecurityGroup,omitempty" tf:"aws_security_group,omitempty"`

	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one awsSecurityGroup, one cidrBlock, or one ipAddress.
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// Comment to add to the access list entry.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

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

	// Single IP address to be added to the access list. Mutually exclusive with awsSecurityGroup and cidrBlock.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Unique identifier for the project to which you want to add one or more access list entries.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*IPAccessListObservation) DeepCopy

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

func (*IPAccessListObservation) DeepCopyInto

func (in *IPAccessListObservation) DeepCopyInto(out *IPAccessListObservation)

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

type IPAccessListParameters

type IPAccessListParameters struct {

	// Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one awsSecurityGroup, one cidrBlock, or one ipAddress.
	// +kubebuilder:validation:Optional
	AwsSecurityGroup *string `json:"awsSecurityGroup,omitempty" tf:"aws_security_group,omitempty"`

	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one awsSecurityGroup, one cidrBlock, or one ipAddress.
	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// Comment to add to the access list entry.
	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// Single IP address to be added to the access list. Mutually exclusive with awsSecurityGroup and cidrBlock.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Unique identifier for the project to which you want to add one or more access list entries.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*IPAccessListParameters) DeepCopy

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

func (*IPAccessListParameters) DeepCopyInto

func (in *IPAccessListParameters) DeepCopyInto(out *IPAccessListParameters)

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

type IPAccessListSpec

type IPAccessListSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPAccessListParameters `json:"forProvider"`
}

IPAccessListSpec defines the desired state of IPAccessList

func (*IPAccessListSpec) DeepCopy

func (in *IPAccessListSpec) DeepCopy() *IPAccessListSpec

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

func (*IPAccessListSpec) DeepCopyInto

func (in *IPAccessListSpec) DeepCopyInto(out *IPAccessListSpec)

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

type IPAccessListStatus

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

IPAccessListStatus defines the observed state of IPAccessList.

func (*IPAccessListStatus) DeepCopy

func (in *IPAccessListStatus) DeepCopy() *IPAccessListStatus

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

func (*IPAccessListStatus) DeepCopyInto

func (in *IPAccessListStatus) DeepCopyInto(out *IPAccessListStatus)

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

type Invitation

type Invitation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.roles)",message="roles is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.username)",message="username is a required parameter"
	Spec   InvitationSpec   `json:"spec"`
	Status InvitationStatus `json:"status,omitempty"`
}

Invitation is the Schema for the Invitations API. Provides an Atlas Project Invitation resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,mongodbatlas}

func (*Invitation) DeepCopy

func (in *Invitation) DeepCopy() *Invitation

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

func (*Invitation) DeepCopyInto

func (in *Invitation) DeepCopyInto(out *Invitation)

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

func (*Invitation) DeepCopyObject

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

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

func (*Invitation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Invitation

func (*Invitation) GetID

func (tr *Invitation) GetID() string

GetID returns ID of underlying Terraform resource of this Invitation

func (*Invitation) GetObservation

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

GetObservation of this Invitation

func (*Invitation) GetParameters

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

GetParameters of this Invitation

func (*Invitation) GetTerraformResourceType

func (mg *Invitation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Invitation

func (*Invitation) GetTerraformSchemaVersion

func (tr *Invitation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Invitation) LateInitialize

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

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

func (*Invitation) SetObservation

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

SetObservation for this Invitation

func (*Invitation) SetParameters

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

SetParameters for this Invitation

type InvitationList

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

InvitationList contains a list of Invitations

func (*InvitationList) DeepCopy

func (in *InvitationList) DeepCopy() *InvitationList

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

func (*InvitationList) DeepCopyInto

func (in *InvitationList) DeepCopyInto(out *InvitationList)

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

func (*InvitationList) DeepCopyObject

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

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

type InvitationObservation

type InvitationObservation struct {

	// Timestamp in ISO 8601 date and time format in UTC when Atlas sent the invitation.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Timestamp in ISO 8601 date and time format in UTC when the invitation expires. Users have 30 days to accept an invitation.
	ExpiresAt *string `json:"expiresAt,omitempty" tf:"expires_at,omitempty"`

	// Autogenerated Unique ID for this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Unique 24-hexadecimal digit string that identifies the invitation in Atlas.
	InvitationID *string `json:"invitationId,omitempty" tf:"invitation_id,omitempty"`

	// Atlas user who invited username to the project.
	InviterUsername *string `json:"inviterUsername,omitempty" tf:"inviter_username,omitempty"`

	// Unique 24-hexadecimal digit string that identifies the project to which you want to invite a user.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// List of Atlas roles to assign to the invited user. If the user accepts the invitation, Atlas assigns these roles to them. Refer to the MongoDB Documentation for information on valid roles.
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

	// Email address to which Atlas sent the invitation. The user uses this email address as their Atlas username if they accept this invitation.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*InvitationObservation) DeepCopy

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

func (*InvitationObservation) DeepCopyInto

func (in *InvitationObservation) DeepCopyInto(out *InvitationObservation)

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

type InvitationParameters

type InvitationParameters struct {

	// Unique 24-hexadecimal digit string that identifies the project to which you want to invite a user.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// List of Atlas roles to assign to the invited user. If the user accepts the invitation, Atlas assigns these roles to them. Refer to the MongoDB Documentation for information on valid roles.
	// +kubebuilder:validation:Optional
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

	// Email address to which Atlas sent the invitation. The user uses this email address as their Atlas username if they accept this invitation.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*InvitationParameters) DeepCopy

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

func (*InvitationParameters) DeepCopyInto

func (in *InvitationParameters) DeepCopyInto(out *InvitationParameters)

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

type InvitationSpec

type InvitationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InvitationParameters `json:"forProvider"`
}

InvitationSpec defines the desired state of Invitation

func (*InvitationSpec) DeepCopy

func (in *InvitationSpec) DeepCopy() *InvitationSpec

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

func (*InvitationSpec) DeepCopyInto

func (in *InvitationSpec) DeepCopyInto(out *InvitationSpec)

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

type InvitationStatus

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

InvitationStatus defines the observed state of Invitation.

func (*InvitationStatus) DeepCopy

func (in *InvitationStatus) DeepCopy() *InvitationStatus

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

func (*InvitationStatus) DeepCopyInto

func (in *InvitationStatus) DeepCopyInto(out *InvitationStatus)

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

type ProjectAssignmentObservation

type ProjectAssignmentObservation struct {

	// Unique 24-hexadecimal digit string that identifies your project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project.  You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the valid roles that can be assigned. DEPRECATED Use project_assignment instead.
	RoleNames []*string `json:"roleNames,omitempty" tf:"role_names,omitempty"`
}

func (*ProjectAssignmentObservation) DeepCopy

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

func (*ProjectAssignmentObservation) DeepCopyInto

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

type ProjectAssignmentParameters

type ProjectAssignmentParameters struct {

	// Unique 24-hexadecimal digit string that identifies your project.
	// +kubebuilder:validation:Required
	ProjectID *string `json:"projectId" tf:"project_id,omitempty"`

	// List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project.  You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the valid roles that can be assigned. DEPRECATED Use project_assignment instead.
	// +kubebuilder:validation:Required
	RoleNames []*string `json:"roleNames" tf:"role_names,omitempty"`
}

func (*ProjectAssignmentParameters) DeepCopy

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

func (*ProjectAssignmentParameters) DeepCopyInto

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