Subaccount
Kind
account.btp.sap.crossplane.io
Group
v1alpha1
Version

apiVersion: account.btp.sap.crossplane.io/v1alpha1
kind: Subaccount

A Subaccount is a managed resource that represents a subaccount in the SAP Business Technology Platform

spec object

A SubaccountSpec defines the desired state of a Subaccount.


deletionPolicy string

DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223

forProvider object required

SubaccountParameters are the configurable fields of a Subaccount.


betaEnabled boolean

enable beta services and applications?

description string

Description

directoryGuid string

No Description Provided.

directoryRef object

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


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

directorySelector object

A Selector selects an object.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

displayName string required

Display name

globalAccountGuid string

No Description Provided.

globalAccountRef object

GlobalAccountRef is deprecated, please use globalAccount field in the ProviderConfig spec instead and leave this field empty.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

globalAccountSelector object

A Selector selects an object.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

labels object

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.

region string required

Region TODO(i541351): add regex validation https://wiki.one.int.sap/wiki/display/PFS/Region+Details Change requires recreation

subaccountAdmins []string required

No Description Provided.

subdomain string required

Subdomain

usedForProduction string

Used for production

managementPolicies []string

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

providerConfigRef object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

publishConnectionDetailsTo object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.


configRef object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

metadata object

Metadata is the metadata for connection secret.


annotations object

Annotations are the annotations to be added to connection secret.

  • For Kubernetes secrets, this will be used as "metadata.annotations".
  • It is up to Secret Store implementation for others store types.
labels object

Labels are the labels/tags to be added to connection secret.

  • For Kubernetes secrets, this will be used as "metadata.labels".
  • It is up to Secret Store implementation for others store types.
type string

Type is the SecretType for the connection secret.

  • Only valid for Kubernetes Secret Stores.
name string required

Name is the name of the connection secret.

writeConnectionSecretToRef object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.


name string required

Name of the secret.

namespace string required

Namespace of the secret.

status object

A SubaccountStatus represents the observed state of a Subaccount.


atProvider object

SubaccountObservation are the observable fields of a Subaccount.


betaEnabled boolean

enable beta services and applications?

description string

Description

displayName string

Display name

globalAccountGUID string

The unique ID of the subaccount's global account.

labels object

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.

parentGuid string

Guid of directory the subaccount is stored in or otherwise ID of the globalaccount

region string

Region Change requires recreation

status string

Subaccount Status

statusMessage string

Subaccount StatusMessage

subaccountAdmins []string

Admins for the subaccount (service account user already included)

subaccountGuid string

Subaccount ID

subdomain string

Subdomain

usedForProduction string

Used for production

conditions []object

Conditions of the resource.


lastTransitionTime string required

LastTransitionTime is the last time this condition transitioned from one status to another.

message string

A Message containing details about this condition's last transition from one status to another, if any.

reason string required

A Reason for this condition's last transition from one status to another.

status string required

Status of this condition; is it currently True, False, or Unknown?

type string required

Type of this condition. At most one of each condition type may apply to a resource at any point in time.