> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius_iam_v1_tenant_user_account data source

#### Retrieving the Data Source

This data source can be retrieved by only ID.

##### Retrieve by ID

To retrieve by ID, fill in only the `id` field:

```hcl theme={null}
data ... {
    id = "your-ID"
}
```

## Schema

### Required

* `id` (String) Identifier for the resource, unique for its resource type.

### Read-Only

* `created_at` (String) :

  Timestamp indicating when the resource was created.

  A string representing a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DDTHH:MM:SS.SSS±HH:MM`
* `labels` (Map of String) Labels associated with the resource.
* `metadata` (Attributes) :

  #### Inner value description

  Common resource metadata. (see [below for nested schema](#nestedatt--metadata))
* `name` (String) Human readable name for the resource.
* `parent_id` (String) Identifier of the parent resource to which the resource belongs.
* `resource_version` (Number) :

  Version of the resource for safe concurrent modifications and consistent reads.
  Positive and monotonically increases on each resource spec change (but *not* on each change of the
  resource's container(s) or status).
  Service allows zero value or current.
* `status` (Attributes) (see [below for nested schema](#nestedatt--status))
* `updated_at` (String) :

  Timestamp indicating when the resource was last updated.

  A string representing a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DDTHH:MM:SS.SSS±HH:MM`
* `visible_attributes` (Attributes) :

  #### Inner value description

  when a global user account is projected to a specific tenant
  they can give consent for that tenant's owner to view specific personal data
  by listing explicitly visible PDS attributes
  complete list of PDS attributes is described in ../../pds/inner/v1alpha1/iam\_identifier.proto (see [below for nested schema](#nestedatt--visible_attributes))

<a id="nestedatt--metadata" />

### Nested Schema for `metadata`

<a id="nestedatt--status" />

### Nested Schema for `status`

Read-Only:

* `federation_id` (String) :

  the federation id of the linked user account. Could be empty in a case of a tenant user account belongs to an invitation which wasn't
  accepted.
* `invitation_id` (String) :

  if a tenant user account is created during invitation it gets a reference to the invitation resource
  once invitation is accepted it looses this reference (and internally gets a reference to their global federated user account)
* `state` (String) :

  #### Supported values

  Possible values:

  * `STATE_UNSPECIFIED`

  * `ACTIVE`:
    * in case of ordinary tenant user account a corresponding user can log into the system and use granted tenant resources
    * in case of invited tenant user account once the invitation is accepted a corresponding user can start using granted resources
      immediately

  * `INACTIVE` - unused

  * `BLOCKED`:
    * in case of ordinary tenant user account a corresponding user can log into the system but cannot be authorized to use tenant
      resources
    * in case of invited tenant user account once the invitation is accepted a corresponding user cannot start using granted resources
      until is unblocked
* `user_account_state` (String) :

  user account state can help distinguish case when account is blocked globally

  #### Supported values

  Possible values:

  * `STATE_UNSPECIFIED`
  * `ACTIVE` - usual state when federated user can log into the system and view/manage granted resources in one or more tenants
  * `INACTIVE` - federated user can be blocked (manually or by any specific automated process), in this state user cannot log into the system
  * `DELETING`:
    federated user can be deleted/forgot, in this state user cannot log into the system and various internal removal interactions are in
    progress

<a id="nestedatt--visible_attributes" />

### Nested Schema for `visible_attributes`

Read-Only:

* `attribute` (List of String, Sensitive)
