BusinessUnitState
An organizational unit that can contain cost centers. Supports hierarchical structure via parentId.
Fields
Unique identifier
External URL for the calling integration, or the primary identity for unscoped callers.
All linked external identities, including identities belonging to other integrations.
Integration instance that originally created this record, when known.
IaC stack that originally created this record, when known.
IaC stack currently managing this record's configuration and deletion.
External system identifier
Parent business unit ID for hierarchy
Business unit name
Unique code for the business unit
Description of the business unit
Whether the business unit is active
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (4)
Exact type SDL
"""
An organizational unit that can contain cost centers. Supports hierarchical structure via parentId.
"""
type BusinessUnitState @iac_resource(name: "business_unit") @iac_ops(create: "createBusinessUnit", read: "getBusinessUnit", update: "updateBusinessUnit", delete: "deleteBusinessUnit") {
"""Unique identifier"""
id: BusinessUnitID! @iac_identity(assignedBy: SERVER) @iac_computed
"""
External URL for the calling integration, or the primary identity for unscoped callers.
"""
externalUrl: String @iac_computed
"""
All linked external identities, including identities belonging to other integrations.
"""
externalIdentities: [RecordExternalIdentity!]! @iac_computed
"""Integration instance that originally created this record, when known."""
createdByIntegrationId: IntegrationInstanceID @iac_computed @iac_ref(resource: "integration_instance")
"""IaC stack that originally created this record, when known."""
createdByStackId: IaCStackID @iac_computed
"""IaC stack currently managing this record's configuration and deletion."""
managedByStackId: IaCStackID @iac_computed
"""External system identifier"""
externalId: String
"""Parent business unit ID for hierarchy"""
parentId: BusinessUnitID @iac_ref(resource: "business_unit")
"""Business unit name"""
name: String!
"""Unique code for the business unit"""
code: String!
"""Description of the business unit"""
description: String
"""Whether the business unit is active"""
isActive: Boolean!
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}