Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=account.btp.sap.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- func CloudManagementSecret() reference.ExtractValueFn
- func CloudManagementSecretNamespace() reference.ExtractValueFn
- func CloudManagementSubaccountUuid() reference.ExtractValueFn
- func DirectoryUuid() reference.ExtractValueFn
- func GlobalAccountUuid() reference.ExtractValueFn
- func ServiceInstanceUuid() reference.ExtractValueFn
- func ServiceManagerSecret() reference.ExtractValueFn
- func ServiceManagerSecretNamespace() reference.ExtractValueFn
- func SubaccountUuid() reference.ExtractValueFn
- func ValidationCondition(validationIssues []string) xpv1.Condition
- func ValidationError(msg string) xpv1.Condition
- func ValidationOk() xpv1.Condition
- type Assignable
- type Binding
- type CloudManagement
- func (in *CloudManagement) DeepCopy() *CloudManagement
- func (in *CloudManagement) DeepCopyInto(out *CloudManagement)
- func (in *CloudManagement) DeepCopyObject() runtime.Object
- func (mg *CloudManagement) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *CloudManagement) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *CloudManagement) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *CloudManagement) GetProviderConfigReference() *xpv1.Reference
- func (mg *CloudManagement) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *CloudManagement) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *CloudManagement) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *CloudManagement) SetConditions(c ...xpv1.Condition)
- func (mg *CloudManagement) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *CloudManagement) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *CloudManagement) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *CloudManagement) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *CloudManagement) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CloudManagementDataSourceLookup
- type CloudManagementList
- type CloudManagementObservation
- type CloudManagementParameters
- type CloudManagementSpec
- type CloudManagementStatus
- type Directory
- func (in *Directory) DeepCopy() *Directory
- func (in *Directory) DeepCopyInto(out *Directory)
- func (in *Directory) DeepCopyObject() runtime.Object
- func (mg *Directory) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Directory) GetDeletionPolicy() xpv1.DeletionPolicy
- func (md *Directory) GetExternalID() string
- func (mg *Directory) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Directory) GetProviderConfigReference() *xpv1.Reference
- func (mg *Directory) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Directory) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Directory) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Directory) SetConditions(c ...xpv1.Condition)
- func (mg *Directory) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (md *Directory) SetExternalID(newID string)
- func (mg *Directory) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Directory) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Directory) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Directory) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DirectoryEntitlement
- func (in *DirectoryEntitlement) DeepCopy() *DirectoryEntitlement
- func (in *DirectoryEntitlement) DeepCopyInto(out *DirectoryEntitlement)
- func (in *DirectoryEntitlement) DeepCopyObject() runtime.Object
- func (mg *DirectoryEntitlement) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DirectoryEntitlement) GetConnectionDetailsMapping() map[string]string
- func (mg *DirectoryEntitlement) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DirectoryEntitlement) GetID() string
- func (tr *DirectoryEntitlement) GetInitParameters() (map[string]any, error)
- func (mg *DirectoryEntitlement) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DirectoryEntitlement) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DirectoryEntitlement) GetObservation() (map[string]any, error)
- func (tr *DirectoryEntitlement) GetParameters() (map[string]any, error)
- func (mg *DirectoryEntitlement) GetProviderConfigReference() *xpv1.Reference
- func (mg *DirectoryEntitlement) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DirectoryEntitlement) GetTerraformResourceType() string
- func (tr *DirectoryEntitlement) GetTerraformSchemaVersion() int
- func (mg *DirectoryEntitlement) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DirectoryEntitlement) Hub()
- func (tr *DirectoryEntitlement) LateInitialize(attrs []byte) (bool, error)
- func (mg *DirectoryEntitlement) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DirectoryEntitlement) SetConditions(c ...xpv1.Condition)
- func (mg *DirectoryEntitlement) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DirectoryEntitlement) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DirectoryEntitlement) SetObservation(obs map[string]any) error
- func (tr *DirectoryEntitlement) SetParameters(params map[string]any) error
- func (mg *DirectoryEntitlement) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DirectoryEntitlement) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DirectoryEntitlement) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DirectoryEntitlementInitParameters
- type DirectoryEntitlementList
- type DirectoryEntitlementObservation
- type DirectoryEntitlementParameters
- type DirectoryEntitlementSpec
- type DirectoryEntitlementStatus
- type DirectoryList
- type DirectoryObservation
- type DirectoryParameters
- type DirectorySpec
- type DirectoryStatus
- type Entitled
- type Entitlement
- func (in *Entitlement) DeepCopy() *Entitlement
- func (in *Entitlement) DeepCopyInto(out *Entitlement)
- func (in *Entitlement) DeepCopyObject() runtime.Object
- func (mg *Entitlement) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Entitlement) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Entitlement) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Entitlement) GetProviderConfigReference() *xpv1.Reference
- func (mg *Entitlement) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Entitlement) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Entitlement) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Entitlement) SetConditions(c ...xpv1.Condition)
- func (mg *Entitlement) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Entitlement) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Entitlement) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Entitlement) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Entitlement) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EntitlementList
- type EntitlementObservation
- type EntitlementParameters
- type EntitlementSpec
- type EntitlementStatus
- type EntitlementSummary
- type GlobalAccount
- func (in *GlobalAccount) DeepCopy() *GlobalAccount
- func (in *GlobalAccount) DeepCopyInto(out *GlobalAccount)
- func (in *GlobalAccount) DeepCopyObject() runtime.Object
- func (mg *GlobalAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *GlobalAccount) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *GlobalAccount) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *GlobalAccount) GetProviderConfigReference() *xpv1.Reference
- func (mg *GlobalAccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *GlobalAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *GlobalAccount) SetConditions(c ...xpv1.Condition)
- func (mg *GlobalAccount) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *GlobalAccount) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *GlobalAccount) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *GlobalAccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *GlobalAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GlobalAccountList
- type GlobalAccountObservation
- type GlobalAccountParameters
- type GlobalAccountSpec
- type GlobalAccountStatus
- type Instance
- type Resource
- type RetiredSBResource
- type RotationParameters
- type ServiceBinding
- func (in *ServiceBinding) DeepCopy() *ServiceBinding
- func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)
- func (in *ServiceBinding) DeepCopyObject() runtime.Object
- func (mg *ServiceBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ServiceBinding) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ServiceBinding) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ServiceBinding) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceBinding) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ServiceBinding) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceBinding) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceBinding) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceBinding) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ServiceBinding) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceBinding) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceBindingList
- type ServiceBindingObservation
- type ServiceBindingOperationState
- type ServiceBindingOperationType
- type ServiceBindingParameters
- type ServiceBindingSpec
- type ServiceBindingStatus
- type ServiceInstance
- func (in *ServiceInstance) DeepCopy() *ServiceInstance
- func (in *ServiceInstance) DeepCopyInto(out *ServiceInstance)
- func (in *ServiceInstance) DeepCopyObject() runtime.Object
- func (mg *ServiceInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ServiceInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ServiceInstance) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ServiceInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ServiceInstance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceInstance) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ServiceInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceInstanceList
- type ServiceInstanceObservation
- type ServiceInstanceParameters
- type ServiceInstanceSpec
- type ServiceInstanceStatus
- type ServiceManager
- func (in *ServiceManager) DeepCopy() *ServiceManager
- func (in *ServiceManager) DeepCopyInto(out *ServiceManager)
- func (in *ServiceManager) DeepCopyObject() runtime.Object
- func (mg *ServiceManager) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ServiceManager) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ServiceManager) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ServiceManager) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceManager) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceManager) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ServiceManager) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceManager) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceManager) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceManager) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ServiceManager) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceManager) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceManager) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceManagerList
- type ServiceManagerObservation
- type ServiceManagerParameters
- type ServiceManagerSpec
- type ServiceManagerStatus
- type Subaccount
- func (in *Subaccount) DeepCopy() *Subaccount
- func (in *Subaccount) DeepCopyInto(out *Subaccount)
- func (in *Subaccount) DeepCopyObject() runtime.Object
- func (mg *Subaccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Subaccount) GetDeletionPolicy() xpv1.DeletionPolicy
- func (ms *Subaccount) GetExternalID() string
- func (mg *Subaccount) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Subaccount) GetProviderConfigReference() *xpv1.Reference
- func (mg *Subaccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Subaccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Subaccount) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Subaccount) SetConditions(c ...xpv1.Condition)
- func (mg *Subaccount) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (ms *Subaccount) SetExternalID(newID string)
- func (mg *Subaccount) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Subaccount) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Subaccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Subaccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubaccountList
- type SubaccountObservation
- type SubaccountParameters
- type SubaccountServiceBinding
- func (in *SubaccountServiceBinding) DeepCopy() *SubaccountServiceBinding
- func (in *SubaccountServiceBinding) DeepCopyInto(out *SubaccountServiceBinding)
- func (in *SubaccountServiceBinding) DeepCopyObject() runtime.Object
- func (mg *SubaccountServiceBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubaccountServiceBinding) GetConnectionDetailsMapping() map[string]string
- func (mg *SubaccountServiceBinding) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubaccountServiceBinding) GetID() string
- func (tr *SubaccountServiceBinding) GetInitParameters() (map[string]any, error)
- func (mg *SubaccountServiceBinding) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SubaccountServiceBinding) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SubaccountServiceBinding) GetObservation() (map[string]any, error)
- func (tr *SubaccountServiceBinding) GetParameters() (map[string]any, error)
- func (mg *SubaccountServiceBinding) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubaccountServiceBinding) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubaccountServiceBinding) GetTerraformResourceType() string
- func (tr *SubaccountServiceBinding) GetTerraformSchemaVersion() int
- func (mg *SubaccountServiceBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubaccountServiceBinding) Hub()
- func (tr *SubaccountServiceBinding) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubaccountServiceBinding) SetConditions(c ...xpv1.Condition)
- func (mg *SubaccountServiceBinding) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SubaccountServiceBinding) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SubaccountServiceBinding) SetObservation(obs map[string]any) error
- func (tr *SubaccountServiceBinding) SetParameters(params map[string]any) error
- func (mg *SubaccountServiceBinding) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubaccountServiceBinding) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubaccountServiceBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubaccountServiceBindingInitParameters
- type SubaccountServiceBindingList
- func (in *SubaccountServiceBindingList) DeepCopy() *SubaccountServiceBindingList
- func (in *SubaccountServiceBindingList) DeepCopyInto(out *SubaccountServiceBindingList)
- func (in *SubaccountServiceBindingList) DeepCopyObject() runtime.Object
- func (l *SubaccountServiceBindingList) GetItems() []resource.Managed
- type SubaccountServiceBindingObservation
- type SubaccountServiceBindingParameters
- type SubaccountServiceBindingSpec
- type SubaccountServiceBindingStatus
- type SubaccountServiceBroker
- func (in *SubaccountServiceBroker) DeepCopy() *SubaccountServiceBroker
- func (in *SubaccountServiceBroker) DeepCopyInto(out *SubaccountServiceBroker)
- func (in *SubaccountServiceBroker) DeepCopyObject() runtime.Object
- func (mg *SubaccountServiceBroker) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubaccountServiceBroker) GetConnectionDetailsMapping() map[string]string
- func (mg *SubaccountServiceBroker) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubaccountServiceBroker) GetID() string
- func (tr *SubaccountServiceBroker) GetInitParameters() (map[string]any, error)
- func (mg *SubaccountServiceBroker) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SubaccountServiceBroker) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SubaccountServiceBroker) GetObservation() (map[string]any, error)
- func (tr *SubaccountServiceBroker) GetParameters() (map[string]any, error)
- func (mg *SubaccountServiceBroker) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubaccountServiceBroker) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubaccountServiceBroker) GetTerraformResourceType() string
- func (tr *SubaccountServiceBroker) GetTerraformSchemaVersion() int
- func (mg *SubaccountServiceBroker) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubaccountServiceBroker) Hub()
- func (tr *SubaccountServiceBroker) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubaccountServiceBroker) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SubaccountServiceBroker) SetConditions(c ...xpv1.Condition)
- func (mg *SubaccountServiceBroker) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SubaccountServiceBroker) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SubaccountServiceBroker) SetObservation(obs map[string]any) error
- func (tr *SubaccountServiceBroker) SetParameters(params map[string]any) error
- func (mg *SubaccountServiceBroker) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubaccountServiceBroker) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubaccountServiceBroker) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubaccountServiceBrokerInitParameters
- type SubaccountServiceBrokerList
- func (in *SubaccountServiceBrokerList) DeepCopy() *SubaccountServiceBrokerList
- func (in *SubaccountServiceBrokerList) DeepCopyInto(out *SubaccountServiceBrokerList)
- func (in *SubaccountServiceBrokerList) DeepCopyObject() runtime.Object
- func (l *SubaccountServiceBrokerList) GetItems() []resource.Managed
- type SubaccountServiceBrokerObservation
- type SubaccountServiceBrokerParameters
- type SubaccountServiceBrokerSpec
- type SubaccountServiceBrokerStatus
- type SubaccountServiceInstance
- func (in *SubaccountServiceInstance) DeepCopy() *SubaccountServiceInstance
- func (in *SubaccountServiceInstance) DeepCopyInto(out *SubaccountServiceInstance)
- func (in *SubaccountServiceInstance) DeepCopyObject() runtime.Object
- func (mg *SubaccountServiceInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubaccountServiceInstance) GetConnectionDetailsMapping() map[string]string
- func (mg *SubaccountServiceInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubaccountServiceInstance) GetID() string
- func (tr *SubaccountServiceInstance) GetInitParameters() (map[string]any, error)
- func (mg *SubaccountServiceInstance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SubaccountServiceInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SubaccountServiceInstance) GetObservation() (map[string]any, error)
- func (tr *SubaccountServiceInstance) GetParameters() (map[string]any, error)
- func (mg *SubaccountServiceInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubaccountServiceInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubaccountServiceInstance) GetTerraformResourceType() string
- func (tr *SubaccountServiceInstance) GetTerraformSchemaVersion() int
- func (mg *SubaccountServiceInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubaccountServiceInstance) Hub()
- func (tr *SubaccountServiceInstance) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubaccountServiceInstance) SetConditions(c ...xpv1.Condition)
- func (mg *SubaccountServiceInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SubaccountServiceInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SubaccountServiceInstance) SetObservation(obs map[string]any) error
- func (tr *SubaccountServiceInstance) SetParameters(params map[string]any) error
- func (mg *SubaccountServiceInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubaccountServiceInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubaccountServiceInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubaccountServiceInstanceInitParameters
- type SubaccountServiceInstanceList
- func (in *SubaccountServiceInstanceList) DeepCopy() *SubaccountServiceInstanceList
- func (in *SubaccountServiceInstanceList) DeepCopyInto(out *SubaccountServiceInstanceList)
- func (in *SubaccountServiceInstanceList) DeepCopyObject() runtime.Object
- func (l *SubaccountServiceInstanceList) GetItems() []resource.Managed
- type SubaccountServiceInstanceObservation
- type SubaccountServiceInstanceParameters
- type SubaccountServiceInstanceSpec
- type SubaccountServiceInstanceStatus
- type SubaccountSpec
- type SubaccountStatus
- type Subscription
- func (in *Subscription) DeepCopy() *Subscription
- func (in *Subscription) DeepCopyInto(out *Subscription)
- func (in *Subscription) DeepCopyObject() runtime.Object
- func (mg *Subscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Subscription) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Subscription) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Subscription) GetProviderConfigReference() *xpv1.Reference
- func (mg *Subscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Subscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Subscription) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Subscription) SetConditions(c ...xpv1.Condition)
- func (mg *Subscription) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Subscription) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Subscription) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Subscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Subscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubscriptionList
- type SubscriptionObservation
- type SubscriptionParameters
- type SubscriptionSpec
- type SubscriptionStatus
Constants ¶
const ( CisStatusBound = "BOUND" CisStatusUnbound = "UNBOUND" )
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" )
const ( EntitlementStatusOk = "OK" EntitlementStatusProcessingFailed = "PROCESSING_FAILED" EntitlementStatusProcessing = "PROCESSING" EntitlementStatusStarted = "STARTED" )
const ( ServiceBindingLastOperationTypeCreate ServiceBindingOperationType = "create" ServiceBindingLastOperationTypeDelete ServiceBindingOperationType = "delete" ServiceBindingLastOperationStatePending ServiceBindingOperationState = "pending" ServiceBindingLastOperationStateSucceeded ServiceBindingOperationState = "succeeded" )
const ( ResourceCredentialsClientSecret = "clientsecret" ResourceCredentialsClientId = "clientid" ResourceCredentialsServiceManagerUrl = "sm_url" ResourceCredentialsXsuaaUrl = "tokenurl" ResourceCredentialsXsappname = "xsappname" ResourceCredentialsXsuaaUrlSufix = "tokenurlsuffix" )
const ( ServiceManagerBound = "BOUND" ServiceManagerUnbound = "UNBOUND" )
const ( SubscriptionStateInProcess = "IN_PROCESS" SubscriptionStateSubscribed = "SUBSCRIBED" SubscriptionStateSubscribeFailed = "SUBSCRIBE_FAILED" SubscriptionStateUnsubscribeFailed = "UNSUBSCRIBE_FAILED" SubscriptionStateUpdateFailed = "UPDATE_FAILED" SubscriptionStateUpdateParametersFailed = "UPDATE_PARAMETERS_FAILED" SubscriptionStateNotSubscribed = "NOT_SUBSCRIBED" )
const ( CRDGroup = "account.btp.sap.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
const HasValidationIssues xpv1.ConditionReason = "ValidationIssuesFound"
const NoValidationIssues xpv1.ConditionReason = "NoValidationIssuesFound"
const SoftValidationCondition xpv1.ConditionType = "SoftValidation"
Variables ¶
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.
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.
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.
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.
var ( ServiceBindingKind = reflect.TypeOf(ServiceBinding{}).Name() ServiceBindingGroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceBindingKind}.String() ServiceBindingKindAPIVersion = ServiceBindingKind + "." + CRDGroupVersion.String() ServiceBindingGroupVersionKind = CRDGroupVersion.WithKind(ServiceBindingKind) )
ServiceBinding type metadata.
var ( ServiceInstanceKind = reflect.TypeOf(ServiceInstance{}).Name() ServiceInstanceGroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceInstanceKind}.String() ServiceInstanceKindAPIVersion = ServiceInstanceKind + "." + CRDGroupVersion.String() ServiceInstanceGroupVersionKind = CRDGroupVersion.WithKind(ServiceInstanceKind) )
ServiceInstance type metadata.
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.
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.
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.
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.
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 )
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.
var ( SubaccountServiceBroker_Kind = "SubaccountServiceBroker" SubaccountServiceBroker_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SubaccountServiceBroker_Kind}.String() SubaccountServiceBroker_KindAPIVersion = SubaccountServiceBroker_Kind + "." + CRDGroupVersion.String() SubaccountServiceBroker_GroupVersionKind = CRDGroupVersion.WithKind(SubaccountServiceBroker_Kind) )
Repository type metadata.
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.
var DirectoryEntityStateOk = "OK"
Functions ¶
func CloudManagementSecret ¶
func CloudManagementSecret() reference.ExtractValueFn
CloudManagementSecret extracts the Reference of a cis instance to a secret name
func CloudManagementSecretNamespace ¶ added in v1.2.2
func CloudManagementSecretNamespace() reference.ExtractValueFn
CloudManagementSecretNamespace 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 ServiceInstanceUuid ¶ added in v1.2.0
func ServiceInstanceUuid() reference.ExtractValueFn
ServiceInstanceUuid the ServiceInstanceID for the binding
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 ValidationError ¶
func ValidationOk ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
func (*Binding) DeepCopyInto ¶
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 ¶
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 ¶
func (in *CloudManagementDataSourceLookup) DeepCopy() *CloudManagementDataSourceLookup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudManagementDataSourceLookup.
func (*CloudManagementDataSourceLookup) DeepCopyInto ¶
func (in *CloudManagementDataSourceLookup) DeepCopyInto(out *CloudManagementDataSourceLookup)
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 ¶
func (in *CloudManagementObservation) DeepCopy() *CloudManagementObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudManagementObservation.
func (*CloudManagementObservation) DeepCopyInto ¶
func (in *CloudManagementObservation) DeepCopyInto(out *CloudManagementObservation)
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 ¶
func (in *CloudManagementParameters) DeepCopy() *CloudManagementParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudManagementParameters.
func (*CloudManagementParameters) DeepCopyInto ¶
func (in *CloudManagementParameters) DeepCopyInto(out *CloudManagementParameters)
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 ¶
func (in *CloudManagementStatus) DeepCopy() *CloudManagementStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Directory.
func (*Directory) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Directory) DeepCopyObject ¶
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 (*Directory) GetManagementPolicies ¶
func (mg *Directory) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Directory.
func (*Directory) GetProviderConfigReference ¶
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 ¶
ResolveReferences of this Directory.
func (*Directory) SetConditions ¶
SetConditions of this Directory.
func (*Directory) SetDeletionPolicy ¶
func (mg *Directory) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Directory.
func (*Directory) SetExternalID ¶
func (*Directory) SetManagementPolicies ¶
func (mg *Directory) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Directory.
func (*Directory) SetProviderConfigReference ¶
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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,account}
func (*DirectoryEntitlement) DeepCopy ¶
func (in *DirectoryEntitlement) DeepCopy() *DirectoryEntitlement
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 ¶
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 unique identifier of the service plan.
// The unique identifier of the service plan.
PlanUniqueIdentifier *string `json:"planUniqueIdentifier,omitempty" tf:"plan_unique_identifier,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 ¶
func (in *DirectoryEntitlementInitParameters) DeepCopy() *DirectoryEntitlementInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryEntitlementInitParameters.
func (*DirectoryEntitlementInitParameters) DeepCopyInto ¶
func (in *DirectoryEntitlementInitParameters) DeepCopyInto(out *DirectoryEntitlementInitParameters)
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 ¶
func (in *DirectoryEntitlementList) DeepCopy() *DirectoryEntitlementList
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 unique identifier of the service plan.
// The unique identifier of the service plan.
PlanUniqueIdentifier *string `json:"planUniqueIdentifier,omitempty" tf:"plan_unique_identifier,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 ¶
func (in *DirectoryEntitlementObservation) DeepCopy() *DirectoryEntitlementObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryEntitlementObservation.
func (*DirectoryEntitlementObservation) DeepCopyInto ¶
func (in *DirectoryEntitlementObservation) DeepCopyInto(out *DirectoryEntitlementObservation)
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 unique identifier of the service plan.
// The unique identifier of the service plan.
// +kubebuilder:validation:Optional
PlanUniqueIdentifier *string `json:"planUniqueIdentifier,omitempty" tf:"plan_unique_identifier,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 ¶
func (in *DirectoryEntitlementParameters) DeepCopy() *DirectoryEntitlementParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryEntitlementParameters.
func (*DirectoryEntitlementParameters) DeepCopyInto ¶
func (in *DirectoryEntitlementParameters) DeepCopyInto(out *DirectoryEntitlementParameters)
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 ¶
func (in *DirectoryEntitlementSpec) DeepCopy() *DirectoryEntitlementSpec
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 ¶
func (in *DirectoryEntitlementStatus) DeepCopy() *DirectoryEntitlementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryEntitlementStatus.
func (*DirectoryEntitlementStatus) DeepCopyInto ¶
func (in *DirectoryEntitlementStatus) DeepCopyInto(out *DirectoryEntitlementStatus)
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 ¶
func (in *DirectoryObservation) DeepCopy() *DirectoryObservation
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entitled.
func (*Entitled) DeepCopyInto ¶
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 ¶
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 ¶
func (in *EntitlementObservation) DeepCopy() *EntitlementObservation
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 ¶
func (in *EntitlementParameters) DeepCopy() *EntitlementParameters
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 ¶
func (in *GlobalAccountObservation) DeepCopy() *GlobalAccountObservation
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 ¶
func (in *GlobalAccountParameters) DeepCopy() *GlobalAccountParameters
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"`
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetiredSBResource ¶ added in v1.4.0
type RetiredSBResource struct {
// The ID of the service binding resource
ID string `json:"id,omitempty"`
// The name of the service binding resource
Name string `json:"name,omitempty"`
// The date and time when the resource was created
CreatedDate metav1.Time `json:"createdDate"`
// The date and time when the resource was retired
RetiredDate metav1.Time `json:"retiredDate"`
// The date and time when the resource will be deleted.
// May change if the rotation settings change
DeletionDate *metav1.Time `json:"deletionDate"`
}
RetiredSBResource contains only the essential tracking information for retired service binding instances +kubebuilder:object:generate=true
func (*RetiredSBResource) DeepCopy ¶ added in v1.4.0
func (in *RetiredSBResource) DeepCopy() *RetiredSBResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetiredSBResource.
func (*RetiredSBResource) DeepCopyInto ¶ added in v1.4.0
func (in *RetiredSBResource) DeepCopyInto(out *RetiredSBResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RotationParameters ¶ added in v1.4.0
type RotationParameters struct {
// Frequency defines how often the active key should be rotated.
// +kubebuilder:validation:Required
Frequency *metav1.Duration `json:"frequency"`
// TTL (Time-To-Live) defines the total time a credential is valid for before it is deleted.
// Must be >= frequency
// +kubebuilder:validation:Optional
TTL *metav1.Duration `json:"ttl,omitempty"`
}
+kubebuilder:validation:XValidation:rule="!has(self.ttl) || (has(self.frequency) && duration(self.ttl) >= duration(self.frequency))",message="ttl must be greater than or equal to frequency"
func (*RotationParameters) DeepCopy ¶ added in v1.4.0
func (in *RotationParameters) DeepCopy() *RotationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RotationParameters.
func (*RotationParameters) DeepCopyInto ¶ added in v1.4.0
func (in *RotationParameters) DeepCopyInto(out *RotationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBinding ¶ added in v1.2.0
type ServiceBinding struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceBindingSpec `json:"spec"`
Status ServiceBindingStatus `json:"status,omitempty"`
}
A ServiceBinding allows to manage a binding to a service instance in BTP +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 (*ServiceBinding) DeepCopy ¶ added in v1.2.0
func (in *ServiceBinding) DeepCopy() *ServiceBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBinding.
func (*ServiceBinding) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBinding) DeepCopyObject ¶ added in v1.2.0
func (in *ServiceBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceBinding) GetCondition ¶ added in v1.2.0
func (mg *ServiceBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceBinding.
func (*ServiceBinding) GetDeletionPolicy ¶ added in v1.2.0
func (mg *ServiceBinding) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceBinding.
func (*ServiceBinding) GetManagementPolicies ¶ added in v1.2.0
func (mg *ServiceBinding) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceBinding.
func (*ServiceBinding) GetProviderConfigReference ¶ added in v1.2.0
func (mg *ServiceBinding) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceBinding.
func (*ServiceBinding) GetPublishConnectionDetailsTo ¶ added in v1.2.0
func (mg *ServiceBinding) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceBinding.
func (*ServiceBinding) GetWriteConnectionSecretToReference ¶ added in v1.2.0
func (mg *ServiceBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceBinding.
func (*ServiceBinding) ResolveReferences ¶ added in v1.2.0
ResolveReferences of this ServiceBinding.
func (*ServiceBinding) SetConditions ¶ added in v1.2.0
func (mg *ServiceBinding) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceBinding.
func (*ServiceBinding) SetDeletionPolicy ¶ added in v1.2.0
func (mg *ServiceBinding) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceBinding.
func (*ServiceBinding) SetManagementPolicies ¶ added in v1.2.0
func (mg *ServiceBinding) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ServiceBinding.
func (*ServiceBinding) SetProviderConfigReference ¶ added in v1.2.0
func (mg *ServiceBinding) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceBinding.
func (*ServiceBinding) SetPublishConnectionDetailsTo ¶ added in v1.2.0
func (mg *ServiceBinding) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceBinding.
func (*ServiceBinding) SetWriteConnectionSecretToReference ¶ added in v1.2.0
func (mg *ServiceBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceBinding.
type ServiceBindingList ¶ added in v1.2.0
type ServiceBindingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ServiceBinding `json:"items"`
}
ServiceBindingList contains a list of ServiceBinding
func (*ServiceBindingList) DeepCopy ¶ added in v1.2.0
func (in *ServiceBindingList) DeepCopy() *ServiceBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingList.
func (*ServiceBindingList) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBindingList) DeepCopyInto(out *ServiceBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingList) DeepCopyObject ¶ added in v1.2.0
func (in *ServiceBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceBindingList) GetItems ¶ added in v1.2.0
func (l *ServiceBindingList) GetItems() []resource.Managed
GetItems of this ServiceBindingList.
type ServiceBindingObservation ¶ added in v1.2.0
type ServiceBindingObservation struct {
// The ID of the service binding resource
ID string `json:"id,omitempty"`
// The name of the service binding resource
Name string `json:"name,omitempty"`
// Additional TF resource fields from SubaccountServiceBinding for the current active binding
// The date and time when the resource was created
CreatedDate *metav1.Time `json:"createdDate,omitempty"`
// The date and time when the resource was last modified
LastModified *metav1.Time `json:"lastModified,omitempty"`
// Shows whether the service binding is ready
Ready *bool `json:"ready,omitempty"`
// The current state of the service binding (in progress, failed, succeeded)
State *string `json:"state,omitempty"`
// The parameters of the service binding as a valid JSON object
Parameters *string `json:"parameters,omitempty"`
}
ServiceBindingObservation are the observable fields of a ServiceBinding.
func (*ServiceBindingObservation) DeepCopy ¶ added in v1.2.0
func (in *ServiceBindingObservation) DeepCopy() *ServiceBindingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingObservation.
func (*ServiceBindingObservation) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBindingObservation) DeepCopyInto(out *ServiceBindingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingOperationState ¶ added in v1.4.0
type ServiceBindingOperationState string
type ServiceBindingOperationType ¶ added in v1.4.0
type ServiceBindingOperationType string
type ServiceBindingParameters ¶ added in v1.2.0
type ServiceBindingParameters struct {
// Name of the service instance in btp, required
Name string `json:"name"`
// Parameters in JSON or YAML format, will be merged with yaml parameters and secret parameters, will overwrite duplicated keys from secrets
// +kubebuilder:validation:Optional
Parameters runtime.RawExtension `json:"parameters,omitempty"`
// Parameters stored in secret, will be merged with spec parameters
// +kubebuilder:validation:Optional
ParameterSecretRefs []xpv1.SecretKeySelector `json:"parameterSecretRefs,omitempty"`
// (String) The ID of the subaccount.
// The ID of the subaccount.
// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
// +crossplane:generate:reference:refFieldName=SubaccountRef
// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
// Reference to a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountRef *v1.Reference `` /* 145-byte string literal not displayed */
// Selector for a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountSelector *v1.Selector `json:"subaccountSelector,omitempty" tf:"-"`
// (String) The ID of the service instance associated with the binding.
// The ID of the service instance associated with the binding.
// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceInstance
// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.ServiceInstanceUuid()
// +crossplane:generate:reference:refFieldName=ServiceInstanceRef
// +crossplane:generate:reference:selectorFieldName=ServiceInstanceSelector
// +kubebuilder:validation:Optional
ServiceInstanceID *string `json:"serviceInstanceId,omitempty" tf:"service_instance_id,omitempty"`
// Reference to a ServiceInstance in account to populate serviceInstanceId.
// +kubebuilder:validation:Optional
ServiceInstanceRef *v1.Reference `` /* 155-byte string literal not displayed */
// Selector for a ServiceInstance in account to populate serviceInstanceId.
// +kubebuilder:validation:Optional
ServiceInstanceSelector *v1.Selector `json:"serviceInstanceSelector,omitempty" tf:"-"`
}
ServiceBindingParameters are the configurable fields of a ServiceBinding.
func (*ServiceBindingParameters) DeepCopy ¶ added in v1.2.0
func (in *ServiceBindingParameters) DeepCopy() *ServiceBindingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingParameters.
func (*ServiceBindingParameters) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBindingParameters) DeepCopyInto(out *ServiceBindingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingSpec ¶ added in v1.2.0
type ServiceBindingSpec struct {
xpv1.ResourceSpec `json:",inline"`
ForProvider ServiceBindingParameters `json:"forProvider"`
// Rotation defines the parameters for rotating the service credential binding.
// +kubebuilder:validation:Optional
Rotation *RotationParameters `json:"rotation,omitempty"`
}
A ServiceBindingSpec defines the desired state of a ServiceBinding.
func (*ServiceBindingSpec) DeepCopy ¶ added in v1.2.0
func (in *ServiceBindingSpec) DeepCopy() *ServiceBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingSpec.
func (*ServiceBindingSpec) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBindingSpec) DeepCopyInto(out *ServiceBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingStatus ¶ added in v1.2.0
type ServiceBindingStatus struct {
xpv1.ResourceStatus `json:",inline"`
AtProvider ServiceBindingObservation `json:"atProvider,omitempty"`
// If the binding is rotated, `retiredBindings` stores resources that have been rotated out but are still transitionally retained due to `rotation.ttl` setting
// +kubebuilder:validation:Optional
RetiredKeys []*RetiredSBResource `json:"retiredKeys,omitempty"`
}
A ServiceBindingStatus represents the observed state of a ServiceBinding.
func (*ServiceBindingStatus) DeepCopy ¶ added in v1.2.0
func (in *ServiceBindingStatus) DeepCopy() *ServiceBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingStatus.
func (*ServiceBindingStatus) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceBindingStatus) DeepCopyInto(out *ServiceBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInstance ¶ added in v1.2.0
type ServiceInstance struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceInstanceSpec `json:"spec"`
Status ServiceInstanceStatus `json:"status,omitempty"`
}
A ServiceInstance allows to manage a ServiceInstance in BTP +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 (*ServiceInstance) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstance) DeepCopy() *ServiceInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstance.
func (*ServiceInstance) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstance) DeepCopyInto(out *ServiceInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceInstance) DeepCopyObject ¶ added in v1.2.0
func (in *ServiceInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceInstance) GetCondition ¶ added in v1.2.0
func (mg *ServiceInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceInstance.
func (*ServiceInstance) GetDeletionPolicy ¶ added in v1.2.0
func (mg *ServiceInstance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceInstance.
func (*ServiceInstance) GetManagementPolicies ¶ added in v1.2.0
func (mg *ServiceInstance) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceInstance.
func (*ServiceInstance) GetProviderConfigReference ¶ added in v1.2.0
func (mg *ServiceInstance) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceInstance.
func (*ServiceInstance) GetPublishConnectionDetailsTo ¶ added in v1.2.0
func (mg *ServiceInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceInstance.
func (*ServiceInstance) GetWriteConnectionSecretToReference ¶ added in v1.2.0
func (mg *ServiceInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceInstance.
func (*ServiceInstance) ResolveReferences ¶ added in v1.2.0
ResolveReferences of this ServiceInstance.
func (*ServiceInstance) SetConditions ¶ added in v1.2.0
func (mg *ServiceInstance) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceInstance.
func (*ServiceInstance) SetDeletionPolicy ¶ added in v1.2.0
func (mg *ServiceInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceInstance.
func (*ServiceInstance) SetManagementPolicies ¶ added in v1.2.0
func (mg *ServiceInstance) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ServiceInstance.
func (*ServiceInstance) SetProviderConfigReference ¶ added in v1.2.0
func (mg *ServiceInstance) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceInstance.
func (*ServiceInstance) SetPublishConnectionDetailsTo ¶ added in v1.2.0
func (mg *ServiceInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceInstance.
func (*ServiceInstance) SetWriteConnectionSecretToReference ¶ added in v1.2.0
func (mg *ServiceInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceInstance.
type ServiceInstanceList ¶ added in v1.2.0
type ServiceInstanceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ServiceInstance `json:"items"`
}
ServiceInstanceList contains a list of ServiceInstance
func (*ServiceInstanceList) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstanceList) DeepCopy() *ServiceInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceList.
func (*ServiceInstanceList) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstanceList) DeepCopyInto(out *ServiceInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceInstanceList) DeepCopyObject ¶ added in v1.2.0
func (in *ServiceInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceInstanceList) GetItems ¶ added in v1.2.0
func (l *ServiceInstanceList) GetItems() []resource.Managed
GetItems of this ServiceInstanceList.
type ServiceInstanceObservation ¶ added in v1.2.0
type ServiceInstanceObservation struct {
ID string `json:"id,omitempty"`
// The ID of the service plan as resolved by the ServiceManager
ServiceplanID string `json:"serviceplanId,omitempty"`
}
ServiceInstanceObservation are the observable fields of a ServiceInstance.
func (*ServiceInstanceObservation) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstanceObservation) DeepCopy() *ServiceInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceObservation.
func (*ServiceInstanceObservation) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstanceObservation) DeepCopyInto(out *ServiceInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInstanceParameters ¶ added in v1.2.0
type ServiceInstanceParameters struct {
// Name of the service instance in btp, required
Name string `json:"name"`
// Name of the service offering
OfferingName string `json:"offeringName,omitempty"`
// Name of the service plan of that offering
PlanName string `json:"planName,omitempty"`
// Parameters in JSON or YAML format, will be merged with yaml parameters and secret parameters, will overwrite duplicated keys from secrets
// +kubebuilder:validation:Optional
Parameters runtime.RawExtension `json:"parameters,omitempty"`
// Parameters stored in secret, will be merged with spec parameters
// +kubebuilder:validation:Optional
ParameterSecretRefs []xpv1.SecretKeySelector `json:"parameterSecretRefs,omitempty"`
// +kubebuilder:validation:Optional
ServiceManagerSelector *xpv1.Selector `json:"serviceManagerSelector,omitempty"`
// +kubebuilder:validation:Optional
ServiceManagerRef *xpv1.Reference `` /* 145-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"`
// (String) The ID of the subaccount.
// The ID of the subaccount.
// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
// +crossplane:generate:reference:refFieldName=SubaccountRef
// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
// Reference to a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountRef *v1.Reference `json:"subaccountRef,omitempty" tf:"-"`
// Selector for a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountSelector *v1.Selector `json:"subaccountSelector,omitempty" tf:"-"`
}
ServiceInstanceParameters are the configurable fields of a ServiceInstance.
func (*ServiceInstanceParameters) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstanceParameters) DeepCopy() *ServiceInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceParameters.
func (*ServiceInstanceParameters) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstanceParameters) DeepCopyInto(out *ServiceInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInstanceSpec ¶ added in v1.2.0
type ServiceInstanceSpec struct {
xpv1.ResourceSpec `json:",inline"`
ForProvider ServiceInstanceParameters `json:"forProvider"`
}
A ServiceInstanceSpec defines the desired state of a ServiceInstance.
func (*ServiceInstanceSpec) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstanceSpec) DeepCopy() *ServiceInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceSpec.
func (*ServiceInstanceSpec) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstanceSpec) DeepCopyInto(out *ServiceInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInstanceStatus ¶ added in v1.2.0
type ServiceInstanceStatus struct {
xpv1.ResourceStatus `json:",inline"`
AtProvider ServiceInstanceObservation `json:"atProvider,omitempty"`
}
A ServiceInstanceStatus represents the observed state of a ServiceInstance.
func (*ServiceInstanceStatus) DeepCopy ¶ added in v1.2.0
func (in *ServiceInstanceStatus) DeepCopy() *ServiceInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceStatus.
func (*ServiceInstanceStatus) DeepCopyInto ¶ added in v1.2.0
func (in *ServiceInstanceStatus) DeepCopyInto(out *ServiceInstanceStatus)
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 ¶
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 ¶
func (in *ServiceManagerObservation) DeepCopy() *ServiceManagerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagerObservation.
func (*ServiceManagerObservation) DeepCopyInto ¶
func (in *ServiceManagerObservation) DeepCopyInto(out *ServiceManagerObservation)
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 ¶
func (in *ServiceManagerParameters) DeepCopy() *ServiceManagerParameters
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 ¶
func (in *ServiceManagerStatus) DeepCopy() *ServiceManagerStatus
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 ¶
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 ¶
func (in *SubaccountObservation) DeepCopy() *SubaccountObservation
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
// 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 ¶
func (in *SubaccountParameters) DeepCopy() *SubaccountParameters
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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,account}
func (*SubaccountServiceBinding) DeepCopy ¶
func (in *SubaccountServiceBinding) DeepCopy() *SubaccountServiceBinding
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 ¶
func (mg *SubaccountServiceBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (in *SubaccountServiceBindingInitParameters) DeepCopy() *SubaccountServiceBindingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingInitParameters.
func (*SubaccountServiceBindingInitParameters) DeepCopyInto ¶
func (in *SubaccountServiceBindingInitParameters) DeepCopyInto(out *SubaccountServiceBindingInitParameters)
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 ¶
func (in *SubaccountServiceBindingList) DeepCopy() *SubaccountServiceBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingList.
func (*SubaccountServiceBindingList) DeepCopyInto ¶
func (in *SubaccountServiceBindingList) DeepCopyInto(out *SubaccountServiceBindingList)
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 ¶
func (l *SubaccountServiceBindingList) GetItems() []resource.Managed
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 ¶
func (in *SubaccountServiceBindingObservation) DeepCopy() *SubaccountServiceBindingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingObservation.
func (*SubaccountServiceBindingObservation) DeepCopyInto ¶
func (in *SubaccountServiceBindingObservation) DeepCopyInto(out *SubaccountServiceBindingObservation)
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 ¶
func (in *SubaccountServiceBindingParameters) DeepCopy() *SubaccountServiceBindingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingParameters.
func (*SubaccountServiceBindingParameters) DeepCopyInto ¶
func (in *SubaccountServiceBindingParameters) DeepCopyInto(out *SubaccountServiceBindingParameters)
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 ¶
func (in *SubaccountServiceBindingSpec) DeepCopy() *SubaccountServiceBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingSpec.
func (*SubaccountServiceBindingSpec) DeepCopyInto ¶
func (in *SubaccountServiceBindingSpec) DeepCopyInto(out *SubaccountServiceBindingSpec)
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 ¶
func (in *SubaccountServiceBindingStatus) DeepCopy() *SubaccountServiceBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBindingStatus.
func (*SubaccountServiceBindingStatus) DeepCopyInto ¶
func (in *SubaccountServiceBindingStatus) DeepCopyInto(out *SubaccountServiceBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubaccountServiceBroker ¶ added in v1.0.3
type SubaccountServiceBroker 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.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.url) || (has(self.initProvider) && has(self.initProvider.url))",message="spec.forProvider.url is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter"
Spec SubaccountServiceBrokerSpec `json:"spec"`
Status SubaccountServiceBrokerStatus `json:"status,omitempty"`
}
SubaccountServiceBroker is the Schema for the SubaccountServiceBrokers API. Registers a service service broker in a subaccount. Tip: You must be assigned to the admin role of the subaccount. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,account}
func (*SubaccountServiceBroker) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBroker) DeepCopy() *SubaccountServiceBroker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBroker.
func (*SubaccountServiceBroker) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBroker) DeepCopyInto(out *SubaccountServiceBroker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubaccountServiceBroker) DeepCopyObject ¶ added in v1.0.3
func (in *SubaccountServiceBroker) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubaccountServiceBroker) GetCondition ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) GetConnectionDetailsMapping ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetDeletionPolicy ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) GetID ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetID() string
GetID returns ID of underlying Terraform resource of this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetInitParameters ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetInitParameters() (map[string]any, error)
GetInitParameters of this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetManagementPolicies ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) GetMergedParameters ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetObservation ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetObservation() (map[string]any, error)
GetObservation of this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetParameters ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetParameters() (map[string]any, error)
GetParameters of this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetProviderConfigReference ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) GetPublishConnectionDetailsTo ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) GetTerraformResourceType ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SubaccountServiceBroker
func (*SubaccountServiceBroker) GetTerraformSchemaVersion ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SubaccountServiceBroker) GetWriteConnectionSecretToReference ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) Hub ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) Hub()
Hub marks this type as a conversion hub.
func (*SubaccountServiceBroker) LateInitialize ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SubaccountServiceBroker using its observed tfState. returns True if there are any spec changes for the resource.
func (*SubaccountServiceBroker) ResolveReferences ¶ added in v1.0.3
ResolveReferences of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetConditions ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetConditions(c ...xpv1.Condition)
SetConditions of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetDeletionPolicy ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetManagementPolicies ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetObservation ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) SetObservation(obs map[string]any) error
SetObservation for this SubaccountServiceBroker
func (*SubaccountServiceBroker) SetParameters ¶ added in v1.0.3
func (tr *SubaccountServiceBroker) SetParameters(params map[string]any) error
SetParameters for this SubaccountServiceBroker
func (*SubaccountServiceBroker) SetProviderConfigReference ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetPublishConnectionDetailsTo ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SubaccountServiceBroker.
func (*SubaccountServiceBroker) SetWriteConnectionSecretToReference ¶ added in v1.0.3
func (mg *SubaccountServiceBroker) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SubaccountServiceBroker.
type SubaccountServiceBrokerInitParameters ¶ added in v1.0.3
type SubaccountServiceBrokerInitParameters struct {
// (String) The description of the service broker.
// The description of the service broker.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// (String) The name of the service broker.
// The name of the service broker.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (String, Sensitive) The password for basic authentication against the service broker.
// The password for basic authentication against the service broker.
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// (String) The ID of the subaccount.
// The ID of the subaccount.
// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
// +crossplane:generate:reference:extractor=github.com/crossplane/crossplane-runtime/pkg/reference.ExternalName()
// +crossplane:generate:reference:refFieldName=SubaccountRef
// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
// Reference to a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountRef *v1.Reference `json:"subaccountRef,omitempty" tf:"-"`
// Selector for a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountSelector *v1.Selector `json:"subaccountSelector,omitempty" tf:"-"`
// (String) The URL of the service broker.
// The URL of the service broker.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
// (String) The username for basic authentication against the service broker.
// The username for basic authentication against the service broker.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
func (*SubaccountServiceBrokerInitParameters) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerInitParameters) DeepCopy() *SubaccountServiceBrokerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerInitParameters.
func (*SubaccountServiceBrokerInitParameters) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerInitParameters) DeepCopyInto(out *SubaccountServiceBrokerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubaccountServiceBrokerList ¶ added in v1.0.3
type SubaccountServiceBrokerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SubaccountServiceBroker `json:"items"`
}
SubaccountServiceBrokerList contains a list of SubaccountServiceBrokers
func (*SubaccountServiceBrokerList) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerList) DeepCopy() *SubaccountServiceBrokerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerList.
func (*SubaccountServiceBrokerList) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerList) DeepCopyInto(out *SubaccountServiceBrokerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubaccountServiceBrokerList) DeepCopyObject ¶ added in v1.0.3
func (in *SubaccountServiceBrokerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubaccountServiceBrokerList) GetItems ¶ added in v1.0.3
func (l *SubaccountServiceBrokerList) GetItems() []resource.Managed
GetItems of this SubaccountServiceBrokerList.
type SubaccountServiceBrokerObservation ¶ added in v1.0.3
type SubaccountServiceBrokerObservation struct {
// (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 description of the service broker.
// The description of the service broker.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// (String) The ID of the service broker.
ID *string `json:"id,omitempty" tf:"id,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 broker.
// The name of the service broker.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Boolean) Shows whether the service broker is ready.
// Shows whether the service broker is ready.
Ready *bool `json:"ready,omitempty" tf:"ready,omitempty"`
// (String) The ID of the subaccount.
// The ID of the subaccount.
SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
// (String) The URL of the service broker.
// The URL of the service broker.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
// (String) The username for basic authentication against the service broker.
// The username for basic authentication against the service broker.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
func (*SubaccountServiceBrokerObservation) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerObservation) DeepCopy() *SubaccountServiceBrokerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerObservation.
func (*SubaccountServiceBrokerObservation) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerObservation) DeepCopyInto(out *SubaccountServiceBrokerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubaccountServiceBrokerParameters ¶ added in v1.0.3
type SubaccountServiceBrokerParameters struct {
// (String) The description of the service broker.
// The description of the service broker.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// (String) The name of the service broker.
// The name of the service broker.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (String, Sensitive) The password for basic authentication against the service broker.
// The password for basic authentication against the service broker.
// +kubebuilder:validation:Optional
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// (String) The ID of the subaccount.
// The ID of the subaccount.
// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
// +crossplane:generate:reference:extractor=github.com/crossplane/crossplane-runtime/pkg/reference.ExternalName()
// +crossplane:generate:reference:refFieldName=SubaccountRef
// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
// +kubebuilder:validation:Optional
SubaccountID *string `json:"subaccountId,omitempty" tf:"subaccount_id,omitempty"`
// Reference to a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountRef *v1.Reference `json:"subaccountRef,omitempty" tf:"-"`
// Selector for a Subaccount in account to populate subaccountId.
// +kubebuilder:validation:Optional
SubaccountSelector *v1.Selector `json:"subaccountSelector,omitempty" tf:"-"`
// (String) The URL of the service broker.
// The URL of the service broker.
// +kubebuilder:validation:Optional
URL *string `json:"url,omitempty" tf:"url,omitempty"`
// (String) The username for basic authentication against the service broker.
// The username for basic authentication against the service broker.
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
func (*SubaccountServiceBrokerParameters) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerParameters) DeepCopy() *SubaccountServiceBrokerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerParameters.
func (*SubaccountServiceBrokerParameters) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerParameters) DeepCopyInto(out *SubaccountServiceBrokerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubaccountServiceBrokerSpec ¶ added in v1.0.3
type SubaccountServiceBrokerSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SubaccountServiceBrokerParameters `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 SubaccountServiceBrokerInitParameters `json:"initProvider,omitempty"`
}
SubaccountServiceBrokerSpec defines the desired state of SubaccountServiceBroker
func (*SubaccountServiceBrokerSpec) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerSpec) DeepCopy() *SubaccountServiceBrokerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerSpec.
func (*SubaccountServiceBrokerSpec) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerSpec) DeepCopyInto(out *SubaccountServiceBrokerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubaccountServiceBrokerStatus ¶ added in v1.0.3
type SubaccountServiceBrokerStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SubaccountServiceBrokerObservation `json:"atProvider,omitempty"`
}
SubaccountServiceBrokerStatus defines the observed state of SubaccountServiceBroker.
func (*SubaccountServiceBrokerStatus) DeepCopy ¶ added in v1.0.3
func (in *SubaccountServiceBrokerStatus) DeepCopy() *SubaccountServiceBrokerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceBrokerStatus.
func (*SubaccountServiceBrokerStatus) DeepCopyInto ¶ added in v1.0.3
func (in *SubaccountServiceBrokerStatus) DeepCopyInto(out *SubaccountServiceBrokerStatus)
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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,account}
func (*SubaccountServiceInstance) DeepCopy ¶
func (in *SubaccountServiceInstance) DeepCopy() *SubaccountServiceInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstance.
func (*SubaccountServiceInstance) DeepCopyInto ¶
func (in *SubaccountServiceInstance) DeepCopyInto(out *SubaccountServiceInstance)
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 ¶
func (mg *SubaccountServiceInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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"`
// 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 ¶
func (in *SubaccountServiceInstanceInitParameters) DeepCopy() *SubaccountServiceInstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceInitParameters.
func (*SubaccountServiceInstanceInitParameters) DeepCopyInto ¶
func (in *SubaccountServiceInstanceInitParameters) DeepCopyInto(out *SubaccountServiceInstanceInitParameters)
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 ¶
func (in *SubaccountServiceInstanceList) DeepCopy() *SubaccountServiceInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceList.
func (*SubaccountServiceInstanceList) DeepCopyInto ¶
func (in *SubaccountServiceInstanceList) DeepCopyInto(out *SubaccountServiceInstanceList)
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 ¶
func (l *SubaccountServiceInstanceList) GetItems() []resource.Managed
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"`
// 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 ¶
func (in *SubaccountServiceInstanceObservation) DeepCopy() *SubaccountServiceInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceObservation.
func (*SubaccountServiceInstanceObservation) DeepCopyInto ¶
func (in *SubaccountServiceInstanceObservation) DeepCopyInto(out *SubaccountServiceInstanceObservation)
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"`
// 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 ¶
func (in *SubaccountServiceInstanceParameters) DeepCopy() *SubaccountServiceInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceParameters.
func (*SubaccountServiceInstanceParameters) DeepCopyInto ¶
func (in *SubaccountServiceInstanceParameters) DeepCopyInto(out *SubaccountServiceInstanceParameters)
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 ¶
func (in *SubaccountServiceInstanceSpec) DeepCopy() *SubaccountServiceInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceSpec.
func (*SubaccountServiceInstanceSpec) DeepCopyInto ¶
func (in *SubaccountServiceInstanceSpec) DeepCopyInto(out *SubaccountServiceInstanceSpec)
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 ¶
func (in *SubaccountServiceInstanceStatus) DeepCopy() *SubaccountServiceInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubaccountServiceInstanceStatus.
func (*SubaccountServiceInstanceStatus) DeepCopyInto ¶
func (in *SubaccountServiceInstanceStatus) DeepCopyInto(out *SubaccountServiceInstanceStatus)
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 ¶
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 ¶
func (in *SubscriptionObservation) DeepCopy() *SubscriptionObservation
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, empty plannames are shown as "default" in cockpit, use "" instead
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="planName can't be updated once set"
PlanName string `json:"planName"`
// Subscription parameters allows you to add additional parameters
// +kubebuilder:validation:Optional
SubscriptionParameters runtime.RawExtension `json:"parameters"`
}
SubscriptionParameters are the configurable fields of a Subscription.
func (*SubscriptionParameters) DeepCopy ¶
func (in *SubscriptionParameters) DeepCopy() *SubscriptionParameters
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.CloudManagementSecretNamespace()
CloudManagementSecretNamespace string `json:"cloudManagementSecretNamespace,omitempty"`
// RecreateOnSubscriptionFailure indicates whether the
// creation of the resources shall be retried when creating a
// subscription fails by getting into "SUBSCRIBE_FAILED"
// state.
// +kubebuilder:validation:Optional
RecreateOnSubscriptionFailure bool `json:"recreateOnSubscriptionFailure,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.
Source Files
¶
- cloudmanagement_types.go
- constants.go
- directory_types.go
- doc.go
- entitlement_types.go
- globalaccount_types.go
- servicebinding_types.go
- serviceinstance_types.go
- servicemanager_types.go
- subaccount_types.go
- subscription_types.go
- zz_directoryentitlement_terraformed.go
- zz_directoryentitlement_types.go
- zz_extractors.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_subaccountservicebinding_terraformed.go
- zz_subaccountservicebinding_types.go
- zz_subaccountservicebroker_terraformed.go
- zz_subaccountservicebroker_types.go
- zz_subaccountserviceinstance_terraformed.go
- zz_subaccountserviceinstance_types.go
- zz_tested.go