v1alpha1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=account.btp.sap.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CisStatusBound   = "BOUND"
	CisStatusUnbound = "UNBOUND"
)
View Source
const (
	// SubaccountOperatorLabel Unique identifier of this operator,
	//workaround as the label query for cis local does not work with dots (.)
	SubaccountOperatorLabel = "orchestrate.cloud.sap/subaccount-operator"
	SMLabel                 = "orchestrate_cloud_sap_subaccount_operator"
)
View Source
const (
	EntitlementStatusOk               = "OK"
	EntitlementStatusProcessingFailed = "PROCESSING_FAILED"
	EntitlementStatusProcessing       = "PROCESSING"
	EntitlementStatusStarted          = "STARTED"
)
View Source
const (
	ResourceCredentialsClientSecret      = "clientsecret"
	ResourceCredentialsClientId          = "clientid"
	ResourceCredentialsServiceManagerUrl = "sm_url"
	ResourceCredentialsXsuaaUrl          = "tokenurl"
	ResourceCredentialsXsappname         = "xsappname"
	ResourceCredentialsXsuaaUrlSufix     = "tokenurlsuffix"
)
View Source
const (
	ServiceManagerBound   = "BOUND"
	ServiceManagerUnbound = "UNBOUND"
)
View Source
const (
	SubscriptionStateInProcess              = "IN_PROCESS"
	SubscriptionStateSubscribed             = "SUBSCRIBED"
	SubscriptionStateSubscribeFailed        = "SUBSCRIBE_FAILED"
	SubscriptionStateUnsubscribeFailed      = "UNSUBSCRIBE_FAILED"
	SubscriptionStateUpdateFailed           = "UPDATE_FAILED"
	SubscriptionStateUpdateParametersFailed = "UPDATE_PARAMETERS_FAILED"
	SubscriptionStateNotSubscribed          = "NOT_SUBSCRIBED"
)
View Source
const (
	CRDGroup   = "account.btp.sap.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

View Source
const HasValidationIssues xpv1.ConditionReason = "ValidationIssuesFound"
View Source
const NoValidationIssues xpv1.ConditionReason = "NoValidationIssuesFound"
View Source
const SoftValidationCondition xpv1.ConditionType = "SoftValidation"

Variables

View Source
var (
	CloudManagementKind             = reflect.TypeOf(CloudManagement{}).Name()
	CloudManagementGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CloudManagementKind}.String()
	CloudManagementKindAPIVersion   = CloudManagementKind + "." + CRDGroupVersion.String()
	CloudManagementGroupVersionKind = CRDGroupVersion.WithKind(CloudManagementKind)
)

CloudManagement type metadata.

View Source
var (
	DirectoryKind             = reflect.TypeOf(Directory{}).Name()
	DirectoryGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DirectoryKind}.String()
	DirectoryKindAPIVersion   = DirectoryKind + "." + CRDGroupVersion.String()
	DirectoryGroupVersionKind = CRDGroupVersion.WithKind(DirectoryKind)
)

Directory type metadata.

View Source
var (
	EntitlementKind             = reflect.TypeOf(Entitlement{}).Name()
	EntitlementGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EntitlementKind}.String()
	EntitlementKindAPIVersion   = EntitlementKind + "." + CRDGroupVersion.String()
	EntitlementGroupVersionKind = CRDGroupVersion.WithKind(EntitlementKind)
)

Entitlement type metadata.

View Source
var (
	GlobalAccountKind             = reflect.TypeOf(GlobalAccount{}).Name()
	GlobalAccountGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GlobalAccountKind}.String()
	GlobalAccountKindAPIVersion   = GlobalAccountKind + "." + CRDGroupVersion.String()
	GlobalAccountGroupVersionKind = CRDGroupVersion.WithKind(GlobalAccountKind)
)

GlobalAccount type metadata.

View Source
var (
	ServiceManagerKind             = reflect.TypeOf(ServiceManager{}).Name()
	ServiceManagerGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceManagerKind}.String()
	ServiceManagerKindAPIVersion   = ServiceManagerKind + "." + CRDGroupVersion.String()
	ServiceManagerGroupVersionKind = CRDGroupVersion.WithKind(ServiceManagerKind)
)

ServiceManager type metadata.

View Source
var (
	SubaccountKind             = reflect.TypeOf(Subaccount{}).Name()
	SubaccountGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubaccountKind}.String()
	SubaccountKindAPIVersion   = SubaccountKind + "." + CRDGroupVersion.String()
	SubaccountGroupVersionKind = CRDGroupVersion.WithKind(SubaccountKind)
)

Subaccount type metadata.

View Source
var (
	SubscriptionKind             = reflect.TypeOf(Subscription{}).Name()
	SubscriptionGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionKind}.String()
	SubscriptionKindAPIVersion   = SubscriptionKind + "." + CRDGroupVersion.String()
	SubscriptionGroupVersionKind = CRDGroupVersion.WithKind(SubscriptionKind)
)

Subscription type metadata.

View Source
var (
	DirectoryEntitlement_Kind             = "DirectoryEntitlement"
	DirectoryEntitlement_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DirectoryEntitlement_Kind}.String()
	DirectoryEntitlement_KindAPIVersion   = DirectoryEntitlement_Kind + "." + CRDGroupVersion.String()
	DirectoryEntitlement_GroupVersionKind = CRDGroupVersion.WithKind(DirectoryEntitlement_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 (
	SubaccountServiceBinding_Kind             = "SubaccountServiceBinding"
	SubaccountServiceBinding_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubaccountServiceBinding_Kind}.String()
	SubaccountServiceBinding_KindAPIVersion   = SubaccountServiceBinding_Kind + "." + CRDGroupVersion.String()
	SubaccountServiceBinding_GroupVersionKind = CRDGroupVersion.WithKind(SubaccountServiceBinding_Kind)
)

Repository type metadata.

View Source
var (
	SubaccountServiceInstance_Kind             = "SubaccountServiceInstance"
	SubaccountServiceInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubaccountServiceInstance_Kind}.String()
	SubaccountServiceInstance_KindAPIVersion   = SubaccountServiceInstance_Kind + "." + CRDGroupVersion.String()
	SubaccountServiceInstance_GroupVersionKind = CRDGroupVersion.WithKind(SubaccountServiceInstance_Kind)
)

Repository type metadata.

View Source
var DirectoryEntityStateOk = "OK"

Functions

func CloudManagementSecret

func CloudManagementSecret() reference.ExtractValueFn

CloudManagementSecret extracts the Reference of a cis instance to a secret name

func CloudManagementSecretSecretNamespace

func CloudManagementSecretSecretNamespace() reference.ExtractValueFn

CloudManagementSecretSecretNamespace extracts the Reference of a cis instance to the namespace of secret

func CloudManagementSubaccountUuid

func CloudManagementSubaccountUuid() reference.ExtractValueFn

CloudManagementSubaccountUuid extracts the Reference of a Subaccount to the namespace of secret

func DirectoryUuid

func DirectoryUuid() reference.ExtractValueFn

DirectoryUuid Directory Account UUID extractor function

func GlobalAccountUuid

func GlobalAccountUuid() reference.ExtractValueFn

GlobalAccountUuid Global Account UUID extractor function

func ServiceManagerSecret

func ServiceManagerSecret() reference.ExtractValueFn

ServiceManagerSecret extracts the Reference of a service manager instance to a secret name

func ServiceManagerSecretNamespace

func ServiceManagerSecretNamespace() reference.ExtractValueFn

ServiceManagerSecretNamespace extracts the Reference of a service manager instance to the namespace of secret

func SubaccountUuid

func SubaccountUuid() reference.ExtractValueFn

SubaccountUuid Global Account UUID extractor function

func ValidationCondition

func ValidationCondition(validationIssues []string) xpv1.Condition

func ValidationError

func ValidationError(msg string) xpv1.Condition

func ValidationOk

func ValidationOk() xpv1.Condition

Types

type Assignable

type Assignable struct {

	// The quantity of the entitlement that is assigned to the root global account or directory.
	Amount *int `json:"amount,omitempty"`

	// Whether the plan is automatically distributed to the subaccounts that are located in the directory.
	AutoAssign bool `json:"autoAssign,omitempty"`

	// Specifies if the plan was automatically assigned regardless of any action by an admin. This applies to entitlements that are always available to subaccounts and cannot be removed.
	AutoAssigned bool `json:"autoAssigned,omitempty"`

	// The amount of the entitlement to automatically assign to subaccounts that are added in the future to the entitlement's assigned directory.
	// Requires that autoAssign is set to TRUE, and there is remaining quota for the entitlement. To automatically distribute to subaccounts that are added in the future to the directory, distribute must be set to TRUE.
	AutoDistributeAmount int32 `json:"autoDistributeAmount,omitempty"`

	// The unique ID of the global account or directory to which the entitlement is assigned.
	// Example: GUID of GLOBAL_ACCOUNT or SUBACCOUNT
	EntityID string `json:"entityId,omitempty"`

	// The current state of the service plan assignment.
	// * <b>STARTED:</b> CRUD operation on an entity has started.
	// * <b>PROCESSING:</b> A series of operations related to the entity is in progress.
	// * <b>PROCESSING_FAILED:</b> The processing operations failed.
	// * <b>OK:</b> The CRUD operation or series of operations completed successfully.
	// Enum: [STARTED PROCESSING PROCESSING_FAILED OK]
	EntityState string `json:"entityState,omitempty"`

	// The type of entity to which the entitlement is assigned.
	// * <b>SUBACCOUNT:</b> The entitlement is assigned to a subaccount.
	// * <b>GLOBAL_ACCOUNT:</b> The entitlement is assigned to a root global account.
	// * <b>DIRECTORY:</b> The entitlement is assigned to a directory.
	// Example: GLOBAL_ACCOUNT or SUBACCOUNT
	// Enum: [SUBACCOUNT GLOBAL_ACCOUNT DIRECTORY]
	EntityType string `json:"entityType,omitempty"`

	// The requested amount when it is different from the actual amount because the request state is still in process or failed.
	RequestedAmount int `json:"requestedAmount,omitempty"`

	// Information about the current state.
	StateMessage string `json:"stateMessage,omitempty"`

	// True, if an unlimited quota of this service plan assigned to the directory or subaccount in the global account. False, if the service plan is assigned to the directory or subaccount with a limited numeric quota, even if the service plan has an unlimited usage entitled on the level of the global account.
	UnlimitedAmountAssigned bool `json:"unlimitedAmountAssigned,omitempty"`
	//resource details
	Resources []*Resource `json:"resources"`
}

func (*Assignable) DeepCopy

func (in *Assignable) DeepCopy() *Assignable

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

func (*Assignable) DeepCopyInto

func (in *Assignable) DeepCopyInto(out *Assignable)

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

type Binding

type Binding struct {
	// The ID of the service binding.
	Id *string `json:"id,omitempty"`
	// Whether the service binding is ready.
	Ready *bool `json:"ready,omitempty"`
	// The name of the service binding.
	Name *string `json:"name,omitempty"`
	// The ID of the service instance associated with the binding.
	ServiceInstanceId *string `json:"service_instance_id,omitempty"`
	// Contextual data for the resource.
	Context *map[string]string `json:"context,omitempty"`
	// Contains the resources associated with the binding.
	BindResource *map[string]string `json:"bind_resource,omitempty"`
	// The time the binding was created.<br/>In ISO 8601 format:</br> YYYY-MM-DDThh:mm:ssTZD
	CreatedAt *string `json:"created_at,omitempty"`
	// The last time the binding was updated.<br/> In ISO 8601 format.
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Additional data associated with the resource entity. <br><br>Can be an empty object.
	Labels *map[string][]string `json:"labels,omitempty"`
}

func (*Binding) DeepCopy

func (in *Binding) DeepCopy() *Binding

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

func (*Binding) DeepCopyInto

func (in *Binding) DeepCopyInto(out *Binding)

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

type CloudManagement

type CloudManagement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudManagementSpec   `json:"spec"`
	Status CloudManagementStatus `json:"status,omitempty"`
}

A CloudManagement is a managed resource that represents a cloud management instance and its api credentials in the SAP Business Technology Platform +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,btp}

func (*CloudManagement) DeepCopy

func (in *CloudManagement) DeepCopy() *CloudManagement

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

func (*CloudManagement) DeepCopyInto

func (in *CloudManagement) DeepCopyInto(out *CloudManagement)

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

func (*CloudManagement) DeepCopyObject

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

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

func (*CloudManagement) GetCondition

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

GetCondition of this CloudManagement.

func (*CloudManagement) GetDeletionPolicy

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

GetDeletionPolicy of this CloudManagement.

func (*CloudManagement) GetManagementPolicies

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

GetManagementPolicies of this CloudManagement.

func (*CloudManagement) GetProviderConfigReference

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

GetProviderConfigReference of this CloudManagement.

func (*CloudManagement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CloudManagement.

func (*CloudManagement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CloudManagement.

func (*CloudManagement) ResolveReferences

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

ResolveReferences of this CloudManagement.

func (*CloudManagement) SetConditions

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

SetConditions of this CloudManagement.

func (*CloudManagement) SetDeletionPolicy

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

SetDeletionPolicy of this CloudManagement.

func (*CloudManagement) SetManagementPolicies

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

SetManagementPolicies of this CloudManagement.

func (*CloudManagement) SetProviderConfigReference

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

SetProviderConfigReference of this CloudManagement.

func (*CloudManagement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CloudManagement.

func (*CloudManagement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CloudManagement.

type CloudManagementDataSourceLookup

type CloudManagementDataSourceLookup struct {
	CloudManagementPlanID string `json:"cloudManagementPlanID,omitempty"`
}

func (*CloudManagementDataSourceLookup) DeepCopy

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

func (*CloudManagementDataSourceLookup) DeepCopyInto

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

type CloudManagementList

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

CloudManagementList contains a list of CloudManagement

func (*CloudManagementList) DeepCopy

func (in *CloudManagementList) DeepCopy() *CloudManagementList

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

func (*CloudManagementList) DeepCopyInto

func (in *CloudManagementList) DeepCopyInto(out *CloudManagementList)

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

func (*CloudManagementList) DeepCopyObject

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

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

func (*CloudManagementList) GetItems

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

GetItems of this CloudManagementList.

type CloudManagementObservation

type CloudManagementObservation struct {
	Status   string    `json:"status"`
	Instance *Instance `json:"instance,omitempty"`
	Binding  *Binding  `json:"binding,omitempty"`

	// currently bound service instance id
	ServiceInstanceID string `json:"serviceInstanceID,omitempty"`
	// currently bound service binding id
	ServiceBindingID string `json:"serviceBindingID,omitempty"`

	DataSourceLookup *CloudManagementDataSourceLookup `json:"dataSourceLookup,omitempty"`
}

CloudManagementObservation are the observable fields of a CloudManagement.

func (*CloudManagementObservation) DeepCopy

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

func (*CloudManagementObservation) DeepCopyInto

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

type CloudManagementParameters

type CloudManagementParameters struct {
	// +kubebuilder:validation:Optional
	SubaccountSelector *xpv1.Selector `json:"subaccountSelector,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountRef *xpv1.Reference `` /* 138-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
	// +crossplane:generate:reference:refFieldName=SubaccountRef
	// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
	SubaccountGuid string `json:"subaccountGuid,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceManagerSelector *xpv1.Selector `json:"serviceManagerSelector,omitempty"`
	// +kubebuilder:validation:Optional
	ServiceManagerRef *xpv1.Reference `` /* 146-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceManager
	// +crossplane:generate:reference:refFieldName=ServiceManagerRef
	// +crossplane:generate:reference:selectorFieldName=ServiceManagerSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceManagerSecret()
	ServiceManagerSecret string `json:"serviceManagerSecret,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceManager
	// +crossplane:generate:reference:refFieldName=ServiceManagerRef
	// +crossplane:generate:reference:selectorFieldName=ServiceManagerSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceManagerSecretNamespace()
	ServiceManagerSecretNamespace string `json:"serviceManagerSecretNamespace,omitempty"`
}

CloudManagementParameters are the configurable fields of a CloudManagement.

func (*CloudManagementParameters) DeepCopy

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

func (*CloudManagementParameters) DeepCopyInto

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

type CloudManagementSpec

type CloudManagementSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CloudManagementParameters `json:"forProvider,omitempty"`
}

A CloudManagementSpec defines the desired state of a CloudManagement.

func (*CloudManagementSpec) DeepCopy

func (in *CloudManagementSpec) DeepCopy() *CloudManagementSpec

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

func (*CloudManagementSpec) DeepCopyInto

func (in *CloudManagementSpec) DeepCopyInto(out *CloudManagementSpec)

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

type CloudManagementStatus

type CloudManagementStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CloudManagementObservation `json:"atProvider,omitempty"`
}

A CloudManagementStatus represents the observed state of a CloudManagement.

func (*CloudManagementStatus) DeepCopy

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

func (*CloudManagementStatus) DeepCopyInto

func (in *CloudManagementStatus) DeepCopyInto(out *CloudManagementStatus)

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

type Directory

type Directory struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DirectorySpec   `json:"spec"`
	Status DirectoryStatus `json:"status,omitempty"`
}

A Directory is a managed resource that allows grouping of subaccounts in the SAP Business Technology Platform +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,btp-account}

func (*Directory) DeepCopy

func (in *Directory) DeepCopy() *Directory

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

func (*Directory) DeepCopyInto

func (in *Directory) DeepCopyInto(out *Directory)

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

func (*Directory) DeepCopyObject

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

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

func (*Directory) GetCondition

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

GetCondition of this Directory.

func (*Directory) GetDeletionPolicy

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

GetDeletionPolicy of this Directory.

func (*Directory) GetExternalID

func (md *Directory) GetExternalID() string

func (*Directory) GetManagementPolicies

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

GetManagementPolicies of this Directory.

func (*Directory) GetProviderConfigReference

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

GetProviderConfigReference of this Directory.

func (*Directory) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Directory.

func (*Directory) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Directory.

func (*Directory) ResolveReferences

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

ResolveReferences of this Directory.

func (*Directory) SetConditions

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

SetConditions of this Directory.

func (*Directory) SetDeletionPolicy

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

SetDeletionPolicy of this Directory.

func (*Directory) SetExternalID

func (md *Directory) SetExternalID(newID string)

func (*Directory) SetManagementPolicies

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

SetManagementPolicies of this Directory.

func (*Directory) SetProviderConfigReference

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

SetProviderConfigReference of this Directory.

func (*Directory) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Directory.

func (*Directory) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Directory.

type DirectoryEntitlement

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

DirectoryEntitlement is the Schema for the DirectoryEntitlements API. Assigns the entitlement plan of a service, multitenant application, or environment, to a directory. Note that some environments, such as Cloud Foundry, are available by default to all global accounts and their directorys, and therefore are not made available as entitlements. Tip: You must be assigned to the admin role of the global account or the directory. Further documentation: https://help.sap.com/docs/btp/sap-business-technology-platform/entitlements-and-quotas +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:resource:scope=Cluster,categories={crossplane,managed,account}

func (*DirectoryEntitlement) DeepCopy

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

func (*DirectoryEntitlement) DeepCopyInto

func (in *DirectoryEntitlement) DeepCopyInto(out *DirectoryEntitlement)

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

func (*DirectoryEntitlement) DeepCopyObject

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

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

func (*DirectoryEntitlement) GetCondition

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

GetCondition of this DirectoryEntitlement.

func (*DirectoryEntitlement) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DirectoryEntitlement

func (*DirectoryEntitlement) GetDeletionPolicy

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

GetDeletionPolicy of this DirectoryEntitlement.

func (*DirectoryEntitlement) GetID

func (tr *DirectoryEntitlement) GetID() string

GetID returns ID of underlying Terraform resource of this DirectoryEntitlement

func (*DirectoryEntitlement) GetInitParameters

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

GetInitParameters of this DirectoryEntitlement

func (*DirectoryEntitlement) GetManagementPolicies

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

GetManagementPolicies of this DirectoryEntitlement.

func (*DirectoryEntitlement) GetMergedParameters

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

GetInitParameters of this DirectoryEntitlement

func (*DirectoryEntitlement) GetObservation

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

GetObservation of this DirectoryEntitlement

func (*DirectoryEntitlement) GetParameters

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

GetParameters of this DirectoryEntitlement

func (*DirectoryEntitlement) GetProviderConfigReference

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

GetProviderConfigReference of this DirectoryEntitlement.

func (*DirectoryEntitlement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DirectoryEntitlement.

func (*DirectoryEntitlement) GetTerraformResourceType

func (mg *DirectoryEntitlement) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DirectoryEntitlement

func (*DirectoryEntitlement) GetTerraformSchemaVersion

func (tr *DirectoryEntitlement) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DirectoryEntitlement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DirectoryEntitlement.

func (*DirectoryEntitlement) Hub

func (tr *DirectoryEntitlement) Hub()

Hub marks this type as a conversion hub.

func (*DirectoryEntitlement) LateInitialize

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

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

func (*DirectoryEntitlement) ResolveReferences

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

ResolveReferences of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetConditions

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

SetConditions of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetDeletionPolicy

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

SetDeletionPolicy of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetManagementPolicies

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

SetManagementPolicies of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetObservation

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

SetObservation for this DirectoryEntitlement

func (*DirectoryEntitlement) SetParameters

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

SetParameters for this DirectoryEntitlement

func (*DirectoryEntitlement) SetProviderConfigReference

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

SetProviderConfigReference of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DirectoryEntitlement.

func (*DirectoryEntitlement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DirectoryEntitlement.

type DirectoryEntitlementInitParameters

type DirectoryEntitlementInitParameters struct {

	// (Number) The quota assigned to the directory.
	// The quota assigned to the directory.
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// (Boolean) Determines whether the plans of entitlements that have a numeric quota with the amount specified in auto_distribute_amount are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (auto_distribute_amount is not needed). If the distribute parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	// Determines whether the plans of entitlements that have a numeric quota with the amount specified in `auto_distribute_amount` are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (`auto_distribute_amount` is not needed). If the `distribute` parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	AutoAssign *bool `json:"autoAssign,omitempty" tf:"auto_assign,omitempty"`

	// (Number) The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, auto_assign and/or distribute must also be set. Applies only to entitlements that have a numeric quota.
	// The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, `auto_assign` and/or `distribute` must also be set. Applies only to entitlements that have a numeric quota.
	AutoDistributeAmount *float64 `json:"autoDistributeAmount,omitempty" tf:"auto_distribute_amount,omitempty"`

	// (String) The ID of the directory.
	// The ID of the directory.
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Directory
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.DirectoryUuid()
	// +crossplane:generate:reference:refFieldName=DirectoryRef
	// +crossplane:generate:reference:selectorFieldName=DirectorySelector
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// Reference to a Directory in account to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryRef *v1.Reference `json:"directoryRef,omitempty" tf:"-"`

	// Selector for a Directory in account to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectorySelector *v1.Selector `json:"directorySelector,omitempty" tf:"-"`

	// (Boolean) Defines the assignment of the plan with the quota specified in auto_distribute_amount to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (auto_distribute_amount is not needed). When applying this option, auto_assign must also be set.
	// Defines the assignment of the plan with the quota specified in `auto_distribute_amount` to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (`auto_distribute_amount` is not needed). When applying this option, `auto_assign` must also be set.
	Distribute *bool `json:"distribute,omitempty" tf:"distribute,omitempty"`

	// (String) The name of the entitled service plan.
	// The name of the entitled service plan.
	PlanName *string `json:"planName,omitempty" tf:"plan_name,omitempty"`

	// (String) The name of the entitled service.
	// The name of the entitled service.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*DirectoryEntitlementInitParameters) DeepCopy

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

func (*DirectoryEntitlementInitParameters) DeepCopyInto

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

type DirectoryEntitlementList

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

DirectoryEntitlementList contains a list of DirectoryEntitlements

func (*DirectoryEntitlementList) DeepCopy

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

func (*DirectoryEntitlementList) DeepCopyInto

func (in *DirectoryEntitlementList) DeepCopyInto(out *DirectoryEntitlementList)

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

func (*DirectoryEntitlementList) DeepCopyObject

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

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

func (*DirectoryEntitlementList) GetItems

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

GetItems of this DirectoryEntitlementList.

type DirectoryEntitlementObservation

type DirectoryEntitlementObservation struct {

	// (Number) The quota assigned to the directory.
	// The quota assigned to the directory.
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// (Boolean) Determines whether the plans of entitlements that have a numeric quota with the amount specified in auto_distribute_amount are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (auto_distribute_amount is not needed). If the distribute parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	// Determines whether the plans of entitlements that have a numeric quota with the amount specified in `auto_distribute_amount` are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (`auto_distribute_amount` is not needed). If the `distribute` parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	AutoAssign *bool `json:"autoAssign,omitempty" tf:"auto_assign,omitempty"`

	// (Number) The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, auto_assign and/or distribute must also be set. Applies only to entitlements that have a numeric quota.
	// The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, `auto_assign` and/or `distribute` must also be set. Applies only to entitlements that have a numeric quota.
	AutoDistributeAmount *float64 `json:"autoDistributeAmount,omitempty" tf:"auto_distribute_amount,omitempty"`

	// (String) The current state of the entitlement. Possible values are:
	// The current state of the entitlement. Possible values are:
	//
	// | value | description |
	// | --- | --- |
	// | `PLATFORM` |  A service required for using a specific platform; for example, Application Runtime is required for the Cloud Foundry platform. |
	// | `SERVICE` | A commercial or technical service. that has a numeric quota (amount) when entitled or assigned to a resource. When assigning entitlements of this type, use the 'amount' option. |
	// | `ELASTIC_SERVICE` | A commercial or technical service that has no numeric quota (amount) when entitled or assigned to a resource. Generally this type of service can be as many times as needed when enabled, but may in some cases be restricted by the service owner. |
	// | `ELASTIC_LIMITED` | An elastic service that can be enabled for only one subaccount per global account. |
	// | `APPLICATION` | A multitenant application to which consumers can subscribe. As opposed to applications defined as a 'QUOTA_BASED_APPLICATION', these applications do not have a numeric quota and are simply enabled or disabled as entitlements per subaccount. |
	// | `QUOTA_BASED_APPLICATION` | A multitenant application to which consumers can subscribe. As opposed to applications defined as 'APPLICATION', these applications have an numeric quota that limits consumer usage of the subscribed application per subaccount. |
	// | `ENVIRONMENT` |  An environment service; for example, Cloud Foundry. |
	Category *string `json:"category,omitempty" tf:"category,omitempty"`

	// (String) The ID of the directory.
	// The ID of the directory.
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// (Boolean) Defines the assignment of the plan with the quota specified in auto_distribute_amount to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (auto_distribute_amount is not needed). When applying this option, auto_assign must also be set.
	// Defines the assignment of the plan with the quota specified in `auto_distribute_amount` to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (`auto_distribute_amount` is not needed). When applying this option, `auto_assign` must also be set.
	Distribute *bool `json:"distribute,omitempty" tf:"distribute,omitempty"`

	// (String) The ID of the entitled service plan.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The ID of the entitled service plan.
	// The ID of the entitled service plan.
	PlanID *string `json:"planId,omitempty" tf:"plan_id,omitempty"`

	// (String) The name of the entitled service plan.
	// The name of the entitled service plan.
	PlanName *string `json:"planName,omitempty" tf:"plan_name,omitempty"`

	// (String) The name of the entitled service.
	// The name of the entitled service.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*DirectoryEntitlementObservation) DeepCopy

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

func (*DirectoryEntitlementObservation) DeepCopyInto

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

type DirectoryEntitlementParameters

type DirectoryEntitlementParameters struct {

	// (Number) The quota assigned to the directory.
	// The quota assigned to the directory.
	// +kubebuilder:validation:Optional
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// (Boolean) Determines whether the plans of entitlements that have a numeric quota with the amount specified in auto_distribute_amount are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (auto_distribute_amount is not needed). If the distribute parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	// Determines whether the plans of entitlements that have a numeric quota with the amount specified in `auto_distribute_amount` are automatically allocated to any new subaccount that is added to the directory in the future. For entitlements without a numeric quota, it shows if the plan are assigned to any new subaccount that is added to the directory in the future (`auto_distribute_amount` is not needed). If the `distribute` parameter is set, the same assignment is also made to all subaccounts currently in the directory. Entitlements are subject to available quota in the directory.
	// +kubebuilder:validation:Optional
	AutoAssign *bool `json:"autoAssign,omitempty" tf:"auto_assign,omitempty"`

	// (Number) The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, auto_assign and/or distribute must also be set. Applies only to entitlements that have a numeric quota.
	// The quota of the specified plan automatically allocated to any new subaccount that is created in the future in the directory. When applying this option, `auto_assign` and/or `distribute` must also be set. Applies only to entitlements that have a numeric quota.
	// +kubebuilder:validation:Optional
	AutoDistributeAmount *float64 `json:"autoDistributeAmount,omitempty" tf:"auto_distribute_amount,omitempty"`

	// (String) The ID of the directory.
	// The ID of the directory.
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Directory
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.DirectoryUuid()
	// +crossplane:generate:reference:refFieldName=DirectoryRef
	// +crossplane:generate:reference:selectorFieldName=DirectorySelector
	// +kubebuilder:validation:Optional
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// Reference to a Directory in account to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryRef *v1.Reference `json:"directoryRef,omitempty" tf:"-"`

	// Selector for a Directory in account to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectorySelector *v1.Selector `json:"directorySelector,omitempty" tf:"-"`

	// (Boolean) Defines the assignment of the plan with the quota specified in auto_distribute_amount to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (auto_distribute_amount is not needed). When applying this option, auto_assign must also be set.
	// Defines the assignment of the plan with the quota specified in `auto_distribute_amount` to subaccounts currently located in the specified directory. For entitlements without a numeric quota, the plan is assigned to the subaccounts currently located in the directory (`auto_distribute_amount` is not needed). When applying this option, `auto_assign` must also be set.
	// +kubebuilder:validation:Optional
	Distribute *bool `json:"distribute,omitempty" tf:"distribute,omitempty"`

	// (String) The name of the entitled service plan.
	// The name of the entitled service plan.
	// +kubebuilder:validation:Optional
	PlanName *string `json:"planName,omitempty" tf:"plan_name,omitempty"`

	// (String) The name of the entitled service.
	// The name of the entitled service.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*DirectoryEntitlementParameters) DeepCopy

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

func (*DirectoryEntitlementParameters) DeepCopyInto

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

type DirectoryEntitlementSpec

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

DirectoryEntitlementSpec defines the desired state of DirectoryEntitlement

func (*DirectoryEntitlementSpec) DeepCopy

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

func (*DirectoryEntitlementSpec) DeepCopyInto

func (in *DirectoryEntitlementSpec) DeepCopyInto(out *DirectoryEntitlementSpec)

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

type DirectoryEntitlementStatus

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

DirectoryEntitlementStatus defines the observed state of DirectoryEntitlement.

func (*DirectoryEntitlementStatus) DeepCopy

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

func (*DirectoryEntitlementStatus) DeepCopyInto

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

type DirectoryList

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

DirectoryList contains a list of Directory

func (*DirectoryList) DeepCopy

func (in *DirectoryList) DeepCopy() *DirectoryList

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

func (*DirectoryList) DeepCopyInto

func (in *DirectoryList) DeepCopyInto(out *DirectoryList)

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

func (*DirectoryList) DeepCopyObject

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

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

func (*DirectoryList) GetItems

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

GetItems of this DirectoryList.

type DirectoryObservation

type DirectoryObservation struct {
	// The GUID of the directory
	Guid *string `json:"guid,omitempty"`

	// Processing state in external	system
	EntityState *string `json:"entityState,omitempty"`
	// Details related to external processing state
	StateMessage *string `json:"stateMessage,omitempty"`
	// Subdomain currently present in external system
	Subdomain *string `json:"subdomain,omitempty"`
	// Features currently present in external system
	DirectoryFeatures []string `json:"directoryFeatures"`
}

DirectoryObservation are the observable fields of a Directory.

func (*DirectoryObservation) DeepCopy

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

func (*DirectoryObservation) DeepCopyInto

func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation)

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

type DirectoryParameters

type DirectoryParameters struct {

	// Description of the Directory
	// +optional
	Description string `json:"description,omitempty"`

	// Additional admins of the directory. Applies only to directories that have the user authorization management feature enabled. Do not add yourself as you are assigned as a directory admin by default. Example: ["admin1@example.com", "admin2@example.com"]
	// +kubebuilder:validation:MinItems=2
	DirectoryAdmins []string `json:"directoryAdmins"`

	// <b>The features to be enabled in the directory. The available features are:</b>
	// -	<b>DEFAULT</b>: (Mandatory) All directories provide the following basic features: (1) Group and filter subaccounts for reports and filters, (2) monitor usage and costs on a directory level (costs only available for contracts that use the consumption-based commercial model), and (3) set custom properties and tags to the directory for identification and reporting purposes.
	// -	<b>ENTITLEMENTS</b>: (Optional) Enables the assignment of a quota for services and applications to the directory from the global account quota for distribution to the subaccounts under this directory.
	// -	<b>AUTHORIZATIONS</b>: (Optional) Allows you to assign users as administrators or viewers of this directory. You must apply this feature in combination with the ENTITLEMENTS feature.
	//
	//
	// IMPORTANT: Your multi-level account hierarchy can have more than one directory enabled with user authorization and/or entitlement management; however, only one directory in any directory path can have these features enabled. In other words, other directories above or below this directory in the same path can only have the default features specified. If you are not sure which features to enable, we recommend that you set only the default features, and then add features later on as they are needed.
	// <br/><b>Valid values:</b>
	// [DEFAULT]
	// [DEFAULT,ENTITLEMENTS]
	// [DEFAULT,ENTITLEMENTS,AUTHORIZATIONS]<br/>
	// Unique: true
	// +optional
	DirectoryFeatures []string `json:"directoryFeatures"`

	// The display name of the directory.
	DisplayName *string `json:"displayName"`

	// JSON array of up to 10 user-defined labels to assign as key-value pairs to the directory. Each label has a name (key) that you specify, and to which you can assign up to 10 corresponding values or leave empty.
	// Keys and values are each limited to 63 characters.
	// Label keys and values are case-sensitive. Try to avoid creating duplicate variants of the same keys or values with a different casing (example: "myValue" and "MyValue").
	//
	// Example:
	// {
	//   "Cost Center": ["19700626"],
	//   "Department": ["Sales"],
	//   "Contacts": ["name1@example.com","name2@example.com"],
	//   "EMEA":[]
	// }
	//
	// +optional
	Labels map[string][]string `json:"labels,omitempty"`

	// Subdomain Applies only to directories that have the user authorization management feature enabled.  The subdomain becomes part of the path used to access the authorization tenant of the directory. Must be unique within the defined region. Use only letters (a-z), digits (0-9), and hyphens (not at start or end). Maximum length is 63 characters. Cannot be changed after the directory has been created.
	// +optional
	Subdomain *string `json:"subdomain,omitempty"`

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Directory
	// +crossplane:generate:reference:refFieldName=DirectoryRef
	// +crossplane:generate:reference:selectorFieldName=DirectorySelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.DirectoryUuid()
	DirectoryGuid string `json:"directoryGuid,omitempty"`

	// +kubebuilder:validation:Optional
	DirectorySelector *xpv1.Selector `json:"directorySelector,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="directoryRef name can't be updated once set"
	DirectoryRef *xpv1.Reference `` /* 136-byte string literal not displayed */
}

DirectoryParameters are the configurable fields of a Directory.

func (*DirectoryParameters) DeepCopy

func (in *DirectoryParameters) DeepCopy() *DirectoryParameters

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

func (*DirectoryParameters) DeepCopyInto

func (in *DirectoryParameters) DeepCopyInto(out *DirectoryParameters)

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

type DirectorySpec

type DirectorySpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DirectoryParameters `json:"forProvider"`
}

A DirectorySpec defines the desired state of a Directory.

func (*DirectorySpec) DeepCopy

func (in *DirectorySpec) DeepCopy() *DirectorySpec

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

func (*DirectorySpec) DeepCopyInto

func (in *DirectorySpec) DeepCopyInto(out *DirectorySpec)

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

type DirectoryStatus

type DirectoryStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          DirectoryObservation `json:"atProvider,omitempty"`
}

A DirectoryStatus represents the observed state of a Directory.

func (*DirectoryStatus) DeepCopy

func (in *DirectoryStatus) DeepCopy() *DirectoryStatus

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

func (*DirectoryStatus) DeepCopyInto

func (in *DirectoryStatus) DeepCopyInto(out *DirectoryStatus)

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

type Entitled

type Entitled struct {
	// The assigned quota for maximum allowed consumption of the plan. Relevant for services that have a numeric quota assignment.
	Amount int `json:"amount,omitempty"`

	// Whether to automatically assign a quota of the entitlement to a subaccount when the subaccount is created in the entitlement's assigned directory.
	AutoAssign bool `json:"autoAssign,omitempty"`

	// The amount of the entitlement to automatically assign to a subaccount when the subaccount is created in the entitlement's assigned directory.
	// Requires that autoAssign is set to TRUE, and there is remaining quota for the entitlement.
	AutoDistributeAmount int `json:"autoDistributeAmount,omitempty"`

	// Whether the service plan is available internally to SAP users.
	AvailableForInternal bool `json:"availableForInternal,omitempty"`

	// Whether the service plan is a beta feature.
	Beta bool `json:"beta,omitempty"`

	// The type of service offering. Possible values:
	// * <b>PLATFORM:</b> A service required for using a specific platform; for example, Application Runtime is required for the Cloud Foundry platform.
	// * <b>SERVICE:</b> A commercial or technical service. that has a numeric quota (amount) when entitled or assigned to a resource. When assigning entitlements of this type, use the 'amount' option instead of 'enable'. See: PUT/entitlements/v1/directories/{directoryGUID}/assignments.
	// * <b>ELASTIC_SERVICE:</b> A commercial or technical service that has no numeric quota (amount) when entitled or assigned to a resource. Generally this type of service can be as many times as needed when enabled, but may in some cases be restricted by the service owner. When assigning entitlements of this type, use the 'enable' option instead of 'amount'. See: PUT/entitlements/v1/directories/{directoryGUID}/assignments.
	// * <b>ELASTIC_LIMITED:</b> An elastic service that can be enabled for only one subaccount per global account.
	// * <b>APPLICATION:</b> A multitenant application to which consumers can subscribe. As opposed to applications defined as a 'QUOTA_BASED_APPLICATION', these applications do not have a numeric quota and are simply enabled or disabled as entitlements per subaccount.
	// * <b>QUOTA_BASED_APPLICATION:</b> A multitenant application to which consumers can subscribe. As opposed to applications defined as 'APPLICATION', these applications have an numeric quota that limits consumer usage of the subscribed application per subaccount. When maxAllowedSubaccountQuota is > 0, this is the limit that can be set when assigning the max quota entitlement of the app to any subaccount. If maxAllowedSubaccountQuota is = 0 or null, the max quota that can be entitled to any subaccount is the amount purchased by the customer (the global account quota).
	// * <b>ENVIRONMENT:</b> An environment service; for example, Cloud Foundry.
	// Enum: [APPLICATION ELASTIC_LIMITED ELASTIC_SERVICE ENVIRONMENT PLATFORM QUOTA_BASED_APPLICATION SERVICE]
	Category string `json:"category,omitempty"`

	// Description of the service plan for customer-facing UIs.
	Description string `json:"description,omitempty"`

	// Display name of the service plan for customer-facing UIs.
	DisplayName string `json:"displayName,omitempty"`

	// The quota limit that is allowed for this service plan for SAP internal users.
	// If null, the default quota limit is set to 200.
	// Applies only when the availableForInternal property is set to TRUE.
	InternalQuotaLimit int `json:"internalQuotaLimit,omitempty"`

	// The maximum allowed usage quota per subaccount for multitenant applications and environments that are defined as "quota-based". This quota limits the usage of the application and/or environment per subaccount per a given usage metric that is defined within the application or environment by the service provider. If null, the usage limit per subaccount is the maximum free quota in the global account.
	// For example, a value of 1 could: (1) limit the number of subscriptions to a quota-based multitenant application within a global account according to the purchased quota, or (2) restrict the enablement of a single instance of an environment per subaccount.
	MaxAllowedSubaccountQuota int `json:"maxAllowedSubaccountQuota,omitempty"`

	// The unique registration name of the service plan.
	Name string `json:"name,omitempty"`

	// [DEPRECATED] The source that added the service. Possible values:
	// * <b>VENDOR:</b> The product has been added by SAP or the cloud operator to the product catalog for general use.
	// * <b>GLOBAL_ACCOUNT_OWNER:</b> Custom services that are added by a customer and are available only for that customer’s global account.
	// * <b>PARTNER:</b> Service that are added by partners. And only available to its customers.
	//
	// Note: This property is deprecated. Please use the ownerType attribute on the entitledService level instead.
	// Enum: [GLOBAL_ACCOUNT_OWNER PARTNER VENDOR]
	ProvidedBy string `json:"providedBy,omitempty"`

	// The method used to provision the service plan.
	// * <b>SERVICE_BROKER:</b> Provisioning of NEO or CF quotas done by the service broker.
	// * <b>NONE_REQUIRED:</b> Provisioning of CF quotas done by setting amount at provisioning-service.
	// * <b>COMMERCIAL_SOLUTION_SCRIPT:</b> Provisioning is done by a script provided by the service owner and run by the Core Commercial Foundation service.
	// * <b>GLOBAL_COMMERCIAL_SOLUTION_SCRIPT:</b> Provisioning is done by a script provided by the service owner and run by the Core Commercial Foundation service used for Global Account level.
	// * <b>GLOBAL_QUOTA_DOMAIN_DB:</b> Provisioning is done by setting amount at Domain DB, this is relevant for non-ui quotas only.
	// * <b>CLOUD_AUTOMATION:</b> Provisioning is done by the cloud automation service. This is relevant only for provisioning that requires external providers that are not within the scope of CIS.
	//
	// Enum: [CLOUD_AUTOMATION COMMERCIAL_SOLUTION_SCRIPT GLOBAL_COMMERCIAL_SOLUTION_SCRIPT GLOBAL_QUOTA_DOMAIN_DB NONE_REQUIRED SERVICE_BROKER]
	ProvisioningMethod string `json:"provisioningMethod,omitempty"`

	// The remaining amount of the plan that can still be assigned. For plans that don't have a numeric quota, the remaining amount is always the maximum allowed quota.
	RemainingAmount int `json:"remainingAmount,omitempty"`

	// Remote service resources provided by non-SAP cloud vendors, and which are offered by this plan.
	Resources []*Resource `json:"resources"`

	// A unique identifier for service plans that can distinguish between the same service plans with different pricing plans.
	UniqueIdentifier string `json:"uniqueIdentifier,omitempty"`

	// unlimited
	Unlimited bool `json:"unlimited,omitempty"`
}

func (*Entitled) DeepCopy

func (in *Entitled) DeepCopy() *Entitled

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

func (*Entitled) DeepCopyInto

func (in *Entitled) DeepCopyInto(out *Entitled)

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

type Entitlement

type Entitlement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EntitlementSpec   `json:"spec"`
	Status EntitlementStatus `json:"status,omitempty"`
}

An Entitlement is a managed resource that represents an entitlement in the SAP Business Technology Platform +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="VALIDATION",type="string",JSONPath=".status.conditions[?(@.type=='SoftValidation')].reason" +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,btp}

func (*Entitlement) DeepCopy

func (in *Entitlement) DeepCopy() *Entitlement

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

func (*Entitlement) DeepCopyInto

func (in *Entitlement) DeepCopyInto(out *Entitlement)

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

func (*Entitlement) DeepCopyObject

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

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

func (*Entitlement) GetCondition

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

GetCondition of this Entitlement.

func (*Entitlement) GetDeletionPolicy

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

GetDeletionPolicy of this Entitlement.

func (*Entitlement) GetManagementPolicies

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

GetManagementPolicies of this Entitlement.

func (*Entitlement) GetProviderConfigReference

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

GetProviderConfigReference of this Entitlement.

func (*Entitlement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Entitlement.

func (*Entitlement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Entitlement.

func (*Entitlement) ResolveReferences

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

ResolveReferences of this Entitlement.

func (*Entitlement) SetConditions

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

SetConditions of this Entitlement.

func (*Entitlement) SetDeletionPolicy

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

SetDeletionPolicy of this Entitlement.

func (*Entitlement) SetManagementPolicies

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

SetManagementPolicies of this Entitlement.

func (*Entitlement) SetProviderConfigReference

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

SetProviderConfigReference of this Entitlement.

func (*Entitlement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Entitlement.

func (*Entitlement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Entitlement.

type EntitlementList

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

EntitlementList contains a list of Entitlement

func (*EntitlementList) DeepCopy

func (in *EntitlementList) DeepCopy() *EntitlementList

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

func (*EntitlementList) DeepCopyInto

func (in *EntitlementList) DeepCopyInto(out *EntitlementList)

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

func (*EntitlementList) DeepCopyObject

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

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

func (*EntitlementList) GetItems

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

GetItems of this EntitlementList.

type EntitlementObservation

type EntitlementObservation struct {
	// Required is a calculated field from all entitlements for the same subaccount, service plan and service.
	Required *EntitlementSummary `json:"summary,omitempty"`
	// Assigned is the return value from the service
	Assigned *Assignable `json:"assigned,omitempty"`
	// Entitled is the overall available quota for the global account / directory which is available to assign
	Entitled Entitled `json:"entitled,omitempty"`
}

EntitlementObservation are the observable fields of an Entitlement.

func (*EntitlementObservation) DeepCopy

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

func (*EntitlementObservation) DeepCopyInto

func (in *EntitlementObservation) DeepCopyInto(out *EntitlementObservation)

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

type EntitlementParameters

type EntitlementParameters struct {
	ServicePlanName string `json:"servicePlanName"`
	ServiceName     string `json:"serviceName"`
	//+kubebuilder:validation:Optional
	// The unique identifier of the service plan. This is a unique identifier for service plans that can distinguish between the same service plans with different hosting datacenters. Options Include `hana-cloud-hana` or `hana-cloud-hana-sap_eu-de-1`.
	ServicePlanUniqueIdentifier *string `json:"servicePlanUniqueIdentifier,omitempty"`
	// Whether to enable the service plan assignment to the specified subaccount without quantity restrictions. Relevant and mandatory only for plans that do not have a numeric quota. Do not set if amount is specified.
	Enable *bool `json:"enable,omitempty"`
	// The quantity of the plan that is assigned to the specified subaccount. Relevant and mandatory only for plans that have a numeric quota. Do not set if enable=TRUE is specified.
	Amount *int `json:"amount,omitempty"`
	// External resources to assign to subaccount
	Resources []*Resource `json:"resources,omitempty"`

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
	// +crossplane:generate:reference:refFieldName=SubaccountRef
	// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
	SubaccountGuid string `json:"subaccountGuid,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountSelector *xpv1.Selector `json:"subaccountSelector,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountRef *xpv1.Reference `` /* 138-byte string literal not displayed */
}

func (*EntitlementParameters) DeepCopy

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

func (*EntitlementParameters) DeepCopyInto

func (in *EntitlementParameters) DeepCopyInto(out *EntitlementParameters)

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

type EntitlementSpec

type EntitlementSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       EntitlementParameters `json:"forProvider"`
}

An EntitlementSpec defines the desired state of an Entitlement.

func (*EntitlementSpec) DeepCopy

func (in *EntitlementSpec) DeepCopy() *EntitlementSpec

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

func (*EntitlementSpec) DeepCopyInto

func (in *EntitlementSpec) DeepCopyInto(out *EntitlementSpec)

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

type EntitlementStatus

type EntitlementStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          *EntitlementObservation `json:"atProvider,omitempty"`
}

An EntitlementStatus represents the observed state of an Entitlement.

func (*EntitlementStatus) DeepCopy

func (in *EntitlementStatus) DeepCopy() *EntitlementStatus

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

func (*EntitlementStatus) DeepCopyInto

func (in *EntitlementStatus) DeepCopyInto(out *EntitlementStatus)

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

type EntitlementSummary

type EntitlementSummary struct {
	// Whether to enable the service plan assignment to the specified subaccount without quantity restrictions. Relevant and mandatory only for plans that do not have a numeric quota. Do not set if amount is specified.
	Enable *bool `json:"enable,omitempty"`
	// The quantity of the plan that is assigned to the specified subaccount. Relevant and mandatory only for plans that have a numeric quota. Do not set if enable=TRUE is specified.
	Amount *int `json:"amount,omitempty"`
	// External resources to assign to subaccount
	Resources []*Resource `json:"resources,omitempty"`
	// Amount of managed entitlements of the same kind / service / serviceplan
	EntitlementsCount *int `json:"entitlementsCount"`
}

EntitlementSummary represents the required properties for all entitlements of the same kind / service / serviceplan

func (*EntitlementSummary) DeepCopy

func (in *EntitlementSummary) DeepCopy() *EntitlementSummary

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

func (*EntitlementSummary) DeepCopyInto

func (in *EntitlementSummary) DeepCopyInto(out *EntitlementSummary)

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

type GlobalAccount

type GlobalAccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GlobalAccountSpec   `json:"spec"`
	Status GlobalAccountStatus `json:"status,omitempty"`
}

A GlobalAccount is an example API type. +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,sap} +kubebuilder:deprecatedversion:warning="Use globalaccount reference in providerconfig instead"

func (*GlobalAccount) DeepCopy

func (in *GlobalAccount) DeepCopy() *GlobalAccount

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

func (*GlobalAccount) DeepCopyInto

func (in *GlobalAccount) DeepCopyInto(out *GlobalAccount)

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

func (*GlobalAccount) DeepCopyObject

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

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

func (*GlobalAccount) GetCondition

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

GetCondition of this GlobalAccount.

func (*GlobalAccount) GetDeletionPolicy

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

GetDeletionPolicy of this GlobalAccount.

func (*GlobalAccount) GetManagementPolicies

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

GetManagementPolicies of this GlobalAccount.

func (*GlobalAccount) GetProviderConfigReference

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

GetProviderConfigReference of this GlobalAccount.

func (*GlobalAccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GlobalAccount.

func (*GlobalAccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GlobalAccount.

func (*GlobalAccount) SetConditions

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

SetConditions of this GlobalAccount.

func (*GlobalAccount) SetDeletionPolicy

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

SetDeletionPolicy of this GlobalAccount.

func (*GlobalAccount) SetManagementPolicies

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

SetManagementPolicies of this GlobalAccount.

func (*GlobalAccount) SetProviderConfigReference

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

SetProviderConfigReference of this GlobalAccount.

func (*GlobalAccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GlobalAccount.

func (*GlobalAccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GlobalAccount.

type GlobalAccountList

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

GlobalAccountList contains a list of GlobalAccount

func (*GlobalAccountList) DeepCopy

func (in *GlobalAccountList) DeepCopy() *GlobalAccountList

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

func (*GlobalAccountList) DeepCopyInto

func (in *GlobalAccountList) DeepCopyInto(out *GlobalAccountList)

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

func (*GlobalAccountList) DeepCopyObject

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

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

func (*GlobalAccountList) GetItems

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

GetItems of this GlobalAccountList.

type GlobalAccountObservation

type GlobalAccountObservation struct {
	// BTP Global Account GUID
	// +optional
	Guid string `json:"guid,omitempty"`
}

GlobalAccountObservation are the observable fields of a GlobalAccount.

func (*GlobalAccountObservation) DeepCopy

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

func (*GlobalAccountObservation) DeepCopyInto

func (in *GlobalAccountObservation) DeepCopyInto(out *GlobalAccountObservation)

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

type GlobalAccountParameters

type GlobalAccountParameters struct {
}

GlobalAccountParameters are the configurable fields of a GlobalAccount.

func (*GlobalAccountParameters) DeepCopy

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

func (*GlobalAccountParameters) DeepCopyInto

func (in *GlobalAccountParameters) DeepCopyInto(out *GlobalAccountParameters)

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

type GlobalAccountSpec

type GlobalAccountSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       GlobalAccountParameters `json:"forProvider,omitempty"`
}

A GlobalAccountSpec defines the desired state of a GlobalAccount.

func (*GlobalAccountSpec) DeepCopy

func (in *GlobalAccountSpec) DeepCopy() *GlobalAccountSpec

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

func (*GlobalAccountSpec) DeepCopyInto

func (in *GlobalAccountSpec) DeepCopyInto(out *GlobalAccountSpec)

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

type GlobalAccountStatus

type GlobalAccountStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          GlobalAccountObservation `json:"atProvider,omitempty"`
}

A GlobalAccountStatus represents the observed state of a GlobalAccount.

func (*GlobalAccountStatus) DeepCopy

func (in *GlobalAccountStatus) DeepCopy() *GlobalAccountStatus

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

func (*GlobalAccountStatus) DeepCopyInto

func (in *GlobalAccountStatus) DeepCopyInto(out *GlobalAccountStatus)

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

type Instance

type Instance struct {
	// The ID of the service instance.
	Id *string `json:"id,omitempty"`
	// Whether the service instance is ready.
	Ready *bool `json:"ready,omitempty"`
	// The name of the service instance.
	Name *string `json:"name,omitempty"`
	// The ID of the service plan associated with the service instance.
	ServicePlanId *string `json:"service_plan_id,omitempty"`
	// The ID of the platform to which the service instance belongs.
	PlatformId *string `json:"platform_id,omitempty"`
	// The URL of the web-based management UI for the service instance.
	DashboardUrl *string `json:"dashboard_url,omitempty"`
	// The ID of the instance to which the service instance refers.
	ReferencedInstanceId *string `json:"referenced_instance_id,omitempty"`
	// Whether the service instance is shared.
	Shared *bool `json:"shared,omitempty"`
	// Contextual data for the resource.
	Context *map[string]string `json:"context,omitempty"`
	// The maintenance information associated with the service instance.
	MaintenanceInfo *map[string]string `json:"maintenance_info,omitempty"`
	// Whether the service instance can be used.
	Usable *bool `json:"usable,omitempty"`
	// The time the service instance was created.<br/>In ISO 8601 format:</br> YYYY-MM-DDThh:mm:ssTZD
	CreatedAt *string `json:"created_at,omitempty"`
	// The last time the service instance was updated.<br/> In ISO 8601 format.
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Additional data associated with the resource entity. <br><br>Can be an empty object.
	Labels *map[string][]string `json:"labels,omitempty"`
}

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

type Resource

type Resource struct {
	// The name of the resource.
	ResourceName string `json:"name,omitempty"`

	// The name of the provider.
	ResourceProvider string `json:"provider,omitempty"`

	// The unique name of the resource.
	ResourceTechnicalName string `json:"technicalName,omitempty"`

	// The type of the provider. For example infrastructure-as-a-service (IaaS).
	ResourceType string `json:"type,omitempty"`
}

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

type ServiceManager

type ServiceManager struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServiceManagerSpec   `json:"spec"`
	Status ServiceManagerStatus `json:"status,omitempty"`
}

A ServiceManager is an example API type. +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,btp}

func (*ServiceManager) DeepCopy

func (in *ServiceManager) DeepCopy() *ServiceManager

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

func (*ServiceManager) DeepCopyInto

func (in *ServiceManager) DeepCopyInto(out *ServiceManager)

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

func (*ServiceManager) DeepCopyObject

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

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

func (*ServiceManager) GetCondition

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

GetCondition of this ServiceManager.

func (*ServiceManager) GetDeletionPolicy

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

GetDeletionPolicy of this ServiceManager.

func (*ServiceManager) GetManagementPolicies

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

GetManagementPolicies of this ServiceManager.

func (*ServiceManager) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceManager.

func (*ServiceManager) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServiceManager.

func (*ServiceManager) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServiceManager.

func (*ServiceManager) ResolveReferences

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

ResolveReferences of this ServiceManager.

func (*ServiceManager) SetConditions

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

SetConditions of this ServiceManager.

func (*ServiceManager) SetDeletionPolicy

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

SetDeletionPolicy of this ServiceManager.

func (*ServiceManager) SetManagementPolicies

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

SetManagementPolicies of this ServiceManager.

func (*ServiceManager) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceManager.

func (*ServiceManager) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServiceManager.

func (*ServiceManager) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServiceManager.

type ServiceManagerList

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

ServiceManagerList contains a list of ServiceManager

func (*ServiceManagerList) DeepCopy

func (in *ServiceManagerList) DeepCopy() *ServiceManagerList

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

func (*ServiceManagerList) DeepCopyInto

func (in *ServiceManagerList) DeepCopyInto(out *ServiceManagerList)

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

func (*ServiceManagerList) DeepCopyObject

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

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

func (*ServiceManagerList) GetItems

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

GetItems of this ServiceManagerList.

type ServiceManagerObservation

type ServiceManagerObservation struct {
	Status string `json:"status,omitempty"`
}

ServiceManagerObservation are the observable fields of a ServiceManager.

func (*ServiceManagerObservation) DeepCopy

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

func (*ServiceManagerObservation) DeepCopyInto

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

type ServiceManagerParameters

type ServiceManagerParameters struct {
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
	// +crossplane:generate:reference:refFieldName=SubaccountRef
	// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
	SubaccountGuid string `json:"subaccountGuid,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountSelector *xpv1.Selector `json:"subaccountSelector,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountRef *xpv1.Reference `` /* 138-byte string literal not displayed */
}

ServiceManagerParameters are the configurable fields of a ServiceManager.

func (*ServiceManagerParameters) DeepCopy

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

func (*ServiceManagerParameters) DeepCopyInto

func (in *ServiceManagerParameters) DeepCopyInto(out *ServiceManagerParameters)

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

type ServiceManagerSpec

type ServiceManagerSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ServiceManagerParameters `json:"forProvider"`
}

A ServiceManagerSpec defines the desired state of a ServiceManager.

func (*ServiceManagerSpec) DeepCopy

func (in *ServiceManagerSpec) DeepCopy() *ServiceManagerSpec

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

func (*ServiceManagerSpec) DeepCopyInto

func (in *ServiceManagerSpec) DeepCopyInto(out *ServiceManagerSpec)

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

type ServiceManagerStatus

type ServiceManagerStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ServiceManagerObservation `json:"atProvider,omitempty"`
}

A ServiceManagerStatus represents the observed state of a ServiceManager.

func (*ServiceManagerStatus) DeepCopy

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

func (*ServiceManagerStatus) DeepCopyInto

func (in *ServiceManagerStatus) DeepCopyInto(out *ServiceManagerStatus)

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

type Subaccount

type Subaccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SubaccountSpec   `json:"spec"`
	Status SubaccountStatus `json:"status,omitempty"`
}

A Subaccount is a managed resource that represents a subaccount in the SAP Business Technology Platform +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,sap}

func (*Subaccount) DeepCopy

func (in *Subaccount) DeepCopy() *Subaccount

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

func (*Subaccount) DeepCopyInto

func (in *Subaccount) DeepCopyInto(out *Subaccount)

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

func (*Subaccount) DeepCopyObject

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

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

func (*Subaccount) GetCondition

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

GetCondition of this Subaccount.

func (*Subaccount) GetDeletionPolicy

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

GetDeletionPolicy of this Subaccount.

func (*Subaccount) GetExternalID

func (ms *Subaccount) GetExternalID() string

func (*Subaccount) GetManagementPolicies

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

GetManagementPolicies of this Subaccount.

func (*Subaccount) GetProviderConfigReference

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

GetProviderConfigReference of this Subaccount.

func (*Subaccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Subaccount.

func (*Subaccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subaccount.

func (*Subaccount) ResolveReferences

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

ResolveReferences of this Subaccount.

func (*Subaccount) SetConditions

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

SetConditions of this Subaccount.

func (*Subaccount) SetDeletionPolicy

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

SetDeletionPolicy of this Subaccount.

func (*Subaccount) SetExternalID

func (ms *Subaccount) SetExternalID(newID string)

func (*Subaccount) SetManagementPolicies

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

SetManagementPolicies of this Subaccount.

func (*Subaccount) SetProviderConfigReference

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

SetProviderConfigReference of this Subaccount.

func (*Subaccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Subaccount.

func (*Subaccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subaccount.

type SubaccountList

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

SubaccountList contains a list of Subaccount

func (*SubaccountList) DeepCopy

func (in *SubaccountList) DeepCopy() *SubaccountList

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

func (*SubaccountList) DeepCopyInto

func (in *SubaccountList) DeepCopyInto(out *SubaccountList)

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

func (*SubaccountList) DeepCopyObject

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

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

func (*SubaccountList) GetItems

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

GetItems of this SubaccountList.

type SubaccountObservation

type SubaccountObservation struct {
	// Subaccount ID
	// +optional
	SubaccountGuid *string `json:"subaccountGuid,omitempty"`
	// Subaccount Status
	// +optional
	Status *string `json:"status,omitempty"`
	// Subaccount StatusMessage
	// +optional
	StatusMessage *string `json:"statusMessage,omitempty"`

	// enable beta services and applications?
	// +optional
	// +immutable
	BetaEnabled *bool `json:"betaEnabled,omitempty"`

	// Description
	// +optional
	Description *string `json:"description,omitempty"`

	// Display name
	DisplayName *string `json:"displayName,omitempty"`

	// Labels, up to 10 user-defined labels to assign as key-value pairs to the subaccount. Each label has a name (key) that you specify, and to which you can assign up to 10 corresponding values or leave empty.
	// Keys and values are each limited to 63 characters.
	// +optional
	Labels *map[string][]string `json:"labels,omitempty"`

	// Region
	// Change requires recreation
	Region *string `json:"region,omitempty"`

	// Admins for the subaccount (service account user already included)
	SubaccountAdmins *[]string `json:"subaccountAdmins,omitempty"`

	// Subdomain
	Subdomain *string `json:"subdomain,omitempty"`

	// Used for production
	UsedForProduction *string `json:"usedForProduction,omitempty"`

	// Guid of directory the subaccount is stored in or otherwise ID of the globalaccount
	ParentGuid *string `json:"parentGuid,omitempty"`

	// The unique ID of the subaccount's global account.
	GlobalAccountGUID *string `json:"globalAccountGUID,omitempty"`
}

SubaccountObservation are the observable fields of a Subaccount.

func (*SubaccountObservation) DeepCopy

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

func (*SubaccountObservation) DeepCopyInto

func (in *SubaccountObservation) DeepCopyInto(out *SubaccountObservation)

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

type SubaccountParameters

type SubaccountParameters struct {
	// enable beta services and applications?
	// +optional
	// +immutable
	BetaEnabled bool `json:"betaEnabled,omitempty"`

	// Description
	// +optional
	// +kubebuilder:validation:MinLength=1
	Description string `json:"description,omitempty"`

	// Display name
	// +kubebuilder:validation:MinLength=1
	DisplayName string `json:"displayName"`

	// Labels, up to 10 user-defined labels to assign as key-value pairs to the subaccount. Each label has a name (key) that you specify, and to which you can assign up to 10 corresponding values or leave empty.
	// Keys and values are each limited to 63 characters.
	// +optional
	Labels map[string][]string `json:"labels,omitempty"`

	// Region
	// TODO(i541351): add regex validation https://wiki.one.int.sap/wiki/display/PFS/Region+Details
	// Change requires recreation
	// +kubebuilder:validation:MinLength=1
	Region string `json:"region"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="subaccountAdmins can't be updated once set"
	SubaccountAdmins []string `json:"subaccountAdmins"`

	// Subdomain
	// +kubebuilder:validation:MinLength=1
	Subdomain string `json:"subdomain"`

	// Used for production
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Enum=NOT_USED_FOR_PRODUCTION;USED_FOR_PRODUCTION;UNSET
	// +kubebuilder:default:=UNSET
	UsedForProduction string `json:"usedForProduction,omitempty"`

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.GlobalAccount
	// +crossplane:generate:reference:refFieldName=GlobalAccountRef
	// +crossplane:generate:reference:selectorFieldName=GlobalAccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.GlobalAccountUuid()
	GlobalAccountGuid string `json:"globalAccountGuid,omitempty"`

	// +kubebuilder:validation:Optional
	GlobalAccountSelector *xpv1.Selector `json:"globalAccountSelector,omitempty"`
	// GlobalAccountRef is deprecated, please use globalAccount field in the ProviderConfig spec instead and leave this field empty.
	// +kubebuilder:validation:Optional
	GlobalAccountRef *xpv1.Reference `` /* 144-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Directory
	// +crossplane:generate:reference:refFieldName=DirectoryRef
	// +crossplane:generate:reference:selectorFieldName=DirectorySelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.DirectoryUuid()
	DirectoryGuid string `json:"directoryGuid,omitempty"`

	// +kubebuilder:validation:Optional
	DirectorySelector *xpv1.Selector `json:"directorySelector,omitempty"`
	// DirectoryRef allows grouping subaccounts into directories. If unset subaccount will be placed in globalaccount directly
	// Please note: The provider supports moving subaccounts between directories if you supply `resolve: Always` as a policy in this ref
	// +kubebuilder:validation:Optional
	DirectoryRef *xpv1.Reference `` /* 136-byte string literal not displayed */
}

SubaccountParameters are the configurable fields of a Subaccount.

func (*SubaccountParameters) DeepCopy

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

func (*SubaccountParameters) DeepCopyInto

func (in *SubaccountParameters) DeepCopyInto(out *SubaccountParameters)

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

type SubaccountServiceBinding

type SubaccountServiceBinding 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceInstanceId) || (has(self.initProvider) && has(self.initProvider.serviceInstanceId))",message="spec.forProvider.serviceInstanceId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subaccountId) || (has(self.initProvider) && has(self.initProvider.subaccountId))",message="spec.forProvider.subaccountId is a required parameter"
	Spec   SubaccountServiceBindingSpec   `json:"spec"`
	Status SubaccountServiceBindingStatus `json:"status,omitempty"`
}

SubaccountServiceBinding is the Schema for the SubaccountServiceBindings API. Creates a service binding, i.e. generates access details to consume a service. Tip: You must be assigned to the admin or the service administrator role of the subaccount. +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:resource:scope=Cluster,categories={crossplane,managed,account}

func (*SubaccountServiceBinding) DeepCopy

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

func (*SubaccountServiceBinding) DeepCopyInto

func (in *SubaccountServiceBinding) DeepCopyInto(out *SubaccountServiceBinding)

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

func (*SubaccountServiceBinding) DeepCopyObject

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

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

func (*SubaccountServiceBinding) GetCondition

GetCondition of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetDeletionPolicy

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

GetDeletionPolicy of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) GetID

func (tr *SubaccountServiceBinding) GetID() string

GetID returns ID of underlying Terraform resource of this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetInitParameters

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

GetInitParameters of this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetManagementPolicies

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

GetManagementPolicies of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) GetMergedParameters

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

GetInitParameters of this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetObservation

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

GetObservation of this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetParameters

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

GetParameters of this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetProviderConfigReference

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

GetProviderConfigReference of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) GetTerraformResourceType

func (mg *SubaccountServiceBinding) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubaccountServiceBinding

func (*SubaccountServiceBinding) GetTerraformSchemaVersion

func (tr *SubaccountServiceBinding) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubaccountServiceBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) Hub

func (tr *SubaccountServiceBinding) Hub()

Hub marks this type as a conversion hub.

func (*SubaccountServiceBinding) LateInitialize

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

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

func (*SubaccountServiceBinding) SetConditions

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

SetConditions of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) SetDeletionPolicy

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

SetDeletionPolicy of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) SetManagementPolicies

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

SetManagementPolicies of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) SetObservation

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

SetObservation for this SubaccountServiceBinding

func (*SubaccountServiceBinding) SetParameters

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

SetParameters for this SubaccountServiceBinding

func (*SubaccountServiceBinding) SetProviderConfigReference

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

SetProviderConfigReference of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SubaccountServiceBinding.

func (*SubaccountServiceBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SubaccountServiceBinding.

type SubaccountServiceBindingInitParameters

type SubaccountServiceBindingInitParameters struct {

	// (Map of Set of String) The set of words or phrases assigned to the service binding.
	// The set of words or phrases assigned to the service binding.
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The name of the service binding.
	// The name of the service binding.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The parameters of the service binding as a valid JSON object.
	// The parameters of the service binding as a valid JSON object.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (String) The ID of the service instance associated with the binding.
	// The ID of the service instance associated with the binding.
	ServiceInstanceID *string `json:"serviceInstanceId,omitempty" tf:"service_instance_id,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
}

func (*SubaccountServiceBindingInitParameters) DeepCopy

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

func (*SubaccountServiceBindingInitParameters) DeepCopyInto

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

type SubaccountServiceBindingList

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

SubaccountServiceBindingList contains a list of SubaccountServiceBindings

func (*SubaccountServiceBindingList) DeepCopy

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

func (*SubaccountServiceBindingList) DeepCopyInto

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

func (*SubaccountServiceBindingList) DeepCopyObject

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

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

func (*SubaccountServiceBindingList) GetItems

GetItems of this SubaccountServiceBindingList.

type SubaccountServiceBindingObservation

type SubaccountServiceBindingObservation struct {

	// (Map of String) Contains the resources associated with the binding.
	// Contains the resources associated with the binding.
	// +mapType=granular
	BindResource map[string]*string `json:"bindResource,omitempty" tf:"bind_resource,omitempty"`

	// (String) The contextual data for the resource.
	// The contextual data for the resource.
	Context *string `json:"context,omitempty" tf:"context,omitempty"`

	// (String) The date and time when the resource was created in RFC3339 format.
	// The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
	CreatedDate *string `json:"createdDate,omitempty" tf:"created_date,omitempty"`

	// (String) The ID of the service binding.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Map of Set of String) The set of words or phrases assigned to the service binding.
	// The set of words or phrases assigned to the service binding.
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The date and time when the resource was last modified in RFC3339 format.
	// The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// (String) The name of the service binding.
	// The name of the service binding.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The parameters of the service binding as a valid JSON object.
	// The parameters of the service binding as a valid JSON object.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (Boolean) Shows whether the service binding is ready.
	// Shows whether the service binding is ready.
	Ready *bool `json:"ready,omitempty" tf:"ready,omitempty"`

	// (String) The ID of the service instance associated with the binding.
	// The ID of the service instance associated with the binding.
	ServiceInstanceID *string `json:"serviceInstanceId,omitempty" tf:"service_instance_id,omitempty"`

	// (String) The current state of the service binding. Possible values are:
	// The current state of the service binding. Possible values are:
	//
	// | state | description |
	// | --- | --- |
	// | `in progress` | The operation or processing is in progress |
	// | `failed` | The operation or processing failed |
	// | `succeeded` | The operation or processing succeeded |
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
}

func (*SubaccountServiceBindingObservation) DeepCopy

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

func (*SubaccountServiceBindingObservation) DeepCopyInto

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

type SubaccountServiceBindingParameters

type SubaccountServiceBindingParameters struct {

	// (Map of Set of String) The set of words or phrases assigned to the service binding.
	// The set of words or phrases assigned to the service binding.
	// +kubebuilder:validation:Optional
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The name of the service binding.
	// The name of the service binding.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The parameters of the service binding as a valid JSON object.
	// The parameters of the service binding as a valid JSON object.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (String) The ID of the service instance associated with the binding.
	// The ID of the service instance associated with the binding.
	// +kubebuilder:validation:Optional
	ServiceInstanceID *string `json:"serviceInstanceId,omitempty" tf:"service_instance_id,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	// +kubebuilder:validation:Optional
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
}

func (*SubaccountServiceBindingParameters) DeepCopy

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

func (*SubaccountServiceBindingParameters) DeepCopyInto

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

type SubaccountServiceBindingSpec

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

SubaccountServiceBindingSpec defines the desired state of SubaccountServiceBinding

func (*SubaccountServiceBindingSpec) DeepCopy

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

func (*SubaccountServiceBindingSpec) DeepCopyInto

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

type SubaccountServiceBindingStatus

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

SubaccountServiceBindingStatus defines the observed state of SubaccountServiceBinding.

func (*SubaccountServiceBindingStatus) DeepCopy

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

func (*SubaccountServiceBindingStatus) DeepCopyInto

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

type SubaccountServiceInstance

type SubaccountServiceInstance 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceplanId) || (has(self.initProvider) && has(self.initProvider.serviceplanId))",message="spec.forProvider.serviceplanId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subaccountId) || (has(self.initProvider) && has(self.initProvider.subaccountId))",message="spec.forProvider.subaccountId is a required parameter"
	Spec   SubaccountServiceInstanceSpec   `json:"spec"`
	Status SubaccountServiceInstanceStatus `json:"status,omitempty"`
}

SubaccountServiceInstance is the Schema for the SubaccountServiceInstances API. Creates a service instance in a subaccount. Tip: You must be assigned to the admin or the service administrator role of the subaccount. +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:resource:scope=Cluster,categories={crossplane,managed,account}

func (*SubaccountServiceInstance) DeepCopy

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

func (*SubaccountServiceInstance) DeepCopyInto

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

func (*SubaccountServiceInstance) DeepCopyObject

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

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

func (*SubaccountServiceInstance) GetCondition

GetCondition of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetDeletionPolicy

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

GetDeletionPolicy of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) GetID

func (tr *SubaccountServiceInstance) GetID() string

GetID returns ID of underlying Terraform resource of this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetInitParameters

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

GetInitParameters of this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetManagementPolicies

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

GetManagementPolicies of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) GetMergedParameters

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

GetInitParameters of this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetObservation

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

GetObservation of this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetParameters

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

GetParameters of this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetProviderConfigReference

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

GetProviderConfigReference of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) GetTerraformResourceType

func (mg *SubaccountServiceInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubaccountServiceInstance

func (*SubaccountServiceInstance) GetTerraformSchemaVersion

func (tr *SubaccountServiceInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubaccountServiceInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) Hub

func (tr *SubaccountServiceInstance) Hub()

Hub marks this type as a conversion hub.

func (*SubaccountServiceInstance) LateInitialize

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

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

func (*SubaccountServiceInstance) SetConditions

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

SetConditions of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) SetDeletionPolicy

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

SetDeletionPolicy of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) SetManagementPolicies

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

SetManagementPolicies of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) SetObservation

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

SetObservation for this SubaccountServiceInstance

func (*SubaccountServiceInstance) SetParameters

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

SetParameters for this SubaccountServiceInstance

func (*SubaccountServiceInstance) SetProviderConfigReference

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

SetProviderConfigReference of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SubaccountServiceInstance.

func (*SubaccountServiceInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SubaccountServiceInstance.

type SubaccountServiceInstanceInitParameters

type SubaccountServiceInstanceInitParameters struct {

	// (Map of Set of String) The set of words or phrases assigned to the service instance.
	// The set of words or phrases assigned to the service instance.
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The name of the service instance.
	// The name of the service instance.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive) The configuration parameters for the service instance.
	// The configuration parameters for the service instance.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (String) The ID of the service plan.
	// The ID of the service plan.
	ServiceplanID *string `json:"serviceplanId,omitempty" tf:"serviceplan_id,omitempty"`

	// (Boolean) The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	// The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
}

func (*SubaccountServiceInstanceInitParameters) DeepCopy

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

func (*SubaccountServiceInstanceInitParameters) DeepCopyInto

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

type SubaccountServiceInstanceList

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

SubaccountServiceInstanceList contains a list of SubaccountServiceInstances

func (*SubaccountServiceInstanceList) DeepCopy

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

func (*SubaccountServiceInstanceList) DeepCopyInto

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

func (*SubaccountServiceInstanceList) DeepCopyObject

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

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

func (*SubaccountServiceInstanceList) GetItems

GetItems of this SubaccountServiceInstanceList.

type SubaccountServiceInstanceObservation

type SubaccountServiceInstanceObservation struct {

	// (String) Contextual data for the resource.
	// Contextual data for the resource.
	Context *string `json:"context,omitempty" tf:"context,omitempty"`

	// (String) The date and time when the resource was created in RFC3339 format.
	// The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
	CreatedDate *string `json:"createdDate,omitempty" tf:"created_date,omitempty"`

	// based management UI for the service instance.
	// The URL of the web-based management UI for the service instance.
	DashboardURL *string `json:"dashboardUrl,omitempty" tf:"dashboard_url,omitempty"`

	// (String) The ID of the service instance.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Map of Set of String) The set of words or phrases assigned to the service instance.
	// The set of words or phrases assigned to the service instance.
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The date and time when the resource was last modified in RFC3339 format.
	// The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// (String) The name of the service instance.
	// The name of the service instance.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive) The configuration parameters for the service instance.
	// The configuration parameters for the service instance.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (String) The platform ID.
	// The platform ID.
	PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"`

	// (Boolean)
	Ready *bool `json:"ready,omitempty" tf:"ready,omitempty"`

	// (String) The ID of the instance to which the service instance refers.
	// The ID of the instance to which the service instance refers.
	ReferencedInstanceID *string `json:"referencedInstanceId,omitempty" tf:"referenced_instance_id,omitempty"`

	// (String) The ID of the service plan.
	// The ID of the service plan.
	ServiceplanID *string `json:"serviceplanId,omitempty" tf:"serviceplan_id,omitempty"`

	// (Boolean) The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	// The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// (String) The current state of the service instance.
	// The current state of the service instance.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`

	// (Boolean) Shows whether the resource can be used.
	// Shows whether the resource can be used.
	Usable *bool `json:"usable,omitempty" tf:"usable,omitempty"`
}

func (*SubaccountServiceInstanceObservation) DeepCopy

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

func (*SubaccountServiceInstanceObservation) DeepCopyInto

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

type SubaccountServiceInstanceParameters

type SubaccountServiceInstanceParameters struct {

	// (Map of Set of String) The set of words or phrases assigned to the service instance.
	// The set of words or phrases assigned to the service instance.
	// +kubebuilder:validation:Optional
	Labels map[string][]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// (String) The name of the service instance.
	// The name of the service instance.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive) The configuration parameters for the service instance.
	// The configuration parameters for the service instance.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// (String) The ID of the service plan.
	// The ID of the service plan.
	// +kubebuilder:validation:Optional
	ServiceplanID *string `json:"serviceplanId,omitempty" tf:"serviceplan_id,omitempty"`

	// (Boolean) The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	// The configuration parameter for service instance sharing. Ensure that the instance is created with a plan that supports instance sharing.
	// +kubebuilder:validation:Optional
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// (String) The ID of the subaccount.
	// The ID of the subaccount.
	// +kubebuilder:validation:Optional
	SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
}

func (*SubaccountServiceInstanceParameters) DeepCopy

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

func (*SubaccountServiceInstanceParameters) DeepCopyInto

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

type SubaccountServiceInstanceSpec

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

SubaccountServiceInstanceSpec defines the desired state of SubaccountServiceInstance

func (*SubaccountServiceInstanceSpec) DeepCopy

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

func (*SubaccountServiceInstanceSpec) DeepCopyInto

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

type SubaccountServiceInstanceStatus

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

SubaccountServiceInstanceStatus defines the observed state of SubaccountServiceInstance.

func (*SubaccountServiceInstanceStatus) DeepCopy

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

func (*SubaccountServiceInstanceStatus) DeepCopyInto

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

type SubaccountSpec

type SubaccountSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       SubaccountParameters `json:"forProvider"`
}

A SubaccountSpec defines the desired state of a Subaccount.

func (*SubaccountSpec) DeepCopy

func (in *SubaccountSpec) DeepCopy() *SubaccountSpec

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

func (*SubaccountSpec) DeepCopyInto

func (in *SubaccountSpec) DeepCopyInto(out *SubaccountSpec)

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

type SubaccountStatus

type SubaccountStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          SubaccountObservation `json:"atProvider,omitempty"`
}

A SubaccountStatus represents the observed state of a Subaccount.

func (*SubaccountStatus) DeepCopy

func (in *SubaccountStatus) DeepCopy() *SubaccountStatus

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

func (*SubaccountStatus) DeepCopyInto

func (in *SubaccountStatus) DeepCopyInto(out *SubaccountStatus)

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

type Subscription

type Subscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SubscriptionSpec   `json:"spec"`
	Status SubscriptionStatus `json:"status,omitempty"`
}

A Subscription encodes a subscription of a subaccount to a service It requires a references CloudManagement instance of plan type "local" to authenticate and map to subaccount. To import a subscription use the pattern <app name>/<plan name> as externalName annotation +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,btp}

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

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

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

func (*Subscription) GetCondition

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

GetCondition of this Subscription.

func (*Subscription) GetDeletionPolicy

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

GetDeletionPolicy of this Subscription.

func (*Subscription) GetManagementPolicies

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

GetManagementPolicies of this Subscription.

func (*Subscription) GetProviderConfigReference

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

GetProviderConfigReference of this Subscription.

func (*Subscription) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subscription.

func (*Subscription) ResolveReferences

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

ResolveReferences of this Subscription.

func (*Subscription) SetConditions

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

SetConditions of this Subscription.

func (*Subscription) SetDeletionPolicy

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

SetDeletionPolicy of this Subscription.

func (*Subscription) SetManagementPolicies

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

SetManagementPolicies of this Subscription.

func (*Subscription) SetProviderConfigReference

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

SetProviderConfigReference of this Subscription.

func (*Subscription) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subscription.

type SubscriptionList

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

SubscriptionList contains a list of Subscription

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

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

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

func (*SubscriptionList) GetItems

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

GetItems of this SubscriptionList.

type SubscriptionObservation

type SubscriptionObservation struct {
	// State as received from the API instance
	// +optional
	State *string `json:"state,omitempty"`
}

SubscriptionObservation are the observable fields of a Subscription.

func (*SubscriptionObservation) DeepCopy

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

func (*SubscriptionObservation) DeepCopyInto

func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation)

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

type SubscriptionParameters

type SubscriptionParameters struct {
	// AppName of the app to subscribe to
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="appName can't be updated once set"
	AppName string `json:"appName"`
	// PlanName to subscribe to
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="planName can't be updated once set"
	PlanName string `json:"planName"`
}

SubscriptionParameters are the configurable fields of a Subscription.

func (*SubscriptionParameters) DeepCopy

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

func (*SubscriptionParameters) DeepCopyInto

func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters)

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

type SubscriptionSpec

type SubscriptionSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       SubscriptionParameters `json:"forProvider"`

	// +kubebuilder:validation:Optional
	CloudManagementSelector *xpv1.Selector `json:"cloudManagementSelector,omitempty"`
	// Reference to CloudManagement instance of plan type "local" used for authentication
	// +kubebuilder:validation:Optional
	CloudManagementRef *xpv1.Reference `` /* 148-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecret()
	CloudManagementSecret string `json:"cloudManagementSecret,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecretSecretNamespace()
	CloudManagementSecretNamespace string `json:"cloudManagementSecretNamespace,omitempty"`
}

A SubscriptionSpec defines the desired state of a Subscription.

func (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionStatus

type SubscriptionStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          SubscriptionObservation `json:"atProvider,omitempty"`
}

A SubscriptionStatus represents the observed state of a Subscription.

func (*SubscriptionStatus) DeepCopy

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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