diff --git a/docs/data-sources/account.md b/docs/data-sources/account.md index 0add2a4..dbcbe45 100644 --- a/docs/data-sources/account.md +++ b/docs/data-sources/account.md @@ -69,7 +69,7 @@ Read-Only: - `active_login` (Boolean) - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups)) +- `groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups)) - `pending_recovery_requests` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--pending_recovery_requests)) - `settings` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--settings)) - `stored_attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--stored_attributes)) @@ -89,13 +89,6 @@ Read-Only: ### Nested Schema for `additional_objects.groups` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items)) - - -### Nested Schema for `additional_objects.groups.items` - Optional: - `additional` (List of String) @@ -104,18 +97,18 @@ Read-Only: - `admin` (Boolean) - `end_date` (String) -- `folder` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--folder)) +- `folder` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--folder)) - `last_used` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--permissions)) - `provisioning_end_time` (String) - `rights` (String) - `uuid` (String) - `visible_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.groups.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.groups.folder` Optional: @@ -123,12 +116,12 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--visible_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--folder--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--visible_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--folder--permissions)) - -### Nested Schema for `additional_objects.groups.items.visible_for_provisioning.links` + +### Nested Schema for `additional_objects.groups.folder.permissions` Read-Only: @@ -138,8 +131,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.visible_for_provisioning.permissions` + +### Nested Schema for `additional_objects.groups.folder.permissions` Read-Only: @@ -150,8 +143,8 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.groups.links` Read-Only: @@ -161,8 +154,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.groups.permissions` Read-Only: @@ -173,7 +166,6 @@ Read-Only: - ### Nested Schema for `additional_objects.pending_recovery_requests` @@ -340,10 +332,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--directory--permissions)) +- `type` (String) - `uuid` (String) diff --git a/docs/data-sources/certificate.md b/docs/data-sources/certificate.md index cd54306..9a935b1 100644 --- a/docs/data-sources/certificate.md +++ b/docs/data-sources/certificate.md @@ -27,7 +27,6 @@ description: |- - `additional_objects` (Attributes) (see [below for nested schema](#nestedatt--additional_objects)) - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -37,6 +36,7 @@ description: |- - `links` (Attributes List) (see [below for nested schema](#nestedatt--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--permissions)) - `subject_dn` (String) +- `type` (String) ### Nested Schema for `additional_objects` diff --git a/docs/data-sources/client.md b/docs/data-sources/client.md index 43d1901..a9e522f 100644 --- a/docs/data-sources/client.md +++ b/docs/data-sources/client.md @@ -26,7 +26,6 @@ description: |- ### Read-Only - `additional_objects` (Attributes) (see [below for nested schema](#nestedatt--additional_objects)) -- `client_client_application_primer_type` (String) - `client_id` (String) - `last_modified_at` (String) - `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--ldap_client)) @@ -39,6 +38,7 @@ description: |- - `scopes` (List of String) - `sso_application` (Boolean) - `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--technical_administrator)) +- `type` (String) ### Nested Schema for `additional_objects` @@ -46,8 +46,8 @@ description: |- Read-Only: - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `groupclients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients)) -- `groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups)) +- `groupclients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients)) +- `groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups)) - `secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--secret)) - `tile` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--tile)) - `vault_record_count` (Number) @@ -66,13 +66,6 @@ Read-Only: ### Nested Schema for `additional_objects.groupclients` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items)) - - -### Nested Schema for `additional_objects.groupclients.items` - Optional: - `additional` (List of String) @@ -80,29 +73,29 @@ Optional: Read-Only: - `activation_required` (Boolean) -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--client)) -- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--group)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--links)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--permissions)) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--client)) +- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--group)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--links)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--permissions)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients--technical_administrator)) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.client` Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--client--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--client--permissions)) - `scopes` (List of String) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.groupclients.client.uuid` Read-Only: @@ -112,8 +105,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.groupclients.client.uuid` Read-Only: @@ -124,19 +117,19 @@ Read-Only: - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.groupclients.group.uuid` Read-Only: @@ -146,8 +139,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.groupclients.group.uuid` Read-Only: @@ -158,8 +151,8 @@ Read-Only: - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.links` Read-Only: @@ -169,19 +162,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.groupclients.owner.uuid` Read-Only: @@ -191,8 +184,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.groupclients.owner.uuid` Read-Only: @@ -203,8 +196,8 @@ Read-Only: - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.permissions` Read-Only: @@ -214,19 +207,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator` + +### Nested Schema for `additional_objects.groupclients.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.groupclients.technical_administrator.uuid` Read-Only: @@ -236,8 +229,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.groupclients.technical_administrator.uuid` Read-Only: @@ -249,17 +242,9 @@ Read-Only: - ### Nested Schema for `additional_objects.groups` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items)) - - -### Nested Schema for `additional_objects.groups.items` - Optional: - `additional` (List of String) @@ -268,23 +253,23 @@ Read-Only: - `admin` (Boolean) - `application_administration` (Boolean) -- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--audit_config)) +- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config)) - `audit_requested` (Boolean) - `auditor` (Boolean) -- `authorizing_group_auditing` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--authorizing_group_auditing)) -- `authorizing_group_delegation` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--authorizing_group_delegation)) -- `authorizing_group_membership` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--authorizing_group_membership)) -- `authorizing_group_provisioning` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--authorizing_group_provisioning)) +- `authorizing_group_auditing` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_auditing)) +- `authorizing_group_delegation` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_delegation)) +- `authorizing_group_membership` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_membership)) +- `authorizing_group_provisioning` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_provisioning)) - `authorizing_group_types` (List of String) -- `classification` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--classification)) +- `classification` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--classification)) - `description` (String) - `extended_access` (String) - `hide_audit_trail` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--links)) - `name` (String) -- `nested_under` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--nested_under)) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions)) +- `nested_under` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--nested_under)) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--permissions)) - `private_group` (Boolean) - `record_trail` (Boolean) - `rotating_password_required` (Boolean) @@ -293,17 +278,17 @@ Read-Only: - `vault_recovery` (String) - `vault_requires_activation` (Boolean) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.audit_config` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config--links)) - `months` (List of String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config--permissions)) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.audit_config.permissions` Read-Only: @@ -313,8 +298,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.audit_config.permissions` Read-Only: @@ -325,19 +310,19 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.authorizing_group_auditing` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_auditing--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_auditing--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.authorizing_group_auditing.uuid` Read-Only: @@ -347,8 +332,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.authorizing_group_auditing.uuid` Read-Only: @@ -359,19 +344,19 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.authorizing_group_delegation` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_delegation--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_delegation--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.authorizing_group_delegation.uuid` Read-Only: @@ -381,8 +366,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.authorizing_group_delegation.uuid` Read-Only: @@ -393,19 +378,19 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.authorizing_group_membership` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_membership--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_membership--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.authorizing_group_membership.uuid` Read-Only: @@ -415,8 +400,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.authorizing_group_membership.uuid` Read-Only: @@ -427,19 +412,19 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.authorizing_group_provisioning` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_provisioning--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--authorizing_group_provisioning--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.authorizing_group_provisioning.uuid` Read-Only: @@ -449,8 +434,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.authorizing_group_provisioning.uuid` Read-Only: @@ -461,18 +446,18 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.classification` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--classification--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--classification--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.classification.uuid` Read-Only: @@ -482,8 +467,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.classification.uuid` Read-Only: @@ -494,8 +479,8 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.links` Read-Only: @@ -505,19 +490,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.nested_under` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--nested_under--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--nested_under--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.nested_under.uuid` Read-Only: @@ -527,8 +512,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.nested_under.uuid` Read-Only: @@ -539,18 +524,18 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--vault_requires_activation--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.links` + +### Nested Schema for `additional_objects.groups.organizational_unit.uuid` Read-Only: @@ -560,8 +545,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation.permissions` + +### Nested Schema for `additional_objects.groups.organizational_unit.uuid` Read-Only: @@ -572,8 +557,8 @@ Read-Only: - -### Nested Schema for `additional_objects.groups.items.vault_requires_activation` + +### Nested Schema for `additional_objects.groups.permissions` Read-Only: @@ -584,7 +569,6 @@ Read-Only: - ### Nested Schema for `additional_objects.secret` @@ -621,7 +605,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -630,6 +613,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--ldap_client--client_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--ldap_client--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) diff --git a/docs/data-sources/directory.md b/docs/data-sources/directory.md index d2bb396..c744f0a 100644 --- a/docs/data-sources/directory.md +++ b/docs/data-sources/directory.md @@ -30,7 +30,6 @@ description: |- - `additional_objects` (Attributes) (see [below for nested schema](#nestedatt--additional_objects)) - `base_organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--base_organizational_unit)) - `default_directory` (Boolean) -- `directory_account_directory_primer_type` (String) - `helpdesk_group` (Attributes) (see [below for nested schema](#nestedatt--helpdesk_group)) - `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--internal_directory)) - `l_d_a_p_directory` (Attributes) (see [below for nested schema](#nestedatt--l_d_a_p_directory)) @@ -41,6 +40,7 @@ description: |- - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--permissions)) - `restrict2fa` (Boolean) - `rotating_password` (String) +- `type` (String) - `username_customizable` (Boolean) @@ -76,11 +76,11 @@ Read-Only: Read-Only: - `level` (String) -- `mark_item_marker_type` (String) - `parameters` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers--markers--parameters)) +- `type` (String) -### Nested Schema for `additional_objects.markers.markers.parameters` +### Nested Schema for `additional_objects.markers.markers.type` @@ -231,7 +231,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -240,6 +239,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--client_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -271,7 +271,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -280,6 +279,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--failover_trusted_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--failover_trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -311,7 +311,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -320,6 +319,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--trusted_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--l_d_a_p_directory--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) diff --git a/docs/data-sources/group.md b/docs/data-sources/group.md index 2f96d59..9939caf 100644 --- a/docs/data-sources/group.md +++ b/docs/data-sources/group.md @@ -57,59 +57,52 @@ description: |- Read-Only: -- `accounts` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--accounts)) -- `administered_clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients)) -- `administered_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems)) -- `admins` (Attributes, Deprecated) (see [below for nested schema](#nestedatt--additional_objects--admins)) +- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts)) +- `administered_clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients)) +- `administered_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems)) +- `admins` (Attributes List, Deprecated) (see [below for nested schema](#nestedatt--additional_objects--admins)) - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) - `authorized_groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--authorized_groups)) -- `client_permissions` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions)) -- `clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients)) -- `content_administered_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems)) +- `client_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions)) +- `clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients)) +- `content_administered_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems)) - `groupauditinginfo` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupauditinginfo)) - `groupinfo` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupinfo)) -- `helpdesk` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk)) +- `helpdesk` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk)) - `markers` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers)) - `myaccount` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--myaccount)) - `mydelegatedaccount` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--mydelegatedaccount)) -- `nested_groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--nested_groups)) -- `owned_clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients)) -- `owned_directories` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories)) +- `nested_groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups)) +- `owned_clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients)) +- `owned_directories` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories)) - `owned_groups_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system)) -- `owned_organizational_units` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units)) -- `owned_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems)) -- `recent_audits` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--recent_audits)) +- `owned_organizational_units` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units)) +- `owned_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems)) +- `recent_audits` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits)) - `requeststatus` (String) -- `service_accounts` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts)) -- `systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems)) +- `service_accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts)) +- `systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems)) - `vault` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--vault)) -- `webhooks` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks)) +- `webhooks` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks)) ### Nested Schema for `additional_objects.accounts` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items)) - - -### Nested Schema for `additional_objects.accounts.items` - Optional: - `additional` (List of String) Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--accounts--items--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--accounts--directory)) - `disconnected_nested` (Boolean) - `display_name` (String) - `end_date` (String) - `last_active` (String) - `last_used` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--links)) - `nested` (Boolean) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--permissions)) - `provisioning_end_time` (String) - `rights` (String) - `two_factor_status` (String) @@ -118,21 +111,21 @@ Read-Only: - `validity` (String) - `visible_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.accounts.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.accounts.directory` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items--visible_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--directory--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items--visible_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--directory--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.accounts.items.visible_for_provisioning.links` + +### Nested Schema for `additional_objects.accounts.directory.uuid` Read-Only: @@ -142,8 +135,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.accounts.items.visible_for_provisioning.permissions` + +### Nested Schema for `additional_objects.accounts.directory.uuid` Read-Only: @@ -154,8 +147,8 @@ Read-Only: - -### Nested Schema for `additional_objects.accounts.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.accounts.links` Read-Only: @@ -165,8 +158,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.accounts.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.accounts.permissions` Read-Only: @@ -177,68 +170,60 @@ Read-Only: - ### Nested Schema for `additional_objects.administered_clients` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items)) - - -### Nested Schema for `additional_objects.administered_clients.items` - Optional: - `additional` (List of String) Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) - `last_modified_at` (String) -- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--ldap_client)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--links)) +- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--links)) - `name` (String) -- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--o_auth2_client)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--permissions)) -- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--saml2_client)) +- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--permissions)) +- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--saml2_client)) - `scopes` (List of String) - `sso_application` (Boolean) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--technical_administrator)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--technical_administrator)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client` Read-Only: - `bind_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--client_certificate)) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--shared_secret)) - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--used_for_provisioning--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--used_for_provisioning--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning.links` Read-Only: @@ -248,8 +233,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning.permissions` Read-Only: @@ -260,20 +245,20 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--used_for_provisioning--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client--used_for_provisioning--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning.links` Read-Only: @@ -283,8 +268,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client.used_for_provisioning.permissions` Read-Only: @@ -296,8 +281,8 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.links` Read-Only: @@ -307,13 +292,13 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client` Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--account_permissions)) -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--attributes)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--account_permissions)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -321,12 +306,12 @@ Read-Only: - `initiate_login_uri` (String) - `resource_uris` (String) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--shared_secret)) - `show_landing_page` (Boolean) - `use_client_credentials` (Boolean) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.account_permissions` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.use_client_credentials` Read-Only: @@ -336,24 +321,24 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.use_client_credentials` - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.use_client_credentials` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--use_client_credentials--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--use_client_credentials--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.use_client_credentials.links` Read-Only: @@ -363,8 +348,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.use_client_credentials.permissions` Read-Only: @@ -376,19 +361,19 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.links` + +### Nested Schema for `additional_objects.administered_clients.owner.uuid` Read-Only: @@ -398,8 +383,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_clients.owner.uuid` Read-Only: @@ -410,8 +395,8 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.permissions` Read-Only: @@ -421,34 +406,34 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.saml2_client` Read-Only: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--saml2_client--attributes)) - `metadata` (String) - `metadata_url` (String) - `subject_format` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_clients.saml2_client.subject_format` - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.links` + +### Nested Schema for `additional_objects.administered_clients.technical_administrator.uuid` Read-Only: @@ -458,8 +443,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_clients.technical_administrator.uuid` Read-Only: @@ -471,61 +456,53 @@ Read-Only: - ### Nested Schema for `additional_objects.administered_systems` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items)) - - -### Nested Schema for `additional_objects.administered_systems.items` - Optional: - `additional` (List of String) Read-Only: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap)) - `account_count` (Number) - `active` (Boolean) -- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--content_administrator)) +- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--content_administrator)) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--organizational_unit)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--permissions)) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_ldap_directory)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--organizational_unit)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--permissions)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) - `should_destroy_unknown_accounts` (Boolean) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--technical_administrator)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--technical_administrator)) +- `type` (String) - `username_prefix` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap` Read-Only: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--attributes)) - `base_dn` (String) - `bind_dn` (String) - `bind_password` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--client_certificate)) - `failover_host` (String) -- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--failover_trusted_certificate)) +- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--failover_trusted_certificate)) - `group_dn` (String) - `host` (String) - `object_classes` (String) @@ -533,32 +510,32 @@ Read-Only: - `service_account_dn` (String) - `ssh_public_key_supported` (Boolean) - `tls` (String) -- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--trusted_certificate)) +- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--trusted_certificate)) - `user_dn` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -568,8 +545,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -580,25 +557,25 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid.failover_trusted_certificate` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--failover_trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--failover_trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -608,8 +585,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -620,25 +597,25 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid.trusted_certificate` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -648,8 +625,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -661,19 +638,19 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.content_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--content_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--content_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.administered_systems.content_administrator.uuid` Read-Only: @@ -683,8 +660,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_systems.content_administrator.uuid` Read-Only: @@ -695,8 +672,8 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.links` Read-Only: @@ -706,18 +683,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.administered_systems.organizational_unit.uuid` Read-Only: @@ -727,8 +704,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_systems.organizational_unit.uuid` Read-Only: @@ -739,19 +716,19 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.administered_systems.owner.uuid` Read-Only: @@ -761,8 +738,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_systems.owner.uuid` Read-Only: @@ -773,8 +750,8 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.permissions` Read-Only: @@ -784,37 +761,37 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_a_d` Read-Only: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_oidc_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_oidc_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_oidc_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_oidc_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_oidc_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_oidc_directory.tenant.links` Read-Only: @@ -824,8 +801,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_oidc_directory.tenant.permissions` Read-Only: @@ -837,31 +814,31 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_sync_ldap_directory` Read-Only: - `client_id` (String) - `client_secret` (String) -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_sync_ldap_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_sync_ldap_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_sync_ldap_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_sync_ldap_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_sync_ldap_directory.tenant.links` Read-Only: @@ -871,8 +848,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_sync_ldap_directory.tenant.permissions` Read-Only: @@ -884,8 +861,8 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_tenant` Read-Only: @@ -895,43 +872,43 @@ Read-Only: - `tenant` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap` Read-Only: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client` Read-Only: - `bind_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--client_certificate)) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--shared_secret)) - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.client_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--used_for_provisioning--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--used_for_provisioning--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--client_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -941,8 +918,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -953,20 +930,20 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.shared_secret` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--used_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--shared_secret--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client--used_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client--shared_secret--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -976,8 +953,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -990,17 +967,17 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap` Read-Only: - `gid` (Number) - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--numbering)) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.numbering` Optional: @@ -1009,13 +986,13 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--numbering--links)) - `name` (String) - `next_uid` (Number) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--numbering--permissions)) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.numbering.links` Read-Only: @@ -1025,8 +1002,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.numbering.permissions` Read-Only: @@ -1038,29 +1015,29 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap_directory--directory)) - `group_dn` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap_directory.group_dn` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap_directory--group_dn--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap_directory--group_dn--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap_directory.group_dn.links` Read-Only: @@ -1070,8 +1047,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap_directory.group_dn.permissions` Read-Only: @@ -1083,19 +1060,19 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.administered_systems.technical_administrator.uuid` Read-Only: @@ -1105,8 +1082,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.administered_systems.technical_administrator.uuid` Read-Only: @@ -1118,32 +1095,24 @@ Read-Only: - ### Nested Schema for `additional_objects.admins` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items)) - - -### Nested Schema for `additional_objects.admins.items` - Optional: - `additional` (List of String) Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--admins--items--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--admins--directory)) - `disconnected_nested` (Boolean) - `display_name` (String) - `end_date` (String) - `last_active` (String) - `last_used` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--links)) - `nested` (Boolean) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--permissions)) - `provisioning_end_time` (String) - `rights` (String) - `two_factor_status` (String) @@ -1152,21 +1121,21 @@ Read-Only: - `validity` (String) - `visible_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.admins.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.admins.directory` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items--visible_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--directory--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items--visible_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--directory--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.admins.items.visible_for_provisioning.links` + +### Nested Schema for `additional_objects.admins.directory.uuid` Read-Only: @@ -1176,8 +1145,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.admins.items.visible_for_provisioning.permissions` + +### Nested Schema for `additional_objects.admins.directory.uuid` Read-Only: @@ -1188,8 +1157,8 @@ Read-Only: - -### Nested Schema for `additional_objects.admins.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.admins.links` Read-Only: @@ -1199,8 +1168,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.admins.items.visible_for_provisioning` + +### Nested Schema for `additional_objects.admins.permissions` Read-Only: @@ -1211,7 +1180,6 @@ Read-Only: - ### Nested Schema for `additional_objects.audit` @@ -1562,33 +1530,26 @@ Read-Only: ### Nested Schema for `additional_objects.client_permissions` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items)) - - -### Nested Schema for `additional_objects.client_permissions.items` - Optional: - `additional` (List of String) Read-Only: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--client)) -- `for_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--for_group)) -- `for_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--for_system)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--permissions)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client)) +- `for_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_group)) +- `for_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--permissions)) - `value` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value` + +### Nested Schema for `additional_objects.client_permissions.client` Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--account_permissions)) -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--attributes)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--account_permissions)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -1596,12 +1557,12 @@ Read-Only: - `initiate_login_uri` (String) - `resource_uris` (String) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--shared_secret)) - `show_landing_page` (Boolean) - `use_client_credentials` (Boolean) - -### Nested Schema for `additional_objects.client_permissions.items.value.account_permissions` + +### Nested Schema for `additional_objects.client_permissions.client.use_client_credentials` Read-Only: @@ -1611,24 +1572,24 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.attributes` + +### Nested Schema for `additional_objects.client_permissions.client.use_client_credentials` - -### Nested Schema for `additional_objects.client_permissions.items.value.shared_secret` + +### Nested Schema for `additional_objects.client_permissions.client.use_client_credentials` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--use_client_credentials--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--use_client_credentials--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.shared_secret.uuid` + +### Nested Schema for `additional_objects.client_permissions.client.use_client_credentials.links` Read-Only: @@ -1638,8 +1599,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.shared_secret.uuid` + +### Nested Schema for `additional_objects.client_permissions.client.use_client_credentials.permissions` Read-Only: @@ -1651,19 +1612,19 @@ Read-Only: - -### Nested Schema for `additional_objects.client_permissions.items.value` + +### Nested Schema for `additional_objects.client_permissions.for_group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.links` + +### Nested Schema for `additional_objects.client_permissions.for_group.uuid` Read-Only: @@ -1673,8 +1634,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.permissions` + +### Nested Schema for `additional_objects.client_permissions.for_group.uuid` Read-Only: @@ -1685,21 +1646,21 @@ Read-Only: - -### Nested Schema for `additional_objects.client_permissions.items.value` + +### Nested Schema for `additional_objects.client_permissions.for_system` Read-Only: - `active` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.links` + +### Nested Schema for `additional_objects.client_permissions.for_system.uuid` Read-Only: @@ -1709,18 +1670,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.organizational_unit` + +### Nested Schema for `additional_objects.client_permissions.for_system.uuid` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--organizational_unit--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system--uuid--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--value--organizational_unit--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--for_system--uuid--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.organizational_unit.uuid` + +### Nested Schema for `additional_objects.client_permissions.for_system.uuid.links` Read-Only: @@ -1730,8 +1691,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value.organizational_unit.uuid` + +### Nested Schema for `additional_objects.client_permissions.for_system.uuid.permissions` Read-Only: @@ -1742,8 +1703,8 @@ Read-Only: - -### Nested Schema for `additional_objects.client_permissions.items.value.permissions` + +### Nested Schema for `additional_objects.client_permissions.for_system.uuid` Read-Only: @@ -1754,8 +1715,8 @@ Read-Only: - -### Nested Schema for `additional_objects.client_permissions.items.value` + +### Nested Schema for `additional_objects.client_permissions.links` Read-Only: @@ -1765,8 +1726,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.value` + +### Nested Schema for `additional_objects.client_permissions.permissions` Read-Only: @@ -1777,17 +1738,9 @@ Read-Only: - ### Nested Schema for `additional_objects.clients` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items)) - - -### Nested Schema for `additional_objects.clients.items` - Optional: - `additional` (List of String) @@ -1795,29 +1748,29 @@ Optional: Read-Only: - `activation_required` (Boolean) -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--items--client)) -- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--items--group)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--links)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--permissions)) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--client)) +- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--group)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--links)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--permissions)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients--technical_administrator)) - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.client` Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--client--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--client--permissions)) - `scopes` (List of String) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.clients.client.uuid` Read-Only: @@ -1827,8 +1780,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.clients.client.uuid` Read-Only: @@ -1839,19 +1792,19 @@ Read-Only: - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.clients.group.uuid` Read-Only: @@ -1861,8 +1814,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.clients.group.uuid` Read-Only: @@ -1873,8 +1826,8 @@ Read-Only: - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.links` Read-Only: @@ -1884,19 +1837,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.clients.owner.uuid` Read-Only: @@ -1906,8 +1859,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.clients.owner.uuid` Read-Only: @@ -1918,8 +1871,8 @@ Read-Only: - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.permissions` Read-Only: @@ -1929,19 +1882,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator` + +### Nested Schema for `additional_objects.clients.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--technical_administrator--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.links` + +### Nested Schema for `additional_objects.clients.technical_administrator.uuid` Read-Only: @@ -1951,8 +1904,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator.permissions` + +### Nested Schema for `additional_objects.clients.technical_administrator.uuid` Read-Only: @@ -1964,61 +1917,53 @@ Read-Only: - ### Nested Schema for `additional_objects.content_administered_systems` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items)) - - -### Nested Schema for `additional_objects.content_administered_systems.items` - Optional: - `additional` (List of String) Read-Only: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap)) - `account_count` (Number) - `active` (Boolean) -- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--content_administrator)) +- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--content_administrator)) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--organizational_unit)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--permissions)) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_ldap_directory)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--organizational_unit)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--permissions)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) - `should_destroy_unknown_accounts` (Boolean) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--technical_administrator)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--technical_administrator)) +- `type` (String) - `username_prefix` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap` Read-Only: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--attributes)) - `base_dn` (String) - `bind_dn` (String) - `bind_password` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--client_certificate)) - `failover_host` (String) -- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--failover_trusted_certificate)) +- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--failover_trusted_certificate)) - `group_dn` (String) - `host` (String) - `object_classes` (String) @@ -2026,32 +1971,32 @@ Read-Only: - `service_account_dn` (String) - `ssh_public_key_supported` (Boolean) - `tls` (String) -- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--trusted_certificate)) +- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--trusted_certificate)) - `user_dn` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -2061,8 +2006,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -2073,25 +2018,25 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.failover_trusted_certificate` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--failover_trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--failover_trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -2101,8 +2046,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -2113,25 +2058,25 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.trusted_certificate` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -2141,8 +2086,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -2154,19 +2099,19 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.content_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--content_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--content_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.content_administered_systems.content_administrator.uuid` Read-Only: @@ -2176,8 +2121,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.content_administrator.uuid` Read-Only: @@ -2188,8 +2133,8 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.links` Read-Only: @@ -2199,18 +2144,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.content_administered_systems.organizational_unit.uuid` Read-Only: @@ -2220,8 +2165,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.organizational_unit.uuid` Read-Only: @@ -2232,19 +2177,19 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.content_administered_systems.owner.uuid` Read-Only: @@ -2254,8 +2199,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.owner.uuid` Read-Only: @@ -2266,8 +2211,8 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.permissions` Read-Only: @@ -2277,37 +2222,37 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_a_d` Read-Only: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_oidc_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_oidc_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_oidc_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_oidc_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_oidc_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_oidc_directory.tenant.links` Read-Only: @@ -2317,8 +2262,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_oidc_directory.tenant.permissions` Read-Only: @@ -2330,31 +2275,31 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_sync_ldap_directory` Read-Only: - `client_id` (String) - `client_secret` (String) -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_sync_ldap_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_sync_ldap_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_sync_ldap_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_sync_ldap_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_sync_ldap_directory.tenant.links` Read-Only: @@ -2364,8 +2309,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_sync_ldap_directory.tenant.permissions` Read-Only: @@ -2377,8 +2322,8 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_tenant` Read-Only: @@ -2388,43 +2333,43 @@ Read-Only: - `tenant` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap` Read-Only: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client` Read-Only: - `bind_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--client_certificate)) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--shared_secret)) - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.client_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--used_for_provisioning--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--used_for_provisioning--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--client_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -2434,8 +2379,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -2446,20 +2391,20 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.shared_secret` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--used_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--shared_secret--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client--used_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client--shared_secret--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -2469,8 +2414,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -2483,17 +2428,17 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap` Read-Only: - `gid` (Number) - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--numbering)) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.numbering` Optional: @@ -2502,13 +2447,13 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--numbering--links)) - `name` (String) - `next_uid` (Number) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--numbering--permissions)) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.numbering.links` Read-Only: @@ -2518,8 +2463,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.numbering.permissions` Read-Only: @@ -2531,29 +2476,29 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap_directory--directory)) - `group_dn` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap_directory.group_dn` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap_directory--group_dn--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap_directory--group_dn--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap_directory.group_dn.links` Read-Only: @@ -2563,8 +2508,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap_directory.group_dn.permissions` Read-Only: @@ -2576,19 +2521,19 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.links` + +### Nested Schema for `additional_objects.content_administered_systems.technical_administrator.uuid` Read-Only: @@ -2598,8 +2543,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.technical_administrator.uuid` Read-Only: @@ -2611,7 +2556,6 @@ Read-Only: - ### Nested Schema for `additional_objects.groupauditinginfo` @@ -2645,24 +2589,17 @@ Read-Only: Read-Only: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items)) - - -### Nested Schema for `additional_objects.helpdesk.items` - -Read-Only: - -- `directory_account_directory_summary_type` (String) - `domain_restriction` (String) - `fully_resolved_issuer` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--permissions)) -- `status` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--status)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--permissions)) +- `status` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--status)) +- `type` (String) - `username_customizable` (Boolean) - -### Nested Schema for `additional_objects.helpdesk.items.username_customizable` + +### Nested Schema for `additional_objects.helpdesk.links` Read-Only: @@ -2672,8 +2609,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.helpdesk.items.username_customizable` + +### Nested Schema for `additional_objects.helpdesk.permissions` Read-Only: @@ -2683,8 +2620,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.helpdesk.items.username_customizable` + +### Nested Schema for `additional_objects.helpdesk.status` Read-Only: @@ -2694,7 +2631,6 @@ Read-Only: - ### Nested Schema for `additional_objects.markers` @@ -2708,11 +2644,11 @@ Read-Only: Read-Only: - `level` (String) -- `mark_item_marker_type` (String) - `parameters` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers--markers--parameters)) +- `type` (String) -### Nested Schema for `additional_objects.markers.markers.parameters` +### Nested Schema for `additional_objects.markers.markers.type` @@ -2750,10 +2686,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--myaccount--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--myaccount--directory--permissions)) +- `type` (String) - `uuid` (String) @@ -2835,10 +2771,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--mydelegatedaccount--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--mydelegatedaccount--directory--permissions)) +- `type` (String) - `uuid` (String) @@ -2892,21 +2828,14 @@ Read-Only: Read-Only: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups--items)) - - -### Nested Schema for `additional_objects.nested_groups.items` - -Read-Only: - - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--nested_groups--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.nested_groups.items.uuid` + +### Nested Schema for `additional_objects.nested_groups.links` Read-Only: @@ -2916,8 +2845,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.nested_groups.items.uuid` + +### Nested Schema for `additional_objects.nested_groups.permissions` Read-Only: @@ -2928,68 +2857,60 @@ Read-Only: - ### Nested Schema for `additional_objects.owned_clients` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items)) - - -### Nested Schema for `additional_objects.owned_clients.items` - Optional: - `additional` (List of String) Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) - `last_modified_at` (String) -- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--ldap_client)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--links)) +- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--links)) - `name` (String) -- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--o_auth2_client)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--permissions)) -- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--saml2_client)) +- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--permissions)) +- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--saml2_client)) - `scopes` (List of String) - `sso_application` (Boolean) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--technical_administrator)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--technical_administrator)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client` Read-Only: - `bind_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--client_certificate)) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--shared_secret)) - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--used_for_provisioning--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--used_for_provisioning--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning.links` Read-Only: @@ -2999,8 +2920,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning.permissions` Read-Only: @@ -3011,20 +2932,20 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--used_for_provisioning--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client--used_for_provisioning--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning.links` Read-Only: @@ -3034,8 +2955,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client.used_for_provisioning.permissions` Read-Only: @@ -3047,8 +2968,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.links` Read-Only: @@ -3058,13 +2979,13 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client` Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--account_permissions)) -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--attributes)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--account_permissions)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -3072,12 +2993,12 @@ Read-Only: - `initiate_login_uri` (String) - `resource_uris` (String) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--shared_secret)) - `show_landing_page` (Boolean) - `use_client_credentials` (Boolean) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.account_permissions` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.use_client_credentials` Read-Only: @@ -3087,24 +3008,24 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.use_client_credentials` - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.use_client_credentials` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--use_client_credentials--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--use_client_credentials--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.use_client_credentials.links` Read-Only: @@ -3114,8 +3035,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.shared_secret.uuid` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.use_client_credentials.permissions` Read-Only: @@ -3127,19 +3048,19 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.links` + +### Nested Schema for `additional_objects.owned_clients.owner.uuid` Read-Only: @@ -3149,8 +3070,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_clients.owner.uuid` Read-Only: @@ -3161,8 +3082,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.permissions` Read-Only: @@ -3172,34 +3093,34 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.saml2_client` Read-Only: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--saml2_client--attributes)) - `metadata` (String) - `metadata_url` (String) - `subject_format` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_clients.saml2_client.subject_format` - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.links` + +### Nested Schema for `additional_objects.owned_clients.technical_administrator.uuid` Read-Only: @@ -3209,8 +3130,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_clients.technical_administrator.uuid` Read-Only: @@ -3222,17 +3143,9 @@ Read-Only: - ### Nested Schema for `additional_objects.owned_directories` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items)) - - -### Nested Schema for `additional_objects.owned_directories.items` - Optional: - `additional` (List of String) @@ -3241,34 +3154,34 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `base_organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--base_organizational_unit)) +- `base_organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--base_organizational_unit)) - `default_directory` (Boolean) -- `directory_account_directory_primer_type` (String) -- `helpdesk_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--helpdesk_group)) -- `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--internal_directory)) -- `l_d_a_p_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--l_d_a_p_directory)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--links)) -- `maintenance_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--maintenance_directory)) +- `helpdesk_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--helpdesk_group)) +- `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--internal_directory)) +- `l_d_a_p_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--links)) +- `maintenance_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--maintenance_directory)) - `name` (String) -- `o_id_c_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--o_id_c_directory)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--permissions)) +- `o_id_c_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--o_id_c_directory)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--permissions)) - `restrict2fa` (Boolean) - `rotating_password` (String) +- `type` (String) - `username_customizable` (Boolean) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.base_organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--base_organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--base_organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.links` + +### Nested Schema for `additional_objects.owned_directories.base_organizational_unit.uuid` Read-Only: @@ -3278,8 +3191,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_directories.base_organizational_unit.uuid` Read-Only: @@ -3290,19 +3203,19 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.helpdesk_group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--helpdesk_group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--helpdesk_group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.links` + +### Nested Schema for `additional_objects.owned_directories.helpdesk_group.uuid` Read-Only: @@ -3312,8 +3225,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_directories.helpdesk_group.uuid` Read-Only: @@ -3324,26 +3237,26 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.internal_directory` Read-Only: -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--owner)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--internal_directory--owner)) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.owner` + +### Nested Schema for `additional_objects.owned_directories.internal_directory.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--owner--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--internal_directory--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--owner--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--internal_directory--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.owner.uuid` + +### Nested Schema for `additional_objects.owned_directories.internal_directory.owner.links` Read-Only: @@ -3353,8 +3266,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.owner.uuid` + +### Nested Schema for `additional_objects.owned_directories.internal_directory.owner.permissions` Read-Only: @@ -3366,17 +3279,17 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory` Read-Only: - `attributes_to_store` (String) - `base_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--client_certificate)) - `dialect` (String) - `failover_host` (String) -- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--failover_trusted_certificate)) +- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--failover_trusted_certificate)) - `host` (String) - `password_recovery` (String) - `port` (Number) @@ -3384,27 +3297,27 @@ Read-Only: - `search_bind_password` (String) - `search_filter` (String) - `tls` (String) -- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--trusted_certificate)) +- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate)) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.links` Read-Only: @@ -3414,8 +3327,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.permissions` Read-Only: @@ -3426,25 +3339,25 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid.failover_trusted_certificate` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--failover_trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--failover_trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.links` Read-Only: @@ -3454,8 +3367,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.permissions` Read-Only: @@ -3466,25 +3379,25 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid.trusted_certificate` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--uuid--trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.links` Read-Only: @@ -3494,8 +3407,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory.trusted_certificate.permissions` Read-Only: @@ -3507,8 +3420,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.links` Read-Only: @@ -3518,12 +3431,12 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.maintenance_directory` - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.o_id_c_directory` Read-Only: @@ -3540,8 +3453,8 @@ Read-Only: - `vendor_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.permissions` Read-Only: @@ -3552,7 +3465,6 @@ Read-Only: - ### Nested Schema for `additional_objects.owned_groups_on_system` @@ -3645,7 +3557,7 @@ Read-Only: - `name` (String) - `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--organizational_unit)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system--items--type--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `type` (String) - `uuid` (String) @@ -3709,13 +3621,6 @@ Read-Only: ### Nested Schema for `additional_objects.owned_organizational_units` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items)) - - -### Nested Schema for `additional_objects.owned_organizational_units.items` - Optional: - `additional` (List of String) @@ -3724,15 +3629,15 @@ Read-Only: - `depth` (Number) - `description` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--links)) - `name` (String) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--owner)) -- `parent` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--parent)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--permissions)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--owner)) +- `parent` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--parent)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.links` Read-Only: @@ -3742,19 +3647,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid.links` + +### Nested Schema for `additional_objects.owned_organizational_units.owner.uuid` Read-Only: @@ -3764,8 +3669,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_organizational_units.owner.uuid` Read-Only: @@ -3776,18 +3681,18 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.parent` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--parent--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--parent--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid.links` + +### Nested Schema for `additional_objects.owned_organizational_units.parent.uuid` Read-Only: @@ -3797,8 +3702,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_organizational_units.parent.uuid` Read-Only: @@ -3809,8 +3714,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.permissions` Read-Only: @@ -3821,61 +3726,53 @@ Read-Only: - ### Nested Schema for `additional_objects.owned_systems` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items)) - - -### Nested Schema for `additional_objects.owned_systems.items` - Optional: - `additional` (List of String) Read-Only: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap)) - `account_count` (Number) - `active` (Boolean) -- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--content_administrator)) +- `content_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--content_administrator)) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--organizational_unit)) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--permissions)) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_ldap_directory)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--organizational_unit)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--permissions)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) - `should_destroy_unknown_accounts` (Boolean) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--technical_administrator)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--technical_administrator)) +- `type` (String) - `username_prefix` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap` Read-Only: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--attributes)) - `base_dn` (String) - `bind_dn` (String) - `bind_password` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--client_certificate)) - `failover_host` (String) -- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--failover_trusted_certificate)) +- `failover_trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--failover_trusted_certificate)) - `group_dn` (String) - `host` (String) - `object_classes` (String) @@ -3883,32 +3780,32 @@ Read-Only: - `service_account_dn` (String) - `ssh_public_key_supported` (Boolean) - `tls` (String) -- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--trusted_certificate)) +- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--trusted_certificate)) - `user_dn` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client_certificate` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -3918,8 +3815,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -3930,25 +3827,25 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid.failover_trusted_certificate` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--failover_trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--failover_trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -3958,8 +3855,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.failover_trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -3970,25 +3867,25 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid.trusted_certificate` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--trusted_certificate--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--trusted_certificate--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--user_dn--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.links` Read-Only: @@ -3998,8 +3895,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.trusted_certificate.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn.permissions` Read-Only: @@ -4011,19 +3908,19 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.content_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--content_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--content_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.links` + +### Nested Schema for `additional_objects.owned_systems.content_administrator.uuid` Read-Only: @@ -4033,8 +3930,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_systems.content_administrator.uuid` Read-Only: @@ -4045,8 +3942,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.links` Read-Only: @@ -4056,18 +3953,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.links` + +### Nested Schema for `additional_objects.owned_systems.organizational_unit.uuid` Read-Only: @@ -4077,8 +3974,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_systems.organizational_unit.uuid` Read-Only: @@ -4089,19 +3986,19 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.owner` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--owner--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--owner--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.links` + +### Nested Schema for `additional_objects.owned_systems.owner.uuid` Read-Only: @@ -4111,8 +4008,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_systems.owner.uuid` Read-Only: @@ -4123,8 +4020,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.permissions` Read-Only: @@ -4134,37 +4031,37 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_a_d` Read-Only: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_oidc_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_oidc_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_oidc_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_oidc_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_oidc_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_oidc_directory.tenant.links` Read-Only: @@ -4174,8 +4071,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_oidc_directory.tenant.permissions` Read-Only: @@ -4187,31 +4084,31 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_sync_ldap_directory` Read-Only: - `client_id` (String) - `client_secret` (String) -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_sync_ldap_directory--directory)) - `tenant` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_sync_ldap_directory.tenant` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_sync_ldap_directory--tenant--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_sync_ldap_directory--tenant--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_sync_ldap_directory.tenant.links` Read-Only: @@ -4221,8 +4118,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_sync_ldap_directory.tenant.permissions` Read-Only: @@ -4234,8 +4131,8 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_tenant` Read-Only: @@ -4245,43 +4142,43 @@ Read-Only: - `tenant` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap` Read-Only: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client` Read-Only: - `bind_dn` (String) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--client_certificate)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--client_certificate)) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--shared_secret)) - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.client_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--used_for_provisioning--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--used_for_provisioning--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--client_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -4291,8 +4188,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.client_certificate.uuid` Read-Only: @@ -4303,20 +4200,20 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.shared_secret` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--used_for_provisioning--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--shared_secret--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client--used_for_provisioning--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client--shared_secret--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -4326,8 +4223,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client.used_for_provisioning.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client.shared_secret.uuid` Read-Only: @@ -4340,17 +4237,17 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap` Read-Only: - `gid` (Number) - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--numbering)) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.numbering` Optional: @@ -4359,13 +4256,13 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--numbering--links)) - `name` (String) - `next_uid` (Number) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--numbering--permissions)) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.numbering.links` Read-Only: @@ -4375,8 +4272,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.numbering.permissions` Read-Only: @@ -4388,29 +4285,29 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap_directory` Read-Only: -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap_directory--directory)) - `group_dn` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap_directory.group_dn` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap_directory--group_dn--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--directory--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap_directory--group_dn--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap_directory.group_dn.links` Read-Only: @@ -4420,8 +4317,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.directory.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap_directory.group_dn.permissions` Read-Only: @@ -4433,19 +4330,19 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.links` + +### Nested Schema for `additional_objects.owned_systems.technical_administrator.uuid` Read-Only: @@ -4455,8 +4352,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.permissions` + +### Nested Schema for `additional_objects.owned_systems.technical_administrator.uuid` Read-Only: @@ -4468,39 +4365,31 @@ Read-Only: - ### Nested Schema for `additional_objects.recent_audits` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items)) - - -### Nested Schema for `additional_objects.recent_audits.items` - Optional: - `additional` (List of String) Read-Only: -- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--accounts)) +- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts)) - `comment` (String) - `created_at` (String) - `created_by` (String) - `group_name` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--links)) - `name_on_audit` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--permissions)) - `reviewed_at` (String) - `reviewed_by` (String) - `status` (String) - `submitted_at` (String) - `submitted_by` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.accounts` Read-Only: @@ -4513,14 +4402,14 @@ Read-Only: - `end_date` (String) - `last_active` (String) - `last_used` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--submitted_by--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts--links)) - `nested` (Boolean) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--submitted_by--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts--permissions)) - `rights` (String) - `username` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by.links` + +### Nested Schema for `additional_objects.recent_audits.accounts.username` Read-Only: @@ -4530,8 +4419,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by.permissions` + +### Nested Schema for `additional_objects.recent_audits.accounts.username` Read-Only: @@ -4542,8 +4431,8 @@ Read-Only: - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.links` Read-Only: @@ -4553,8 +4442,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.permissions` Read-Only: @@ -4565,17 +4454,9 @@ Read-Only: - ### Nested Schema for `additional_objects.service_accounts` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items)) - - -### Nested Schema for `additional_objects.service_accounts.items` - Optional: - `additional` (List of String) @@ -4584,18 +4465,18 @@ Read-Only: - `active` (Boolean) - `description` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--links)) - `name` (String) -- `password` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--password)) +- `password` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--password)) - `password_rotation` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--permissions)) -- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--system)) -- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--technical_administrator)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--permissions)) +- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system)) +- `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--technical_administrator)) - `username` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.links` Read-Only: @@ -4605,20 +4486,20 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.password` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--password--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--password--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.links` + +### Nested Schema for `additional_objects.service_accounts.password.uuid` Read-Only: @@ -4628,8 +4509,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.permissions` + +### Nested Schema for `additional_objects.service_accounts.password.uuid` Read-Only: @@ -4640,8 +4521,8 @@ Read-Only: - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.permissions` Read-Only: @@ -4651,21 +4532,21 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.system` Read-Only: - `active` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.links` + +### Nested Schema for `additional_objects.service_accounts.system.uuid` Read-Only: @@ -4675,18 +4556,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.organizational_unit` + +### Nested Schema for `additional_objects.service_accounts.system.uuid` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--organizational_unit--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system--uuid--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--organizational_unit--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--system--uuid--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.organizational_unit.uuid` + +### Nested Schema for `additional_objects.service_accounts.system.uuid.links` Read-Only: @@ -4696,8 +4577,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.organizational_unit.uuid` + +### Nested Schema for `additional_objects.service_accounts.system.uuid.permissions` Read-Only: @@ -4708,8 +4589,8 @@ Read-Only: - -### Nested Schema for `additional_objects.service_accounts.items.uuid.permissions` + +### Nested Schema for `additional_objects.service_accounts.system.uuid` Read-Only: @@ -4720,19 +4601,19 @@ Read-Only: - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.technical_administrator` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--technical_administrator--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--technical_administrator--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.links` + +### Nested Schema for `additional_objects.service_accounts.technical_administrator.uuid` Read-Only: @@ -4742,8 +4623,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid.permissions` + +### Nested Schema for `additional_objects.service_accounts.technical_administrator.uuid` Read-Only: @@ -4755,17 +4636,9 @@ Read-Only: - ### Nested Schema for `additional_objects.systems` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items)) - - -### Nested Schema for `additional_objects.systems.items` - Optional: - `additional` (List of String) @@ -4773,24 +4646,24 @@ Optional: Read-Only: - `activation_required` (Boolean) -- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--group)) -- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--group_on_system)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions)) +- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group)) +- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--permissions)) - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.links` + +### Nested Schema for `additional_objects.systems.group.uuid` Read-Only: @@ -4800,8 +4673,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.permissions` + +### Nested Schema for `additional_objects.systems.group.uuid` Read-Only: @@ -4812,8 +4685,8 @@ Read-Only: - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.group_on_system` Optional: @@ -4822,16 +4695,16 @@ Optional: Read-Only: - `display_name` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--links)) - `name_in_system` (String) -- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--owner)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--permissions)) +- `owner` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--owner)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--permissions)) - `short_name_in_system` (String) -- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system)) +- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--system)) - `type` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.links` + +### Nested Schema for `additional_objects.systems.group_on_system.type` Read-Only: @@ -4841,19 +4714,19 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.owner` + +### Nested Schema for `additional_objects.systems.group_on_system.type` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--owner--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--owner--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.owner.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.links` Read-Only: @@ -4863,8 +4736,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.owner.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.permissions` Read-Only: @@ -4875,8 +4748,8 @@ Read-Only: - -### Nested Schema for `additional_objects.systems.items.permissions.permissions` + +### Nested Schema for `additional_objects.systems.group_on_system.type` Read-Only: @@ -4886,21 +4759,21 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.system` + +### Nested Schema for `additional_objects.systems.group_on_system.type` Read-Only: - `active` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.system.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.links` Read-Only: @@ -4910,18 +4783,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.system.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.organizational_unit` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system--uuid--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--organizational_unit--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--system--uuid--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--type--organizational_unit--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.system.uuid.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.organizational_unit.uuid` Read-Only: @@ -4931,8 +4804,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.system.uuid.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.organizational_unit.uuid` Read-Only: @@ -4943,8 +4816,8 @@ Read-Only: - -### Nested Schema for `additional_objects.systems.items.permissions.system.uuid` + +### Nested Schema for `additional_objects.systems.group_on_system.type.permissions` Read-Only: @@ -4956,8 +4829,8 @@ Read-Only: - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.links` Read-Only: @@ -4967,8 +4840,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.permissions` Read-Only: @@ -4979,7 +4852,6 @@ Read-Only: - ### Nested Schema for `additional_objects.vault` @@ -5063,58 +4935,51 @@ Read-Only: ### Nested Schema for `additional_objects.webhooks` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items)) - - -### Nested Schema for `additional_objects.webhooks.items` - Optional: - `additional` (List of String) Read-Only: -- `account` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--account)) +- `account` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--account)) - `active` (Boolean) - `all_types` (Boolean) - `authentication_scheme` (String) - `basic_auth_password` (String) - `basic_auth_username` (String) - `bearer_token` (String) -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--client)) -- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--client_certificate)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client)) +- `client_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client_certificate)) - `custom_header_name` (String) - `custom_header_value` (String) -- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--directory)) -- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--group)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--links)) +- `directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--directory)) +- `group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--group)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--permissions)) -- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--system)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--permissions)) +- `system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system)) - `tls` (String) -- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--trusted_certificate)) +- `trusted_certificate` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--trusted_certificate)) - `types` (List of String) - `url` (String) - `uuid` (String) - `verbose_payloads` (Boolean) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.account` Read-Only: - `display_name` (String) - `last_active` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--account--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--account--permissions)) - `username` (String) - `uuid` (String) - `validity` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.account.validity` Read-Only: @@ -5124,8 +4989,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.account.validity` Read-Only: @@ -5136,22 +5001,22 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.client` Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client--permissions)) - `scopes` (List of String) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.client.uuid` Read-Only: @@ -5161,8 +5026,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.client.uuid` Read-Only: @@ -5173,25 +5038,25 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.client_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.client_certificate.uuid` Read-Only: @@ -5201,8 +5066,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.client_certificate.uuid` Read-Only: @@ -5213,21 +5078,21 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.directory` Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--directory--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--directory--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.directory.uuid` Read-Only: @@ -5237,8 +5102,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.directory.uuid` Read-Only: @@ -5249,19 +5114,19 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.group.uuid` Read-Only: @@ -5271,8 +5136,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.group.uuid` Read-Only: @@ -5283,8 +5148,8 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.links` Read-Only: @@ -5294,8 +5159,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.permissions` Read-Only: @@ -5305,21 +5170,21 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.system` Read-Only: - `active` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.system.uuid` Read-Only: @@ -5329,18 +5194,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.organizational_unit` + +### Nested Schema for `additional_objects.webhooks.system.uuid` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--organizational_unit--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system--uuid--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--organizational_unit--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--system--uuid--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.organizational_unit.uuid` + +### Nested Schema for `additional_objects.webhooks.system.uuid.links` Read-Only: @@ -5350,8 +5215,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.organizational_unit.uuid` + +### Nested Schema for `additional_objects.webhooks.system.uuid.permissions` Read-Only: @@ -5362,8 +5227,8 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.system.uuid` Read-Only: @@ -5374,25 +5239,25 @@ Read-Only: - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads` + +### Nested Schema for `additional_objects.webhooks.trusted_certificate` Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) - `fingerprint_sha256` (String) - `global` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--verbose_payloads--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--trusted_certificate--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.links` + +### Nested Schema for `additional_objects.webhooks.trusted_certificate.uuid` Read-Only: @@ -5402,8 +5267,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.verbose_payloads.permissions` + +### Nested Schema for `additional_objects.webhooks.trusted_certificate.uuid` Read-Only: @@ -5416,7 +5281,6 @@ Read-Only: - ### Nested Schema for `audit_config` diff --git a/docs/data-sources/serviceaccount.md b/docs/data-sources/serviceaccount.md index 8d4f8b2..911294b 100644 --- a/docs/data-sources/serviceaccount.md +++ b/docs/data-sources/serviceaccount.md @@ -43,7 +43,7 @@ description: |- Read-Only: - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups)) +- `groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups)) - `secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--secret)) @@ -60,13 +60,6 @@ Read-Only: ### Nested Schema for `additional_objects.groups` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items)) - - -### Nested Schema for `additional_objects.groups.items` - Optional: - `additional` (List of String) @@ -74,14 +67,14 @@ Optional: Read-Only: - `display_name` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--links)) - `name_in_system` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--permissions)) - `short_name_in_system` (String) - `type` (String) - -### Nested Schema for `additional_objects.groups.items.type` + +### Nested Schema for `additional_objects.groups.links` Read-Only: @@ -91,8 +84,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.type` + +### Nested Schema for `additional_objects.groups.permissions` Read-Only: @@ -103,7 +96,6 @@ Read-Only: - ### Nested Schema for `additional_objects.secret` @@ -186,7 +178,7 @@ Read-Only: - `name` (String) - `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--system--organizational_unit)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--system--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `type` (String) ### Nested Schema for `system.links` diff --git a/docs/data-sources/system.md b/docs/data-sources/system.md index f6918d8..6fac57b 100644 --- a/docs/data-sources/system.md +++ b/docs/data-sources/system.md @@ -43,12 +43,12 @@ description: |- - `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--provisioned_internal_ldap)) - `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--provisioned_ldap)) - `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--provisioned_ldap_directory)) -- `provisioning_provisioned_system_primer_type` (String) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) - `should_destroy_unknown_accounts` (Boolean) - `technical_administrator` (Attributes) (see [below for nested schema](#nestedatt--technical_administrator)) +- `type` (String) - `username_prefix` (String) @@ -83,7 +83,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -92,6 +91,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--client_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -123,7 +123,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -132,6 +131,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--failover_trusted_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--failover_trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -163,7 +163,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -172,6 +171,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--trusted_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--abstract_provisioned_ldap--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -205,7 +205,7 @@ Read-Only: - `account` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--account)) - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `issued_permissions` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions)) +- `issued_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions)) - `login_name` (String) - `management_permissions` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--management_permissions)) - `markers` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers)) @@ -267,33 +267,26 @@ Read-Only: ### Nested Schema for `additional_objects.issued_permissions` -Read-Only: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items)) - - -### Nested Schema for `additional_objects.issued_permissions.items` - Optional: - `additional` (List of String) Read-Only: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--client)) -- `for_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--for_group)) -- `for_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--for_system)) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--permissions)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client)) +- `for_group` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_group)) +- `for_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--permissions)) - `value` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value` + +### Nested Schema for `additional_objects.issued_permissions.client` Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--account_permissions)) -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--attributes)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client--account_permissions)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -301,12 +294,12 @@ Read-Only: - `initiate_login_uri` (String) - `resource_uris` (String) - `share_secret_in_vault` (Boolean) -- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--shared_secret)) +- `shared_secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client--shared_secret)) - `show_landing_page` (Boolean) - `use_client_credentials` (Boolean) - -### Nested Schema for `additional_objects.issued_permissions.items.value.account_permissions` + +### Nested Schema for `additional_objects.issued_permissions.client.use_client_credentials` Read-Only: @@ -316,24 +309,24 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.attributes` + +### Nested Schema for `additional_objects.issued_permissions.client.use_client_credentials` - -### Nested Schema for `additional_objects.issued_permissions.items.value.shared_secret` + +### Nested Schema for `additional_objects.issued_permissions.client.use_client_credentials` Read-Only: - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--shared_secret--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client--use_client_credentials--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--shared_secret--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--client--use_client_credentials--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.shared_secret.uuid` + +### Nested Schema for `additional_objects.issued_permissions.client.use_client_credentials.links` Read-Only: @@ -343,8 +336,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.shared_secret.uuid` + +### Nested Schema for `additional_objects.issued_permissions.client.use_client_credentials.permissions` Read-Only: @@ -356,19 +349,19 @@ Read-Only: - -### Nested Schema for `additional_objects.issued_permissions.items.value` + +### Nested Schema for `additional_objects.issued_permissions.for_group` Read-Only: - `admin` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_group--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_group--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.links` + +### Nested Schema for `additional_objects.issued_permissions.for_group.uuid` Read-Only: @@ -378,8 +371,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.permissions` + +### Nested Schema for `additional_objects.issued_permissions.for_group.uuid` Read-Only: @@ -390,21 +383,21 @@ Read-Only: - -### Nested Schema for `additional_objects.issued_permissions.items.value` + +### Nested Schema for `additional_objects.issued_permissions.for_system` Read-Only: - `active` (Boolean) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system--links)) - `name` (String) -- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--organizational_unit)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system--organizational_unit)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.links` + +### Nested Schema for `additional_objects.issued_permissions.for_system.uuid` Read-Only: @@ -414,18 +407,18 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.organizational_unit` + +### Nested Schema for `additional_objects.issued_permissions.for_system.uuid` Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--organizational_unit--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system--uuid--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--items--value--organizational_unit--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--issued_permissions--for_system--uuid--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.organizational_unit.uuid` + +### Nested Schema for `additional_objects.issued_permissions.for_system.uuid.links` Read-Only: @@ -435,8 +428,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value.organizational_unit.uuid` + +### Nested Schema for `additional_objects.issued_permissions.for_system.uuid.permissions` Read-Only: @@ -447,8 +440,8 @@ Read-Only: - -### Nested Schema for `additional_objects.issued_permissions.items.value.permissions` + +### Nested Schema for `additional_objects.issued_permissions.for_system.uuid` Read-Only: @@ -459,8 +452,8 @@ Read-Only: - -### Nested Schema for `additional_objects.issued_permissions.items.value` + +### Nested Schema for `additional_objects.issued_permissions.links` Read-Only: @@ -470,8 +463,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.issued_permissions.items.value` + +### Nested Schema for `additional_objects.issued_permissions.permissions` Read-Only: @@ -482,7 +475,6 @@ Read-Only: - ### Nested Schema for `additional_objects.management_permissions` @@ -506,11 +498,11 @@ Read-Only: Read-Only: - `level` (String) -- `mark_item_marker_type` (String) - `parameters` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers--markers--parameters)) +- `type` (String) -### Nested Schema for `additional_objects.markers.markers.parameters` +### Nested Schema for `additional_objects.markers.markers.type` @@ -684,10 +676,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_azure_oidc_directory--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_azure_oidc_directory--directory--permissions)) +- `type` (String) - `uuid` (String) @@ -731,10 +723,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_azure_sync_ldap_directory--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_azure_sync_ldap_directory--directory--permissions)) +- `type` (String) - `uuid` (String) @@ -796,7 +788,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -805,6 +796,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_internal_ldap--client--client_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_internal_ldap--client--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -930,10 +922,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_ldap_directory--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--provisioned_ldap_directory--directory--permissions)) +- `type` (String) - `uuid` (String) diff --git a/docs/data-sources/vaultrecord.md b/docs/data-sources/vaultrecord.md index f77df22..39a242c 100644 --- a/docs/data-sources/vaultrecord.md +++ b/docs/data-sources/vaultrecord.md @@ -49,7 +49,7 @@ Read-Only: - `password_metadata` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--password_metadata)) - `secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--secret)) - `share_summary` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--share_summary)) -- `shares` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--shares)) +- `shares` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares)) - `tile` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--tile)) - `vaultholder` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--vaultholder)) @@ -140,7 +140,7 @@ Read-Only: Read-Only: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) @@ -149,7 +149,7 @@ Read-Only: Read-Only: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) @@ -158,22 +158,15 @@ Read-Only: Read-Only: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares--items)) - - -### Nested Schema for `additional_objects.shares.items` - -Read-Only: - - `color` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares--links)) - `name` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--shares--permissions)) - `share_end_time` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.shares.items.uuid` + +### Nested Schema for `additional_objects.shares.links` Read-Only: @@ -183,8 +176,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.shares.items.uuid` + +### Nested Schema for `additional_objects.shares.permissions` Read-Only: @@ -195,7 +188,6 @@ Read-Only: - ### Nested Schema for `additional_objects.tile` diff --git a/docs/data-sources/webhook.md b/docs/data-sources/webhook.md index c0740ff..1e602bb 100644 --- a/docs/data-sources/webhook.md +++ b/docs/data-sources/webhook.md @@ -109,13 +109,13 @@ Read-Only: Read-Only: -- `client_client_application_primer_type` (String) - `client_id` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--client--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--client--permissions)) - `scopes` (List of String) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) @@ -147,7 +147,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -156,6 +155,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--client_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--client_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) @@ -188,10 +188,10 @@ Read-Only: - `account_validity_supported` (Boolean) - `active` (Boolean) -- `directory_account_directory_primer_type` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--directory--links)) - `name` (String) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--directory--permissions)) +- `type` (String) - `uuid` (String) @@ -283,7 +283,7 @@ Read-Only: - `name` (String) - `organizational_unit` (Attributes) (see [below for nested schema](#nestedatt--system--organizational_unit)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--system--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `type` (String) - `uuid` (String) @@ -348,7 +348,6 @@ Read-Only: Read-Only: - `alias` (String) -- `certificate_certificate_primer_type` (String) - `certificate_data` (List of String) - `expiration` (String) - `fingerprint_sha1` (String) @@ -357,6 +356,7 @@ Read-Only: - `links` (Attributes List) (see [below for nested schema](#nestedatt--trusted_certificate--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--trusted_certificate--permissions)) - `subject_dn` (String) +- `type` (String) - `uuid` (String) diff --git a/docs/resources/client_vaultrecord.md b/docs/resources/client_vaultrecord.md index 6ddbd39..6569cfa 100644 --- a/docs/resources/client_vaultrecord.md +++ b/docs/resources/client_vaultrecord.md @@ -54,7 +54,7 @@ Read-Only: - `parent_uuid` (String) - `password_metadata` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--password_metadata)) - `share_summary` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--share_summary)) -- `shares` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--shares)) +- `shares` (List of String) - `vaultholder` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--vaultholder)) @@ -114,7 +114,7 @@ Optional: Optional: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) @@ -123,18 +123,10 @@ Optional: Optional: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) - -### Nested Schema for `additional_objects.shares` - -Optional: - -- `items` (List of String) - - ### Nested Schema for `additional_objects.vaultholder` diff --git a/docs/resources/clientapplication.md b/docs/resources/clientapplication.md index 2b8aa82..9712b76 100644 --- a/docs/resources/clientapplication.md +++ b/docs/resources/clientapplication.md @@ -32,11 +32,11 @@ description: |- ### Read-Only -- `client_client_application_primer_type` (String) - `last_modified_at` (String) - `links` (Attributes List) (see [below for nested schema](#nestedatt--links)) - `permissions` (Attributes List) (see [below for nested schema](#nestedatt--permissions)) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) @@ -45,14 +45,14 @@ description: |- Optional: - `delete_tile` (Boolean) -- `groupclients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupclients)) +- `groupclients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients)) - `secret` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--secret)) - `tile` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--tile)) Read-Only: - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups)) +- `groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups)) - `vault_record_count` (Number) @@ -60,26 +60,19 @@ Read-Only: Optional: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items)) - - -### Nested Schema for `additional_objects.groupclients.items` - -Optional: - - `activation_required` (Boolean) Read-Only: - `client_uuid` (String) - `group_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--links)) - `owner_uuid` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groupclients--permissions)) - `technical_administrator_uuid` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator_uuid` + +### Nested Schema for `additional_objects.groupclients.links` Read-Only: @@ -89,8 +82,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groupclients.items.technical_administrator_uuid` + +### Nested Schema for `additional_objects.groupclients.permissions` Optional: @@ -101,7 +94,6 @@ Optional: - ### Nested Schema for `additional_objects.secret` @@ -134,13 +126,6 @@ Optional: ### Nested Schema for `additional_objects.groups` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items)) - - -### Nested Schema for `additional_objects.groups.items` - Required: - `name` (String) @@ -148,7 +133,7 @@ Required: Optional: - `application_administration` (Boolean) -- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--items--audit_config)) +- `audit_config` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config)) - `authorizing_group_auditing_uuid` (String) - `authorizing_group_delegation_uuid` (String) - `authorizing_group_membership_uuid` (String) @@ -172,12 +157,12 @@ Read-Only: - `audit_requested` (Boolean) - `auditor` (Boolean) - `authorizing_group_types` (List of String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.groups.items.uuid` + +### Nested Schema for `additional_objects.groups.audit_config` Optional: @@ -185,11 +170,11 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--uuid--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--uuid--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--audit_config--permissions)) - -### Nested Schema for `additional_objects.groups.items.uuid.links` + +### Nested Schema for `additional_objects.groups.audit_config.permissions` Read-Only: @@ -199,8 +184,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.uuid.permissions` + +### Nested Schema for `additional_objects.groups.audit_config.permissions` Optional: @@ -211,8 +196,8 @@ Optional: - -### Nested Schema for `additional_objects.groups.items.uuid` + +### Nested Schema for `additional_objects.groups.links` Read-Only: @@ -222,8 +207,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.uuid` + +### Nested Schema for `additional_objects.groups.permissions` Optional: @@ -235,7 +220,6 @@ Optional: - ### Nested Schema for `ldap_client` diff --git a/docs/resources/group.md b/docs/resources/group.md index 9e3179b..fd24c2c 100644 --- a/docs/resources/group.md +++ b/docs/resources/group.md @@ -56,47 +56,40 @@ description: |- Optional: -- `accounts` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--accounts)) -- `admins` (Attributes, Deprecated) (see [below for nested schema](#nestedatt--additional_objects--admins)) -- `client_permissions` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions)) +- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts)) +- `admins` (Attributes List, Deprecated) (see [below for nested schema](#nestedatt--additional_objects--admins)) +- `client_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions)) Read-Only: -- `administered_clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients)) -- `administered_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems)) +- `administered_clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients)) +- `administered_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems)) - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) - `authorized_groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--authorized_groups)) -- `clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--clients)) -- `content_administered_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems)) +- `clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients)) +- `content_administered_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems)) - `groupauditinginfo` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupauditinginfo)) - `groupinfo` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groupinfo)) -- `helpdesk` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk)) +- `helpdesk` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk)) - `markers` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers)) - `myaccount` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--myaccount)) - `mydelegatedaccount` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--mydelegatedaccount)) -- `nested_groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--nested_groups)) -- `owned_clients` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients)) -- `owned_directories` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories)) +- `nested_groups` (List of String) +- `owned_clients` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients)) +- `owned_directories` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories)) - `owned_groups_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_groups_on_system)) -- `owned_organizational_units` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units)) -- `owned_systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems)) -- `recent_audits` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--recent_audits)) +- `owned_organizational_units` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units)) +- `owned_systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems)) +- `recent_audits` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits)) - `requeststatus` (String) -- `service_accounts` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts)) -- `systems` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems)) +- `service_accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts)) +- `systems` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems)) - `vault` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--vault)) -- `webhooks` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--webhooks)) +- `webhooks` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks)) ### Nested Schema for `additional_objects.accounts` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--accounts--items)) - - -### Nested Schema for `additional_objects.accounts.items` - Required: - `rights` (String) @@ -117,17 +110,9 @@ Read-Only: - `visible_for_provisioning` (Boolean) - ### Nested Schema for `additional_objects.admins` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--admins--items)) - - -### Nested Schema for `additional_objects.admins.items` - Required: - `rights` (String) @@ -148,38 +133,30 @@ Read-Only: - `visible_for_provisioning` (Boolean) - ### Nested Schema for `additional_objects.client_permissions` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items)) - - -### Nested Schema for `additional_objects.client_permissions.items` - Required: - `value` (String) Optional: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client)) - `for_group_uuid` (String) - `for_system_uuid` (String) Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--permissions)) - -### Nested Schema for `additional_objects.client_permissions.items.permissions` + +### Nested Schema for `additional_objects.client_permissions.client` Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--permissions--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -192,15 +169,15 @@ Optional: Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--items--permissions--account_permissions)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--client_permissions--client--account_permissions)) - `shared_secret_uuid` (String) - -### Nested Schema for `additional_objects.client_permissions.items.permissions.attributes` + +### Nested Schema for `additional_objects.client_permissions.client.shared_secret_uuid` - -### Nested Schema for `additional_objects.client_permissions.items.permissions.account_permissions` + +### Nested Schema for `additional_objects.client_permissions.client.shared_secret_uuid` Optional: @@ -211,8 +188,8 @@ Optional: - -### Nested Schema for `additional_objects.client_permissions.items.permissions` + +### Nested Schema for `additional_objects.client_permissions.links` Read-Only: @@ -222,8 +199,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.client_permissions.items.permissions` + +### Nested Schema for `additional_objects.client_permissions.permissions` Optional: @@ -234,17 +211,9 @@ Optional: - ### Nested Schema for `additional_objects.administered_clients` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items)) - - -### Nested Schema for `additional_objects.administered_clients.items` - Required: - `name` (String) @@ -252,24 +221,24 @@ Required: Optional: - `client_id` (String) -- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--ldap_client)) -- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--o_auth2_client)) +- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--ldap_client)) +- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client)) - `owner_uuid` (String) -- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--saml2_client)) +- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--saml2_client)) - `scopes` (List of String) - `technical_administrator_uuid` (String) Read-Only: -- `client_client_application_primer_type` (String) - `last_modified_at` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--permissions)) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.ldap_client` Optional: @@ -283,12 +252,12 @@ Read-Only: - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client` Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -301,15 +270,15 @@ Optional: Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--account_permissions)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--o_auth2_client--account_permissions)) - `shared_secret_uuid` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.shared_secret_uuid` - -### Nested Schema for `additional_objects.administered_clients.items.uuid.account_permissions` + +### Nested Schema for `additional_objects.administered_clients.o_auth2_client.shared_secret_uuid` Optional: @@ -320,8 +289,8 @@ Optional: - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.saml2_client` Required: @@ -329,17 +298,17 @@ Required: Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_clients--saml2_client--attributes)) - `metadata` (String) - `metadata_url` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_clients.saml2_client.metadata_url` - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.links` Read-Only: @@ -349,8 +318,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_clients.items.uuid` + +### Nested Schema for `additional_objects.administered_clients.permissions` Optional: @@ -361,17 +330,9 @@ Optional: - ### Nested Schema for `additional_objects.administered_systems` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items)) - - -### Nested Schema for `additional_objects.administered_systems.items` - Required: - `content_administrator_uuid` (String) @@ -381,16 +342,16 @@ Required: Optional: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap)) - `active` (Boolean) - `organizational_unit_uuid` (String) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--provisioned_ldap_directory)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) @@ -401,13 +362,13 @@ Read-Only: - `account_count` (Number) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap` Required: @@ -417,7 +378,7 @@ Required: Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--abstract_provisioned_ldap--attributes)) - `bind_dn` (String) - `bind_password` (String) - `client_certificate_uuid` (String) @@ -431,21 +392,21 @@ Optional: - `trusted_certificate_uuid` (String) - `user_dn` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.administered_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_a_d` Required: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_oidc_directory` Required: @@ -453,8 +414,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_sync_ldap_directory` Required: @@ -464,8 +425,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_azure_tenant` Required: @@ -478,15 +439,15 @@ Optional: - `idp_domain` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap` Optional: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.client` + +### Nested Schema for `additional_objects.administered_systems.provisioned_internal_ldap.client` Optional: @@ -501,20 +462,20 @@ Read-Only: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap` Required: - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--numbering)) Optional: - `gid` (Number) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.gid` Required: @@ -527,11 +488,11 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--items--uuid--numbering--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--gid--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--administered_systems--provisioned_ldap--gid--permissions)) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.gid.links` Read-Only: @@ -541,8 +502,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap.gid.permissions` Optional: @@ -554,8 +515,8 @@ Optional: - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.provisioned_ldap_directory` Required: @@ -563,8 +524,8 @@ Required: - `group_dn` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.links` Read-Only: @@ -574,8 +535,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.administered_systems.items.uuid` + +### Nested Schema for `additional_objects.administered_systems.permissions` Optional: @@ -586,7 +547,6 @@ Optional: - ### Nested Schema for `additional_objects.audit` @@ -708,26 +668,19 @@ Optional: Optional: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items)) - - -### Nested Schema for `additional_objects.clients.items` - -Optional: - - `activation_required` (Boolean) Read-Only: - `client_uuid` (String) - `group_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--links)) - `owner_uuid` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--clients--permissions)) - `technical_administrator_uuid` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator_uuid` + +### Nested Schema for `additional_objects.clients.links` Read-Only: @@ -737,8 +690,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.clients.items.technical_administrator_uuid` + +### Nested Schema for `additional_objects.clients.permissions` Optional: @@ -749,17 +702,9 @@ Optional: - ### Nested Schema for `additional_objects.content_administered_systems` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items)) - - -### Nested Schema for `additional_objects.content_administered_systems.items` - Required: - `content_administrator_uuid` (String) @@ -769,16 +714,16 @@ Required: Optional: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap)) - `active` (Boolean) - `organizational_unit_uuid` (String) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--provisioned_ldap_directory)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) @@ -789,13 +734,13 @@ Read-Only: - `account_count` (Number) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap` Required: @@ -805,7 +750,7 @@ Required: Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--abstract_provisioned_ldap--attributes)) - `bind_dn` (String) - `bind_password` (String) - `client_certificate_uuid` (String) @@ -819,21 +764,21 @@ Optional: - `trusted_certificate_uuid` (String) - `user_dn` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.content_administered_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_a_d` Required: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_oidc_directory` Required: @@ -841,8 +786,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_sync_ldap_directory` Required: @@ -852,8 +797,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_azure_tenant` Required: @@ -866,15 +811,15 @@ Optional: - `idp_domain` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap` Optional: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.client` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_internal_ldap.client` Optional: @@ -889,20 +834,20 @@ Read-Only: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap` Required: - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--numbering)) Optional: - `gid` (Number) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.gid` Required: @@ -915,11 +860,11 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--items--uuid--numbering--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--gid--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--content_administered_systems--provisioned_ldap--gid--permissions)) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.gid.links` Read-Only: @@ -929,8 +874,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap.gid.permissions` Optional: @@ -942,8 +887,8 @@ Optional: - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.provisioned_ldap_directory` Required: @@ -951,8 +896,8 @@ Required: - `group_dn` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.links` Read-Only: @@ -962,8 +907,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.content_administered_systems.items.uuid` + +### Nested Schema for `additional_objects.content_administered_systems.permissions` Optional: @@ -974,7 +919,6 @@ Optional: - ### Nested Schema for `additional_objects.groupauditinginfo` @@ -1008,27 +952,20 @@ Optional: Optional: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items)) - - -### Nested Schema for `additional_objects.helpdesk.items` - -Optional: - -- `directory_account_directory_summary_type` (String) - `domain_restriction` (String) - `fully_resolved_issuer` (String) - `name` (String) -- `status` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--status)) +- `status` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--status)) +- `type` (String) - `username_customizable` (Boolean) Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--helpdesk--permissions)) - -### Nested Schema for `additional_objects.helpdesk.items.permissions` + +### Nested Schema for `additional_objects.helpdesk.status` Optional: @@ -1037,8 +974,8 @@ Optional: - `status` (String) - -### Nested Schema for `additional_objects.helpdesk.items.permissions` + +### Nested Schema for `additional_objects.helpdesk.links` Read-Only: @@ -1048,8 +985,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.helpdesk.items.permissions` + +### Nested Schema for `additional_objects.helpdesk.permissions` Optional: @@ -1060,7 +997,6 @@ Optional: - ### Nested Schema for `additional_objects.markers` @@ -1074,11 +1010,11 @@ Optional: Optional: - `level` (String) -- `mark_item_marker_type` (String) - `parameters` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--markers--markers--parameters)) +- `type` (String) -### Nested Schema for `additional_objects.markers.markers.parameters` +### Nested Schema for `additional_objects.markers.markers.type` @@ -1129,24 +1065,9 @@ Read-Only: - `visible_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.nested_groups` - -Optional: - -- `items` (List of String) - - ### Nested Schema for `additional_objects.owned_clients` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items)) - - -### Nested Schema for `additional_objects.owned_clients.items` - Required: - `name` (String) @@ -1154,24 +1075,24 @@ Required: Optional: - `client_id` (String) -- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--ldap_client)) -- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--o_auth2_client)) +- `ldap_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--ldap_client)) +- `o_auth2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client)) - `owner_uuid` (String) -- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--saml2_client)) +- `saml2_client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--saml2_client)) - `scopes` (List of String) - `technical_administrator_uuid` (String) Read-Only: -- `client_client_application_primer_type` (String) - `last_modified_at` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--permissions)) - `sso_application` (Boolean) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.ldap_client` Optional: @@ -1185,12 +1106,12 @@ Read-Only: - `used_for_provisioning` (Boolean) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client` Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--attributes)) - `callback_uri` (String) - `confidential` (Boolean) - `debug_mode` (Boolean) @@ -1203,15 +1124,15 @@ Optional: Read-Only: -- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--account_permissions)) +- `account_permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--o_auth2_client--account_permissions)) - `shared_secret_uuid` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.shared_secret_uuid` - -### Nested Schema for `additional_objects.owned_clients.items.uuid.account_permissions` + +### Nested Schema for `additional_objects.owned_clients.o_auth2_client.shared_secret_uuid` Optional: @@ -1222,8 +1143,8 @@ Optional: - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.saml2_client` Required: @@ -1231,17 +1152,17 @@ Required: Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_clients--saml2_client--attributes)) - `metadata` (String) - `metadata_url` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_clients.saml2_client.metadata_url` - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.links` Read-Only: @@ -1251,8 +1172,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_clients.items.uuid` + +### Nested Schema for `additional_objects.owned_clients.permissions` Optional: @@ -1263,17 +1184,9 @@ Optional: - ### Nested Schema for `additional_objects.owned_directories` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items)) - - -### Nested Schema for `additional_objects.owned_directories.items` - Required: - `base_organizational_unit_uuid` (String) @@ -1285,31 +1198,31 @@ Optional: - `active` (Boolean) - `default_directory` (Boolean) - `helpdesk_group_uuid` (String) -- `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--internal_directory)) -- `l_d_a_p_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--l_d_a_p_directory)) -- `maintenance_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--maintenance_directory)) -- `o_id_c_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--o_id_c_directory)) +- `internal_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--internal_directory)) +- `l_d_a_p_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--l_d_a_p_directory)) +- `maintenance_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--maintenance_directory)) +- `o_id_c_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--o_id_c_directory)) - `restrict2fa` (Boolean) - `username_customizable` (Boolean) Read-Only: - `account_validity_supported` (Boolean) -- `directory_account_directory_primer_type` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_directories--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.internal_directory` Required: - `owner_uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.l_d_a_p_directory` Required: @@ -1332,12 +1245,12 @@ Optional: - `trusted_certificate_uuid` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.maintenance_directory` - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.o_id_c_directory` Required: @@ -1360,8 +1273,8 @@ Read-Only: - `fully_resolved_issuer` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.links` Read-Only: @@ -1371,8 +1284,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_directories.items.uuid` + +### Nested Schema for `additional_objects.owned_directories.permissions` Optional: @@ -1383,7 +1296,6 @@ Optional: - ### Nested Schema for `additional_objects.owned_groups_on_system` @@ -1439,13 +1351,6 @@ Optional: ### Nested Schema for `additional_objects.owned_organizational_units` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items)) - - -### Nested Schema for `additional_objects.owned_organizational_units.items` - Required: - `name` (String) @@ -1458,13 +1363,13 @@ Optional: Read-Only: - `depth` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--links)) - `parent_uuid` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_organizational_units--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.links` Read-Only: @@ -1474,8 +1379,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_organizational_units.items.uuid` + +### Nested Schema for `additional_objects.owned_organizational_units.permissions` Optional: @@ -1486,17 +1391,9 @@ Optional: - ### Nested Schema for `additional_objects.owned_systems` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items)) - - -### Nested Schema for `additional_objects.owned_systems.items` - Required: - `content_administrator_uuid` (String) @@ -1506,16 +1403,16 @@ Required: Optional: -- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--abstract_provisioned_ldap)) +- `abstract_provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap)) - `active` (Boolean) - `organizational_unit_uuid` (String) -- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_a_d)) -- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_oidc_directory)) -- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_sync_ldap_directory)) -- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_azure_tenant)) -- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_internal_ldap)) -- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_ldap)) -- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--provisioned_ldap_directory)) +- `provisioned_a_d` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_a_d)) +- `provisioned_azure_oidc_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_oidc_directory)) +- `provisioned_azure_sync_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_sync_ldap_directory)) +- `provisioned_azure_tenant` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_azure_tenant)) +- `provisioned_internal_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap)) +- `provisioned_ldap` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap)) +- `provisioned_ldap_directory` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap_directory)) - `self_service_existing_groups` (Boolean) - `self_service_new_groups` (Boolean) - `self_service_service_accounts` (Boolean) @@ -1526,13 +1423,13 @@ Read-Only: - `account_count` (Number) - `external_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--permissions)) -- `provisioning_provisioned_system_primer_type` (String) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--permissions)) +- `type` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap` Required: @@ -1542,7 +1439,7 @@ Required: Optional: -- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--attributes)) +- `attributes` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--abstract_provisioned_ldap--attributes)) - `bind_dn` (String) - `bind_password` (String) - `client_certificate_uuid` (String) @@ -1556,21 +1453,21 @@ Optional: - `trusted_certificate_uuid` (String) - `user_dn` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.attributes` + +### Nested Schema for `additional_objects.owned_systems.abstract_provisioned_ldap.user_dn` - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_a_d` Required: - `sam_account_name_scheme` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_oidc_directory` Required: @@ -1578,8 +1475,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_sync_ldap_directory` Required: @@ -1589,8 +1486,8 @@ Required: - `tenant` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_azure_tenant` Required: @@ -1603,15 +1500,15 @@ Optional: - `idp_domain` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap` Optional: -- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--client)) +- `client` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_internal_ldap--client)) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.client` + +### Nested Schema for `additional_objects.owned_systems.provisioned_internal_ldap.client` Optional: @@ -1626,20 +1523,20 @@ Read-Only: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap` Required: - `hashing_scheme` (String) -- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering)) +- `numbering` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--numbering)) Optional: - `gid` (Number) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.gid` Required: @@ -1652,11 +1549,11 @@ Optional: Read-Only: - `account_count` (Number) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--items--uuid--numbering--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--gid--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--owned_systems--provisioned_ldap--gid--permissions)) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.gid.links` Read-Only: @@ -1666,8 +1563,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid.numbering.permissions` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap.gid.permissions` Optional: @@ -1679,8 +1576,8 @@ Optional: - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.provisioned_ldap_directory` Required: @@ -1688,8 +1585,8 @@ Required: - `group_dn` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.links` Read-Only: @@ -1699,8 +1596,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.owned_systems.items.uuid` + +### Nested Schema for `additional_objects.owned_systems.permissions` Optional: @@ -1711,24 +1608,16 @@ Optional: - ### Nested Schema for `additional_objects.recent_audits` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items)) - - -### Nested Schema for `additional_objects.recent_audits.items` - Required: - `status` (String) Optional: -- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--accounts)) +- `accounts` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts)) - `comment` (String) Read-Only: @@ -1736,16 +1625,16 @@ Read-Only: - `created_at` (String) - `created_by` (String) - `group_name` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--links)) - `name_on_audit` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--permissions)) - `reviewed_at` (String) - `reviewed_by` (String) - `submitted_at` (String) - `submitted_by` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.accounts` Optional: @@ -1761,14 +1650,14 @@ Read-Only: - `end_date` (String) - `last_active` (String) - `last_used` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--submitted_by--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts--links)) - `nested` (Boolean) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--items--submitted_by--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--recent_audits--accounts--permissions)) - `rights` (String) - `username` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by.links` + +### Nested Schema for `additional_objects.recent_audits.accounts.username` Read-Only: @@ -1778,8 +1667,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by.permissions` + +### Nested Schema for `additional_objects.recent_audits.accounts.username` Optional: @@ -1790,8 +1679,8 @@ Optional: - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.links` Read-Only: @@ -1801,8 +1690,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.recent_audits.items.submitted_by` + +### Nested Schema for `additional_objects.recent_audits.permissions` Optional: @@ -1813,17 +1702,9 @@ Optional: - ### Nested Schema for `additional_objects.service_accounts` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items)) - - -### Nested Schema for `additional_objects.service_accounts.items` - Required: - `name` (String) @@ -1838,14 +1719,14 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--links)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--links)) - `password_uuid` (String) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--items--permissions)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--service_accounts--permissions)) - `username` (String) - `uuid` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.links` Read-Only: @@ -1855,8 +1736,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.service_accounts.items.uuid` + +### Nested Schema for `additional_objects.service_accounts.permissions` Optional: @@ -1867,30 +1748,22 @@ Optional: - ### Nested Schema for `additional_objects.systems` Optional: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items)) - - -### Nested Schema for `additional_objects.systems.items` - -Optional: - - `activation_required` (Boolean) Read-Only: -- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--items--group_on_system)) +- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system)) - `group_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--permissions)) - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.group_on_system` Required: @@ -1906,11 +1779,11 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--items--permissions--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--systems--group_on_system--permissions)) - -### Nested Schema for `additional_objects.systems.items.permissions.links` + +### Nested Schema for `additional_objects.systems.group_on_system.permissions` Read-Only: @@ -1920,8 +1793,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions.permissions` + +### Nested Schema for `additional_objects.systems.group_on_system.permissions` Optional: @@ -1932,8 +1805,8 @@ Optional: - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.links` Read-Only: @@ -1943,8 +1816,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.systems.items.permissions` + +### Nested Schema for `additional_objects.systems.permissions` Optional: @@ -1955,7 +1828,6 @@ Optional: - ### Nested Schema for `additional_objects.vault` @@ -2044,13 +1916,6 @@ Optional: ### Nested Schema for `additional_objects.webhooks` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items)) - - -### Nested Schema for `additional_objects.webhooks.items` - Required: - `url` (String) @@ -2079,12 +1944,12 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--webhooks--permissions)) - `uuid` (String) - -### Nested Schema for `additional_objects.webhooks.items.uuid` + +### Nested Schema for `additional_objects.webhooks.links` Read-Only: @@ -2094,8 +1959,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.webhooks.items.uuid` + +### Nested Schema for `additional_objects.webhooks.permissions` Optional: @@ -2107,7 +1972,6 @@ Optional: - ### Nested Schema for `audit_config` diff --git a/docs/resources/group_vaultrecord.md b/docs/resources/group_vaultrecord.md index 90ff682..1b64a34 100644 --- a/docs/resources/group_vaultrecord.md +++ b/docs/resources/group_vaultrecord.md @@ -54,7 +54,7 @@ Read-Only: - `parent_uuid` (String) - `password_metadata` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--password_metadata)) - `share_summary` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--share_summary)) -- `shares` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--shares)) +- `shares` (List of String) - `vaultholder` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--vaultholder)) @@ -114,7 +114,7 @@ Optional: Optional: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) @@ -123,18 +123,10 @@ Optional: Optional: - `name` (String) -- `vault_vault_record_share_type` (String) +- `type` (String) - -### Nested Schema for `additional_objects.shares` - -Optional: - -- `items` (List of String) - - ### Nested Schema for `additional_objects.vaultholder` diff --git a/docs/resources/grouponsystem.md b/docs/resources/grouponsystem.md index 5513c00..11d0ba9 100644 --- a/docs/resources/grouponsystem.md +++ b/docs/resources/grouponsystem.md @@ -39,8 +39,8 @@ description: |- Optional: -- `provgroups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--provgroups)) -- `service_accounts` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--service_accounts)) +- `provgroups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups)) +- `service_accounts` (List of String) Read-Only: @@ -51,24 +51,17 @@ Read-Only: Optional: -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items)) - - -### Nested Schema for `additional_objects.provgroups.items` - -Optional: - - `activation_required` (Boolean) Read-Only: -- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items--group_on_system)) +- `group_on_system` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--provgroups--group_on_system)) - `group_uuid` (String) -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--permissions)) - -### Nested Schema for `additional_objects.provgroups.items.permissions` + +### Nested Schema for `additional_objects.provgroups.group_on_system` Required: @@ -84,11 +77,11 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items--permissions--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--items--permissions--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--group_on_system--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--provgroups--group_on_system--permissions)) - -### Nested Schema for `additional_objects.provgroups.items.permissions.links` + +### Nested Schema for `additional_objects.provgroups.group_on_system.permissions` Read-Only: @@ -98,8 +91,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.provgroups.items.permissions.permissions` + +### Nested Schema for `additional_objects.provgroups.group_on_system.permissions` Optional: @@ -110,8 +103,8 @@ Optional: - -### Nested Schema for `additional_objects.provgroups.items.permissions` + +### Nested Schema for `additional_objects.provgroups.links` Read-Only: @@ -121,8 +114,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.provgroups.items.permissions` + +### Nested Schema for `additional_objects.provgroups.permissions` Optional: @@ -133,15 +126,6 @@ Optional: - - -### Nested Schema for `additional_objects.service_accounts` - -Optional: - -- `items` (List of String) - - ### Nested Schema for `additional_objects.audit` diff --git a/docs/resources/serviceaccount.md b/docs/resources/serviceaccount.md index efeed0e..fbe3884 100644 --- a/docs/resources/serviceaccount.md +++ b/docs/resources/serviceaccount.md @@ -46,7 +46,7 @@ Optional: Read-Only: - `audit` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--audit)) -- `groups` (Attributes) (see [below for nested schema](#nestedatt--additional_objects--groups)) +- `groups` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups)) ### Nested Schema for `additional_objects.secret` @@ -72,13 +72,6 @@ Optional: ### Nested Schema for `additional_objects.groups` -Optional: - -- `items` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items)) - - -### Nested Schema for `additional_objects.groups.items` - Required: - `name_in_system` (String) @@ -91,11 +84,11 @@ Optional: Read-Only: -- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--links)) -- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--items--permissions)) +- `links` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--links)) +- `permissions` (Attributes List) (see [below for nested schema](#nestedatt--additional_objects--groups--permissions)) - -### Nested Schema for `additional_objects.groups.items.permissions` + +### Nested Schema for `additional_objects.groups.links` Read-Only: @@ -105,8 +98,8 @@ Read-Only: - `type_escaped` (String) - -### Nested Schema for `additional_objects.groups.items.permissions` + +### Nested Schema for `additional_objects.groups.permissions` Optional: @@ -118,7 +111,6 @@ Optional: - ### Nested Schema for `links` diff --git a/examples/provider-install-verification/main.tf b/examples/provider-install-verification/main.tf index e25f27f..5518ff7 100644 --- a/examples/provider-install-verification/main.tf +++ b/examples/provider-install-verification/main.tf @@ -55,12 +55,10 @@ provider "keyhubpreview" { resource "keyhubpreview_group" "terra" { name = "Terraform" additional_objects = { - accounts = { - items = [{ - uuid = "7ea6622b-f9d2-4e52-a799-217b26f88376" - rights = "MANAGER" - }] - } + accounts = [{ + uuid = "7ea6622b-f9d2-4e52-a799-217b26f88376" + rights = "MANAGER" + }] } } diff --git a/internal/provider/full-data-struct-ds.go b/internal/provider/full-data-struct-ds.go index 87522ff..45d2eef 100644 --- a/internal/provider/full-data-struct-ds.go +++ b/internal/provider/full-data-struct-ds.go @@ -256,7 +256,7 @@ var authAccount_additionalObjectsAttrTypesDSRecurse = objectAttrsTypeDSAuthAccou type authAccount_additionalObjectsDataDS struct { ActiveLogin types.Bool `tfsdk:"active_login"` Audit types.Object `tfsdk:"audit"` - Groups types.Object `tfsdk:"groups"` + Groups types.List `tfsdk:"groups"` PendingRecoveryRequests types.Object `tfsdk:"pending_recovery_requests"` Settings types.Object `tfsdk:"settings"` StoredAttributes types.Object `tfsdk:"stored_attributes"` @@ -497,8 +497,8 @@ var clientClientApplication_additionalObjectsAttrTypesDSRecurse = objectAttrsTyp type clientClientApplication_additionalObjectsDataDS struct { Audit types.Object `tfsdk:"audit"` - Groupclients types.Object `tfsdk:"groupclients"` - Groups types.Object `tfsdk:"groups"` + Groupclients types.List `tfsdk:"groupclients"` + Groups types.List `tfsdk:"groups"` Secret types.Object `tfsdk:"secret"` Tile types.Object `tfsdk:"tile"` VaultRecordCount types.Int64 `tfsdk:"vault_record_count"` @@ -644,10 +644,10 @@ type directoryAccountDirectoryDataDS struct { Restrict2fa types.Bool `tfsdk:"restrict2fa"` RotatingPassword types.String `tfsdk:"rotating_password"` UsernameCustomizable types.Bool `tfsdk:"username_customizable"` - LDAPDirectory types.Object `tfsdk:"l_d_a_p_directory"` - InternalDirectory types.Object `tfsdk:"internal_directory"` - OIDCDirectory types.Object `tfsdk:"o_id_c_directory"` MaintenanceDirectory types.Object `tfsdk:"maintenance_directory"` + OIDCDirectory types.Object `tfsdk:"o_id_c_directory"` + InternalDirectory types.Object `tfsdk:"internal_directory"` + LDAPDirectory types.Object `tfsdk:"l_d_a_p_directory"` } var directoryAccountDirectoryLinkableWrapperAttrTypesDS = objectAttrsTypeDSDirectoryAccountDirectoryLinkableWrapper(false) @@ -1139,33 +1139,33 @@ var groupGroup_additionalObjectsAttrTypesDS = objectAttrsTypeDSGroupGroup_additi var groupGroup_additionalObjectsAttrTypesDSRecurse = objectAttrsTypeDSGroupGroup_additionalObjects(true) type groupGroup_additionalObjectsDataDS struct { - Accounts types.Object `tfsdk:"accounts"` - AdministeredClients types.Object `tfsdk:"administered_clients"` - AdministeredSystems types.Object `tfsdk:"administered_systems"` - Admins types.Object `tfsdk:"admins"` + Accounts types.List `tfsdk:"accounts"` + AdministeredClients types.List `tfsdk:"administered_clients"` + AdministeredSystems types.List `tfsdk:"administered_systems"` + Admins types.List `tfsdk:"admins"` Audit types.Object `tfsdk:"audit"` AuthorizedGroups types.Object `tfsdk:"authorized_groups"` - ClientPermissions types.Object `tfsdk:"client_permissions"` - Clients types.Object `tfsdk:"clients"` - ContentAdministeredSystems types.Object `tfsdk:"content_administered_systems"` + ClientPermissions types.List `tfsdk:"client_permissions"` + Clients types.List `tfsdk:"clients"` + ContentAdministeredSystems types.List `tfsdk:"content_administered_systems"` Groupauditinginfo types.Object `tfsdk:"groupauditinginfo"` Groupinfo types.Object `tfsdk:"groupinfo"` - Helpdesk types.Object `tfsdk:"helpdesk"` + Helpdesk types.List `tfsdk:"helpdesk"` Markers types.Object `tfsdk:"markers"` Myaccount types.Object `tfsdk:"myaccount"` Mydelegatedaccount types.Object `tfsdk:"mydelegatedaccount"` - NestedGroups types.Object `tfsdk:"nested_groups"` - OwnedClients types.Object `tfsdk:"owned_clients"` - OwnedDirectories types.Object `tfsdk:"owned_directories"` + NestedGroups types.List `tfsdk:"nested_groups"` + OwnedClients types.List `tfsdk:"owned_clients"` + OwnedDirectories types.List `tfsdk:"owned_directories"` OwnedGroupsOnSystem types.Object `tfsdk:"owned_groups_on_system"` - OwnedOrganizationalUnits types.Object `tfsdk:"owned_organizational_units"` - OwnedSystems types.Object `tfsdk:"owned_systems"` - RecentAudits types.Object `tfsdk:"recent_audits"` + OwnedOrganizationalUnits types.List `tfsdk:"owned_organizational_units"` + OwnedSystems types.List `tfsdk:"owned_systems"` + RecentAudits types.List `tfsdk:"recent_audits"` Requeststatus types.String `tfsdk:"requeststatus"` - ServiceAccounts types.Object `tfsdk:"service_accounts"` - Systems types.Object `tfsdk:"systems"` + ServiceAccounts types.List `tfsdk:"service_accounts"` + Systems types.List `tfsdk:"systems"` Vault types.Object `tfsdk:"vault"` - Webhooks types.Object `tfsdk:"webhooks"` + Webhooks types.List `tfsdk:"webhooks"` } var groupGroupsAuditStatsAttrTypesDS = objectAttrsTypeDSGroupGroupsAuditStats(false) @@ -1904,8 +1904,8 @@ var provisioningGroupOnSystem_additionalObjectsAttrTypesDSRecurse = objectAttrsT type provisioningGroupOnSystem_additionalObjectsDataDS struct { Audit types.Object `tfsdk:"audit"` - Provgroups types.Object `tfsdk:"provgroups"` - ServiceAccounts types.Object `tfsdk:"service_accounts"` + Provgroups types.List `tfsdk:"provgroups"` + ServiceAccounts types.List `tfsdk:"service_accounts"` } var provisioningGroupProvisioningStatusAttrTypesDS = objectAttrsTypeDSProvisioningGroupProvisioningStatus(false) @@ -1962,7 +1962,7 @@ var provisioningProvisionNumberSequence_additionalObjectsAttrTypesDSRecurse = ob type provisioningProvisionNumberSequence_additionalObjectsDataDS struct { Audit types.Object `tfsdk:"audit"` - Systems types.Object `tfsdk:"systems"` + Systems types.List `tfsdk:"systems"` } var provisioningProvisionedADAttrTypesDS = objectAttrsTypeDSProvisioningProvisionedAD(false) @@ -2077,14 +2077,14 @@ type provisioningProvisionedSystemDataDS struct { ShouldDestroyUnknownAccounts types.Bool `tfsdk:"should_destroy_unknown_accounts"` TechnicalAdministrator types.Object `tfsdk:"technical_administrator"` UsernamePrefix types.String `tfsdk:"username_prefix"` - ProvisionedAzureOIDCDirectory types.Object `tfsdk:"provisioned_azure_oidc_directory"` AbstractProvisionedLDAP types.Object `tfsdk:"abstract_provisioned_ldap"` - ProvisionedAD types.Object `tfsdk:"provisioned_a_d"` + ProvisionedLDAP types.Object `tfsdk:"provisioned_ldap"` ProvisionedAzureTenant types.Object `tfsdk:"provisioned_azure_tenant"` ProvisionedAzureSyncLDAPDirectory types.Object `tfsdk:"provisioned_azure_sync_ldap_directory"` - ProvisionedInternalLDAP types.Object `tfsdk:"provisioned_internal_ldap"` - ProvisionedLDAP types.Object `tfsdk:"provisioned_ldap"` + ProvisionedAzureOIDCDirectory types.Object `tfsdk:"provisioned_azure_oidc_directory"` + ProvisionedAD types.Object `tfsdk:"provisioned_a_d"` ProvisionedLDAPDirectory types.Object `tfsdk:"provisioned_ldap_directory"` + ProvisionedInternalLDAP types.Object `tfsdk:"provisioned_internal_ldap"` } var provisioningProvisionedSystemLinkableWrapperAttrTypesDS = objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(false) @@ -2148,7 +2148,7 @@ var provisioningProvisionedSystem_additionalObjectsAttrTypesDSRecurse = objectAt type provisioningProvisionedSystem_additionalObjectsDataDS struct { Account types.Object `tfsdk:"account"` Audit types.Object `tfsdk:"audit"` - IssuedPermissions types.Object `tfsdk:"issued_permissions"` + IssuedPermissions types.List `tfsdk:"issued_permissions"` LoginName types.String `tfsdk:"login_name"` ManagementPermissions types.Object `tfsdk:"management_permissions"` Markers types.Object `tfsdk:"markers"` @@ -2353,42 +2353,42 @@ type requestModificationRequestDataDS struct { MailKey types.String `tfsdk:"mail_key"` RequestModificationRequestType types.String `tfsdk:"request_modification_request_type"` Status types.String `tfsdk:"status"` - TransferAuditorGroupRequest types.Object `tfsdk:"transfer_auditor_group_request"` + AbstractApplicationModificationRequest types.Object `tfsdk:"abstract_application_modification_request"` AbstractProvisionedSystemModificationRequest types.Object `tfsdk:"abstract_provisioned_system_modification_request"` - CreateServiceAccountRequest types.Object `tfsdk:"create_service_account_request"` - ReviewAuditRequest types.Object `tfsdk:"review_audit_request"` - SetupNestedGroupRequest types.Object `tfsdk:"setup_nested_group_request"` RemoveProvisionedSystemRequest types.Object `tfsdk:"remove_provisioned_system_request"` - AbstractApplicationModificationRequest types.Object `tfsdk:"abstract_application_modification_request"` GrantApplicationRequest types.Object `tfsdk:"grant_application_request"` + ReviewAuditRequest types.Object `tfsdk:"review_audit_request"` + RevokeAdminRequest types.Object `tfsdk:"revoke_admin_request"` + GrantAccessRequest types.Object `tfsdk:"grant_access_request"` + TransferProvisionedSystemContentAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_content_administration_request"` AbstractOrganizationalUnitModificationRequest types.Object `tfsdk:"abstract_organizational_unit_modification_request"` - VerifyInternalAccountRequest types.Object `tfsdk:"verify_internal_account_request"` - Disable2FARequest types.Object `tfsdk:"disable2fa_request"` - JoinGroupRequest types.Object `tfsdk:"join_group_request"` - JoinVaultRequest types.Object `tfsdk:"join_vault_request"` - RemoveGroupRequest types.Object `tfsdk:"remove_group_request"` - TransferApplicationAdministrationRequest types.Object `tfsdk:"transfer_application_administration_request"` - TransferOrganizationalUnitOwnershipRequest types.Object `tfsdk:"transfer_organizational_unit_ownership_request"` RemoveOrganizationalUnitRequest types.Object `tfsdk:"remove_organizational_unit_request"` - GrantClientPermissionRequest types.Object `tfsdk:"grant_client_permission_request"` - EnableTechnicalAdministrationRequest types.Object `tfsdk:"enable_technical_administration_request"` - TransferProvisionedSystemContentAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_content_administration_request"` - PasswordResetRequest types.Object `tfsdk:"password_reset_request"` - TransferGroupOnSystemOwnershipRequest types.Object `tfsdk:"transfer_group_on_system_ownership_request"` - SetupAuthorizingGroupRequest types.Object `tfsdk:"setup_authorizing_group_request"` - GrantServiceAccountGroupRequest types.Object `tfsdk:"grant_service_account_group_request"` CreateGroupOnSystemRequest types.Object `tfsdk:"create_group_on_system_request"` - TransferApplicationOwnershipRequest types.Object `tfsdk:"transfer_application_ownership_request"` - GrantAccessRequest types.Object `tfsdk:"grant_access_request"` + TransferApplicationAdministrationRequest types.Object `tfsdk:"transfer_application_administration_request"` UpdateGroupMembershipRequest types.Object `tfsdk:"update_group_membership_request"` - ExtendAccessRequest types.Object `tfsdk:"extend_access_request"` AddGroupAdminRequest types.Object `tfsdk:"add_group_admin_request"` - GrantGroupOnSystemRequest types.Object `tfsdk:"grant_group_on_system_request"` + TransferOrganizationalUnitOwnershipRequest types.Object `tfsdk:"transfer_organizational_unit_ownership_request"` + JoinVaultRequest types.Object `tfsdk:"join_vault_request"` + VerifyInternalAccountRequest types.Object `tfsdk:"verify_internal_account_request"` + JoinGroupRequest types.Object `tfsdk:"join_group_request"` + TransferGroupOnSystemOwnershipRequest types.Object `tfsdk:"transfer_group_on_system_ownership_request"` + RemoveGroupRequest types.Object `tfsdk:"remove_group_request"` + SetupAuthorizingGroupRequest types.Object `tfsdk:"setup_authorizing_group_request"` + SetupNestedGroupRequest types.Object `tfsdk:"setup_nested_group_request"` GrantGroupOnSystemRequestRequest types.Object `tfsdk:"grant_group_on_system_request_request"` - RevokeAdminRequest types.Object `tfsdk:"revoke_admin_request"` + Disable2FARequest types.Object `tfsdk:"disable2fa_request"` + GrantGroupOnSystemRequest types.Object `tfsdk:"grant_group_on_system_request"` + EnableTechnicalAdministrationRequest types.Object `tfsdk:"enable_technical_administration_request"` CreateGroupRequest types.Object `tfsdk:"create_group_request"` - TransferProvisionedSystemOwnershipRequest types.Object `tfsdk:"transfer_provisioned_system_ownership_request"` + TransferAuditorGroupRequest types.Object `tfsdk:"transfer_auditor_group_request"` + GrantClientPermissionRequest types.Object `tfsdk:"grant_client_permission_request"` + TransferApplicationOwnershipRequest types.Object `tfsdk:"transfer_application_ownership_request"` + CreateServiceAccountRequest types.Object `tfsdk:"create_service_account_request"` TransferServiceAccountAdministrationRequest types.Object `tfsdk:"transfer_service_account_administration_request"` + PasswordResetRequest types.Object `tfsdk:"password_reset_request"` + GrantServiceAccountGroupRequest types.Object `tfsdk:"grant_service_account_group_request"` + TransferProvisionedSystemOwnershipRequest types.Object `tfsdk:"transfer_provisioned_system_ownership_request"` + ExtendAccessRequest types.Object `tfsdk:"extend_access_request"` TransferProvisionedSystemAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_administration_request"` } @@ -2636,7 +2636,7 @@ var serviceaccountServiceAccount_additionalObjectsAttrTypesDSRecurse = objectAtt type serviceaccountServiceAccount_additionalObjectsDataDS struct { Audit types.Object `tfsdk:"audit"` - Groups types.Object `tfsdk:"groups"` + Groups types.List `tfsdk:"groups"` Secret types.Object `tfsdk:"secret"` } @@ -2845,7 +2845,7 @@ type vaultVaultRecord_additionalObjectsDataDS struct { PasswordMetadata types.Object `tfsdk:"password_metadata"` Secret types.Object `tfsdk:"secret"` ShareSummary types.Object `tfsdk:"share_summary"` - Shares types.Object `tfsdk:"shares"` + Shares types.List `tfsdk:"shares"` Tile types.Object `tfsdk:"tile"` Vaultholder types.Object `tfsdk:"vaultholder"` } diff --git a/internal/provider/full-data-struct-rs.go b/internal/provider/full-data-struct-rs.go index 3a8c603..adb764a 100644 --- a/internal/provider/full-data-struct-rs.go +++ b/internal/provider/full-data-struct-rs.go @@ -253,7 +253,7 @@ var authAccount_additionalObjectsAttrTypesRSRecurse = objectAttrsTypeRSAuthAccou type authAccount_additionalObjectsDataRS struct { ActiveLogin types.Bool `tfsdk:"active_login"` Audit types.Object `tfsdk:"audit"` - Groups types.Object `tfsdk:"groups"` + Groups types.List `tfsdk:"groups"` PendingRecoveryRequests types.Object `tfsdk:"pending_recovery_requests"` Settings types.Object `tfsdk:"settings"` StoredAttributes types.Object `tfsdk:"stored_attributes"` @@ -466,8 +466,8 @@ var clientClientApplication_additionalObjectsAttrTypesRSRecurse = objectAttrsTyp type clientClientApplication_additionalObjectsDataRS struct { Audit types.Object `tfsdk:"audit"` DeleteTile types.Bool `tfsdk:"delete_tile"` - Groupclients types.Object `tfsdk:"groupclients"` - Groups types.Object `tfsdk:"groups"` + Groupclients types.List `tfsdk:"groupclients"` + Groups types.List `tfsdk:"groups"` Secret types.Object `tfsdk:"secret"` Tile types.Object `tfsdk:"tile"` VaultRecordCount types.Int64 `tfsdk:"vault_record_count"` @@ -609,10 +609,10 @@ type directoryAccountDirectoryDataRS struct { Restrict2fa types.Bool `tfsdk:"restrict2fa"` RotatingPassword types.String `tfsdk:"rotating_password"` UsernameCustomizable types.Bool `tfsdk:"username_customizable"` - LDAPDirectory types.Object `tfsdk:"l_d_a_p_directory"` - InternalDirectory types.Object `tfsdk:"internal_directory"` - OIDCDirectory types.Object `tfsdk:"o_id_c_directory"` MaintenanceDirectory types.Object `tfsdk:"maintenance_directory"` + OIDCDirectory types.Object `tfsdk:"o_id_c_directory"` + InternalDirectory types.Object `tfsdk:"internal_directory"` + LDAPDirectory types.Object `tfsdk:"l_d_a_p_directory"` } var directoryAccountDirectoryLinkableWrapperAttrTypesRS = objectAttrsTypeRSDirectoryAccountDirectoryLinkableWrapper(false) @@ -1087,33 +1087,33 @@ var groupGroup_additionalObjectsAttrTypesRS = objectAttrsTypeRSGroupGroup_additi var groupGroup_additionalObjectsAttrTypesRSRecurse = objectAttrsTypeRSGroupGroup_additionalObjects(true) type groupGroup_additionalObjectsDataRS struct { - Accounts types.Object `tfsdk:"accounts"` - AdministeredClients types.Object `tfsdk:"administered_clients"` - AdministeredSystems types.Object `tfsdk:"administered_systems"` - Admins types.Object `tfsdk:"admins"` + Accounts types.List `tfsdk:"accounts"` + AdministeredClients types.List `tfsdk:"administered_clients"` + AdministeredSystems types.List `tfsdk:"administered_systems"` + Admins types.List `tfsdk:"admins"` Audit types.Object `tfsdk:"audit"` AuthorizedGroups types.Object `tfsdk:"authorized_groups"` - ClientPermissions types.Object `tfsdk:"client_permissions"` - Clients types.Object `tfsdk:"clients"` - ContentAdministeredSystems types.Object `tfsdk:"content_administered_systems"` + ClientPermissions types.List `tfsdk:"client_permissions"` + Clients types.List `tfsdk:"clients"` + ContentAdministeredSystems types.List `tfsdk:"content_administered_systems"` Groupauditinginfo types.Object `tfsdk:"groupauditinginfo"` Groupinfo types.Object `tfsdk:"groupinfo"` - Helpdesk types.Object `tfsdk:"helpdesk"` + Helpdesk types.List `tfsdk:"helpdesk"` Markers types.Object `tfsdk:"markers"` Myaccount types.Object `tfsdk:"myaccount"` Mydelegatedaccount types.Object `tfsdk:"mydelegatedaccount"` - NestedGroups types.Object `tfsdk:"nested_groups"` - OwnedClients types.Object `tfsdk:"owned_clients"` - OwnedDirectories types.Object `tfsdk:"owned_directories"` + NestedGroups types.List `tfsdk:"nested_groups"` + OwnedClients types.List `tfsdk:"owned_clients"` + OwnedDirectories types.List `tfsdk:"owned_directories"` OwnedGroupsOnSystem types.Object `tfsdk:"owned_groups_on_system"` - OwnedOrganizationalUnits types.Object `tfsdk:"owned_organizational_units"` - OwnedSystems types.Object `tfsdk:"owned_systems"` - RecentAudits types.Object `tfsdk:"recent_audits"` + OwnedOrganizationalUnits types.List `tfsdk:"owned_organizational_units"` + OwnedSystems types.List `tfsdk:"owned_systems"` + RecentAudits types.List `tfsdk:"recent_audits"` Requeststatus types.String `tfsdk:"requeststatus"` - ServiceAccounts types.Object `tfsdk:"service_accounts"` - Systems types.Object `tfsdk:"systems"` + ServiceAccounts types.List `tfsdk:"service_accounts"` + Systems types.List `tfsdk:"systems"` Vault types.Object `tfsdk:"vault"` - Webhooks types.Object `tfsdk:"webhooks"` + Webhooks types.List `tfsdk:"webhooks"` } var groupGroupsAuditStatsAttrTypesRS = objectAttrsTypeRSGroupGroupsAuditStats(false) @@ -1672,7 +1672,7 @@ var organizationOrganizationalUnit_additionalObjectsAttrTypesRSRecurse = objectA type organizationOrganizationalUnit_additionalObjectsDataRS struct { Audit types.Object `tfsdk:"audit"` - CreateAsParentOf types.Object `tfsdk:"create_as_parent_of"` + CreateAsParentOf types.List `tfsdk:"create_as_parent_of"` } var provisioningAbstractProvisionedLDAPAttrTypesRS = objectAttrsTypeRSProvisioningAbstractProvisionedLDAP(false) @@ -1775,8 +1775,8 @@ var provisioningGroupOnSystem_additionalObjectsAttrTypesRSRecurse = objectAttrsT type provisioningGroupOnSystem_additionalObjectsDataRS struct { Audit types.Object `tfsdk:"audit"` - Provgroups types.Object `tfsdk:"provgroups"` - ServiceAccounts types.Object `tfsdk:"service_accounts"` + Provgroups types.List `tfsdk:"provgroups"` + ServiceAccounts types.List `tfsdk:"service_accounts"` } var provisioningGroupProvisioningStatusAttrTypesRS = objectAttrsTypeRSProvisioningGroupProvisioningStatus(false) @@ -1832,7 +1832,7 @@ var provisioningProvisionNumberSequence_additionalObjectsAttrTypesRSRecurse = ob type provisioningProvisionNumberSequence_additionalObjectsDataRS struct { Audit types.Object `tfsdk:"audit"` - Systems types.Object `tfsdk:"systems"` + Systems types.List `tfsdk:"systems"` } var provisioningProvisionedADAttrTypesRS = objectAttrsTypeRSProvisioningProvisionedAD(false) @@ -1939,14 +1939,14 @@ type provisioningProvisionedSystemDataRS struct { ShouldDestroyUnknownAccounts types.Bool `tfsdk:"should_destroy_unknown_accounts"` TechnicalAdministratorUUID types.String `tfsdk:"technical_administrator_uuid"` UsernamePrefix types.String `tfsdk:"username_prefix"` - ProvisionedAzureOIDCDirectory types.Object `tfsdk:"provisioned_azure_oidc_directory"` AbstractProvisionedLDAP types.Object `tfsdk:"abstract_provisioned_ldap"` - ProvisionedAD types.Object `tfsdk:"provisioned_a_d"` + ProvisionedLDAP types.Object `tfsdk:"provisioned_ldap"` ProvisionedAzureTenant types.Object `tfsdk:"provisioned_azure_tenant"` ProvisionedAzureSyncLDAPDirectory types.Object `tfsdk:"provisioned_azure_sync_ldap_directory"` - ProvisionedInternalLDAP types.Object `tfsdk:"provisioned_internal_ldap"` - ProvisionedLDAP types.Object `tfsdk:"provisioned_ldap"` + ProvisionedAzureOIDCDirectory types.Object `tfsdk:"provisioned_azure_oidc_directory"` + ProvisionedAD types.Object `tfsdk:"provisioned_a_d"` ProvisionedLDAPDirectory types.Object `tfsdk:"provisioned_ldap_directory"` + ProvisionedInternalLDAP types.Object `tfsdk:"provisioned_internal_ldap"` } var provisioningProvisionedSystemLinkableWrapperAttrTypesRS = objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(false) @@ -2009,7 +2009,7 @@ var provisioningProvisionedSystem_additionalObjectsAttrTypesRSRecurse = objectAt type provisioningProvisionedSystem_additionalObjectsDataRS struct { Account types.Object `tfsdk:"account"` Audit types.Object `tfsdk:"audit"` - IssuedPermissions types.Object `tfsdk:"issued_permissions"` + IssuedPermissions types.List `tfsdk:"issued_permissions"` LoginName types.String `tfsdk:"login_name"` ManagementPermissions types.Object `tfsdk:"management_permissions"` Markers types.Object `tfsdk:"markers"` @@ -2213,42 +2213,42 @@ type requestModificationRequestDataRS struct { MailKey types.String `tfsdk:"mail_key"` RequestModificationRequestType types.String `tfsdk:"request_modification_request_type"` Status types.String `tfsdk:"status"` - TransferAuditorGroupRequest types.Object `tfsdk:"transfer_auditor_group_request"` + AbstractApplicationModificationRequest types.Object `tfsdk:"abstract_application_modification_request"` AbstractProvisionedSystemModificationRequest types.Object `tfsdk:"abstract_provisioned_system_modification_request"` - CreateServiceAccountRequest types.Object `tfsdk:"create_service_account_request"` - ReviewAuditRequest types.Object `tfsdk:"review_audit_request"` - SetupNestedGroupRequest types.Object `tfsdk:"setup_nested_group_request"` RemoveProvisionedSystemRequest types.Object `tfsdk:"remove_provisioned_system_request"` - AbstractApplicationModificationRequest types.Object `tfsdk:"abstract_application_modification_request"` GrantApplicationRequest types.Object `tfsdk:"grant_application_request"` + ReviewAuditRequest types.Object `tfsdk:"review_audit_request"` + RevokeAdminRequest types.Object `tfsdk:"revoke_admin_request"` + GrantAccessRequest types.Object `tfsdk:"grant_access_request"` + TransferProvisionedSystemContentAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_content_administration_request"` AbstractOrganizationalUnitModificationRequest types.Object `tfsdk:"abstract_organizational_unit_modification_request"` - VerifyInternalAccountRequest types.Object `tfsdk:"verify_internal_account_request"` - Disable2FARequest types.Object `tfsdk:"disable2fa_request"` - JoinGroupRequest types.Object `tfsdk:"join_group_request"` - JoinVaultRequest types.Object `tfsdk:"join_vault_request"` - RemoveGroupRequest types.Object `tfsdk:"remove_group_request"` - TransferApplicationAdministrationRequest types.Object `tfsdk:"transfer_application_administration_request"` - TransferOrganizationalUnitOwnershipRequest types.Object `tfsdk:"transfer_organizational_unit_ownership_request"` RemoveOrganizationalUnitRequest types.Object `tfsdk:"remove_organizational_unit_request"` - GrantClientPermissionRequest types.Object `tfsdk:"grant_client_permission_request"` - EnableTechnicalAdministrationRequest types.Object `tfsdk:"enable_technical_administration_request"` - TransferProvisionedSystemContentAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_content_administration_request"` - PasswordResetRequest types.Object `tfsdk:"password_reset_request"` - TransferGroupOnSystemOwnershipRequest types.Object `tfsdk:"transfer_group_on_system_ownership_request"` - SetupAuthorizingGroupRequest types.Object `tfsdk:"setup_authorizing_group_request"` - GrantServiceAccountGroupRequest types.Object `tfsdk:"grant_service_account_group_request"` CreateGroupOnSystemRequest types.Object `tfsdk:"create_group_on_system_request"` - TransferApplicationOwnershipRequest types.Object `tfsdk:"transfer_application_ownership_request"` - GrantAccessRequest types.Object `tfsdk:"grant_access_request"` + TransferApplicationAdministrationRequest types.Object `tfsdk:"transfer_application_administration_request"` UpdateGroupMembershipRequest types.Object `tfsdk:"update_group_membership_request"` - ExtendAccessRequest types.Object `tfsdk:"extend_access_request"` AddGroupAdminRequest types.Object `tfsdk:"add_group_admin_request"` - GrantGroupOnSystemRequest types.Object `tfsdk:"grant_group_on_system_request"` + TransferOrganizationalUnitOwnershipRequest types.Object `tfsdk:"transfer_organizational_unit_ownership_request"` + JoinVaultRequest types.Object `tfsdk:"join_vault_request"` + VerifyInternalAccountRequest types.Object `tfsdk:"verify_internal_account_request"` + JoinGroupRequest types.Object `tfsdk:"join_group_request"` + TransferGroupOnSystemOwnershipRequest types.Object `tfsdk:"transfer_group_on_system_ownership_request"` + RemoveGroupRequest types.Object `tfsdk:"remove_group_request"` + SetupAuthorizingGroupRequest types.Object `tfsdk:"setup_authorizing_group_request"` + SetupNestedGroupRequest types.Object `tfsdk:"setup_nested_group_request"` GrantGroupOnSystemRequestRequest types.Object `tfsdk:"grant_group_on_system_request_request"` - RevokeAdminRequest types.Object `tfsdk:"revoke_admin_request"` + Disable2FARequest types.Object `tfsdk:"disable2fa_request"` + GrantGroupOnSystemRequest types.Object `tfsdk:"grant_group_on_system_request"` + EnableTechnicalAdministrationRequest types.Object `tfsdk:"enable_technical_administration_request"` CreateGroupRequest types.Object `tfsdk:"create_group_request"` - TransferProvisionedSystemOwnershipRequest types.Object `tfsdk:"transfer_provisioned_system_ownership_request"` + TransferAuditorGroupRequest types.Object `tfsdk:"transfer_auditor_group_request"` + GrantClientPermissionRequest types.Object `tfsdk:"grant_client_permission_request"` + TransferApplicationOwnershipRequest types.Object `tfsdk:"transfer_application_ownership_request"` + CreateServiceAccountRequest types.Object `tfsdk:"create_service_account_request"` TransferServiceAccountAdministrationRequest types.Object `tfsdk:"transfer_service_account_administration_request"` + PasswordResetRequest types.Object `tfsdk:"password_reset_request"` + GrantServiceAccountGroupRequest types.Object `tfsdk:"grant_service_account_group_request"` + TransferProvisionedSystemOwnershipRequest types.Object `tfsdk:"transfer_provisioned_system_ownership_request"` + ExtendAccessRequest types.Object `tfsdk:"extend_access_request"` TransferProvisionedSystemAdministrationRequest types.Object `tfsdk:"transfer_provisioned_system_administration_request"` } @@ -2498,7 +2498,7 @@ var serviceaccountServiceAccount_additionalObjectsAttrTypesRSRecurse = objectAtt type serviceaccountServiceAccount_additionalObjectsDataRS struct { Audit types.Object `tfsdk:"audit"` - Groups types.Object `tfsdk:"groups"` + Groups types.List `tfsdk:"groups"` Secret types.Object `tfsdk:"secret"` } @@ -2707,7 +2707,7 @@ type vaultVaultRecord_additionalObjectsDataRS struct { PasswordMetadata types.Object `tfsdk:"password_metadata"` Secret types.Object `tfsdk:"secret"` ShareSummary types.Object `tfsdk:"share_summary"` - Shares types.Object `tfsdk:"shares"` + Shares types.List `tfsdk:"shares"` Tile types.Object `tfsdk:"tile"` Vaultholder types.Object `tfsdk:"vaultholder"` } diff --git a/internal/provider/full-helpers.go b/internal/provider/full-helpers.go index 7fb0344..ebce815 100644 --- a/internal/provider/full-helpers.go +++ b/internal/provider/full-helpers.go @@ -11,6 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" + rsschema "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" @@ -113,6 +114,21 @@ func withUuidToTF(val interface{ GetUuid() *string }) attr.Value { return types.StringPointerValue(val.GetUuid()) } +func toItemsList(ctx context.Context, val attr.Value) basetypes.ObjectValue { + attrType := map[string]attr.Type{"items": val.Type(ctx)} + if val.IsNull() || val.IsUnknown() { + return types.ObjectNull(attrType) + } + return types.ObjectValueMust(attrType, map[string]attr.Value{"items": val}) +} + +func getItemsAttr(val basetypes.ObjectValue, attrType attr.Type) attr.Value { + if val.IsNull() || val.IsUnknown() { + return types.ListNull(attrType.(basetypes.ListType).ElementType()) + } + return val.Attributes()["items"] +} + func parsePointer[T any](val basetypes.StringValue, parser func(string) (T, error)) (*T, diag.Diagnostics) { if val.IsNull() || val.IsUnknown() { return nil, diag.Diagnostics{} @@ -375,6 +391,22 @@ func getSelfLink(linksAttr basetypes.ListValue) restLinkDataRS { return links } +func resetListNestedAttributeFlags(schema rsschema.ListNestedAttribute) rsschema.ListNestedAttribute { + schema.Optional = false + schema.Computed = false + schema.Required = false + schema.PlanModifiers = nil + return schema +} + +func resetListAttributeFlags(schema rsschema.ListAttribute) rsschema.ListAttribute { + schema.Optional = false + schema.Computed = false + schema.Required = false + schema.PlanModifiers = nil + return schema +} + func isHttpStatusCodeOk(ctx context.Context, status int32, err error, diags *diag.Diagnostics) bool { if err != nil { report, ok := err.(keyhubmodels.ErrorReportable) diff --git a/internal/provider/full-object-attrs-ds.go b/internal/provider/full-object-attrs-ds.go index 17f5dd8..ec3df21 100644 --- a/internal/provider/full-object-attrs-ds.go +++ b/internal/provider/full-object-attrs-ds.go @@ -241,7 +241,7 @@ func objectAttrsTypeDSAuthAccount_additionalObjects(recurse bool) map[string]att objectAttrs := make(map[string]attr.Type) objectAttrs["active_login"] = types.BoolType objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupAccountGroupLinkableWrapper(recurse)} + objectAttrs["groups"] = objectAttrsTypeDSGroupAccountGroupLinkableWrapper(recurse)["items"] objectAttrs["pending_recovery_requests"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuthAccountRecoveryStatus(recurse)} objectAttrs["settings"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuthAccountSettings(recurse)} objectAttrs["stored_attributes"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuthStoredAccountAttributes(recurse)} @@ -470,8 +470,8 @@ func objectAttrsTypeDSClientClientApplicationPrimer(recurse bool) map[string]att func objectAttrsTypeDSClientClientApplication_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["groupclients"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupClientLinkableWrapper(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupLinkableWrapper(recurse)} + objectAttrs["groupclients"] = objectAttrsTypeDSGroupGroupClientLinkableWrapper(recurse)["items"] + objectAttrs["groups"] = objectAttrsTypeDSGroupGroupLinkableWrapper(recurse)["items"] objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGeneratedSecret(recurse)} objectAttrs["tile"] = types.ObjectType{AttrTypes: objectAttrsTypeDSLaunchpadSsoApplicationLaunchpadTile(recurse)} objectAttrs["vault_record_count"] = types.Int64Type @@ -613,10 +613,10 @@ func objectAttrsTypeDSDirectoryAccountDirectory(recurse bool) map[string]attr.Ty objectAttrs["restrict2fa"] = types.BoolType objectAttrs["rotating_password"] = types.StringType objectAttrs["username_customizable"] = types.BoolType - objectAttrs["l_d_a_p_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryLDAPDirectory(false)} - objectAttrs["internal_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryInternalDirectory(false)} - objectAttrs["o_id_c_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryOIDCDirectory(false)} objectAttrs["maintenance_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryMaintenanceDirectory(false)} + objectAttrs["o_id_c_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryOIDCDirectory(false)} + objectAttrs["internal_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryInternalDirectory(false)} + objectAttrs["l_d_a_p_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryLDAPDirectory(false)} return objectAttrs } @@ -1077,33 +1077,33 @@ func objectAttrsTypeDSGroupGroupSegmentedLinkableWrapper(recurse bool) map[strin func objectAttrsTypeDSGroupGroup_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) - objectAttrs["accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAccountLinkableWrapper(recurse)} - objectAttrs["administered_clients"] = types.ObjectType{AttrTypes: objectAttrsTypeDSClientClientApplicationLinkableWrapper(recurse)} - objectAttrs["administered_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)} - objectAttrs["admins"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAccountLinkableWrapper(recurse)} + objectAttrs["accounts"] = objectAttrsTypeDSGroupGroupAccountLinkableWrapper(recurse)["items"] + objectAttrs["administered_clients"] = objectAttrsTypeDSClientClientApplicationLinkableWrapper(recurse)["items"] + objectAttrs["administered_systems"] = objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] + objectAttrs["admins"] = objectAttrsTypeDSGroupGroupAccountLinkableWrapper(recurse)["items"] objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} objectAttrs["authorized_groups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupAuthorizedGroupsWrapper(recurse)} - objectAttrs["client_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)} - objectAttrs["clients"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupClientLinkableWrapper(recurse)} - objectAttrs["content_administered_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)} + objectAttrs["client_permissions"] = objectAttrsTypeDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"] + objectAttrs["clients"] = objectAttrsTypeDSGroupGroupClientLinkableWrapper(recurse)["items"] + objectAttrs["content_administered_systems"] = objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] objectAttrs["groupauditinginfo"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAuditingInfo(recurse)} objectAttrs["groupinfo"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupInfo(recurse)} - objectAttrs["helpdesk"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryAccountDirectorySummaryLinkableWrapper(recurse)} + objectAttrs["helpdesk"] = objectAttrsTypeDSDirectoryAccountDirectorySummaryLinkableWrapper(recurse)["items"] objectAttrs["markers"] = types.ObjectType{AttrTypes: objectAttrsTypeDSMarkItemMarkers(recurse)} objectAttrs["myaccount"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAccount(recurse)} objectAttrs["mydelegatedaccount"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAccount(recurse)} - objectAttrs["nested_groups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupPrimerLinkableWrapper(recurse)} - objectAttrs["owned_clients"] = types.ObjectType{AttrTypes: objectAttrsTypeDSClientClientApplicationLinkableWrapper(recurse)} - objectAttrs["owned_directories"] = types.ObjectType{AttrTypes: objectAttrsTypeDSDirectoryAccountDirectoryLinkableWrapper(recurse)} + objectAttrs["nested_groups"] = objectAttrsTypeDSGroupGroupPrimerLinkableWrapper(recurse)["items"] + objectAttrs["owned_clients"] = objectAttrsTypeDSClientClientApplicationLinkableWrapper(recurse)["items"] + objectAttrs["owned_directories"] = objectAttrsTypeDSDirectoryAccountDirectoryLinkableWrapper(recurse)["items"] objectAttrs["owned_groups_on_system"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningOwnedGroupOnSystemsWrapper(recurse)} - objectAttrs["owned_organizational_units"] = types.ObjectType{AttrTypes: objectAttrsTypeDSOrganizationOrganizationalUnitLinkableWrapper(recurse)} - objectAttrs["owned_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)} - objectAttrs["recent_audits"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupAuditLinkableWrapper(recurse)} + objectAttrs["owned_organizational_units"] = objectAttrsTypeDSOrganizationOrganizationalUnitLinkableWrapper(recurse)["items"] + objectAttrs["owned_systems"] = objectAttrsTypeDSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] + objectAttrs["recent_audits"] = objectAttrsTypeDSGroupGroupAuditLinkableWrapper(recurse)["items"] objectAttrs["requeststatus"] = types.StringType - objectAttrs["service_accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeDSServiceaccountServiceAccountLinkableWrapper(recurse)} - objectAttrs["systems"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupProvisioningGroupLinkableWrapper(recurse)} + objectAttrs["service_accounts"] = objectAttrsTypeDSServiceaccountServiceAccountLinkableWrapper(recurse)["items"] + objectAttrs["systems"] = objectAttrsTypeDSGroupProvisioningGroupLinkableWrapper(recurse)["items"] objectAttrs["vault"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultVault(recurse)} - objectAttrs["webhooks"] = types.ObjectType{AttrTypes: objectAttrsTypeDSWebhookWebhookLinkableWrapper(recurse)} + objectAttrs["webhooks"] = objectAttrsTypeDSWebhookWebhookLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1815,8 +1815,8 @@ func objectAttrsTypeDSProvisioningGroupOnSystemTypes(recurse bool) map[string]at func objectAttrsTypeDSProvisioningGroupOnSystem_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["provgroups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupProvisioningGroupLinkableWrapper(recurse)} - objectAttrs["service_accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeDSServiceaccountServiceAccountPrimerLinkableWrapper(recurse)} + objectAttrs["provgroups"] = objectAttrsTypeDSGroupProvisioningGroupLinkableWrapper(recurse)["items"] + objectAttrs["service_accounts"] = objectAttrsTypeDSServiceaccountServiceAccountPrimerLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1869,7 +1869,7 @@ func objectAttrsTypeDSProvisioningProvisionNumberSequenceLinkableWrapper(recurse func objectAttrsTypeDSProvisioningProvisionNumberSequence_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["systems"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)} + objectAttrs["systems"] = objectAttrsTypeDSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1977,14 +1977,14 @@ func objectAttrsTypeDSProvisioningProvisionedSystem(recurse bool) map[string]att objectAttrs["should_destroy_unknown_accounts"] = types.BoolType objectAttrs["technical_administrator"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGroupGroupPrimer(false)} objectAttrs["username_prefix"] = types.StringType - objectAttrs["provisioned_azure_oidc_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAzureOIDCDirectory(false)} objectAttrs["abstract_provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningAbstractProvisionedLDAP(false)} - objectAttrs["provisioned_a_d"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAD(false)} + objectAttrs["provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedLDAP(false)} objectAttrs["provisioned_azure_tenant"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAzureTenant(false)} objectAttrs["provisioned_azure_sync_ldap_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAzureSyncLDAPDirectory(false)} - objectAttrs["provisioned_internal_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedInternalLDAP(false)} - objectAttrs["provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedLDAP(false)} + objectAttrs["provisioned_azure_oidc_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAzureOIDCDirectory(false)} + objectAttrs["provisioned_a_d"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAD(false)} objectAttrs["provisioned_ldap_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedLDAPDirectory(false)} + objectAttrs["provisioned_internal_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedInternalLDAP(false)} return objectAttrs } @@ -2043,7 +2043,7 @@ func objectAttrsTypeDSProvisioningProvisionedSystem_additionalObjects(recurse bo objectAttrs := make(map[string]attr.Type) objectAttrs["account"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisionedAccount(recurse)} objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["issued_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)} + objectAttrs["issued_permissions"] = objectAttrsTypeDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"] objectAttrs["login_name"] = types.StringType objectAttrs["management_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeDSProvisioningProvisioningManagementPermissions(recurse)} objectAttrs["markers"] = types.ObjectType{AttrTypes: objectAttrsTypeDSMarkItemMarkers(recurse)} @@ -2224,42 +2224,42 @@ func objectAttrsTypeDSRequestModificationRequest(recurse bool) map[string]attr.T objectAttrs["mail_key"] = types.StringType objectAttrs["request_modification_request_type"] = types.StringType objectAttrs["status"] = types.StringType - objectAttrs["transfer_auditor_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferAuditorGroupRequest(false)} + objectAttrs["abstract_application_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestAbstractApplicationModificationRequest(false)} objectAttrs["abstract_provisioned_system_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestAbstractProvisionedSystemModificationRequest(false)} - objectAttrs["create_service_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestCreateServiceAccountRequest(false)} - objectAttrs["review_audit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestReviewAuditRequest(false)} - objectAttrs["setup_nested_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestSetupNestedGroupRequest(false)} objectAttrs["remove_provisioned_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRemoveProvisionedSystemRequest(false)} - objectAttrs["abstract_application_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestAbstractApplicationModificationRequest(false)} objectAttrs["grant_application_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantApplicationRequest(false)} + objectAttrs["review_audit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestReviewAuditRequest(false)} + objectAttrs["revoke_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRevokeAdminRequest(false)} + objectAttrs["grant_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantAccessRequest(false)} + objectAttrs["transfer_provisioned_system_content_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferProvisionedSystemContentAdministrationRequest(false)} objectAttrs["abstract_organizational_unit_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestAbstractOrganizationalUnitModificationRequest(false)} - objectAttrs["verify_internal_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestVerifyInternalAccountRequest(false)} - objectAttrs["disable2fa_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestDisable2FARequest(false)} - objectAttrs["join_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestJoinGroupRequest(false)} - objectAttrs["join_vault_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestJoinVaultRequest(false)} - objectAttrs["remove_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRemoveGroupRequest(false)} - objectAttrs["transfer_application_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferApplicationAdministrationRequest(false)} - objectAttrs["transfer_organizational_unit_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferOrganizationalUnitOwnershipRequest(false)} objectAttrs["remove_organizational_unit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRemoveOrganizationalUnitRequest(false)} - objectAttrs["grant_client_permission_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantClientPermissionRequest(false)} - objectAttrs["enable_technical_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestEnableTechnicalAdministrationRequest(false)} - objectAttrs["transfer_provisioned_system_content_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferProvisionedSystemContentAdministrationRequest(false)} - objectAttrs["password_reset_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestPasswordResetRequest(false)} - objectAttrs["transfer_group_on_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferGroupOnSystemOwnershipRequest(false)} - objectAttrs["setup_authorizing_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestSetupAuthorizingGroupRequest(false)} - objectAttrs["grant_service_account_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantServiceAccountGroupRequest(false)} objectAttrs["create_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestCreateGroupOnSystemRequest(false)} - objectAttrs["transfer_application_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferApplicationOwnershipRequest(false)} - objectAttrs["grant_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantAccessRequest(false)} + objectAttrs["transfer_application_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferApplicationAdministrationRequest(false)} objectAttrs["update_group_membership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestUpdateGroupMembershipRequest(false)} - objectAttrs["extend_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestExtendAccessRequest(false)} objectAttrs["add_group_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestAddGroupAdminRequest(false)} - objectAttrs["grant_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantGroupOnSystemRequest(false)} + objectAttrs["transfer_organizational_unit_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferOrganizationalUnitOwnershipRequest(false)} + objectAttrs["join_vault_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestJoinVaultRequest(false)} + objectAttrs["verify_internal_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestVerifyInternalAccountRequest(false)} + objectAttrs["join_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestJoinGroupRequest(false)} + objectAttrs["transfer_group_on_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferGroupOnSystemOwnershipRequest(false)} + objectAttrs["remove_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRemoveGroupRequest(false)} + objectAttrs["setup_authorizing_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestSetupAuthorizingGroupRequest(false)} + objectAttrs["setup_nested_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestSetupNestedGroupRequest(false)} objectAttrs["grant_group_on_system_request_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantGroupOnSystemRequestRequest(false)} - objectAttrs["revoke_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestRevokeAdminRequest(false)} + objectAttrs["disable2fa_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestDisable2FARequest(false)} + objectAttrs["grant_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantGroupOnSystemRequest(false)} + objectAttrs["enable_technical_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestEnableTechnicalAdministrationRequest(false)} objectAttrs["create_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestCreateGroupRequest(false)} - objectAttrs["transfer_provisioned_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferProvisionedSystemOwnershipRequest(false)} + objectAttrs["transfer_auditor_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferAuditorGroupRequest(false)} + objectAttrs["grant_client_permission_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantClientPermissionRequest(false)} + objectAttrs["transfer_application_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferApplicationOwnershipRequest(false)} + objectAttrs["create_service_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestCreateServiceAccountRequest(false)} objectAttrs["transfer_service_account_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferServiceAccountAdministrationRequest(false)} + objectAttrs["password_reset_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestPasswordResetRequest(false)} + objectAttrs["grant_service_account_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestGrantServiceAccountGroupRequest(false)} + objectAttrs["transfer_provisioned_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferProvisionedSystemOwnershipRequest(false)} + objectAttrs["extend_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestExtendAccessRequest(false)} objectAttrs["transfer_provisioned_system_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeDSRequestTransferProvisionedSystemAdministrationRequest(false)} return objectAttrs } @@ -2480,7 +2480,7 @@ func objectAttrsTypeDSServiceaccountServiceAccountStatus(recurse bool) map[strin func objectAttrsTypeDSServiceaccountServiceAccount_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeDSAuditInfo(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeDSServiceaccountServiceAccountGroupLinkableWrapper(recurse)} + objectAttrs["groups"] = objectAttrsTypeDSServiceaccountServiceAccountGroupLinkableWrapper(recurse)["items"] objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeDSGeneratedSecret(recurse)} return objectAttrs } @@ -2671,7 +2671,7 @@ func objectAttrsTypeDSVaultVaultRecord_additionalObjects(recurse bool) map[strin objectAttrs["password_metadata"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultPasswordMetadata(recurse)} objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultVaultRecordSecrets(recurse)} objectAttrs["share_summary"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultVaultRecordShareSummary(recurse)} - objectAttrs["shares"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultVaultRecordPrimerLinkableWrapper(recurse)} + objectAttrs["shares"] = objectAttrsTypeDSVaultVaultRecordPrimerLinkableWrapper(recurse)["items"] objectAttrs["tile"] = types.ObjectType{AttrTypes: objectAttrsTypeDSLaunchpadVaultRecordLaunchpadTile(recurse)} objectAttrs["vaultholder"] = types.ObjectType{AttrTypes: objectAttrsTypeDSVaultVaultHolder(recurse)} return objectAttrs diff --git a/internal/provider/full-object-attrs-rs.go b/internal/provider/full-object-attrs-rs.go index f9f0511..4e1cc49 100644 --- a/internal/provider/full-object-attrs-rs.go +++ b/internal/provider/full-object-attrs-rs.go @@ -238,7 +238,7 @@ func objectAttrsTypeRSAuthAccount_additionalObjects(recurse bool) map[string]att objectAttrs := make(map[string]attr.Type) objectAttrs["active_login"] = types.BoolType objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupAccountGroupLinkableWrapper(recurse)} + objectAttrs["groups"] = objectAttrsTypeRSGroupAccountGroupLinkableWrapper(recurse)["items"] objectAttrs["pending_recovery_requests"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuthAccountRecoveryStatus(recurse)} objectAttrs["settings"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuthAccountSettings(recurse)} objectAttrs["stored_attributes"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuthStoredAccountAttributes(recurse)} @@ -437,8 +437,8 @@ func objectAttrsTypeRSClientClientApplication_additionalObjects(recurse bool) ma objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} objectAttrs["delete_tile"] = types.BoolType - objectAttrs["groupclients"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupClientLinkableWrapper(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupLinkableWrapper(recurse)} + objectAttrs["groupclients"] = objectAttrsTypeRSGroupGroupClientLinkableWrapper(recurse)["items"] + objectAttrs["groups"] = objectAttrsTypeRSGroupGroupLinkableWrapper(recurse)["items"] objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGeneratedSecret(recurse)} objectAttrs["tile"] = types.ObjectType{AttrTypes: objectAttrsTypeRSLaunchpadSsoApplicationLaunchpadTile(recurse)} objectAttrs["vault_record_count"] = types.Int64Type @@ -576,10 +576,10 @@ func objectAttrsTypeRSDirectoryAccountDirectory(recurse bool) map[string]attr.Ty objectAttrs["restrict2fa"] = types.BoolType objectAttrs["rotating_password"] = types.StringType objectAttrs["username_customizable"] = types.BoolType - objectAttrs["l_d_a_p_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryLDAPDirectory(false)} - objectAttrs["internal_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryInternalDirectory(false)} - objectAttrs["o_id_c_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryOIDCDirectory(false)} objectAttrs["maintenance_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryMaintenanceDirectory(false)} + objectAttrs["o_id_c_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryOIDCDirectory(false)} + objectAttrs["internal_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryInternalDirectory(false)} + objectAttrs["l_d_a_p_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryLDAPDirectory(false)} return objectAttrs } @@ -1023,33 +1023,33 @@ func objectAttrsTypeRSGroupGroupSegmentedLinkableWrapper(recurse bool) map[strin func objectAttrsTypeRSGroupGroup_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) - objectAttrs["accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAccountLinkableWrapper(recurse)} - objectAttrs["administered_clients"] = types.ObjectType{AttrTypes: objectAttrsTypeRSClientClientApplicationLinkableWrapper(recurse)} - objectAttrs["administered_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)} - objectAttrs["admins"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAccountLinkableWrapper(recurse)} + objectAttrs["accounts"] = objectAttrsTypeRSGroupGroupAccountLinkableWrapper(recurse)["items"] + objectAttrs["administered_clients"] = objectAttrsTypeRSClientClientApplicationLinkableWrapper(recurse)["items"] + objectAttrs["administered_systems"] = objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] + objectAttrs["admins"] = objectAttrsTypeRSGroupGroupAccountLinkableWrapper(recurse)["items"] objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} objectAttrs["authorized_groups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupAuthorizedGroupsWrapper(recurse)} - objectAttrs["client_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)} - objectAttrs["clients"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupClientLinkableWrapper(recurse)} - objectAttrs["content_administered_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)} + objectAttrs["client_permissions"] = objectAttrsTypeRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"] + objectAttrs["clients"] = objectAttrsTypeRSGroupGroupClientLinkableWrapper(recurse)["items"] + objectAttrs["content_administered_systems"] = objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] objectAttrs["groupauditinginfo"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAuditingInfo(recurse)} objectAttrs["groupinfo"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupInfo(recurse)} - objectAttrs["helpdesk"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryAccountDirectorySummaryLinkableWrapper(recurse)} + objectAttrs["helpdesk"] = objectAttrsTypeRSDirectoryAccountDirectorySummaryLinkableWrapper(recurse)["items"] objectAttrs["markers"] = types.ObjectType{AttrTypes: objectAttrsTypeRSMarkItemMarkers(recurse)} objectAttrs["myaccount"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAccount(recurse)} objectAttrs["mydelegatedaccount"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAccount(recurse)} - objectAttrs["nested_groups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupPrimerLinkableWrapper(recurse)} - objectAttrs["owned_clients"] = types.ObjectType{AttrTypes: objectAttrsTypeRSClientClientApplicationLinkableWrapper(recurse)} - objectAttrs["owned_directories"] = types.ObjectType{AttrTypes: objectAttrsTypeRSDirectoryAccountDirectoryLinkableWrapper(recurse)} + objectAttrs["nested_groups"] = objectAttrsTypeRSGroupGroupPrimerLinkableWrapper(recurse)["items"] + objectAttrs["owned_clients"] = objectAttrsTypeRSClientClientApplicationLinkableWrapper(recurse)["items"] + objectAttrs["owned_directories"] = objectAttrsTypeRSDirectoryAccountDirectoryLinkableWrapper(recurse)["items"] objectAttrs["owned_groups_on_system"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningOwnedGroupOnSystemsWrapper(recurse)} - objectAttrs["owned_organizational_units"] = types.ObjectType{AttrTypes: objectAttrsTypeRSOrganizationOrganizationalUnitLinkableWrapper(recurse)} - objectAttrs["owned_systems"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)} - objectAttrs["recent_audits"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupGroupAuditLinkableWrapper(recurse)} + objectAttrs["owned_organizational_units"] = objectAttrsTypeRSOrganizationOrganizationalUnitLinkableWrapper(recurse)["items"] + objectAttrs["owned_systems"] = objectAttrsTypeRSProvisioningProvisionedSystemLinkableWrapper(recurse)["items"] + objectAttrs["recent_audits"] = objectAttrsTypeRSGroupGroupAuditLinkableWrapper(recurse)["items"] objectAttrs["requeststatus"] = types.StringType - objectAttrs["service_accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeRSServiceaccountServiceAccountLinkableWrapper(recurse)} - objectAttrs["systems"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupProvisioningGroupLinkableWrapper(recurse)} + objectAttrs["service_accounts"] = objectAttrsTypeRSServiceaccountServiceAccountLinkableWrapper(recurse)["items"] + objectAttrs["systems"] = objectAttrsTypeRSGroupProvisioningGroupLinkableWrapper(recurse)["items"] objectAttrs["vault"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultVault(recurse)} - objectAttrs["webhooks"] = types.ObjectType{AttrTypes: objectAttrsTypeRSWebhookWebhookLinkableWrapper(recurse)} + objectAttrs["webhooks"] = objectAttrsTypeRSWebhookWebhookLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1587,7 +1587,7 @@ func objectAttrsTypeRSOrganizationOrganizationalUnitPrimerLinkableWrapper(recurs func objectAttrsTypeRSOrganizationOrganizationalUnit_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["create_as_parent_of"] = types.ObjectType{AttrTypes: objectAttrsTypeRSOrganizationOrganizationalUnitPrimerLinkableWrapper(recurse)} + objectAttrs["create_as_parent_of"] = objectAttrsTypeRSOrganizationOrganizationalUnitPrimerLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1682,8 +1682,8 @@ func objectAttrsTypeRSProvisioningGroupOnSystemTypes(recurse bool) map[string]at func objectAttrsTypeRSProvisioningGroupOnSystem_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["provgroups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGroupProvisioningGroupLinkableWrapper(recurse)} - objectAttrs["service_accounts"] = types.ObjectType{AttrTypes: objectAttrsTypeRSServiceaccountServiceAccountPrimerLinkableWrapper(recurse)} + objectAttrs["provgroups"] = objectAttrsTypeRSGroupProvisioningGroupLinkableWrapper(recurse)["items"] + objectAttrs["service_accounts"] = objectAttrsTypeRSServiceaccountServiceAccountPrimerLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1735,7 +1735,7 @@ func objectAttrsTypeRSProvisioningProvisionNumberSequenceLinkableWrapper(recurse func objectAttrsTypeRSProvisioningProvisionNumberSequence_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["systems"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)} + objectAttrs["systems"] = objectAttrsTypeRSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)["items"] return objectAttrs } @@ -1835,14 +1835,14 @@ func objectAttrsTypeRSProvisioningProvisionedSystem(recurse bool) map[string]att objectAttrs["should_destroy_unknown_accounts"] = types.BoolType objectAttrs["technical_administrator_uuid"] = types.StringType objectAttrs["username_prefix"] = types.StringType - objectAttrs["provisioned_azure_oidc_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAzureOIDCDirectory(false)} objectAttrs["abstract_provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningAbstractProvisionedLDAP(false)} - objectAttrs["provisioned_a_d"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAD(false)} + objectAttrs["provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedLDAP(false)} objectAttrs["provisioned_azure_tenant"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAzureTenant(false)} objectAttrs["provisioned_azure_sync_ldap_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAzureSyncLDAPDirectory(false)} - objectAttrs["provisioned_internal_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedInternalLDAP(false)} - objectAttrs["provisioned_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedLDAP(false)} + objectAttrs["provisioned_azure_oidc_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAzureOIDCDirectory(false)} + objectAttrs["provisioned_a_d"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAD(false)} objectAttrs["provisioned_ldap_directory"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedLDAPDirectory(false)} + objectAttrs["provisioned_internal_ldap"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedInternalLDAP(false)} return objectAttrs } @@ -1900,7 +1900,7 @@ func objectAttrsTypeRSProvisioningProvisionedSystem_additionalObjects(recurse bo objectAttrs := make(map[string]attr.Type) objectAttrs["account"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisionedAccount(recurse)} objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["issued_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)} + objectAttrs["issued_permissions"] = objectAttrsTypeRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"] objectAttrs["login_name"] = types.StringType objectAttrs["management_permissions"] = types.ObjectType{AttrTypes: objectAttrsTypeRSProvisioningProvisioningManagementPermissions(recurse)} objectAttrs["markers"] = types.ObjectType{AttrTypes: objectAttrsTypeRSMarkItemMarkers(recurse)} @@ -2080,42 +2080,42 @@ func objectAttrsTypeRSRequestModificationRequest(recurse bool) map[string]attr.T objectAttrs["mail_key"] = types.StringType objectAttrs["request_modification_request_type"] = types.StringType objectAttrs["status"] = types.StringType - objectAttrs["transfer_auditor_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferAuditorGroupRequest(false)} + objectAttrs["abstract_application_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestAbstractApplicationModificationRequest(false)} objectAttrs["abstract_provisioned_system_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestAbstractProvisionedSystemModificationRequest(false)} - objectAttrs["create_service_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestCreateServiceAccountRequest(false)} - objectAttrs["review_audit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestReviewAuditRequest(false)} - objectAttrs["setup_nested_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestSetupNestedGroupRequest(false)} objectAttrs["remove_provisioned_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRemoveProvisionedSystemRequest(false)} - objectAttrs["abstract_application_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestAbstractApplicationModificationRequest(false)} objectAttrs["grant_application_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantApplicationRequest(false)} + objectAttrs["review_audit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestReviewAuditRequest(false)} + objectAttrs["revoke_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRevokeAdminRequest(false)} + objectAttrs["grant_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantAccessRequest(false)} + objectAttrs["transfer_provisioned_system_content_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferProvisionedSystemContentAdministrationRequest(false)} objectAttrs["abstract_organizational_unit_modification_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestAbstractOrganizationalUnitModificationRequest(false)} - objectAttrs["verify_internal_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestVerifyInternalAccountRequest(false)} - objectAttrs["disable2fa_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestDisable2FARequest(false)} - objectAttrs["join_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestJoinGroupRequest(false)} - objectAttrs["join_vault_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestJoinVaultRequest(false)} - objectAttrs["remove_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRemoveGroupRequest(false)} - objectAttrs["transfer_application_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferApplicationAdministrationRequest(false)} - objectAttrs["transfer_organizational_unit_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferOrganizationalUnitOwnershipRequest(false)} objectAttrs["remove_organizational_unit_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRemoveOrganizationalUnitRequest(false)} - objectAttrs["grant_client_permission_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantClientPermissionRequest(false)} - objectAttrs["enable_technical_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestEnableTechnicalAdministrationRequest(false)} - objectAttrs["transfer_provisioned_system_content_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferProvisionedSystemContentAdministrationRequest(false)} - objectAttrs["password_reset_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestPasswordResetRequest(false)} - objectAttrs["transfer_group_on_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferGroupOnSystemOwnershipRequest(false)} - objectAttrs["setup_authorizing_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestSetupAuthorizingGroupRequest(false)} - objectAttrs["grant_service_account_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantServiceAccountGroupRequest(false)} objectAttrs["create_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestCreateGroupOnSystemRequest(false)} - objectAttrs["transfer_application_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferApplicationOwnershipRequest(false)} - objectAttrs["grant_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantAccessRequest(false)} + objectAttrs["transfer_application_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferApplicationAdministrationRequest(false)} objectAttrs["update_group_membership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestUpdateGroupMembershipRequest(false)} - objectAttrs["extend_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestExtendAccessRequest(false)} objectAttrs["add_group_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestAddGroupAdminRequest(false)} - objectAttrs["grant_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantGroupOnSystemRequest(false)} + objectAttrs["transfer_organizational_unit_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferOrganizationalUnitOwnershipRequest(false)} + objectAttrs["join_vault_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestJoinVaultRequest(false)} + objectAttrs["verify_internal_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestVerifyInternalAccountRequest(false)} + objectAttrs["join_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestJoinGroupRequest(false)} + objectAttrs["transfer_group_on_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferGroupOnSystemOwnershipRequest(false)} + objectAttrs["remove_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRemoveGroupRequest(false)} + objectAttrs["setup_authorizing_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestSetupAuthorizingGroupRequest(false)} + objectAttrs["setup_nested_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestSetupNestedGroupRequest(false)} objectAttrs["grant_group_on_system_request_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantGroupOnSystemRequestRequest(false)} - objectAttrs["revoke_admin_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestRevokeAdminRequest(false)} + objectAttrs["disable2fa_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestDisable2FARequest(false)} + objectAttrs["grant_group_on_system_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantGroupOnSystemRequest(false)} + objectAttrs["enable_technical_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestEnableTechnicalAdministrationRequest(false)} objectAttrs["create_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestCreateGroupRequest(false)} - objectAttrs["transfer_provisioned_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferProvisionedSystemOwnershipRequest(false)} + objectAttrs["transfer_auditor_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferAuditorGroupRequest(false)} + objectAttrs["grant_client_permission_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantClientPermissionRequest(false)} + objectAttrs["transfer_application_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferApplicationOwnershipRequest(false)} + objectAttrs["create_service_account_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestCreateServiceAccountRequest(false)} objectAttrs["transfer_service_account_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferServiceAccountAdministrationRequest(false)} + objectAttrs["password_reset_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestPasswordResetRequest(false)} + objectAttrs["grant_service_account_group_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestGrantServiceAccountGroupRequest(false)} + objectAttrs["transfer_provisioned_system_ownership_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferProvisionedSystemOwnershipRequest(false)} + objectAttrs["extend_access_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestExtendAccessRequest(false)} objectAttrs["transfer_provisioned_system_administration_request"] = types.ObjectType{AttrTypes: objectAttrsTypeRSRequestTransferProvisionedSystemAdministrationRequest(false)} return objectAttrs } @@ -2338,7 +2338,7 @@ func objectAttrsTypeRSServiceaccountServiceAccountStatus(recurse bool) map[strin func objectAttrsTypeRSServiceaccountServiceAccount_additionalObjects(recurse bool) map[string]attr.Type { objectAttrs := make(map[string]attr.Type) objectAttrs["audit"] = types.ObjectType{AttrTypes: objectAttrsTypeRSAuditInfo(recurse)} - objectAttrs["groups"] = types.ObjectType{AttrTypes: objectAttrsTypeRSServiceaccountServiceAccountGroupLinkableWrapper(recurse)} + objectAttrs["groups"] = objectAttrsTypeRSServiceaccountServiceAccountGroupLinkableWrapper(recurse)["items"] objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeRSGeneratedSecret(recurse)} return objectAttrs } @@ -2529,7 +2529,7 @@ func objectAttrsTypeRSVaultVaultRecord_additionalObjects(recurse bool) map[strin objectAttrs["password_metadata"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultPasswordMetadata(recurse)} objectAttrs["secret"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultVaultRecordSecrets(recurse)} objectAttrs["share_summary"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultVaultRecordShareSummary(recurse)} - objectAttrs["shares"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultVaultRecordPrimerLinkableWrapper(recurse)} + objectAttrs["shares"] = objectAttrsTypeRSVaultVaultRecordPrimerLinkableWrapper(recurse)["items"] objectAttrs["tile"] = types.ObjectType{AttrTypes: objectAttrsTypeRSLaunchpadVaultRecordLaunchpadTile(recurse)} objectAttrs["vaultholder"] = types.ObjectType{AttrTypes: objectAttrsTypeRSVaultVaultHolder(recurse)} return objectAttrs diff --git a/internal/provider/full-schema-ds.go b/internal/provider/full-schema-ds.go index 4ed23b1..03eb5e6 100644 --- a/internal/provider/full-schema-ds.go +++ b/internal/provider/full-schema-ds.go @@ -34,9 +34,12 @@ func dataSourceSchemaAttrsErrorReport(recurse bool) map[string]dsschema.Attribut schemaAttrs["application_error"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["application_error_parameters"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsErrorReport_applicationErrorParameters(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsErrorReport_applicationErrorParameters(recurse), + } + attr.Computed = true + schemaAttrs["application_error_parameters"] = attr } schemaAttrs["code"] = dsschema.Int64Attribute{ Computed: true, @@ -126,9 +129,12 @@ func dataSourceSchemaAttrsSegmentCount(recurse bool) map[string]dsschema.Attribu func dataSourceSchemaAttrsAccountVaultVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = dsschema.StringAttribute{ @@ -202,9 +208,12 @@ func dataSourceSchemaAttrsAccountVaultVaultRecord(recurse bool) map[string]dssch func dataSourceSchemaAttrsAuditAuditRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditAuditRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditAuditRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -299,18 +308,24 @@ func dataSourceSchemaAttrsAuditAuditRecordLinkableWrapper(recurse bool) map[stri } func dataSourceSchemaAttrsAuditAuditRecord_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsAuthAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -362,9 +377,12 @@ func dataSourceSchemaAttrsAuthAccount(recurse bool) map[string]dsschema.Attribut schemaAttrs["can_request_groups"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["directory_name"] = dsschema.StringAttribute{ Computed: true, @@ -485,9 +503,12 @@ func dataSourceSchemaAttrsAuthAccountRecoveryStatus(recurse bool) map[string]dss } func dataSourceSchemaAttrsAuthAccountSettings(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["default_organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), + } + attr.Computed = true + schemaAttrs["default_organizational_unit"] = attr } schemaAttrs["directory_name"] = dsschema.StringAttribute{ Computed: true, @@ -551,45 +572,70 @@ func dataSourceSchemaAttrsAuthAccount_additionalObjects(recurse bool) map[string schemaAttrs["active_login"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["groups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["groups"] = attr } - schemaAttrs["pending_recovery_requests"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountRecoveryStatus(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountRecoveryStatus(recurse), + } + attr.Computed = true + schemaAttrs["pending_recovery_requests"] = attr } - schemaAttrs["settings"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountSettings(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountSettings(recurse), + } + attr.Computed = true + schemaAttrs["settings"] = attr } - schemaAttrs["stored_attributes"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthStoredAccountAttributes(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthStoredAccountAttributes(recurse), + } + attr.Computed = true + schemaAttrs["stored_attributes"] = attr } - schemaAttrs["vault"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } func dataSourceSchemaAttrsAuthAccountsAuditStats(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["directory_stats"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_directoryStats(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_directoryStats(recurse), + } + attr.Computed = true + schemaAttrs["directory_stats"] = attr } - schemaAttrs["two_fa_stats"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_twoFAStats(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_twoFAStats(recurse), + } + attr.Computed = true + schemaAttrs["two_fa_stats"] = attr } - schemaAttrs["validity_stats"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_validityStats(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountsAuditStats_validityStats(recurse), + } + attr.Computed = true + schemaAttrs["validity_stats"] = attr } return schemaAttrs } @@ -608,9 +654,12 @@ func dataSourceSchemaAttrsAuthAccountsAuditStats_validityStats(recurse bool) map func dataSourceSchemaAttrsAuthInternalAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -662,9 +711,12 @@ func dataSourceSchemaAttrsAuthInternalAccount(recurse bool) map[string]dsschema. schemaAttrs["can_request_groups"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["directory_name"] = dsschema.StringAttribute{ Computed: true, @@ -750,9 +802,12 @@ func dataSourceSchemaAttrsAuthInternalAccountStatusObject(recurse bool) map[stri } func dataSourceSchemaAttrsAuthMoveInternalAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["internal_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryInternalDirectory(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryInternalDirectory(recurse), + } + attr.Computed = true + schemaAttrs["internal_directory"] = attr } return schemaAttrs } @@ -797,9 +852,12 @@ func dataSourceSchemaAttrsAuthStoredAccountAttributes(recurse bool) map[string]d func dataSourceSchemaAttrsCertificateCertificate(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificate_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificate_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -921,18 +979,24 @@ func dataSourceSchemaAttrsCertificateCertificatePrimer(recurse bool) map[string] } func dataSourceSchemaAttrsCertificateCertificate_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsClientApplicationVaultVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["client_application_uuid"] = dsschema.StringAttribute{ @@ -1006,9 +1070,12 @@ func dataSourceSchemaAttrsClientApplicationVaultVaultRecord(recurse bool) map[st func dataSourceSchemaAttrsClientClientApplication(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplication_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientClientApplication_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1058,25 +1125,40 @@ func dataSourceSchemaAttrsClientClientApplication(recurse bool) map[string]dssch schemaAttrs["last_modified_at"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } - schemaAttrs["technical_administrator"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["technical_administrator"] = attr } - schemaAttrs["o_auth2_client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2Client(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2Client(false), + } + attr.Computed = true + schemaAttrs["o_auth2_client"] = attr } - schemaAttrs["saml2_client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientSaml2Client(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientSaml2Client(false), + } + attr.Computed = true + schemaAttrs["saml2_client"] = attr } - schemaAttrs["ldap_client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientLdapClient(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientLdapClient(false), + } + attr.Computed = true + schemaAttrs["ldap_client"] = attr } return schemaAttrs } @@ -1131,25 +1213,36 @@ func dataSourceSchemaAttrsClientClientApplicationPrimer(recurse bool) map[string } func dataSourceSchemaAttrsClientClientApplication_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, - } - schemaAttrs["groupclients"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["groups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["secret"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGeneratedSecret(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr + } + { + attr := dataSourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["groupclients"] = attr + } + { + attr := dataSourceSchemaAttrsGroupGroupLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["groups"] = attr + } + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGeneratedSecret(recurse), + } + attr.Computed = true + schemaAttrs["secret"] = attr } - schemaAttrs["tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(recurse), + } + attr.Computed = true + schemaAttrs["tile"] = attr } schemaAttrs["vault_record_count"] = dsschema.Int64Attribute{ Computed: true, @@ -1161,16 +1254,22 @@ func dataSourceSchemaAttrsClientLdapClient(recurse bool) map[string]dsschema.Att schemaAttrs["bind_dn"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["client_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["client_certificate"] = attr } schemaAttrs["share_secret_in_vault"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["shared_secret"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), + } + attr.Computed = true + schemaAttrs["shared_secret"] = attr } schemaAttrs["used_for_provisioning"] = dsschema.BoolAttribute{ Computed: true, @@ -1185,9 +1284,12 @@ func dataSourceSchemaAttrsClientOAuth2Client(recurse bool) map[string]dsschema.A }, Computed: true, } - schemaAttrs["attributes"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2Client_attributes(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2Client_attributes(recurse), + } + attr.Computed = true + schemaAttrs["attributes"] = attr } schemaAttrs["callback_uri"] = dsschema.StringAttribute{ Computed: true, @@ -1210,9 +1312,12 @@ func dataSourceSchemaAttrsClientOAuth2Client(recurse bool) map[string]dsschema.A schemaAttrs["share_secret_in_vault"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["shared_secret"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), + } + attr.Computed = true + schemaAttrs["shared_secret"] = attr } schemaAttrs["show_landing_page"] = dsschema.BoolAttribute{ Computed: true, @@ -1225,9 +1330,12 @@ func dataSourceSchemaAttrsClientOAuth2Client(recurse bool) map[string]dsschema.A func dataSourceSchemaAttrsClientOAuth2ClientPermission(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1251,13 +1359,19 @@ func dataSourceSchemaAttrsClientOAuth2ClientPermission(recurse bool) map[string] )), }, } - schemaAttrs["for_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["for_group"] = attr } - schemaAttrs["for_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["for_system"] = attr } schemaAttrs["value"] = dsschema.StringAttribute{ Computed: true, @@ -1277,9 +1391,12 @@ func dataSourceSchemaAttrsClientOAuth2ClientPermissionLinkableWrapper(recurse bo func dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClient(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1303,20 +1420,29 @@ func dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClient(recurse bool) m )), }, } - schemaAttrs["for_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["for_group"] = attr } - schemaAttrs["for_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["for_system"] = attr } schemaAttrs["value"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2Client(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2Client(false), + } + attr.Computed = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -1332,9 +1458,12 @@ func dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper( } func dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -1344,9 +1473,12 @@ func dataSourceSchemaAttrsClientOAuth2Client_attributes(recurse bool) map[string } func dataSourceSchemaAttrsClientSaml2Client(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["attributes"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientSaml2Client_attributes(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientSaml2Client_attributes(recurse), + } + attr.Computed = true + schemaAttrs["attributes"] = attr } schemaAttrs["metadata"] = dsschema.StringAttribute{ Computed: true, @@ -1366,9 +1498,12 @@ func dataSourceSchemaAttrsClientSaml2Client_attributes(recurse bool) map[string] func dataSourceSchemaAttrsDeletedVaultHolderVaultVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["deleted_vault_holder_uuid"] = dsschema.StringAttribute{ @@ -1442,9 +1577,12 @@ func dataSourceSchemaAttrsDeletedVaultHolderVaultVaultRecord(recurse bool) map[s func dataSourceSchemaAttrsDirectoryAccountDirectory(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1487,16 +1625,22 @@ func dataSourceSchemaAttrsDirectoryAccountDirectory(recurse bool) map[string]dss )), }, } - schemaAttrs["base_organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), + } + attr.Computed = true + schemaAttrs["base_organizational_unit"] = attr } schemaAttrs["default_directory"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["helpdesk_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["helpdesk_group"] = attr } schemaAttrs["restrict2fa"] = dsschema.BoolAttribute{ Computed: true, @@ -1507,21 +1651,33 @@ func dataSourceSchemaAttrsDirectoryAccountDirectory(recurse bool) map[string]dss schemaAttrs["username_customizable"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["l_d_a_p_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryLDAPDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryMaintenanceDirectory(false), + } + attr.Computed = true + schemaAttrs["maintenance_directory"] = attr } - schemaAttrs["internal_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryInternalDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryOIDCDirectory(false), + } + attr.Computed = true + schemaAttrs["o_id_c_directory"] = attr } - schemaAttrs["o_id_c_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryOIDCDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryInternalDirectory(false), + } + attr.Computed = true + schemaAttrs["internal_directory"] = attr } - schemaAttrs["maintenance_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryMaintenanceDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryLDAPDirectory(false), + } + attr.Computed = true + schemaAttrs["l_d_a_p_directory"] = attr } return schemaAttrs } @@ -1609,9 +1765,12 @@ func dataSourceSchemaAttrsDirectoryAccountDirectorySummary(recurse bool) map[str schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["status"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), + } + attr.Computed = true + schemaAttrs["status"] = attr } schemaAttrs["username_customizable"] = dsschema.BoolAttribute{ Computed: true, @@ -1630,25 +1789,37 @@ func dataSourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurs } func dataSourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["markers"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["status"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), + } + attr.Computed = true + schemaAttrs["status"] = attr } return schemaAttrs } func dataSourceSchemaAttrsDirectoryInternalDirectory(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["owner"] = attr } return schemaAttrs } @@ -1660,9 +1831,12 @@ func dataSourceSchemaAttrsDirectoryLDAPDirectory(recurse bool) map[string]dssche schemaAttrs["base_dn"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["client_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["client_certificate"] = attr } schemaAttrs["dialect"] = dsschema.StringAttribute{ Computed: true, @@ -1670,9 +1844,12 @@ func dataSourceSchemaAttrsDirectoryLDAPDirectory(recurse bool) map[string]dssche schemaAttrs["failover_host"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["failover_trusted_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["failover_trusted_certificate"] = attr } schemaAttrs["host"] = dsschema.StringAttribute{ Computed: true, @@ -1695,9 +1872,12 @@ func dataSourceSchemaAttrsDirectoryLDAPDirectory(recurse bool) map[string]dssche schemaAttrs["tls"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["trusted_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["trusted_certificate"] = attr } return schemaAttrs } @@ -1745,9 +1925,12 @@ func dataSourceSchemaAttrsDirectoryOIDCDirectory(recurse bool) map[string]dssche func dataSourceSchemaAttrsGroupAccountGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupAccountGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupAccountGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1787,9 +1970,12 @@ func dataSourceSchemaAttrsGroupAccountGroup(recurse bool) map[string]dsschema.At schemaAttrs["end_date"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["folder"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupFolder(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupFolder(false), + } + attr.Computed = true + schemaAttrs["folder"] = attr } schemaAttrs["last_used"] = dsschema.StringAttribute{ Computed: true, @@ -1817,13 +2003,19 @@ func dataSourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse bool) map[str } func dataSourceSchemaAttrsGroupAccountGroup_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["vault"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } @@ -1843,9 +2035,12 @@ func dataSourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse bool) map[string] func dataSourceSchemaAttrsGroupGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -1885,9 +2080,12 @@ func dataSourceSchemaAttrsGroupGroup(recurse bool) map[string]dsschema.Attribute schemaAttrs["application_administration"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["audit_config"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAuditConfig(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAuditConfig(false), + } + attr.Computed = true + schemaAttrs["audit_config"] = attr } schemaAttrs["audit_requested"] = dsschema.BoolAttribute{ Computed: true, @@ -1895,29 +2093,44 @@ func dataSourceSchemaAttrsGroupGroup(recurse bool) map[string]dsschema.Attribute schemaAttrs["auditor"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["authorizing_group_auditing"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["authorizing_group_auditing"] = attr } - schemaAttrs["authorizing_group_delegation"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["authorizing_group_delegation"] = attr } - schemaAttrs["authorizing_group_membership"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["authorizing_group_membership"] = attr } - schemaAttrs["authorizing_group_provisioning"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["authorizing_group_provisioning"] = attr } schemaAttrs["authorizing_group_types"] = dsschema.ListAttribute{ ElementType: types.StringType, Computed: true, } - schemaAttrs["classification"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClassificationPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupClassificationPrimer(false), + } + attr.Computed = true + schemaAttrs["classification"] = attr } schemaAttrs["description"] = dsschema.StringAttribute{ Computed: true, @@ -1928,13 +2141,19 @@ func dataSourceSchemaAttrsGroupGroup(recurse bool) map[string]dsschema.Attribute schemaAttrs["hide_audit_trail"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["nested_under"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["nested_under"] = attr } - schemaAttrs["organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), + } + attr.Computed = true + schemaAttrs["organizational_unit"] = attr } schemaAttrs["private_group"] = dsschema.BoolAttribute{ Computed: true, @@ -1959,9 +2178,12 @@ func dataSourceSchemaAttrsGroupGroup(recurse bool) map[string]dsschema.Attribute func dataSourceSchemaAttrsGroupGroupAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2001,9 +2223,12 @@ func dataSourceSchemaAttrsGroupGroupAccount(recurse bool) map[string]dsschema.At )), }, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["disconnected_nested"] = dsschema.BoolAttribute{ Computed: true, @@ -2050,9 +2275,12 @@ func dataSourceSchemaAttrsGroupGroupAccountNesting(recurse bool) map[string]dssc } func dataSourceSchemaAttrsGroupGroupAccountStatus(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["folder"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupFolder(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupFolder(recurse), + } + attr.Computed = true + schemaAttrs["folder"] = attr } schemaAttrs["visible_for_provisioning"] = dsschema.BoolAttribute{ Computed: true, @@ -2061,9 +2289,12 @@ func dataSourceSchemaAttrsGroupGroupAccountStatus(recurse bool) map[string]dssch } func dataSourceSchemaAttrsGroupGroupAccount_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2077,9 +2308,12 @@ func dataSourceSchemaAttrsGroupGroupAdminMail(recurse bool) map[string]dsschema. func dataSourceSchemaAttrsGroupGroupAudit(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAudit_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAudit_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2225,9 +2459,12 @@ func dataSourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse bool) map[strin } func dataSourceSchemaAttrsGroupGroupAudit_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2262,9 +2499,12 @@ func dataSourceSchemaAttrsGroupGroupAuditingInfo(recurse bool) map[string]dssche func dataSourceSchemaAttrsGroupGroupClassification(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClassification_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupClassification_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2382,30 +2622,42 @@ func dataSourceSchemaAttrsGroupGroupClassificationPrimer(recurse bool) map[strin } func dataSourceSchemaAttrsGroupGroupClassificationUpdate(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["classificaton"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClassificationPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupClassificationPrimer(recurse), + } + attr.Computed = true + schemaAttrs["classificaton"] = attr } return schemaAttrs } func dataSourceSchemaAttrsGroupGroupClassification_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["info"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClassificationInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupClassificationInfo(recurse), + } + attr.Computed = true + schemaAttrs["info"] = attr } return schemaAttrs } func dataSourceSchemaAttrsGroupGroupClient(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClient_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupClient_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2432,21 +2684,33 @@ func dataSourceSchemaAttrsGroupGroupClient(recurse bool) map[string]dsschema.Att schemaAttrs["activation_required"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), + } + attr.Computed = true + schemaAttrs["client"] = attr } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } - schemaAttrs["technical_administrator"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["technical_administrator"] = attr } return schemaAttrs } @@ -2462,18 +2726,24 @@ func dataSourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse bool) map[stri } func dataSourceSchemaAttrsGroupGroupClient_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsGroupGroupFolder(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupFolder_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupFolder_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2514,9 +2784,12 @@ func dataSourceSchemaAttrsGroupGroupFolderLinkableWrapper(recurse bool) map[stri } func dataSourceSchemaAttrsGroupGroupFolder_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2609,113 +2882,157 @@ func dataSourceSchemaAttrsGroupGroupSegmentedLinkableWrapper(recurse bool) map[s } func dataSourceSchemaAttrsGroupGroup_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["accounts"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["administered_clients"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["administered_systems"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["admins"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse), - Computed: true, - DeprecationMessage: "This property will be removed in a future version.", - } - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, - } - schemaAttrs["authorized_groups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse), - Computed: true, - } - schemaAttrs["client_permissions"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["clients"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["content_administered_systems"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["groupauditinginfo"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAuditingInfo(recurse), - Computed: true, - } - schemaAttrs["groupinfo"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupInfo(recurse), - Computed: true, - } - schemaAttrs["helpdesk"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["markers"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["accounts"] = attr + } + { + attr := dataSourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["administered_clients"] = attr + } + { + attr := dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["administered_systems"] = attr + } + { + attr := dataSourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + attr.DeprecationMessage = "This property will be removed in a future version." + schemaAttrs["admins"] = attr + } + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["myaccount"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccount(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse), + } + attr.Computed = true + schemaAttrs["authorized_groups"] = attr + } + { + attr := dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["client_permissions"] = attr + } + { + attr := dataSourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["clients"] = attr + } + { + attr := dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["content_administered_systems"] = attr + } + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAuditingInfo(recurse), + } + attr.Computed = true + schemaAttrs["groupauditinginfo"] = attr } - schemaAttrs["mydelegatedaccount"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccount(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupInfo(recurse), + } + attr.Computed = true + schemaAttrs["groupinfo"] = attr } - schemaAttrs["nested_groups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["helpdesk"] = attr } - schemaAttrs["owned_clients"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["owned_directories"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryLinkableWrapper(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAccount(recurse), + } + attr.Computed = true + schemaAttrs["myaccount"] = attr } - schemaAttrs["owned_groups_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAccount(recurse), + } + attr.Computed = true + schemaAttrs["mydelegatedaccount"] = attr + } + { + attr := dataSourceSchemaAttrsGroupGroupPrimerLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["nested_groups"] = attr + } + { + attr := dataSourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["owned_clients"] = attr + } + { + attr := dataSourceSchemaAttrsDirectoryAccountDirectoryLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["owned_directories"] = attr + } + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse), + } + attr.Computed = true + schemaAttrs["owned_groups_on_system"] = attr } - schemaAttrs["owned_organizational_units"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsOrganizationOrganizationalUnitLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["owned_organizational_units"] = attr } - schemaAttrs["owned_systems"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["owned_systems"] = attr } - schemaAttrs["recent_audits"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["recent_audits"] = attr } schemaAttrs["requeststatus"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["service_accounts"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsServiceaccountServiceAccountLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["service_accounts"] = attr } - schemaAttrs["systems"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["systems"] = attr } - schemaAttrs["vault"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } - schemaAttrs["webhooks"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsWebhookWebhookLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["webhooks"] = attr } return schemaAttrs } @@ -2750,9 +3067,12 @@ func dataSourceSchemaAttrsGroupGroupsAuditStats(recurse bool) map[string]dsschem func dataSourceSchemaAttrsGroupProvisioningGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupProvisioningGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupProvisioningGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2779,13 +3099,19 @@ func dataSourceSchemaAttrsGroupProvisioningGroup(recurse bool) map[string]dssche schemaAttrs["activation_required"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["group_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(false), + } + attr.Computed = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -2801,18 +3127,24 @@ func dataSourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse bool) ma } func dataSourceSchemaAttrsGroupProvisioningGroup_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsGroupVaultVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = dsschema.StringAttribute{ @@ -2897,9 +3229,12 @@ func dataSourceSchemaAttrsLaunchpadDisplayedLaunchpadTile(recurse bool) map[stri }, Computed: true, } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } schemaAttrs["identicon_code"] = dsschema.Int64Attribute{ Computed: true, @@ -2908,9 +3243,12 @@ func dataSourceSchemaAttrsLaunchpadDisplayedLaunchpadTile(recurse bool) map[stri ElementType: types.StringType, Computed: true, } - schemaAttrs["tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse), + } + attr.Computed = true + schemaAttrs["tile"] = attr } schemaAttrs["title"] = dsschema.StringAttribute{ Computed: true, @@ -2933,9 +3271,12 @@ func dataSourceSchemaAttrsLaunchpadDisplayedLaunchpadTiles(recurse bool) map[str func dataSourceSchemaAttrsLaunchpadLaunchpadTile(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -2959,13 +3300,19 @@ func dataSourceSchemaAttrsLaunchpadLaunchpadTile(recurse bool) map[string]dssche )), }, } - schemaAttrs["application"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), + } + attr.Computed = true + schemaAttrs["application"] = attr } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["group"] = attr } schemaAttrs["identicon_code"] = dsschema.Int64Attribute{ Computed: true, @@ -2977,21 +3324,33 @@ func dataSourceSchemaAttrsLaunchpadLaunchpadTile(recurse bool) map[string]dssche ElementType: types.StringType, Computed: true, } - schemaAttrs["vault_record"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(false), + } + attr.Computed = true + schemaAttrs["vault_record"] = attr } - schemaAttrs["vault_record_launchpad_tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(false), + } + attr.Computed = true + schemaAttrs["vault_record_launchpad_tile"] = attr } - schemaAttrs["sso_application_launchpad_tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(false), + } + attr.Computed = true + schemaAttrs["sso_application_launchpad_tile"] = attr } - schemaAttrs["manual_launchpad_tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadManualLaunchpadTile(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadManualLaunchpadTile(false), + } + attr.Computed = true + schemaAttrs["manual_launchpad_tile"] = attr } return schemaAttrs } @@ -3023,9 +3382,12 @@ func dataSourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse bool) map[string] } func dataSourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -3117,9 +3479,12 @@ func dataSourceSchemaAttrsMarkItemMarker(recurse bool) map[string]dsschema.Attri schemaAttrs["type"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["parameters"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsMarkItemMarker_parameters(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsMarkItemMarker_parameters(recurse), + } + attr.Computed = true + schemaAttrs["parameters"] = attr } return schemaAttrs } @@ -3140,9 +3505,12 @@ func dataSourceSchemaAttrsMarkItemMarkers(recurse bool) map[string]dsschema.Attr func dataSourceSchemaAttrsNestedAuthInternalAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_directory_uuid"] = dsschema.StringAttribute{ @@ -3201,9 +3569,12 @@ func dataSourceSchemaAttrsNestedAuthInternalAccount(recurse bool) map[string]dss schemaAttrs["can_request_groups"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["directory_name"] = dsschema.StringAttribute{ Computed: true, @@ -3273,9 +3644,12 @@ func dataSourceSchemaAttrsNestedAuthInternalAccount(recurse bool) map[string]dss func dataSourceSchemaAttrsNestedClientOAuth2ClientPermission(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["client_application_uuid"] = dsschema.StringAttribute{ @@ -3306,13 +3680,19 @@ func dataSourceSchemaAttrsNestedClientOAuth2ClientPermission(recurse bool) map[s )), }, } - schemaAttrs["for_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["for_group"] = attr } - schemaAttrs["for_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["for_system"] = attr } schemaAttrs["value"] = dsschema.StringAttribute{ Computed: true, @@ -3322,9 +3702,12 @@ func dataSourceSchemaAttrsNestedClientOAuth2ClientPermission(recurse bool) map[s func dataSourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupAccountGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupAccountGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = dsschema.StringAttribute{ @@ -3371,9 +3754,12 @@ func dataSourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]dssch schemaAttrs["end_date"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["folder"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupFolder(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupFolder(false), + } + attr.Computed = true + schemaAttrs["folder"] = attr } schemaAttrs["last_used"] = dsschema.StringAttribute{ Computed: true, @@ -3392,9 +3778,12 @@ func dataSourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]dssch func dataSourceSchemaAttrsNestedGroupGroupAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = dsschema.StringAttribute{ @@ -3441,9 +3830,12 @@ func dataSourceSchemaAttrsNestedGroupGroupAccount(recurse bool) map[string]dssch )), }, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["disconnected_nested"] = dsschema.BoolAttribute{ Computed: true, @@ -3474,9 +3866,12 @@ func dataSourceSchemaAttrsNestedGroupGroupAccount(recurse bool) map[string]dssch func dataSourceSchemaAttrsNestedGroupGroupAudit(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupAudit_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupAudit_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = dsschema.StringAttribute{ @@ -3548,9 +3943,12 @@ func dataSourceSchemaAttrsNestedGroupGroupAudit(recurse bool) map[string]dsschem func dataSourceSchemaAttrsNestedOrganizationAccountOrganizationalUnit(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = dsschema.StringAttribute{ @@ -3596,9 +3994,12 @@ func dataSourceSchemaAttrsNestedOrganizationAccountOrganizationalUnit(recurse bo func dataSourceSchemaAttrsNestedOrganizationOrganizationalUnitAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["organizational_unit_uuid"] = dsschema.StringAttribute{ @@ -3645,18 +4046,24 @@ func dataSourceSchemaAttrsNestedOrganizationOrganizationalUnitAccount(recurse bo )), }, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } return schemaAttrs } func dataSourceSchemaAttrsNestedProvisioningGroupOnSystem(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = dsschema.StringAttribute{ @@ -3699,22 +4106,31 @@ func dataSourceSchemaAttrsNestedProvisioningGroupOnSystem(recurse bool) map[stri )), }, } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["system"] = attr } return schemaAttrs } func dataSourceSchemaAttrsNestedProvisioningProvisionedAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = dsschema.StringAttribute{ @@ -3769,9 +4185,12 @@ func dataSourceSchemaAttrsNestedProvisioningProvisionedAccount(recurse bool) map func dataSourceSchemaAttrsNestedProvisioningProvisionedSystemSyncLog(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = dsschema.StringAttribute{ @@ -3819,9 +4238,12 @@ func dataSourceSchemaAttrsNestedProvisioningProvisionedSystemSyncLog(recurse boo func dataSourceSchemaAttrsNestedServiceaccountServiceAccountGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["service_account_uuid"] = dsschema.StringAttribute{ @@ -3869,9 +4291,12 @@ func dataSourceSchemaAttrsNestedServiceaccountServiceAccountGroup(recurse bool) func dataSourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["webhook_uuid"] = dsschema.StringAttribute{ @@ -3902,9 +4327,12 @@ func dataSourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string] )), }, } - schemaAttrs["payload"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookPush(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookPush(false), + } + attr.Computed = true + schemaAttrs["payload"] = attr } schemaAttrs["reponse_headers"] = dsschema.StringAttribute{ Computed: true, @@ -3928,31 +4356,46 @@ func dataSourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string] } func dataSourceSchemaAttrsNotificationCertificateExpiredNotification(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificate(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificate(recurse), + } + attr.Computed = true + schemaAttrs["certificate"] = attr } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryLDAPDirectory(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryLDAPDirectory(recurse), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["expiration"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["ldap_client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientLdapClient(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientLdapClient(recurse), + } + attr.Computed = true + schemaAttrs["ldap_client"] = attr } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } schemaAttrs["usage"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["webhook"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhook(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhook(recurse), + } + attr.Computed = true + schemaAttrs["webhook"] = attr } return schemaAttrs } @@ -3961,9 +4404,12 @@ func dataSourceSchemaAttrsNotificationGroupAuditRequiredNotification(recurse boo schemaAttrs["due_date"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroup(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroup(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } schemaAttrs["notification_group_audit_required_notification_type"] = dsschema.StringAttribute{ Computed: true, @@ -3972,13 +4418,19 @@ func dataSourceSchemaAttrsNotificationGroupAuditRequiredNotification(recurse boo } func dataSourceSchemaAttrsNotificationGroupEditRequiredNotification(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroup(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroup(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["parameters"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsNotificationGroupEditRequiredNotification_parameters(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsNotificationGroupEditRequiredNotification_parameters(recurse), + } + attr.Computed = true + schemaAttrs["parameters"] = attr } schemaAttrs["reason"] = dsschema.StringAttribute{ Computed: true, @@ -3998,9 +4450,12 @@ func dataSourceSchemaAttrsNotificationLicenseStatusNotification(recurse bool) ma schemaAttrs["active_accounts"] = dsschema.Int64Attribute{ Computed: true, } - schemaAttrs["license_info"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLicenseKeyHubLicenseInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLicenseKeyHubLicenseInfo(recurse), + } + attr.Computed = true + schemaAttrs["license_info"] = attr } return schemaAttrs } @@ -4014,9 +4469,12 @@ func dataSourceSchemaAttrsNotificationModificationRequestNotification(recurse bo ElementType: types.StringType, Computed: true, } - schemaAttrs["request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestModificationRequest(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestModificationRequest(recurse), + } + attr.Computed = true + schemaAttrs["request"] = attr } return schemaAttrs } @@ -4039,9 +4497,12 @@ func dataSourceSchemaAttrsNotificationOldApiVersionUsageNotification(recurse boo schemaAttrs["api_version"] = dsschema.Int64Attribute{ Computed: true, } - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2Client(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientOAuth2Client(recurse), + } + attr.Computed = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -4074,18 +4535,24 @@ func dataSourceSchemaAttrsNotificationUpdateAvailableNotification(recurse bool) } func dataSourceSchemaAttrsNotificationVaultRecordExpiredNotification(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["record"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord(recurse), + } + attr.Computed = true + schemaAttrs["record"] = attr } return schemaAttrs } func dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4133,18 +4600,24 @@ func dataSourceSchemaAttrsOrganizationAccountOrganizationalUnitLinkableWrapper(r } func dataSourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsOrganizationOrganizationalUnit(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4184,22 +4657,31 @@ func dataSourceSchemaAttrsOrganizationOrganizationalUnit(recurse bool) map[strin schemaAttrs["description"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } - schemaAttrs["parent"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(false), + } + attr.Computed = true + schemaAttrs["parent"] = attr } return schemaAttrs } func dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4239,9 +4721,12 @@ func dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount(recurse bool) ma )), }, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } return schemaAttrs } @@ -4257,9 +4742,12 @@ func dataSourceSchemaAttrsOrganizationOrganizationalUnitAccountLinkableWrapper(r } func dataSourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -4311,17 +4799,23 @@ func dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimerLinkableWrapper(re } func dataSourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["attributes"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP_attributes(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP_attributes(recurse), + } + attr.Computed = true + schemaAttrs["attributes"] = attr } schemaAttrs["base_dn"] = dsschema.StringAttribute{ Computed: true, @@ -4332,16 +4826,22 @@ func dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP(recurse bool) map[ schemaAttrs["bind_password"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["client_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["client_certificate"] = attr } schemaAttrs["failover_host"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["failover_trusted_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["failover_trusted_certificate"] = attr } schemaAttrs["group_dn"] = dsschema.StringAttribute{ Computed: true, @@ -4364,9 +4864,12 @@ func dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP(recurse bool) map[ schemaAttrs["tls"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["trusted_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(recurse), + } + attr.Computed = true + schemaAttrs["trusted_certificate"] = attr } schemaAttrs["user_dn"] = dsschema.StringAttribute{ Computed: true, @@ -4385,9 +4888,12 @@ func dataSourceSchemaAttrsProvisioningAccountProvisioningStatus(recurse bool) ma schemaAttrs["result"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupProvisioningGroup(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupProvisioningGroup(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } return schemaAttrs } @@ -4420,9 +4926,12 @@ func dataSourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse bool) map func dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4458,13 +4967,19 @@ func dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse bool) map[string]dss )), }, } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["system"] = attr } return schemaAttrs } @@ -4516,33 +5031,47 @@ func dataSourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse bool) map[strin } func dataSourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["provgroups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["provgroups"] = attr } - schemaAttrs["service_accounts"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsServiceaccountServiceAccountPrimerLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["service_accounts"] = attr } return schemaAttrs } func dataSourceSchemaAttrsProvisioningGroupProvisioningStatus(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["folder"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupFolder(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupFolder(recurse), + } + attr.Computed = true + schemaAttrs["folder"] = attr } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroup(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroup(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["provisioning_duration"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupProvisioningStatus_provisioningDuration(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupProvisioningStatus_provisioningDuration(recurse), + } + attr.Computed = true + schemaAttrs["provisioning_duration"] = attr } schemaAttrs["provisioning_end_time"] = dsschema.StringAttribute{ Computed: true, @@ -4550,9 +5079,12 @@ func dataSourceSchemaAttrsProvisioningGroupProvisioningStatus(recurse bool) map[ schemaAttrs["provisioning_permission_end_time"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["status_report"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningAccountProvisioningStatusReport(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningAccountProvisioningStatusReport(recurse), + } + attr.Computed = true + schemaAttrs["status_report"] = attr } schemaAttrs["visible_on_dashboard"] = dsschema.BoolAttribute{ Computed: true, @@ -4585,9 +5117,12 @@ func dataSourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse bool) m func dataSourceSchemaAttrsProvisioningProvisionNumberSequence(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4634,13 +5169,17 @@ func dataSourceSchemaAttrsProvisioningProvisionNumberSequenceLinkableWrapper(rec } func dataSourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["systems"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["systems"] = attr } return schemaAttrs } @@ -4654,9 +5193,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedAD(recurse bool) map[string]dss func dataSourceSchemaAttrsProvisioningProvisionedAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4713,17 +5255,23 @@ func dataSourceSchemaAttrsProvisioningProvisionedAccountLinkableWrapper(recurse } func dataSourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsProvisioningProvisionedAzureOIDCDirectory(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["tenant"] = dsschema.StringAttribute{ Computed: true, @@ -4738,9 +5286,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedAzureSyncLDAPDirectory(recurse schemaAttrs["client_secret"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["tenant"] = dsschema.StringAttribute{ Computed: true, @@ -4765,9 +5316,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedAzureTenant(recurse bool) map[s } func dataSourceSchemaAttrsProvisioningProvisionedInternalLDAP(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientLdapClient(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientLdapClient(recurse), + } + attr.Computed = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -4779,17 +5333,23 @@ func dataSourceSchemaAttrsProvisioningProvisionedLDAP(recurse bool) map[string]d schemaAttrs["hashing_scheme"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["numbering"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionNumberSequence(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionNumberSequence(recurse), + } + attr.Computed = true + schemaAttrs["numbering"] = attr } return schemaAttrs } func dataSourceSchemaAttrsProvisioningProvisionedLDAPDirectory(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(recurse), + } + attr.Computed = true + schemaAttrs["directory"] = attr } schemaAttrs["group_dn"] = dsschema.StringAttribute{ Computed: true, @@ -4799,9 +5359,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedLDAPDirectory(recurse bool) map func dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -4822,9 +5385,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), + } + attr.Computed = true + schemaAttrs["organizational_unit"] = attr } schemaAttrs["type"] = dsschema.StringAttribute{ Computed: true, @@ -4848,16 +5414,22 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string schemaAttrs["account_count"] = dsschema.Int64Attribute{ Computed: true, } - schemaAttrs["content_administrator"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["content_administrator"] = attr } schemaAttrs["external_uuid"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["owner"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["owner"] = attr } schemaAttrs["self_service_existing_groups"] = dsschema.BoolAttribute{ Computed: true, @@ -4871,44 +5443,71 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string schemaAttrs["should_destroy_unknown_accounts"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["technical_administrator"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["technical_administrator"] = attr } schemaAttrs["username_prefix"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["provisioned_azure_oidc_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureOIDCDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP(false), + } + attr.Computed = true + schemaAttrs["abstract_provisioned_ldap"] = attr } - schemaAttrs["abstract_provisioned_ldap"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningAbstractProvisionedLDAP(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedLDAP(false), + } + attr.Computed = true + schemaAttrs["provisioned_ldap"] = attr } - schemaAttrs["provisioned_a_d"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAD(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureTenant(false), + } + attr.Computed = true + schemaAttrs["provisioned_azure_tenant"] = attr } - schemaAttrs["provisioned_azure_tenant"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureTenant(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureSyncLDAPDirectory(false), + } + attr.Computed = true + schemaAttrs["provisioned_azure_sync_ldap_directory"] = attr } - schemaAttrs["provisioned_azure_sync_ldap_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureSyncLDAPDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAzureOIDCDirectory(false), + } + attr.Computed = true + schemaAttrs["provisioned_azure_oidc_directory"] = attr } - schemaAttrs["provisioned_internal_ldap"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedInternalLDAP(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAD(false), + } + attr.Computed = true + schemaAttrs["provisioned_a_d"] = attr } - schemaAttrs["provisioned_ldap"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedLDAP(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedLDAPDirectory(false), + } + attr.Computed = true + schemaAttrs["provisioned_ldap_directory"] = attr } - schemaAttrs["provisioned_ldap_directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedLDAPDirectory(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedInternalLDAP(false), + } + attr.Computed = true + schemaAttrs["provisioned_internal_ldap"] = attr } return schemaAttrs } @@ -4942,9 +5541,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse bool) map[ schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), + } + attr.Computed = true + schemaAttrs["organizational_unit"] = attr } schemaAttrs["type"] = dsschema.StringAttribute{ Computed: true, @@ -4971,9 +5573,12 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(rec func dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -5023,44 +5628,66 @@ func dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLogLinkableWrapper(re } func dataSourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedAccount(recurse), + } + attr.Computed = true + schemaAttrs["account"] = attr } - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["issued_permissions"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["issued_permissions"] = attr } schemaAttrs["login_name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["management_permissions"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisioningManagementPermissions(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisioningManagementPermissions(recurse), + } + attr.Computed = true + schemaAttrs["management_permissions"] = attr } - schemaAttrs["markers"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["statistics"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse), + } + attr.Computed = true + schemaAttrs["statistics"] = attr } - schemaAttrs["supported_group_types"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse), + } + attr.Computed = true + schemaAttrs["supported_group_types"] = attr } return schemaAttrs } @@ -5102,33 +5729,45 @@ func dataSourceSchemaAttrsProvisioningTokenPassword(recurse bool) map[string]dss } func dataSourceSchemaAttrsRequestAbstractApplicationModificationRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["application"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(recurse), + } + attr.Computed = true + schemaAttrs["application"] = attr } return schemaAttrs } func dataSourceSchemaAttrsRequestAbstractOrganizationalUnitModificationRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsOrganizationOrganizationalUnitPrimer(recurse), + } + attr.Computed = true + schemaAttrs["organizational_unit"] = attr } return schemaAttrs } func dataSourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } return schemaAttrs } func dataSourceSchemaAttrsRequestAcceptGrantAccessRequestParameters(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["access_duration"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestAcceptGrantAccessRequestParameters_accessDuration(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestAcceptGrantAccessRequestParameters_accessDuration(recurse), + } + attr.Computed = true + schemaAttrs["access_duration"] = attr } return schemaAttrs } @@ -5158,9 +5797,12 @@ func dataSourceSchemaAttrsRequestAcceptModificationRequestParameters(recurse boo } func dataSourceSchemaAttrsRequestAddGroupAdminRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["new_admin"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["new_admin"] = attr } schemaAttrs["private_key"] = dsschema.StringAttribute{ Computed: true, @@ -5225,9 +5867,12 @@ func dataSourceSchemaAttrsRequestGrantClientPermissionRequest(recurse bool) map[ schemaAttrs["permission_type"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } return schemaAttrs } @@ -5236,9 +5881,12 @@ func dataSourceSchemaAttrsRequestGrantGroupOnSystemRequest(recurse bool) map[str schemaAttrs["activation_required"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["group_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Computed = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -5247,21 +5895,30 @@ func dataSourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(recurse bool) schemaAttrs["activation_required"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["group_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Computed = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } func dataSourceSchemaAttrsRequestGrantServiceAccountGroupRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["group_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Computed = true + schemaAttrs["group_on_system"] = attr } - schemaAttrs["service_account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["service_account"] = attr } return schemaAttrs } @@ -5276,9 +5933,12 @@ func dataSourceSchemaAttrsRequestJoinVaultRequest(recurse bool) map[string]dssch func dataSourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestModificationRequest_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestModificationRequest_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -5302,9 +5962,12 @@ func dataSourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]ds )), }, } - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(false), + } + attr.Computed = true + schemaAttrs["account"] = attr } schemaAttrs["comment"] = dsschema.StringAttribute{ Computed: true, @@ -5312,9 +5975,12 @@ func dataSourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]ds schemaAttrs["feedback"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["group"] = attr } schemaAttrs["mail_key"] = dsschema.StringAttribute{ Computed: true, @@ -5325,153 +5991,264 @@ func dataSourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]ds schemaAttrs["status"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["transfer_auditor_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferAuditorGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestAbstractApplicationModificationRequest(false), + } + attr.Computed = true + schemaAttrs["abstract_application_modification_request"] = attr } - schemaAttrs["abstract_provisioned_system_modification_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(false), + } + attr.Computed = true + schemaAttrs["abstract_provisioned_system_modification_request"] = attr } - schemaAttrs["create_service_account_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestCreateServiceAccountRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestRemoveProvisionedSystemRequest(false), + } + attr.Computed = true + schemaAttrs["remove_provisioned_system_request"] = attr } - schemaAttrs["review_audit_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestReviewAuditRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantApplicationRequest(false), + } + attr.Computed = true + schemaAttrs["grant_application_request"] = attr } - schemaAttrs["setup_nested_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestSetupNestedGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestReviewAuditRequest(false), + } + attr.Computed = true + schemaAttrs["review_audit_request"] = attr } - schemaAttrs["remove_provisioned_system_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestRemoveProvisionedSystemRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestRevokeAdminRequest(false), + } + attr.Computed = true + schemaAttrs["revoke_admin_request"] = attr } - schemaAttrs["abstract_application_modification_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestAbstractApplicationModificationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantAccessRequest(false), + } + attr.Computed = true + schemaAttrs["grant_access_request"] = attr } - schemaAttrs["grant_application_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantApplicationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemContentAdministrationRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_provisioned_system_content_administration_request"] = attr } - schemaAttrs["abstract_organizational_unit_modification_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestAbstractOrganizationalUnitModificationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestAbstractOrganizationalUnitModificationRequest(false), + } + attr.Computed = true + schemaAttrs["abstract_organizational_unit_modification_request"] = attr } - schemaAttrs["verify_internal_account_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestVerifyInternalAccountRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestRemoveOrganizationalUnitRequest(false), + } + attr.Computed = true + schemaAttrs["remove_organizational_unit_request"] = attr } - schemaAttrs["disable2fa_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestDisable2FARequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestCreateGroupOnSystemRequest(false), + } + attr.Computed = true + schemaAttrs["create_group_on_system_request"] = attr } - schemaAttrs["join_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestJoinGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferApplicationAdministrationRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_application_administration_request"] = attr } - schemaAttrs["join_vault_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestJoinVaultRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestUpdateGroupMembershipRequest(false), + } + attr.Computed = true + schemaAttrs["update_group_membership_request"] = attr } - schemaAttrs["remove_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestRemoveGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestAddGroupAdminRequest(false), + } + attr.Computed = true + schemaAttrs["add_group_admin_request"] = attr } - schemaAttrs["transfer_application_administration_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferApplicationAdministrationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferOrganizationalUnitOwnershipRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_organizational_unit_ownership_request"] = attr } - schemaAttrs["transfer_organizational_unit_ownership_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferOrganizationalUnitOwnershipRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestJoinVaultRequest(false), + } + attr.Computed = true + schemaAttrs["join_vault_request"] = attr } - schemaAttrs["remove_organizational_unit_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestRemoveOrganizationalUnitRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestVerifyInternalAccountRequest(false), + } + attr.Computed = true + schemaAttrs["verify_internal_account_request"] = attr } - schemaAttrs["grant_client_permission_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantClientPermissionRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestJoinGroupRequest(false), + } + attr.Computed = true + schemaAttrs["join_group_request"] = attr } - schemaAttrs["enable_technical_administration_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestEnableTechnicalAdministrationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_group_on_system_ownership_request"] = attr } - schemaAttrs["transfer_provisioned_system_content_administration_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemContentAdministrationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestRemoveGroupRequest(false), + } + attr.Computed = true + schemaAttrs["remove_group_request"] = attr } - schemaAttrs["password_reset_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestPasswordResetRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestSetupAuthorizingGroupRequest(false), + } + attr.Computed = true + schemaAttrs["setup_authorizing_group_request"] = attr } - schemaAttrs["transfer_group_on_system_ownership_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestSetupNestedGroupRequest(false), + } + attr.Computed = true + schemaAttrs["setup_nested_group_request"] = attr } - schemaAttrs["setup_authorizing_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestSetupAuthorizingGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(false), + } + attr.Computed = true + schemaAttrs["grant_group_on_system_request_request"] = attr } - schemaAttrs["grant_service_account_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantServiceAccountGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestDisable2FARequest(false), + } + attr.Computed = true + schemaAttrs["disable2fa_request"] = attr } - schemaAttrs["create_group_on_system_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestCreateGroupOnSystemRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantGroupOnSystemRequest(false), + } + attr.Computed = true + schemaAttrs["grant_group_on_system_request"] = attr } - schemaAttrs["transfer_application_ownership_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferApplicationOwnershipRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestEnableTechnicalAdministrationRequest(false), + } + attr.Computed = true + schemaAttrs["enable_technical_administration_request"] = attr } - schemaAttrs["grant_access_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantAccessRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestCreateGroupRequest(false), + } + attr.Computed = true + schemaAttrs["create_group_request"] = attr } - schemaAttrs["update_group_membership_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestUpdateGroupMembershipRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferAuditorGroupRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_auditor_group_request"] = attr } - schemaAttrs["extend_access_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestExtendAccessRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantClientPermissionRequest(false), + } + attr.Computed = true + schemaAttrs["grant_client_permission_request"] = attr } - schemaAttrs["add_group_admin_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestAddGroupAdminRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferApplicationOwnershipRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_application_ownership_request"] = attr } - schemaAttrs["grant_group_on_system_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantGroupOnSystemRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestCreateServiceAccountRequest(false), + } + attr.Computed = true + schemaAttrs["create_service_account_request"] = attr } - schemaAttrs["grant_group_on_system_request_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferServiceAccountAdministrationRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_service_account_administration_request"] = attr } - schemaAttrs["revoke_admin_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestRevokeAdminRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestPasswordResetRequest(false), + } + attr.Computed = true + schemaAttrs["password_reset_request"] = attr } - schemaAttrs["create_group_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestCreateGroupRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestGrantServiceAccountGroupRequest(false), + } + attr.Computed = true + schemaAttrs["grant_service_account_group_request"] = attr } - schemaAttrs["transfer_provisioned_system_ownership_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemOwnershipRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemOwnershipRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_provisioned_system_ownership_request"] = attr } - schemaAttrs["transfer_service_account_administration_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferServiceAccountAdministrationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestExtendAccessRequest(false), + } + attr.Computed = true + schemaAttrs["extend_access_request"] = attr } - schemaAttrs["transfer_provisioned_system_administration_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemAdministrationRequest(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestTransferProvisionedSystemAdministrationRequest(false), + } + attr.Computed = true + schemaAttrs["transfer_provisioned_system_administration_request"] = attr } return schemaAttrs } @@ -5487,13 +6264,19 @@ func dataSourceSchemaAttrsRequestModificationRequestLinkableWrapper(recurse bool } func dataSourceSchemaAttrsRequestModificationRequest_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["reset_status"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsRequestPasswordResetRequestStatus(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsRequestPasswordResetRequestStatus(recurse), + } + attr.Computed = true + schemaAttrs["reset_status"] = attr } return schemaAttrs } @@ -5545,9 +6328,12 @@ func dataSourceSchemaAttrsRequestReviewAuditRequest(recurse bool) map[string]dss } func dataSourceSchemaAttrsRequestRevokeAdminRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["admin"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["admin"] = attr } return schemaAttrs } @@ -5559,9 +6345,12 @@ func dataSourceSchemaAttrsRequestSetupAuthorizingGroupRequest(recurse bool) map[ schemaAttrs["connect"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["requesting_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["requesting_group"] = attr } return schemaAttrs } @@ -5573,9 +6362,12 @@ func dataSourceSchemaAttrsRequestSetupNestedGroupRequest(recurse bool) map[strin schemaAttrs["connect"] = dsschema.BoolAttribute{ Computed: true, } - schemaAttrs["requesting_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["requesting_group"] = attr } return schemaAttrs } @@ -5593,9 +6385,12 @@ func dataSourceSchemaAttrsRequestTransferAuditorGroupRequest(recurse bool) map[s } func dataSourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["group_on_system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Computed = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -5617,17 +6412,23 @@ func dataSourceSchemaAttrsRequestTransferProvisionedSystemOwnershipRequest(recur } func dataSourceSchemaAttrsRequestTransferServiceAccountAdministrationRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["service_account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["service_account"] = attr } return schemaAttrs } func dataSourceSchemaAttrsRequestUpdateGroupMembershipRequest(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["account_to_update"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["account_to_update"] = attr } schemaAttrs["current_end_date"] = dsschema.StringAttribute{ Computed: true, @@ -5656,9 +6457,12 @@ func dataSourceSchemaAttrsRequestVerifyInternalAccountRequest(recurse bool) map[ func dataSourceSchemaAttrsServiceaccountServiceAccount(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -5679,9 +6483,12 @@ func dataSourceSchemaAttrsServiceaccountServiceAccount(recurse bool) map[string] schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } schemaAttrs["username"] = dsschema.StringAttribute{ Computed: true, @@ -5705,25 +6512,34 @@ func dataSourceSchemaAttrsServiceaccountServiceAccount(recurse bool) map[string] schemaAttrs["description"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["password"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(false), + } + attr.Computed = true + schemaAttrs["password"] = attr } schemaAttrs["password_rotation"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["technical_administrator"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["technical_administrator"] = attr } return schemaAttrs } func dataSourceSchemaAttrsServiceaccountServiceAccountGroup(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -5773,9 +6589,12 @@ func dataSourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recur } func dataSourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -5809,9 +6628,12 @@ func dataSourceSchemaAttrsServiceaccountServiceAccountPrimer(recurse bool) map[s schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } schemaAttrs["username"] = dsschema.StringAttribute{ Computed: true, @@ -5844,17 +6666,24 @@ func dataSourceSchemaAttrsServiceaccountServiceAccountStatus(recurse bool) map[s } func dataSourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["groups"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["groups"] = attr } - schemaAttrs["secret"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGeneratedSecret(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGeneratedSecret(recurse), + } + attr.Computed = true + schemaAttrs["secret"] = attr } return schemaAttrs } @@ -5863,13 +6692,19 @@ func dataSourceSchemaAttrsServiceaccountServiceAccountsAuditStats(recurse bool) schemaAttrs["disabled_count"] = dsschema.Int64Attribute{ Computed: true, } - schemaAttrs["password_scheme_enabled_stats"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountsAuditStats_passwordSchemeEnabledStats(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountsAuditStats_passwordSchemeEnabledStats(recurse), + } + attr.Computed = true + schemaAttrs["password_scheme_enabled_stats"] = attr } - schemaAttrs["system_stats"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountsAuditStats_systemStats(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsServiceaccountServiceAccountsAuditStats_systemStats(recurse), + } + attr.Computed = true + schemaAttrs["system_stats"] = attr } return schemaAttrs } @@ -5902,9 +6737,12 @@ func dataSourceSchemaAttrsSimpleVersionInfo(recurse bool) map[string]dsschema.At func dataSourceSchemaAttrsVaultDeletedVaultHolder(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -5951,13 +6789,19 @@ func dataSourceSchemaAttrsVaultDeletedVaultHolderLinkableWrapper(recurse bool) m } func dataSourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["vault"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } @@ -5969,28 +6813,40 @@ func dataSourceSchemaAttrsVaultDeletedVaultRecovery(recurse bool) map[string]dss schemaAttrs["private_key"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["target_group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["target_group"] = attr } return schemaAttrs } func dataSourceSchemaAttrsVaultMoveVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["account"] = attr } schemaAttrs["action"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["share_duration"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultMoveVaultRecord_shareDuration(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultMoveVaultRecord_shareDuration(recurse), + } + attr.Computed = true + schemaAttrs["share_duration"] = attr } return schemaAttrs } @@ -6070,9 +6926,12 @@ func dataSourceSchemaAttrsVaultVaultHolder(recurse bool) map[string]dsschema.Att func dataSourceSchemaAttrsVaultVaultRecord(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -6222,53 +7081,81 @@ func dataSourceSchemaAttrsVaultVaultRecordShareSummary(recurse bool) map[string] }, Computed: true, } - schemaAttrs["parent"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordShare(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordShare(recurse), + } + attr.Computed = true + schemaAttrs["parent"] = attr } return schemaAttrs } func dataSourceSchemaAttrsVaultVaultRecord_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["parent"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimer(recurse), + } + attr.Computed = true + schemaAttrs["parent"] = attr } - schemaAttrs["password_metadata"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultPasswordMetadata(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultPasswordMetadata(recurse), + } + attr.Computed = true + schemaAttrs["password_metadata"] = attr } - schemaAttrs["secret"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordSecrets(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordSecrets(recurse), + } + attr.Computed = true + schemaAttrs["secret"] = attr } - schemaAttrs["share_summary"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordShareSummary(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultRecordShareSummary(recurse), + } + attr.Computed = true + schemaAttrs["share_summary"] = attr } - schemaAttrs["shares"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultRecordPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := dataSourceSchemaAttrsVaultVaultRecordPrimerLinkableWrapper(recurse)["items"].(dsschema.ListNestedAttribute) + attr.Computed = true + schemaAttrs["shares"] = attr } - schemaAttrs["tile"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(recurse), + } + attr.Computed = true + schemaAttrs["tile"] = attr } - schemaAttrs["vaultholder"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsVaultVaultHolder(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsVaultVaultHolder(recurse), + } + attr.Computed = true + schemaAttrs["vaultholder"] = attr } return schemaAttrs } func dataSourceSchemaAttrsVaultVaultRecovery(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(recurse), + } + attr.Computed = true + schemaAttrs["account"] = attr } schemaAttrs["private_key"] = dsschema.StringAttribute{ Computed: true, @@ -6295,9 +7182,12 @@ func dataSourceSchemaAttrsVaultVaultUnlockResponse(recurse bool) map[string]dssc func dataSourceSchemaAttrsWebhookWebhook(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhook_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhook_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -6321,9 +7211,12 @@ func dataSourceSchemaAttrsWebhookWebhook(recurse bool) map[string]dsschema.Attri )), }, } - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuthAccountPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuthAccountPrimer(false), + } + attr.Computed = true + schemaAttrs["account"] = attr } schemaAttrs["active"] = dsschema.BoolAttribute{ Computed: true, @@ -6343,13 +7236,19 @@ func dataSourceSchemaAttrsWebhookWebhook(recurse bool) map[string]dsschema.Attri schemaAttrs["bearer_token"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsClientClientApplicationPrimer(false), + } + attr.Computed = true + schemaAttrs["client"] = attr } - schemaAttrs["client_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(false), + } + attr.Computed = true + schemaAttrs["client_certificate"] = attr } schemaAttrs["custom_header_name"] = dsschema.StringAttribute{ Computed: true, @@ -6357,27 +7256,39 @@ func dataSourceSchemaAttrsWebhookWebhook(recurse bool) map[string]dsschema.Attri schemaAttrs["custom_header_value"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsDirectoryAccountDirectoryPrimer(false), + } + attr.Computed = true + schemaAttrs["directory"] = attr } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsGroupGroupPrimer(false), + } + attr.Computed = true + schemaAttrs["group"] = attr } schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsProvisioningProvisionedSystemPrimer(false), + } + attr.Computed = true + schemaAttrs["system"] = attr } schemaAttrs["tls"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["trusted_certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsCertificateCertificatePrimer(false), + } + attr.Computed = true + schemaAttrs["trusted_certificate"] = attr } schemaAttrs["types"] = dsschema.ListAttribute{ ElementType: types.StringType, @@ -6401,9 +7312,12 @@ func dataSourceSchemaAttrsWebhookWebhook(recurse bool) map[string]dsschema.Attri func dataSourceSchemaAttrsWebhookWebhookDelivery(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), + } + attr.Computed = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = dsschema.ListNestedAttribute{ @@ -6427,9 +7341,12 @@ func dataSourceSchemaAttrsWebhookWebhookDelivery(recurse bool) map[string]dssche )), }, } - schemaAttrs["payload"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookPush(false), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookPush(false), + } + attr.Computed = true + schemaAttrs["payload"] = attr } schemaAttrs["reponse_headers"] = dsschema.StringAttribute{ Computed: true, @@ -6463,9 +7380,12 @@ func dataSourceSchemaAttrsWebhookWebhookDeliveryLinkableWrapper(recurse bool) ma } func dataSourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -6484,9 +7404,12 @@ func dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse bool) map[string]dssche schemaAttrs["name"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["object"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsLinkable(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsLinkable(recurse), + } + attr.Computed = true + schemaAttrs["object"] = attr } schemaAttrs["uuid"] = dsschema.StringAttribute{ Required: recurse, @@ -6496,45 +7419,75 @@ func dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse bool) map[string]dssche } func dataSourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["account"] = attr } - schemaAttrs["by_party"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["by_party"] = attr } - schemaAttrs["certificate"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["certificate"] = attr } - schemaAttrs["client"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["client"] = attr } - schemaAttrs["directory"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["directory"] = attr } - schemaAttrs["group"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["group"] = attr } - schemaAttrs["group2"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["group2"] = attr } - schemaAttrs["group_classification"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["group_classification"] = attr } - schemaAttrs["modification_request"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["modification_request"] = attr } - schemaAttrs["organizational_unit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["organizational_unit"] = attr } schemaAttrs["parameter1"] = dsschema.StringAttribute{ Computed: true, @@ -6551,24 +7504,36 @@ func dataSourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]dsschema.A schemaAttrs["seq"] = dsschema.Int64Attribute{ Computed: true, } - schemaAttrs["service_account"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["service_account"] = attr } - schemaAttrs["system"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["system"] = attr } schemaAttrs["timestamp"] = dsschema.StringAttribute{ Computed: true, } - schemaAttrs["vault_record"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["vault_record"] = attr } - schemaAttrs["webhook"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Computed = true + schemaAttrs["webhook"] = attr } schemaAttrs["type"] = dsschema.StringAttribute{ Computed: true, @@ -6577,9 +7542,12 @@ func dataSourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]dsschema.A } func dataSourceSchemaAttrsWebhookWebhook_additionalObjects(recurse bool) map[string]dsschema.Attribute { schemaAttrs := make(map[string]dsschema.Attribute) - schemaAttrs["audit"] = dsschema.SingleNestedAttribute{ - Attributes: dataSourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := dsschema.SingleNestedAttribute{ + Attributes: dataSourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } diff --git a/internal/provider/full-schema-rs.go b/internal/provider/full-schema-rs.go index 841a251..deea286 100644 --- a/internal/provider/full-schema-rs.go +++ b/internal/provider/full-schema-rs.go @@ -44,9 +44,12 @@ func resourceSchemaAttrsErrorReport(recurse bool) map[string]rsschema.Attribute schemaAttrs["application_error"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["application_error_parameters"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsErrorReport_applicationErrorParameters(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsErrorReport_applicationErrorParameters(recurse), + } + attr.Optional = true + schemaAttrs["application_error_parameters"] = attr } schemaAttrs["code"] = rsschema.Int64Attribute{ Computed: true, @@ -146,9 +149,12 @@ func resourceSchemaAttrsSegmentCount(recurse bool) map[string]rsschema.Attribute func resourceSchemaAttrsAccountVaultVaultRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = rsschema.StringAttribute{ @@ -234,9 +240,12 @@ func resourceSchemaAttrsAccountVaultVaultRecord(recurse bool) map[string]rsschem func resourceSchemaAttrsAuditAuditRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditAuditRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditAuditRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -343,18 +352,24 @@ func resourceSchemaAttrsAuditAuditRecordLinkableWrapper(recurse bool) map[string } func resourceSchemaAttrsAuditAuditRecord_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsAuthAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -640,45 +655,70 @@ func resourceSchemaAttrsAuthAccount_additionalObjects(recurse bool) map[string]r schemaAttrs["active_login"] = rsschema.BoolAttribute{ Computed: true, } - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["groups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["groups"] = attr } - schemaAttrs["pending_recovery_requests"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccountRecoveryStatus(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccountRecoveryStatus(recurse), + } + attr.Computed = true + schemaAttrs["pending_recovery_requests"] = attr } - schemaAttrs["settings"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccountSettings(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccountSettings(recurse), + } + attr.Computed = true + schemaAttrs["settings"] = attr } - schemaAttrs["stored_attributes"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthStoredAccountAttributes(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthStoredAccountAttributes(recurse), + } + attr.Computed = true + schemaAttrs["stored_attributes"] = attr } - schemaAttrs["vault"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } func resourceSchemaAttrsAuthAccountsAuditStats(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["directory_stats"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccountsAuditStats_directoryStats(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccountsAuditStats_directoryStats(recurse), + } + attr.Optional = true + schemaAttrs["directory_stats"] = attr } - schemaAttrs["two_fa_stats"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccountsAuditStats_twoFAStats(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccountsAuditStats_twoFAStats(recurse), + } + attr.Optional = true + schemaAttrs["two_fa_stats"] = attr } - schemaAttrs["validity_stats"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuthAccountsAuditStats_validityStats(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuthAccountsAuditStats_validityStats(recurse), + } + attr.Optional = true + schemaAttrs["validity_stats"] = attr } return schemaAttrs } @@ -766,9 +806,12 @@ func resourceSchemaAttrsAuthInternalAccountStatusObject(recurse bool) map[string } func resourceSchemaAttrsAuthMoveInternalAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["internal_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryInternalDirectory(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryInternalDirectory(recurse), + } + attr.Required = true + schemaAttrs["internal_directory"] = attr } return schemaAttrs } @@ -820,9 +863,12 @@ func resourceSchemaAttrsAuthStoredAccountAttributes(recurse bool) map[string]rss func resourceSchemaAttrsCertificateCertificate(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsCertificateCertificate_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsCertificateCertificate_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -945,18 +991,24 @@ func resourceSchemaAttrsCertificateCertificatePrimer(recurse bool) map[string]rs } func resourceSchemaAttrsCertificateCertificate_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsClientApplicationVaultVaultRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["client_application_uuid"] = rsschema.StringAttribute{ @@ -1042,9 +1094,12 @@ func resourceSchemaAttrsClientApplicationVaultVaultRecord(recurse bool) map[stri func resourceSchemaAttrsClientClientApplication(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientClientApplication_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientClientApplication_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -1104,17 +1159,26 @@ func resourceSchemaAttrsClientClientApplication(recurse bool) map[string]rsschem stringvalidator.RegexMatches(regexp.MustCompile("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"), "The value must be a valid UUID"), }, } - schemaAttrs["o_auth2_client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2Client(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2Client(false), + } + attr.Optional = true + schemaAttrs["o_auth2_client"] = attr } - schemaAttrs["saml2_client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientSaml2Client(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientSaml2Client(false), + } + attr.Optional = true + schemaAttrs["saml2_client"] = attr } - schemaAttrs["ldap_client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientLdapClient(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientLdapClient(false), + } + attr.Optional = true + schemaAttrs["ldap_client"] = attr } return schemaAttrs } @@ -1176,28 +1240,39 @@ func resourceSchemaAttrsClientClientApplicationPrimer(recurse bool) map[string]r } func resourceSchemaAttrsClientClientApplication_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } schemaAttrs["delete_tile"] = rsschema.BoolAttribute{ Optional: true, } - schemaAttrs["groupclients"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse), - Optional: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Optional = true + schemaAttrs["groupclients"] = attr } - schemaAttrs["groups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["groups"] = attr } - schemaAttrs["secret"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGeneratedSecret(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGeneratedSecret(recurse), + } + attr.Optional = true + schemaAttrs["secret"] = attr } - schemaAttrs["tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(recurse), + } + attr.Optional = true + schemaAttrs["tile"] = attr } schemaAttrs["vault_record_count"] = rsschema.Int64Attribute{ Computed: true, @@ -1236,9 +1311,12 @@ func resourceSchemaAttrsClientOAuth2Client(recurse bool) map[string]rsschema.Att }, Computed: true, } - schemaAttrs["attributes"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2Client_attributes(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2Client_attributes(recurse), + } + attr.Optional = true + schemaAttrs["attributes"] = attr } schemaAttrs["callback_uri"] = rsschema.StringAttribute{ Optional: true, @@ -1288,9 +1366,12 @@ func resourceSchemaAttrsClientOAuth2Client(recurse bool) map[string]rsschema.Att func resourceSchemaAttrsClientOAuth2ClientPermission(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -1342,9 +1423,12 @@ func resourceSchemaAttrsClientOAuth2ClientPermissionLinkableWrapper(recurse bool func resourceSchemaAttrsClientOAuth2ClientPermissionWithClient(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -1381,9 +1465,12 @@ func resourceSchemaAttrsClientOAuth2ClientPermissionWithClient(recurse bool) map ), }, } - schemaAttrs["client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2Client(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2Client(false), + } + attr.Optional = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -1399,9 +1486,12 @@ func resourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(re } func resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -1411,9 +1501,12 @@ func resourceSchemaAttrsClientOAuth2Client_attributes(recurse bool) map[string]r } func resourceSchemaAttrsClientSaml2Client(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["attributes"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientSaml2Client_attributes(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientSaml2Client_attributes(recurse), + } + attr.Optional = true + schemaAttrs["attributes"] = attr } schemaAttrs["metadata"] = rsschema.StringAttribute{ Optional: true, @@ -1441,9 +1534,12 @@ func resourceSchemaAttrsClientSaml2Client_attributes(recurse bool) map[string]rs func resourceSchemaAttrsDeletedVaultHolderVaultVaultRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["deleted_vault_holder_uuid"] = rsschema.StringAttribute{ @@ -1529,9 +1625,12 @@ func resourceSchemaAttrsDeletedVaultHolderVaultVaultRecord(recurse bool) map[str func resourceSchemaAttrsDirectoryAccountDirectory(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -1606,21 +1705,33 @@ func resourceSchemaAttrsDirectoryAccountDirectory(recurse bool) map[string]rssch Optional: true, Default: booldefault.StaticBool(false), } - schemaAttrs["l_d_a_p_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryLDAPDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryMaintenanceDirectory(false), + } + attr.Optional = true + schemaAttrs["maintenance_directory"] = attr } - schemaAttrs["internal_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryInternalDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryOIDCDirectory(false), + } + attr.Optional = true + schemaAttrs["o_id_c_directory"] = attr } - schemaAttrs["o_id_c_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryOIDCDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryInternalDirectory(false), + } + attr.Optional = true + schemaAttrs["internal_directory"] = attr } - schemaAttrs["maintenance_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryMaintenanceDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryLDAPDirectory(false), + } + attr.Optional = true + schemaAttrs["l_d_a_p_directory"] = attr } return schemaAttrs } @@ -1728,9 +1839,12 @@ func resourceSchemaAttrsDirectoryAccountDirectorySummary(recurse bool) map[strin schemaAttrs["name"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["status"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), + } + attr.Optional = true + schemaAttrs["status"] = attr } schemaAttrs["username_customizable"] = rsschema.BoolAttribute{ Computed: true, @@ -1751,17 +1865,26 @@ func resourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurse } func resourceSchemaAttrsDirectoryAccountDirectory_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["markers"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["status"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryAccountDirectoryStatusReport(recurse), + } + attr.Computed = true + schemaAttrs["status"] = attr } return schemaAttrs } @@ -1938,9 +2061,12 @@ func resourceSchemaAttrsDirectoryOIDCDirectory(recurse bool) map[string]rsschema func resourceSchemaAttrsGroupAccountGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupAccountGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupAccountGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["uuid"] = rsschema.StringAttribute{ @@ -1952,9 +2078,12 @@ func resourceSchemaAttrsGroupAccountGroup(recurse bool) map[string]rsschema.Attr schemaAttrs["end_date"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["folder"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupFolder(false), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupFolder(false), + } + attr.Computed = true + schemaAttrs["folder"] = attr } schemaAttrs["last_used"] = rsschema.StringAttribute{ Computed: true, @@ -1987,13 +2116,19 @@ func resourceSchemaAttrsGroupAccountGroupLinkableWrapper(recurse bool) map[strin } func resourceSchemaAttrsGroupAccountGroup_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["vault"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } @@ -2015,9 +2150,12 @@ func resourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse bool) map[string]rs func resourceSchemaAttrsGroupGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -2053,10 +2191,13 @@ func resourceSchemaAttrsGroupGroup(recurse bool) map[string]rsschema.Attribute { Optional: true, Default: booldefault.StaticBool(false), } - schemaAttrs["audit_config"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAuditConfig(false), - Optional: true, - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAuditConfig(false), + } + attr.Optional = true + attr.Computed = true + schemaAttrs["audit_config"] = attr } schemaAttrs["audit_requested"] = rsschema.BoolAttribute{ Computed: true, @@ -2170,9 +2311,12 @@ func resourceSchemaAttrsGroupGroup(recurse bool) map[string]rsschema.Attribute { func resourceSchemaAttrsGroupGroupAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["uuid"] = rsschema.StringAttribute{ @@ -2236,9 +2380,12 @@ func resourceSchemaAttrsGroupGroupAccountNesting(recurse bool) map[string]rssche } func resourceSchemaAttrsGroupGroupAccountStatus(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["folder"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupFolder(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupFolder(recurse), + } + attr.Optional = true + schemaAttrs["folder"] = attr } schemaAttrs["visible_for_provisioning"] = rsschema.BoolAttribute{ Optional: true, @@ -2247,9 +2394,12 @@ func resourceSchemaAttrsGroupGroupAccountStatus(recurse bool) map[string]rsschem } func resourceSchemaAttrsGroupGroupAccount_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2263,9 +2413,12 @@ func resourceSchemaAttrsGroupGroupAdminMail(recurse bool) map[string]rsschema.At func resourceSchemaAttrsGroupGroupAudit(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAudit_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAudit_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -2426,9 +2579,12 @@ func resourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse bool) map[string] } func resourceSchemaAttrsGroupGroupAudit_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2475,9 +2631,12 @@ func resourceSchemaAttrsGroupGroupAuditingInfo(recurse bool) map[string]rsschema func resourceSchemaAttrsGroupGroupClassification(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupClassification_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupClassification_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -2634,22 +2793,31 @@ func resourceSchemaAttrsGroupGroupClassificationUpdate(recurse bool) map[string] } func resourceSchemaAttrsGroupGroupClassification_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["info"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupClassificationInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupClassificationInfo(recurse), + } + attr.Computed = true + schemaAttrs["info"] = attr } return schemaAttrs } func resourceSchemaAttrsGroupGroupClient(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupClient_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupClient_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -2699,18 +2867,24 @@ func resourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse bool) map[string } func resourceSchemaAttrsGroupGroupClient_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsGroupGroupFolder(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupFolder_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupFolder_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -2747,9 +2921,12 @@ func resourceSchemaAttrsGroupGroupFolderLinkableWrapper(recurse bool) map[string } func resourceSchemaAttrsGroupGroupFolder_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -2860,113 +3037,157 @@ func resourceSchemaAttrsGroupGroupSegmentedLinkableWrapper(recurse bool) map[str } func resourceSchemaAttrsGroupGroup_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["accounts"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse), - Optional: true, - } - schemaAttrs["administered_clients"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["administered_systems"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["admins"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse), - Optional: true, - DeprecationMessage: "This property will be removed in a future version.", - } - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, - } - schemaAttrs["authorized_groups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse), - Computed: true, - } - schemaAttrs["client_permissions"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse), - Optional: true, - } - schemaAttrs["clients"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["content_administered_systems"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["groupauditinginfo"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAuditingInfo(recurse), - Computed: true, - } - schemaAttrs["groupinfo"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupInfo(recurse), - Computed: true, - } - schemaAttrs["helpdesk"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurse), - Computed: true, - } - schemaAttrs["markers"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Optional = true + schemaAttrs["accounts"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["administered_clients"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["administered_systems"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupAccountLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Optional = true + attr.DeprecationMessage = "This property will be removed in a future version." + schemaAttrs["admins"] = attr + } + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["myaccount"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccount(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupAuthorizedGroupsWrapper(recurse), + } + attr.Computed = true + schemaAttrs["authorized_groups"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Optional = true + schemaAttrs["client_permissions"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupClientLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["clients"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["content_administered_systems"] = attr + } + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAuditingInfo(recurse), + } + attr.Computed = true + schemaAttrs["groupauditinginfo"] = attr } - schemaAttrs["mydelegatedaccount"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccount(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupInfo(recurse), + } + attr.Computed = true + schemaAttrs["groupinfo"] = attr } - schemaAttrs["nested_groups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsDirectoryAccountDirectorySummaryLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["helpdesk"] = attr } - schemaAttrs["owned_clients"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["owned_directories"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryAccountDirectoryLinkableWrapper(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAccount(recurse), + } + attr.Computed = true + schemaAttrs["myaccount"] = attr } - schemaAttrs["owned_groups_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAccount(recurse), + } + attr.Computed = true + schemaAttrs["mydelegatedaccount"] = attr + } + { + attr := resetListAttributeFlags(resourceSchemaAttrsGroupGroupPrimerLinkableWrapper(recurse)["items"].(rsschema.ListAttribute)) + attr.Computed = true + schemaAttrs["nested_groups"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsClientClientApplicationLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["owned_clients"] = attr + } + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsDirectoryAccountDirectoryLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["owned_directories"] = attr + } + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse), + } + attr.Computed = true + schemaAttrs["owned_groups_on_system"] = attr } - schemaAttrs["owned_organizational_units"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsOrganizationOrganizationalUnitLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["owned_organizational_units"] = attr } - schemaAttrs["owned_systems"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsProvisioningProvisionedSystemLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["owned_systems"] = attr } - schemaAttrs["recent_audits"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupGroupAuditLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["recent_audits"] = attr } schemaAttrs["requeststatus"] = rsschema.StringAttribute{ Computed: true, } - schemaAttrs["service_accounts"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsServiceaccountServiceAccountLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["service_accounts"] = attr } - schemaAttrs["systems"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["systems"] = attr } - schemaAttrs["vault"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } - schemaAttrs["webhooks"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsWebhookWebhookLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["webhooks"] = attr } return schemaAttrs } @@ -3013,9 +3234,12 @@ func resourceSchemaAttrsGroupGroupsAuditStats(recurse bool) map[string]rsschema. func resourceSchemaAttrsGroupProvisioningGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupProvisioningGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupProvisioningGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -3041,10 +3265,13 @@ func resourceSchemaAttrsGroupProvisioningGroup(recurse bool) map[string]rsschema Computed: true, PlanModifiers: []planmodifier.String{stringplanmodifier.UseStateForUnknown()}, } - schemaAttrs["group_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(false), - Computed: true, - PlanModifiers: []planmodifier.Object{objectplanmodifier.UseStateForUnknown()}, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(false), + } + attr.Computed = true + attr.PlanModifiers = []planmodifier.Object{objectplanmodifier.UseStateForUnknown()} + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -3060,18 +3287,24 @@ func resourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse bool) map[ } func resourceSchemaAttrsGroupProvisioningGroup_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsGroupVaultVaultRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = rsschema.StringAttribute{ @@ -3185,9 +3418,12 @@ func resourceSchemaAttrsLaunchpadDisplayedLaunchpadTile(recurse bool) map[string ElementType: types.StringType, Optional: true, } - schemaAttrs["tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse), + } + attr.Optional = true + schemaAttrs["tile"] = attr } schemaAttrs["title"] = rsschema.StringAttribute{ Optional: true, @@ -3210,9 +3446,12 @@ func resourceSchemaAttrsLaunchpadDisplayedLaunchpadTiles(recurse bool) map[strin func resourceSchemaAttrsLaunchpadLaunchpadTile(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -3260,17 +3499,26 @@ func resourceSchemaAttrsLaunchpadLaunchpadTile(recurse bool) map[string]rsschema stringvalidator.RegexMatches(regexp.MustCompile("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"), "The value must be a valid UUID"), }, } - schemaAttrs["vault_record_launchpad_tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(false), + } + attr.Optional = true + schemaAttrs["vault_record_launchpad_tile"] = attr } - schemaAttrs["sso_application_launchpad_tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadSsoApplicationLaunchpadTile(false), + } + attr.Optional = true + schemaAttrs["sso_application_launchpad_tile"] = attr } - schemaAttrs["manual_launchpad_tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadManualLaunchpadTile(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadManualLaunchpadTile(false), + } + attr.Optional = true + schemaAttrs["manual_launchpad_tile"] = attr } return schemaAttrs } @@ -3304,9 +3552,12 @@ func resourceSchemaAttrsLaunchpadLaunchpadTilePrimer(recurse bool) map[string]rs } func resourceSchemaAttrsLaunchpadLaunchpadTile_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -3435,9 +3686,12 @@ func resourceSchemaAttrsMarkItemMarker(recurse bool) map[string]rsschema.Attribu ), }, } - schemaAttrs["parameters"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsMarkItemMarker_parameters(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsMarkItemMarker_parameters(recurse), + } + attr.Optional = true + schemaAttrs["parameters"] = attr } return schemaAttrs } @@ -3512,9 +3766,12 @@ func resourceSchemaAttrsNestedAuthInternalAccount(recurse bool) map[string]rssch func resourceSchemaAttrsNestedClientOAuth2ClientPermission(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2ClientPermission_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["client_application_uuid"] = rsschema.StringAttribute{ @@ -3562,9 +3819,12 @@ func resourceSchemaAttrsNestedClientOAuth2ClientPermission(recurse bool) map[str func resourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupAccountGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupAccountGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = rsschema.StringAttribute{ @@ -3582,9 +3842,12 @@ func resourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]rsschem schemaAttrs["end_date"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["folder"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupFolder(false), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupFolder(false), + } + attr.Computed = true + schemaAttrs["folder"] = attr } schemaAttrs["last_used"] = rsschema.StringAttribute{ Computed: true, @@ -3608,9 +3871,12 @@ func resourceSchemaAttrsNestedGroupAccountGroup(recurse bool) map[string]rsschem func resourceSchemaAttrsNestedGroupGroupAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = rsschema.StringAttribute{ @@ -3662,9 +3928,12 @@ func resourceSchemaAttrsNestedGroupGroupAccount(recurse bool) map[string]rsschem func resourceSchemaAttrsNestedGroupGroupAudit(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupAudit_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupAudit_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["group_uuid"] = rsschema.StringAttribute{ @@ -3733,9 +4002,12 @@ func resourceSchemaAttrsNestedGroupGroupAudit(recurse bool) map[string]rsschema. func resourceSchemaAttrsNestedOrganizationAccountOrganizationalUnit(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["account_uuid"] = rsschema.StringAttribute{ @@ -3755,9 +4027,12 @@ func resourceSchemaAttrsNestedOrganizationAccountOrganizationalUnit(recurse bool func resourceSchemaAttrsNestedOrganizationOrganizationalUnitAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["organizational_unit_uuid"] = rsschema.StringAttribute{ @@ -3783,9 +4058,12 @@ func resourceSchemaAttrsNestedOrganizationOrganizationalUnitAccount(recurse bool func resourceSchemaAttrsNestedProvisioningGroupOnSystem(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = rsschema.StringAttribute{ @@ -3845,9 +4123,12 @@ func resourceSchemaAttrsNestedProvisioningGroupOnSystem(recurse bool) map[string func resourceSchemaAttrsNestedProvisioningProvisionedAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = rsschema.StringAttribute{ @@ -3871,9 +4152,12 @@ func resourceSchemaAttrsNestedProvisioningProvisionedAccount(recurse bool) map[s func resourceSchemaAttrsNestedProvisioningProvisionedSystemSyncLog(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["provisioned_system_uuid"] = rsschema.StringAttribute{ @@ -3917,9 +4201,12 @@ func resourceSchemaAttrsNestedProvisioningProvisionedSystemSyncLog(recurse bool) func resourceSchemaAttrsNestedServiceaccountServiceAccountGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["service_account_uuid"] = rsschema.StringAttribute{ @@ -3967,9 +4254,12 @@ func resourceSchemaAttrsNestedServiceaccountServiceAccountGroup(recurse bool) ma func resourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["webhook_uuid"] = rsschema.StringAttribute{ @@ -3992,9 +4282,12 @@ func resourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string]rs Computed: true, PlanModifiers: []planmodifier.List{listplanmodifier.UseStateForUnknown()}, } - schemaAttrs["payload"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookPush(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookPush(false), + } + attr.Optional = true + schemaAttrs["payload"] = attr } schemaAttrs["reponse_headers"] = rsschema.StringAttribute{ Optional: true, @@ -4018,24 +4311,36 @@ func resourceSchemaAttrsNestedWebhookWebhookDelivery(recurse bool) map[string]rs } func resourceSchemaAttrsNotificationCertificateExpiredNotification(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["certificate"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsCertificateCertificate(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsCertificateCertificate(recurse), + } + attr.Optional = true + schemaAttrs["certificate"] = attr } - schemaAttrs["directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsDirectoryLDAPDirectory(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsDirectoryLDAPDirectory(recurse), + } + attr.Optional = true + schemaAttrs["directory"] = attr } schemaAttrs["expiration"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["ldap_client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientLdapClient(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientLdapClient(recurse), + } + attr.Optional = true + schemaAttrs["ldap_client"] = attr } - schemaAttrs["system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystem(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedSystem(recurse), + } + attr.Optional = true + schemaAttrs["system"] = attr } schemaAttrs["usage"] = rsschema.StringAttribute{ Optional: true, @@ -4045,9 +4350,12 @@ func resourceSchemaAttrsNotificationCertificateExpiredNotification(recurse bool) ), }, } - schemaAttrs["webhook"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhook(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhook(recurse), + } + attr.Optional = true + schemaAttrs["webhook"] = attr } return schemaAttrs } @@ -4056,9 +4364,12 @@ func resourceSchemaAttrsNotificationGroupAuditRequiredNotification(recurse bool) schemaAttrs["due_date"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["group"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroup(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroup(recurse), + } + attr.Optional = true + schemaAttrs["group"] = attr } schemaAttrs["notification_group_audit_required_notification_type"] = rsschema.StringAttribute{ Optional: true, @@ -4072,13 +4383,19 @@ func resourceSchemaAttrsNotificationGroupAuditRequiredNotification(recurse bool) } func resourceSchemaAttrsNotificationGroupEditRequiredNotification(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["group"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroup(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroup(recurse), + } + attr.Optional = true + schemaAttrs["group"] = attr } - schemaAttrs["parameters"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsNotificationGroupEditRequiredNotification_parameters(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsNotificationGroupEditRequiredNotification_parameters(recurse), + } + attr.Optional = true + schemaAttrs["parameters"] = attr } schemaAttrs["reason"] = rsschema.StringAttribute{ Optional: true, @@ -4105,9 +4422,12 @@ func resourceSchemaAttrsNotificationLicenseStatusNotification(recurse bool) map[ Optional: true, Default: int64default.StaticInt64(0), } - schemaAttrs["license_info"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLicenseKeyHubLicenseInfo(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLicenseKeyHubLicenseInfo(recurse), + } + attr.Optional = true + schemaAttrs["license_info"] = attr } return schemaAttrs } @@ -4121,9 +4441,12 @@ func resourceSchemaAttrsNotificationModificationRequestNotification(recurse bool ElementType: types.StringType, Optional: true, } - schemaAttrs["request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestModificationRequest(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestModificationRequest(recurse), + } + attr.Optional = true + schemaAttrs["request"] = attr } return schemaAttrs } @@ -4148,9 +4471,12 @@ func resourceSchemaAttrsNotificationOldApiVersionUsageNotification(recurse bool) Optional: true, Default: int64default.StaticInt64(0), } - schemaAttrs["client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2Client(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientOAuth2Client(recurse), + } + attr.Optional = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -4189,18 +4515,24 @@ func resourceSchemaAttrsNotificationUpdateAvailableNotification(recurse bool) ma } func resourceSchemaAttrsNotificationVaultRecordExpiredNotification(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["record"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord(recurse), + } + attr.Optional = true + schemaAttrs["record"] = attr } return schemaAttrs } func resourceSchemaAttrsOrganizationAccountOrganizationalUnit(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["uuid"] = rsschema.StringAttribute{ @@ -4223,18 +4555,24 @@ func resourceSchemaAttrsOrganizationAccountOrganizationalUnitLinkableWrapper(rec } func resourceSchemaAttrsOrganizationAccountOrganizationalUnit_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsOrganizationOrganizationalUnit(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -4281,9 +4619,12 @@ func resourceSchemaAttrsOrganizationOrganizationalUnit(recurse bool) map[string] func resourceSchemaAttrsOrganizationOrganizationalUnitAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["uuid"] = rsschema.StringAttribute{ @@ -4312,9 +4653,12 @@ func resourceSchemaAttrsOrganizationOrganizationalUnitAccountLinkableWrapper(rec } func resourceSchemaAttrsOrganizationOrganizationalUnitAccount_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -4371,21 +4715,28 @@ func resourceSchemaAttrsOrganizationOrganizationalUnitPrimerLinkableWrapper(recu } func resourceSchemaAttrsOrganizationOrganizationalUnit_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["create_as_parent_of"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsOrganizationOrganizationalUnitPrimerLinkableWrapper(recurse), - Optional: true, + { + attr := resetListAttributeFlags(resourceSchemaAttrsOrganizationOrganizationalUnitPrimerLinkableWrapper(recurse)["items"].(rsschema.ListAttribute)) + attr.Optional = true + schemaAttrs["create_as_parent_of"] = attr } return schemaAttrs } func resourceSchemaAttrsProvisioningAbstractProvisionedLDAP(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["attributes"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningAbstractProvisionedLDAP_attributes(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningAbstractProvisionedLDAP_attributes(recurse), + } + attr.Optional = true + schemaAttrs["attributes"] = attr } schemaAttrs["base_dn"] = rsschema.StringAttribute{ Required: true, @@ -4493,9 +4844,12 @@ func resourceSchemaAttrsProvisioningAccountProvisioningStatus(recurse bool) map[ ), }, } - schemaAttrs["system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupProvisioningGroup(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupProvisioningGroup(recurse), + } + attr.Optional = true + schemaAttrs["system"] = attr } return schemaAttrs } @@ -4539,9 +4893,12 @@ func resourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse bool) map[s func resourceSchemaAttrsProvisioningGroupOnSystem(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -4657,33 +5014,47 @@ func resourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse bool) map[string] } func resourceSchemaAttrsProvisioningGroupOnSystem_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["provgroups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse), - Optional: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsGroupProvisioningGroupLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Optional = true + schemaAttrs["provgroups"] = attr } - schemaAttrs["service_accounts"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountPrimerLinkableWrapper(recurse), - Optional: true, + { + attr := resetListAttributeFlags(resourceSchemaAttrsServiceaccountServiceAccountPrimerLinkableWrapper(recurse)["items"].(rsschema.ListAttribute)) + attr.Optional = true + schemaAttrs["service_accounts"] = attr } return schemaAttrs } func resourceSchemaAttrsProvisioningGroupProvisioningStatus(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["folder"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroupFolder(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroupFolder(recurse), + } + attr.Optional = true + schemaAttrs["folder"] = attr } - schemaAttrs["group"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGroupGroup(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGroupGroup(recurse), + } + attr.Optional = true + schemaAttrs["group"] = attr } - schemaAttrs["provisioning_duration"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupProvisioningStatus_provisioningDuration(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupProvisioningStatus_provisioningDuration(recurse), + } + attr.Optional = true + schemaAttrs["provisioning_duration"] = attr } schemaAttrs["provisioning_end_time"] = rsschema.StringAttribute{ Required: true, @@ -4691,9 +5062,12 @@ func resourceSchemaAttrsProvisioningGroupProvisioningStatus(recurse bool) map[st schemaAttrs["provisioning_permission_end_time"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["status_report"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningAccountProvisioningStatusReport(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningAccountProvisioningStatusReport(recurse), + } + attr.Optional = true + schemaAttrs["status_report"] = attr } schemaAttrs["visible_on_dashboard"] = rsschema.BoolAttribute{ Computed: true, @@ -4730,9 +5104,12 @@ func resourceSchemaAttrsProvisioningOwnedGroupOnSystemsWrapper(recurse bool) map func resourceSchemaAttrsProvisioningProvisionNumberSequence(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -4780,13 +5157,17 @@ func resourceSchemaAttrsProvisioningProvisionNumberSequenceLinkableWrapper(recur } func resourceSchemaAttrsProvisioningProvisionNumberSequence_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["systems"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := resetListAttributeFlags(resourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(recurse)["items"].(rsschema.ListAttribute)) + attr.Computed = true + schemaAttrs["systems"] = attr } return schemaAttrs } @@ -4805,9 +5186,12 @@ func resourceSchemaAttrsProvisioningProvisionedAD(recurse bool) map[string]rssch func resourceSchemaAttrsProvisioningProvisionedAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["uuid"] = rsschema.StringAttribute{ @@ -4834,9 +5218,12 @@ func resourceSchemaAttrsProvisioningProvisionedAccountLinkableWrapper(recurse bo } func resourceSchemaAttrsProvisioningProvisionedAccount_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -4899,9 +5286,12 @@ func resourceSchemaAttrsProvisioningProvisionedAzureTenant(recurse bool) map[str } func resourceSchemaAttrsProvisioningProvisionedInternalLDAP(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientLdapClient(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsClientLdapClient(recurse), + } + attr.Optional = true + schemaAttrs["client"] = attr } return schemaAttrs } @@ -4920,9 +5310,12 @@ func resourceSchemaAttrsProvisioningProvisionedLDAP(recurse bool) map[string]rss ), }, } - schemaAttrs["numbering"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionNumberSequence(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionNumberSequence(recurse), + } + attr.Required = true + schemaAttrs["numbering"] = attr } return schemaAttrs } @@ -4945,9 +5338,12 @@ func resourceSchemaAttrsProvisioningProvisionedLDAPDirectory(recurse bool) map[s func resourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -5039,37 +5435,61 @@ func resourceSchemaAttrsProvisioningProvisionedSystem(recurse bool) map[string]r stringvalidator.UTF8LengthBetween(0, 255), }, } - schemaAttrs["provisioned_azure_oidc_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAzureOIDCDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningAbstractProvisionedLDAP(false), + } + attr.Optional = true + schemaAttrs["abstract_provisioned_ldap"] = attr } - schemaAttrs["abstract_provisioned_ldap"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningAbstractProvisionedLDAP(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedLDAP(false), + } + attr.Optional = true + schemaAttrs["provisioned_ldap"] = attr } - schemaAttrs["provisioned_a_d"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAD(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAzureTenant(false), + } + attr.Optional = true + schemaAttrs["provisioned_azure_tenant"] = attr } - schemaAttrs["provisioned_azure_tenant"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAzureTenant(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAzureSyncLDAPDirectory(false), + } + attr.Optional = true + schemaAttrs["provisioned_azure_sync_ldap_directory"] = attr } - schemaAttrs["provisioned_azure_sync_ldap_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAzureSyncLDAPDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAzureOIDCDirectory(false), + } + attr.Optional = true + schemaAttrs["provisioned_azure_oidc_directory"] = attr } - schemaAttrs["provisioned_internal_ldap"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedInternalLDAP(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAD(false), + } + attr.Optional = true + schemaAttrs["provisioned_a_d"] = attr } - schemaAttrs["provisioned_ldap"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedLDAP(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedLDAPDirectory(false), + } + attr.Optional = true + schemaAttrs["provisioned_ldap_directory"] = attr } - schemaAttrs["provisioned_ldap_directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedLDAPDirectory(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedInternalLDAP(false), + } + attr.Optional = true + schemaAttrs["provisioned_internal_ldap"] = attr } return schemaAttrs } @@ -5142,9 +5562,12 @@ func resourceSchemaAttrsProvisioningProvisionedSystemPrimerLinkableWrapper(recur func resourceSchemaAttrsProvisioningProvisionedSystemSyncLog(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -5191,44 +5614,66 @@ func resourceSchemaAttrsProvisioningProvisionedSystemSyncLogLinkableWrapper(recu } func resourceSchemaAttrsProvisioningProvisionedSystemSyncLog_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } func resourceSchemaAttrsProvisioningProvisionedSystem_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["account"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisionedAccount(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisionedAccount(recurse), + } + attr.Computed = true + schemaAttrs["account"] = attr } - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["issued_permissions"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["issued_permissions"] = attr } schemaAttrs["login_name"] = rsschema.StringAttribute{ Computed: true, } - schemaAttrs["management_permissions"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningProvisioningManagementPermissions(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningProvisioningManagementPermissions(recurse), + } + attr.Computed = true + schemaAttrs["management_permissions"] = attr } - schemaAttrs["markers"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsMarkItemMarkers(recurse), + } + attr.Computed = true + schemaAttrs["markers"] = attr } - schemaAttrs["statistics"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningCircuitBreakerStatistics(recurse), + } + attr.Computed = true + schemaAttrs["statistics"] = attr } - schemaAttrs["supported_group_types"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystemTypes(recurse), + } + attr.Computed = true + schemaAttrs["supported_group_types"] = attr } return schemaAttrs } @@ -5310,9 +5755,12 @@ func resourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(recu } func resourceSchemaAttrsRequestAcceptGrantAccessRequestParameters(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["access_duration"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAcceptGrantAccessRequestParameters_accessDuration(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAcceptGrantAccessRequestParameters_accessDuration(recurse), + } + attr.Optional = true + schemaAttrs["access_duration"] = attr } return schemaAttrs } @@ -5446,9 +5894,12 @@ func resourceSchemaAttrsRequestGrantGroupOnSystemRequest(recurse bool) map[strin Optional: true, Default: booldefault.StaticBool(true), } - schemaAttrs["group_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Required = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -5459,17 +5910,23 @@ func resourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(recurse bool) ma Optional: true, Default: booldefault.StaticBool(true), } - schemaAttrs["group_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Required = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } func resourceSchemaAttrsRequestGrantServiceAccountGroupRequest(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["group_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Required = true + schemaAttrs["group_on_system"] = attr } schemaAttrs["service_account_uuid"] = rsschema.StringAttribute{ Required: true, @@ -5490,9 +5947,12 @@ func resourceSchemaAttrsRequestJoinVaultRequest(recurse bool) map[string]rsschem func resourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestModificationRequest_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestModificationRequest_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -5549,153 +6009,264 @@ func resourceSchemaAttrsRequestModificationRequest(recurse bool) map[string]rssc ), }, } - schemaAttrs["transfer_auditor_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferAuditorGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAbstractApplicationModificationRequest(false), + } + attr.Optional = true + schemaAttrs["abstract_application_modification_request"] = attr } - schemaAttrs["abstract_provisioned_system_modification_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAbstractProvisionedSystemModificationRequest(false), + } + attr.Optional = true + schemaAttrs["abstract_provisioned_system_modification_request"] = attr } - schemaAttrs["create_service_account_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestCreateServiceAccountRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestRemoveProvisionedSystemRequest(false), + } + attr.Optional = true + schemaAttrs["remove_provisioned_system_request"] = attr } - schemaAttrs["review_audit_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestReviewAuditRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantApplicationRequest(false), + } + attr.Optional = true + schemaAttrs["grant_application_request"] = attr } - schemaAttrs["setup_nested_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestSetupNestedGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestReviewAuditRequest(false), + } + attr.Optional = true + schemaAttrs["review_audit_request"] = attr } - schemaAttrs["remove_provisioned_system_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestRemoveProvisionedSystemRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestRevokeAdminRequest(false), + } + attr.Optional = true + schemaAttrs["revoke_admin_request"] = attr } - schemaAttrs["abstract_application_modification_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAbstractApplicationModificationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantAccessRequest(false), + } + attr.Optional = true + schemaAttrs["grant_access_request"] = attr } - schemaAttrs["grant_application_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantApplicationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemContentAdministrationRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_provisioned_system_content_administration_request"] = attr } - schemaAttrs["abstract_organizational_unit_modification_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAbstractOrganizationalUnitModificationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAbstractOrganizationalUnitModificationRequest(false), + } + attr.Optional = true + schemaAttrs["abstract_organizational_unit_modification_request"] = attr } - schemaAttrs["verify_internal_account_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestVerifyInternalAccountRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestRemoveOrganizationalUnitRequest(false), + } + attr.Optional = true + schemaAttrs["remove_organizational_unit_request"] = attr } - schemaAttrs["disable2fa_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestDisable2FARequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestCreateGroupOnSystemRequest(false), + } + attr.Optional = true + schemaAttrs["create_group_on_system_request"] = attr } - schemaAttrs["join_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestJoinGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferApplicationAdministrationRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_application_administration_request"] = attr } - schemaAttrs["join_vault_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestJoinVaultRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestUpdateGroupMembershipRequest(false), + } + attr.Optional = true + schemaAttrs["update_group_membership_request"] = attr } - schemaAttrs["remove_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestRemoveGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAddGroupAdminRequest(false), + } + attr.Optional = true + schemaAttrs["add_group_admin_request"] = attr } - schemaAttrs["transfer_application_administration_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferApplicationAdministrationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferOrganizationalUnitOwnershipRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_organizational_unit_ownership_request"] = attr } - schemaAttrs["transfer_organizational_unit_ownership_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferOrganizationalUnitOwnershipRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestJoinVaultRequest(false), + } + attr.Optional = true + schemaAttrs["join_vault_request"] = attr } - schemaAttrs["remove_organizational_unit_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestRemoveOrganizationalUnitRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestVerifyInternalAccountRequest(false), + } + attr.Optional = true + schemaAttrs["verify_internal_account_request"] = attr } - schemaAttrs["grant_client_permission_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantClientPermissionRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestJoinGroupRequest(false), + } + attr.Optional = true + schemaAttrs["join_group_request"] = attr } - schemaAttrs["enable_technical_administration_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestEnableTechnicalAdministrationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_group_on_system_ownership_request"] = attr } - schemaAttrs["transfer_provisioned_system_content_administration_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemContentAdministrationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestRemoveGroupRequest(false), + } + attr.Optional = true + schemaAttrs["remove_group_request"] = attr } - schemaAttrs["password_reset_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestPasswordResetRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestSetupAuthorizingGroupRequest(false), + } + attr.Optional = true + schemaAttrs["setup_authorizing_group_request"] = attr } - schemaAttrs["transfer_group_on_system_ownership_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestSetupNestedGroupRequest(false), + } + attr.Optional = true + schemaAttrs["setup_nested_group_request"] = attr } - schemaAttrs["setup_authorizing_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestSetupAuthorizingGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(false), + } + attr.Optional = true + schemaAttrs["grant_group_on_system_request_request"] = attr } - schemaAttrs["grant_service_account_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantServiceAccountGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestDisable2FARequest(false), + } + attr.Optional = true + schemaAttrs["disable2fa_request"] = attr } - schemaAttrs["create_group_on_system_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestCreateGroupOnSystemRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantGroupOnSystemRequest(false), + } + attr.Optional = true + schemaAttrs["grant_group_on_system_request"] = attr } - schemaAttrs["transfer_application_ownership_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferApplicationOwnershipRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestEnableTechnicalAdministrationRequest(false), + } + attr.Optional = true + schemaAttrs["enable_technical_administration_request"] = attr } - schemaAttrs["grant_access_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantAccessRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestCreateGroupRequest(false), + } + attr.Optional = true + schemaAttrs["create_group_request"] = attr } - schemaAttrs["update_group_membership_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestUpdateGroupMembershipRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferAuditorGroupRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_auditor_group_request"] = attr } - schemaAttrs["extend_access_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestExtendAccessRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantClientPermissionRequest(false), + } + attr.Optional = true + schemaAttrs["grant_client_permission_request"] = attr } - schemaAttrs["add_group_admin_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAddGroupAdminRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferApplicationOwnershipRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_application_ownership_request"] = attr } - schemaAttrs["grant_group_on_system_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantGroupOnSystemRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestCreateServiceAccountRequest(false), + } + attr.Optional = true + schemaAttrs["create_service_account_request"] = attr } - schemaAttrs["grant_group_on_system_request_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestGrantGroupOnSystemRequestRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferServiceAccountAdministrationRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_service_account_administration_request"] = attr } - schemaAttrs["revoke_admin_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestRevokeAdminRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestPasswordResetRequest(false), + } + attr.Optional = true + schemaAttrs["password_reset_request"] = attr } - schemaAttrs["create_group_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestCreateGroupRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestGrantServiceAccountGroupRequest(false), + } + attr.Optional = true + schemaAttrs["grant_service_account_group_request"] = attr } - schemaAttrs["transfer_provisioned_system_ownership_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemOwnershipRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemOwnershipRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_provisioned_system_ownership_request"] = attr } - schemaAttrs["transfer_service_account_administration_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferServiceAccountAdministrationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestExtendAccessRequest(false), + } + attr.Optional = true + schemaAttrs["extend_access_request"] = attr } - schemaAttrs["transfer_provisioned_system_administration_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemAdministrationRequest(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestTransferProvisionedSystemAdministrationRequest(false), + } + attr.Optional = true + schemaAttrs["transfer_provisioned_system_administration_request"] = attr } return schemaAttrs } @@ -5711,17 +6282,26 @@ func resourceSchemaAttrsRequestModificationRequestLinkableWrapper(recurse bool) } func resourceSchemaAttrsRequestModificationRequest_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["accept_params"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestAcceptModificationRequestParameters(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestAcceptModificationRequestParameters(recurse), + } + attr.Optional = true + schemaAttrs["accept_params"] = attr } - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["reset_status"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsRequestPasswordResetRequestStatus(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsRequestPasswordResetRequestStatus(recurse), + } + attr.Computed = true + schemaAttrs["reset_status"] = attr } return schemaAttrs } @@ -5862,9 +6442,12 @@ func resourceSchemaAttrsRequestTransferAuditorGroupRequest(recurse bool) map[str } func resourceSchemaAttrsRequestTransferGroupOnSystemOwnershipRequest(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["group_on_system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), - Required: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsProvisioningGroupOnSystem(recurse), + } + attr.Required = true + schemaAttrs["group_on_system"] = attr } return schemaAttrs } @@ -5942,9 +6525,12 @@ func resourceSchemaAttrsRequestVerifyInternalAccountRequest(recurse bool) map[st func resourceSchemaAttrsServiceaccountServiceAccount(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6011,9 +6597,12 @@ func resourceSchemaAttrsServiceaccountServiceAccount(recurse bool) map[string]rs func resourceSchemaAttrsServiceaccountServiceAccountGroup(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6064,9 +6653,12 @@ func resourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recurse } func resourceSchemaAttrsServiceaccountServiceAccountGroup_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -6145,17 +6737,24 @@ func resourceSchemaAttrsServiceaccountServiceAccountStatus(recurse bool) map[str } func resourceSchemaAttrsServiceaccountServiceAccount_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["groups"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recurse), - Computed: true, + { + attr := resetListNestedAttributeFlags(resourceSchemaAttrsServiceaccountServiceAccountGroupLinkableWrapper(recurse)["items"].(rsschema.ListNestedAttribute)) + attr.Computed = true + schemaAttrs["groups"] = attr } - schemaAttrs["secret"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsGeneratedSecret(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsGeneratedSecret(recurse), + } + attr.Optional = true + schemaAttrs["secret"] = attr } return schemaAttrs } @@ -6164,13 +6763,19 @@ func resourceSchemaAttrsServiceaccountServiceAccountsAuditStats(recurse bool) ma schemaAttrs["disabled_count"] = rsschema.Int64Attribute{ Optional: true, } - schemaAttrs["password_scheme_enabled_stats"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountsAuditStats_passwordSchemeEnabledStats(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsServiceaccountServiceAccountsAuditStats_passwordSchemeEnabledStats(recurse), + } + attr.Optional = true + schemaAttrs["password_scheme_enabled_stats"] = attr } - schemaAttrs["system_stats"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsServiceaccountServiceAccountsAuditStats_systemStats(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsServiceaccountServiceAccountsAuditStats_systemStats(recurse), + } + attr.Optional = true + schemaAttrs["system_stats"] = attr } return schemaAttrs } @@ -6203,9 +6808,12 @@ func resourceSchemaAttrsSimpleVersionInfo(recurse bool) map[string]rsschema.Attr func resourceSchemaAttrsVaultDeletedVaultHolder(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6247,13 +6855,19 @@ func resourceSchemaAttrsVaultDeletedVaultHolderLinkableWrapper(recurse bool) map } func resourceSchemaAttrsVaultDeletedVaultHolder_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } - schemaAttrs["vault"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVault(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVault(recurse), + } + attr.Computed = true + schemaAttrs["vault"] = attr } return schemaAttrs } @@ -6297,9 +6911,12 @@ func resourceSchemaAttrsVaultMoveVaultRecord(recurse bool) map[string]rsschema.A stringvalidator.RegexMatches(regexp.MustCompile("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"), "The value must be a valid UUID"), }, } - schemaAttrs["share_duration"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultMoveVaultRecord_shareDuration(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultMoveVaultRecord_shareDuration(recurse), + } + attr.Optional = true + schemaAttrs["share_duration"] = attr } return schemaAttrs } @@ -6399,9 +7016,12 @@ func resourceSchemaAttrsVaultVaultHolder(recurse bool) map[string]rsschema.Attri func resourceSchemaAttrsVaultVaultRecord(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecord_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6587,17 +7207,23 @@ func resourceSchemaAttrsVaultVaultRecordShareSummary(recurse bool) map[string]rs }, Optional: true, } - schemaAttrs["parent"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecordShare(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecordShare(recurse), + } + attr.Optional = true + schemaAttrs["parent"] = attr } return schemaAttrs } func resourceSchemaAttrsVaultVaultRecord_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } schemaAttrs["delete_tile"] = rsschema.BoolAttribute{ Optional: true, @@ -6605,29 +7231,45 @@ func resourceSchemaAttrsVaultVaultRecord_additionalObjects(recurse bool) map[str schemaAttrs["parent_uuid"] = rsschema.StringAttribute{ Computed: true, } - schemaAttrs["password_metadata"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultPasswordMetadata(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultPasswordMetadata(recurse), + } + attr.Computed = true + schemaAttrs["password_metadata"] = attr } - schemaAttrs["secret"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecordSecrets(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecordSecrets(recurse), + } + attr.Optional = true + schemaAttrs["secret"] = attr } - schemaAttrs["share_summary"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecordShareSummary(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultRecordShareSummary(recurse), + } + attr.Computed = true + schemaAttrs["share_summary"] = attr } - schemaAttrs["shares"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultRecordPrimerLinkableWrapper(recurse), - Computed: true, + { + attr := resetListAttributeFlags(resourceSchemaAttrsVaultVaultRecordPrimerLinkableWrapper(recurse)["items"].(rsschema.ListAttribute)) + attr.Computed = true + schemaAttrs["shares"] = attr } - schemaAttrs["tile"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLaunchpadVaultRecordLaunchpadTile(recurse), + } + attr.Optional = true + schemaAttrs["tile"] = attr } - schemaAttrs["vaultholder"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsVaultVaultHolder(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsVaultVaultHolder(recurse), + } + attr.Computed = true + schemaAttrs["vaultholder"] = attr } return schemaAttrs } @@ -6664,9 +7306,12 @@ func resourceSchemaAttrsVaultVaultUnlockResponse(recurse bool) map[string]rssche func resourceSchemaAttrsWebhookWebhook(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhook_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhook_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6822,9 +7467,12 @@ func resourceSchemaAttrsWebhookWebhook(recurse bool) map[string]rsschema.Attribu func resourceSchemaAttrsWebhookWebhookDelivery(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) if recurse { - schemaAttrs["additional_objects"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(false), + } + attr.Optional = true + schemaAttrs["additional_objects"] = attr } } schemaAttrs["links"] = rsschema.ListNestedAttribute{ @@ -6841,9 +7489,12 @@ func resourceSchemaAttrsWebhookWebhookDelivery(recurse bool) map[string]rsschema Computed: true, PlanModifiers: []planmodifier.List{listplanmodifier.UseStateForUnknown()}, } - schemaAttrs["payload"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookPush(false), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookPush(false), + } + attr.Optional = true + schemaAttrs["payload"] = attr } schemaAttrs["reponse_headers"] = rsschema.StringAttribute{ Optional: true, @@ -6877,9 +7528,12 @@ func resourceSchemaAttrsWebhookWebhookDeliveryLinkableWrapper(recurse bool) map[ } func resourceSchemaAttrsWebhookWebhookDelivery_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } @@ -6898,9 +7552,12 @@ func resourceSchemaAttrsWebhookWebhookNameUuid(recurse bool) map[string]rsschema schemaAttrs["name"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["object"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsLinkable(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsLinkable(recurse), + } + attr.Optional = true + schemaAttrs["object"] = attr } schemaAttrs["uuid"] = rsschema.StringAttribute{ Optional: true, @@ -6909,45 +7566,75 @@ func resourceSchemaAttrsWebhookWebhookNameUuid(recurse bool) map[string]rsschema } func resourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["account"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["account"] = attr } - schemaAttrs["by_party"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["by_party"] = attr } - schemaAttrs["certificate"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["certificate"] = attr } - schemaAttrs["client"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["client"] = attr } - schemaAttrs["directory"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["directory"] = attr } - schemaAttrs["group"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["group"] = attr } - schemaAttrs["group2"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["group2"] = attr } - schemaAttrs["group_classification"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["group_classification"] = attr } - schemaAttrs["modification_request"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["modification_request"] = attr } - schemaAttrs["organizational_unit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["organizational_unit"] = attr } schemaAttrs["parameter1"] = rsschema.StringAttribute{ Optional: true, @@ -6971,24 +7658,36 @@ func resourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]rsschema.Att Optional: true, Default: int64default.StaticInt64(0), } - schemaAttrs["service_account"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["service_account"] = attr } - schemaAttrs["system"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["system"] = attr } schemaAttrs["timestamp"] = rsschema.StringAttribute{ Optional: true, } - schemaAttrs["vault_record"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["vault_record"] = attr } - schemaAttrs["webhook"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), - Optional: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsWebhookWebhookNameUuid(recurse), + } + attr.Optional = true + schemaAttrs["webhook"] = attr } schemaAttrs["type"] = rsschema.StringAttribute{ Optional: true, @@ -7002,9 +7701,12 @@ func resourceSchemaAttrsWebhookWebhookPush(recurse bool) map[string]rsschema.Att } func resourceSchemaAttrsWebhookWebhook_additionalObjects(recurse bool) map[string]rsschema.Attribute { schemaAttrs := make(map[string]rsschema.Attribute) - schemaAttrs["audit"] = rsschema.SingleNestedAttribute{ - Attributes: resourceSchemaAttrsAuditInfo(recurse), - Computed: true, + { + attr := rsschema.SingleNestedAttribute{ + Attributes: resourceSchemaAttrsAuditInfo(recurse), + } + attr.Computed = true + schemaAttrs["audit"] = attr } return schemaAttrs } diff --git a/internal/provider/full-tf-to-data-struct-ds.go b/internal/provider/full-tf-to-data-struct-ds.go index 89fc6ab..b058d3f 100644 --- a/internal/provider/full-tf-to-data-struct-ds.go +++ b/internal/provider/full-tf-to-data-struct-ds.go @@ -194,7 +194,7 @@ func fillDataStructFromTFObjectDSAuthAccountStatus(data *authAccountStatusDataDS func fillDataStructFromTFObjectDSAuthAccount_additionalObjects(data *authAccount_additionalObjectsDataDS, obj types.Object) { data.ActiveLogin = obj.Attributes()["active_login"].(basetypes.BoolValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.PendingRecoveryRequests = obj.Attributes()["pending_recovery_requests"].(basetypes.ObjectValue) data.Settings = obj.Attributes()["settings"].(basetypes.ObjectValue) data.StoredAttributes = obj.Attributes()["stored_attributes"].(basetypes.ObjectValue) @@ -375,8 +375,8 @@ func fillDataStructFromTFObjectDSClientClientApplicationPrimer(data *clientClien func fillDataStructFromTFObjectDSClientClientApplication_additionalObjects(data *clientClientApplication_additionalObjectsDataDS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Groupclients = obj.Attributes()["groupclients"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groupclients = obj.Attributes()["groupclients"].(basetypes.ListValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) data.Tile = obj.Attributes()["tile"].(basetypes.ObjectValue) data.VaultRecordCount = obj.Attributes()["vault_record_count"].(basetypes.Int64Value) @@ -486,10 +486,10 @@ func fillDataStructFromTFObjectDSDirectoryAccountDirectory(data *directoryAccoun data.Restrict2fa = obj.Attributes()["restrict2fa"].(basetypes.BoolValue) data.RotatingPassword = obj.Attributes()["rotating_password"].(basetypes.StringValue) data.UsernameCustomizable = obj.Attributes()["username_customizable"].(basetypes.BoolValue) - data.LDAPDirectory = obj.Attributes()["l_d_a_p_directory"].(basetypes.ObjectValue) - data.InternalDirectory = obj.Attributes()["internal_directory"].(basetypes.ObjectValue) - data.OIDCDirectory = obj.Attributes()["o_id_c_directory"].(basetypes.ObjectValue) data.MaintenanceDirectory = obj.Attributes()["maintenance_directory"].(basetypes.ObjectValue) + data.OIDCDirectory = obj.Attributes()["o_id_c_directory"].(basetypes.ObjectValue) + data.InternalDirectory = obj.Attributes()["internal_directory"].(basetypes.ObjectValue) + data.LDAPDirectory = obj.Attributes()["l_d_a_p_directory"].(basetypes.ObjectValue) } func fillDataStructFromTFObjectDSDirectoryAccountDirectoryLinkableWrapper(data *directoryAccountDirectoryLinkableWrapperDataDS, obj types.Object) { @@ -846,33 +846,33 @@ func fillDataStructFromTFObjectDSGroupGroupSegmentedLinkableWrapper(data *groupG } func fillDataStructFromTFObjectDSGroupGroup_additionalObjects(data *groupGroup_additionalObjectsDataDS, obj types.Object) { - data.Accounts = obj.Attributes()["accounts"].(basetypes.ObjectValue) - data.AdministeredClients = obj.Attributes()["administered_clients"].(basetypes.ObjectValue) - data.AdministeredSystems = obj.Attributes()["administered_systems"].(basetypes.ObjectValue) - data.Admins = obj.Attributes()["admins"].(basetypes.ObjectValue) + data.Accounts = obj.Attributes()["accounts"].(basetypes.ListValue) + data.AdministeredClients = obj.Attributes()["administered_clients"].(basetypes.ListValue) + data.AdministeredSystems = obj.Attributes()["administered_systems"].(basetypes.ListValue) + data.Admins = obj.Attributes()["admins"].(basetypes.ListValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) data.AuthorizedGroups = obj.Attributes()["authorized_groups"].(basetypes.ObjectValue) - data.ClientPermissions = obj.Attributes()["client_permissions"].(basetypes.ObjectValue) - data.Clients = obj.Attributes()["clients"].(basetypes.ObjectValue) - data.ContentAdministeredSystems = obj.Attributes()["content_administered_systems"].(basetypes.ObjectValue) + data.ClientPermissions = obj.Attributes()["client_permissions"].(basetypes.ListValue) + data.Clients = obj.Attributes()["clients"].(basetypes.ListValue) + data.ContentAdministeredSystems = obj.Attributes()["content_administered_systems"].(basetypes.ListValue) data.Groupauditinginfo = obj.Attributes()["groupauditinginfo"].(basetypes.ObjectValue) data.Groupinfo = obj.Attributes()["groupinfo"].(basetypes.ObjectValue) - data.Helpdesk = obj.Attributes()["helpdesk"].(basetypes.ObjectValue) + data.Helpdesk = obj.Attributes()["helpdesk"].(basetypes.ListValue) data.Markers = obj.Attributes()["markers"].(basetypes.ObjectValue) data.Myaccount = obj.Attributes()["myaccount"].(basetypes.ObjectValue) data.Mydelegatedaccount = obj.Attributes()["mydelegatedaccount"].(basetypes.ObjectValue) - data.NestedGroups = obj.Attributes()["nested_groups"].(basetypes.ObjectValue) - data.OwnedClients = obj.Attributes()["owned_clients"].(basetypes.ObjectValue) - data.OwnedDirectories = obj.Attributes()["owned_directories"].(basetypes.ObjectValue) + data.NestedGroups = obj.Attributes()["nested_groups"].(basetypes.ListValue) + data.OwnedClients = obj.Attributes()["owned_clients"].(basetypes.ListValue) + data.OwnedDirectories = obj.Attributes()["owned_directories"].(basetypes.ListValue) data.OwnedGroupsOnSystem = obj.Attributes()["owned_groups_on_system"].(basetypes.ObjectValue) - data.OwnedOrganizationalUnits = obj.Attributes()["owned_organizational_units"].(basetypes.ObjectValue) - data.OwnedSystems = obj.Attributes()["owned_systems"].(basetypes.ObjectValue) - data.RecentAudits = obj.Attributes()["recent_audits"].(basetypes.ObjectValue) + data.OwnedOrganizationalUnits = obj.Attributes()["owned_organizational_units"].(basetypes.ListValue) + data.OwnedSystems = obj.Attributes()["owned_systems"].(basetypes.ListValue) + data.RecentAudits = obj.Attributes()["recent_audits"].(basetypes.ListValue) data.Requeststatus = obj.Attributes()["requeststatus"].(basetypes.StringValue) - data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ObjectValue) - data.Systems = obj.Attributes()["systems"].(basetypes.ObjectValue) + data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ListValue) + data.Systems = obj.Attributes()["systems"].(basetypes.ListValue) data.Vault = obj.Attributes()["vault"].(basetypes.ObjectValue) - data.Webhooks = obj.Attributes()["webhooks"].(basetypes.ObjectValue) + data.Webhooks = obj.Attributes()["webhooks"].(basetypes.ListValue) } func fillDataStructFromTFObjectDSGroupGroupsAuditStats(data *groupGroupsAuditStatsDataDS, obj types.Object) { @@ -1416,8 +1416,8 @@ func fillDataStructFromTFObjectDSProvisioningGroupOnSystemTypes(data *provisioni func fillDataStructFromTFObjectDSProvisioningGroupOnSystem_additionalObjects(data *provisioningGroupOnSystem_additionalObjectsDataDS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Provgroups = obj.Attributes()["provgroups"].(basetypes.ObjectValue) - data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ObjectValue) + data.Provgroups = obj.Attributes()["provgroups"].(basetypes.ListValue) + data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ListValue) } func fillDataStructFromTFObjectDSProvisioningGroupProvisioningStatus(data *provisioningGroupProvisioningStatusDataDS, obj types.Object) { @@ -1456,7 +1456,7 @@ func fillDataStructFromTFObjectDSProvisioningProvisionNumberSequenceLinkableWrap func fillDataStructFromTFObjectDSProvisioningProvisionNumberSequence_additionalObjects(data *provisioningProvisionNumberSequence_additionalObjectsDataDS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Systems = obj.Attributes()["systems"].(basetypes.ObjectValue) + data.Systems = obj.Attributes()["systems"].(basetypes.ListValue) } func fillDataStructFromTFObjectDSProvisioningProvisionedAD(data *provisioningProvisionedADDataDS, obj types.Object) { @@ -1538,14 +1538,14 @@ func fillDataStructFromTFObjectDSProvisioningProvisionedSystem(data *provisionin data.ShouldDestroyUnknownAccounts = obj.Attributes()["should_destroy_unknown_accounts"].(basetypes.BoolValue) data.TechnicalAdministrator = obj.Attributes()["technical_administrator"].(basetypes.ObjectValue) data.UsernamePrefix = obj.Attributes()["username_prefix"].(basetypes.StringValue) - data.ProvisionedAzureOIDCDirectory = obj.Attributes()["provisioned_azure_oidc_directory"].(basetypes.ObjectValue) data.AbstractProvisionedLDAP = obj.Attributes()["abstract_provisioned_ldap"].(basetypes.ObjectValue) - data.ProvisionedAD = obj.Attributes()["provisioned_a_d"].(basetypes.ObjectValue) + data.ProvisionedLDAP = obj.Attributes()["provisioned_ldap"].(basetypes.ObjectValue) data.ProvisionedAzureTenant = obj.Attributes()["provisioned_azure_tenant"].(basetypes.ObjectValue) data.ProvisionedAzureSyncLDAPDirectory = obj.Attributes()["provisioned_azure_sync_ldap_directory"].(basetypes.ObjectValue) - data.ProvisionedInternalLDAP = obj.Attributes()["provisioned_internal_ldap"].(basetypes.ObjectValue) - data.ProvisionedLDAP = obj.Attributes()["provisioned_ldap"].(basetypes.ObjectValue) + data.ProvisionedAzureOIDCDirectory = obj.Attributes()["provisioned_azure_oidc_directory"].(basetypes.ObjectValue) + data.ProvisionedAD = obj.Attributes()["provisioned_a_d"].(basetypes.ObjectValue) data.ProvisionedLDAPDirectory = obj.Attributes()["provisioned_ldap_directory"].(basetypes.ObjectValue) + data.ProvisionedInternalLDAP = obj.Attributes()["provisioned_internal_ldap"].(basetypes.ObjectValue) } func fillDataStructFromTFObjectDSProvisioningProvisionedSystemLinkableWrapper(data *provisioningProvisionedSystemLinkableWrapperDataDS, obj types.Object) { @@ -1588,7 +1588,7 @@ func fillDataStructFromTFObjectDSProvisioningProvisionedSystemSyncLog_additional func fillDataStructFromTFObjectDSProvisioningProvisionedSystem_additionalObjects(data *provisioningProvisionedSystem_additionalObjectsDataDS, obj types.Object) { data.Account = obj.Attributes()["account"].(basetypes.ObjectValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.IssuedPermissions = obj.Attributes()["issued_permissions"].(basetypes.ObjectValue) + data.IssuedPermissions = obj.Attributes()["issued_permissions"].(basetypes.ListValue) data.LoginName = obj.Attributes()["login_name"].(basetypes.StringValue) data.ManagementPermissions = obj.Attributes()["management_permissions"].(basetypes.ObjectValue) data.Markers = obj.Attributes()["markers"].(basetypes.ObjectValue) @@ -1715,42 +1715,42 @@ func fillDataStructFromTFObjectDSRequestModificationRequest(data *requestModific data.MailKey = obj.Attributes()["mail_key"].(basetypes.StringValue) data.RequestModificationRequestType = obj.Attributes()["request_modification_request_type"].(basetypes.StringValue) data.Status = obj.Attributes()["status"].(basetypes.StringValue) - data.TransferAuditorGroupRequest = obj.Attributes()["transfer_auditor_group_request"].(basetypes.ObjectValue) + data.AbstractApplicationModificationRequest = obj.Attributes()["abstract_application_modification_request"].(basetypes.ObjectValue) data.AbstractProvisionedSystemModificationRequest = obj.Attributes()["abstract_provisioned_system_modification_request"].(basetypes.ObjectValue) - data.CreateServiceAccountRequest = obj.Attributes()["create_service_account_request"].(basetypes.ObjectValue) - data.ReviewAuditRequest = obj.Attributes()["review_audit_request"].(basetypes.ObjectValue) - data.SetupNestedGroupRequest = obj.Attributes()["setup_nested_group_request"].(basetypes.ObjectValue) data.RemoveProvisionedSystemRequest = obj.Attributes()["remove_provisioned_system_request"].(basetypes.ObjectValue) - data.AbstractApplicationModificationRequest = obj.Attributes()["abstract_application_modification_request"].(basetypes.ObjectValue) data.GrantApplicationRequest = obj.Attributes()["grant_application_request"].(basetypes.ObjectValue) + data.ReviewAuditRequest = obj.Attributes()["review_audit_request"].(basetypes.ObjectValue) + data.RevokeAdminRequest = obj.Attributes()["revoke_admin_request"].(basetypes.ObjectValue) + data.GrantAccessRequest = obj.Attributes()["grant_access_request"].(basetypes.ObjectValue) + data.TransferProvisionedSystemContentAdministrationRequest = obj.Attributes()["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue) data.AbstractOrganizationalUnitModificationRequest = obj.Attributes()["abstract_organizational_unit_modification_request"].(basetypes.ObjectValue) - data.VerifyInternalAccountRequest = obj.Attributes()["verify_internal_account_request"].(basetypes.ObjectValue) - data.Disable2FARequest = obj.Attributes()["disable2fa_request"].(basetypes.ObjectValue) - data.JoinGroupRequest = obj.Attributes()["join_group_request"].(basetypes.ObjectValue) - data.JoinVaultRequest = obj.Attributes()["join_vault_request"].(basetypes.ObjectValue) - data.RemoveGroupRequest = obj.Attributes()["remove_group_request"].(basetypes.ObjectValue) - data.TransferApplicationAdministrationRequest = obj.Attributes()["transfer_application_administration_request"].(basetypes.ObjectValue) - data.TransferOrganizationalUnitOwnershipRequest = obj.Attributes()["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue) data.RemoveOrganizationalUnitRequest = obj.Attributes()["remove_organizational_unit_request"].(basetypes.ObjectValue) - data.GrantClientPermissionRequest = obj.Attributes()["grant_client_permission_request"].(basetypes.ObjectValue) - data.EnableTechnicalAdministrationRequest = obj.Attributes()["enable_technical_administration_request"].(basetypes.ObjectValue) - data.TransferProvisionedSystemContentAdministrationRequest = obj.Attributes()["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue) - data.PasswordResetRequest = obj.Attributes()["password_reset_request"].(basetypes.ObjectValue) - data.TransferGroupOnSystemOwnershipRequest = obj.Attributes()["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue) - data.SetupAuthorizingGroupRequest = obj.Attributes()["setup_authorizing_group_request"].(basetypes.ObjectValue) - data.GrantServiceAccountGroupRequest = obj.Attributes()["grant_service_account_group_request"].(basetypes.ObjectValue) data.CreateGroupOnSystemRequest = obj.Attributes()["create_group_on_system_request"].(basetypes.ObjectValue) - data.TransferApplicationOwnershipRequest = obj.Attributes()["transfer_application_ownership_request"].(basetypes.ObjectValue) - data.GrantAccessRequest = obj.Attributes()["grant_access_request"].(basetypes.ObjectValue) + data.TransferApplicationAdministrationRequest = obj.Attributes()["transfer_application_administration_request"].(basetypes.ObjectValue) data.UpdateGroupMembershipRequest = obj.Attributes()["update_group_membership_request"].(basetypes.ObjectValue) - data.ExtendAccessRequest = obj.Attributes()["extend_access_request"].(basetypes.ObjectValue) data.AddGroupAdminRequest = obj.Attributes()["add_group_admin_request"].(basetypes.ObjectValue) - data.GrantGroupOnSystemRequest = obj.Attributes()["grant_group_on_system_request"].(basetypes.ObjectValue) + data.TransferOrganizationalUnitOwnershipRequest = obj.Attributes()["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue) + data.JoinVaultRequest = obj.Attributes()["join_vault_request"].(basetypes.ObjectValue) + data.VerifyInternalAccountRequest = obj.Attributes()["verify_internal_account_request"].(basetypes.ObjectValue) + data.JoinGroupRequest = obj.Attributes()["join_group_request"].(basetypes.ObjectValue) + data.TransferGroupOnSystemOwnershipRequest = obj.Attributes()["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue) + data.RemoveGroupRequest = obj.Attributes()["remove_group_request"].(basetypes.ObjectValue) + data.SetupAuthorizingGroupRequest = obj.Attributes()["setup_authorizing_group_request"].(basetypes.ObjectValue) + data.SetupNestedGroupRequest = obj.Attributes()["setup_nested_group_request"].(basetypes.ObjectValue) data.GrantGroupOnSystemRequestRequest = obj.Attributes()["grant_group_on_system_request_request"].(basetypes.ObjectValue) - data.RevokeAdminRequest = obj.Attributes()["revoke_admin_request"].(basetypes.ObjectValue) + data.Disable2FARequest = obj.Attributes()["disable2fa_request"].(basetypes.ObjectValue) + data.GrantGroupOnSystemRequest = obj.Attributes()["grant_group_on_system_request"].(basetypes.ObjectValue) + data.EnableTechnicalAdministrationRequest = obj.Attributes()["enable_technical_administration_request"].(basetypes.ObjectValue) data.CreateGroupRequest = obj.Attributes()["create_group_request"].(basetypes.ObjectValue) - data.TransferProvisionedSystemOwnershipRequest = obj.Attributes()["transfer_provisioned_system_ownership_request"].(basetypes.ObjectValue) + data.TransferAuditorGroupRequest = obj.Attributes()["transfer_auditor_group_request"].(basetypes.ObjectValue) + data.GrantClientPermissionRequest = obj.Attributes()["grant_client_permission_request"].(basetypes.ObjectValue) + data.TransferApplicationOwnershipRequest = obj.Attributes()["transfer_application_ownership_request"].(basetypes.ObjectValue) + data.CreateServiceAccountRequest = obj.Attributes()["create_service_account_request"].(basetypes.ObjectValue) data.TransferServiceAccountAdministrationRequest = obj.Attributes()["transfer_service_account_administration_request"].(basetypes.ObjectValue) + data.PasswordResetRequest = obj.Attributes()["password_reset_request"].(basetypes.ObjectValue) + data.GrantServiceAccountGroupRequest = obj.Attributes()["grant_service_account_group_request"].(basetypes.ObjectValue) + data.TransferProvisionedSystemOwnershipRequest = obj.Attributes()["transfer_provisioned_system_ownership_request"].(basetypes.ObjectValue) + data.ExtendAccessRequest = obj.Attributes()["extend_access_request"].(basetypes.ObjectValue) data.TransferProvisionedSystemAdministrationRequest = obj.Attributes()["transfer_provisioned_system_administration_request"].(basetypes.ObjectValue) } @@ -1905,7 +1905,7 @@ func fillDataStructFromTFObjectDSServiceaccountServiceAccountStatus(data *servic func fillDataStructFromTFObjectDSServiceaccountServiceAccount_additionalObjects(data *serviceaccountServiceAccount_additionalObjectsDataDS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) } @@ -2048,7 +2048,7 @@ func fillDataStructFromTFObjectDSVaultVaultRecord_additionalObjects(data *vaultV data.PasswordMetadata = obj.Attributes()["password_metadata"].(basetypes.ObjectValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) data.ShareSummary = obj.Attributes()["share_summary"].(basetypes.ObjectValue) - data.Shares = obj.Attributes()["shares"].(basetypes.ObjectValue) + data.Shares = obj.Attributes()["shares"].(basetypes.ListValue) data.Tile = obj.Attributes()["tile"].(basetypes.ObjectValue) data.Vaultholder = obj.Attributes()["vaultholder"].(basetypes.ObjectValue) } diff --git a/internal/provider/full-tf-to-data-struct-rs.go b/internal/provider/full-tf-to-data-struct-rs.go index fbdb3a5..73d650a 100644 --- a/internal/provider/full-tf-to-data-struct-rs.go +++ b/internal/provider/full-tf-to-data-struct-rs.go @@ -191,7 +191,7 @@ func fillDataStructFromTFObjectRSAuthAccountStatus(data *authAccountStatusDataRS func fillDataStructFromTFObjectRSAuthAccount_additionalObjects(data *authAccount_additionalObjectsDataRS, obj types.Object) { data.ActiveLogin = obj.Attributes()["active_login"].(basetypes.BoolValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.PendingRecoveryRequests = obj.Attributes()["pending_recovery_requests"].(basetypes.ObjectValue) data.Settings = obj.Attributes()["settings"].(basetypes.ObjectValue) data.StoredAttributes = obj.Attributes()["stored_attributes"].(basetypes.ObjectValue) @@ -344,8 +344,8 @@ func fillDataStructFromTFObjectRSClientClientApplicationPrimer(data *clientClien func fillDataStructFromTFObjectRSClientClientApplication_additionalObjects(data *clientClientApplication_additionalObjectsDataRS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) data.DeleteTile = obj.Attributes()["delete_tile"].(basetypes.BoolValue) - data.Groupclients = obj.Attributes()["groupclients"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groupclients = obj.Attributes()["groupclients"].(basetypes.ListValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) data.Tile = obj.Attributes()["tile"].(basetypes.ObjectValue) data.VaultRecordCount = obj.Attributes()["vault_record_count"].(basetypes.Int64Value) @@ -451,10 +451,10 @@ func fillDataStructFromTFObjectRSDirectoryAccountDirectory(data *directoryAccoun data.Restrict2fa = obj.Attributes()["restrict2fa"].(basetypes.BoolValue) data.RotatingPassword = obj.Attributes()["rotating_password"].(basetypes.StringValue) data.UsernameCustomizable = obj.Attributes()["username_customizable"].(basetypes.BoolValue) - data.LDAPDirectory = obj.Attributes()["l_d_a_p_directory"].(basetypes.ObjectValue) - data.InternalDirectory = obj.Attributes()["internal_directory"].(basetypes.ObjectValue) - data.OIDCDirectory = obj.Attributes()["o_id_c_directory"].(basetypes.ObjectValue) data.MaintenanceDirectory = obj.Attributes()["maintenance_directory"].(basetypes.ObjectValue) + data.OIDCDirectory = obj.Attributes()["o_id_c_directory"].(basetypes.ObjectValue) + data.InternalDirectory = obj.Attributes()["internal_directory"].(basetypes.ObjectValue) + data.LDAPDirectory = obj.Attributes()["l_d_a_p_directory"].(basetypes.ObjectValue) } func fillDataStructFromTFObjectRSDirectoryAccountDirectoryLinkableWrapper(data *directoryAccountDirectoryLinkableWrapperDataRS, obj types.Object) { @@ -794,33 +794,33 @@ func fillDataStructFromTFObjectRSGroupGroupSegmentedLinkableWrapper(data *groupG } func fillDataStructFromTFObjectRSGroupGroup_additionalObjects(data *groupGroup_additionalObjectsDataRS, obj types.Object) { - data.Accounts = obj.Attributes()["accounts"].(basetypes.ObjectValue) - data.AdministeredClients = obj.Attributes()["administered_clients"].(basetypes.ObjectValue) - data.AdministeredSystems = obj.Attributes()["administered_systems"].(basetypes.ObjectValue) - data.Admins = obj.Attributes()["admins"].(basetypes.ObjectValue) + data.Accounts = obj.Attributes()["accounts"].(basetypes.ListValue) + data.AdministeredClients = obj.Attributes()["administered_clients"].(basetypes.ListValue) + data.AdministeredSystems = obj.Attributes()["administered_systems"].(basetypes.ListValue) + data.Admins = obj.Attributes()["admins"].(basetypes.ListValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) data.AuthorizedGroups = obj.Attributes()["authorized_groups"].(basetypes.ObjectValue) - data.ClientPermissions = obj.Attributes()["client_permissions"].(basetypes.ObjectValue) - data.Clients = obj.Attributes()["clients"].(basetypes.ObjectValue) - data.ContentAdministeredSystems = obj.Attributes()["content_administered_systems"].(basetypes.ObjectValue) + data.ClientPermissions = obj.Attributes()["client_permissions"].(basetypes.ListValue) + data.Clients = obj.Attributes()["clients"].(basetypes.ListValue) + data.ContentAdministeredSystems = obj.Attributes()["content_administered_systems"].(basetypes.ListValue) data.Groupauditinginfo = obj.Attributes()["groupauditinginfo"].(basetypes.ObjectValue) data.Groupinfo = obj.Attributes()["groupinfo"].(basetypes.ObjectValue) - data.Helpdesk = obj.Attributes()["helpdesk"].(basetypes.ObjectValue) + data.Helpdesk = obj.Attributes()["helpdesk"].(basetypes.ListValue) data.Markers = obj.Attributes()["markers"].(basetypes.ObjectValue) data.Myaccount = obj.Attributes()["myaccount"].(basetypes.ObjectValue) data.Mydelegatedaccount = obj.Attributes()["mydelegatedaccount"].(basetypes.ObjectValue) - data.NestedGroups = obj.Attributes()["nested_groups"].(basetypes.ObjectValue) - data.OwnedClients = obj.Attributes()["owned_clients"].(basetypes.ObjectValue) - data.OwnedDirectories = obj.Attributes()["owned_directories"].(basetypes.ObjectValue) + data.NestedGroups = obj.Attributes()["nested_groups"].(basetypes.ListValue) + data.OwnedClients = obj.Attributes()["owned_clients"].(basetypes.ListValue) + data.OwnedDirectories = obj.Attributes()["owned_directories"].(basetypes.ListValue) data.OwnedGroupsOnSystem = obj.Attributes()["owned_groups_on_system"].(basetypes.ObjectValue) - data.OwnedOrganizationalUnits = obj.Attributes()["owned_organizational_units"].(basetypes.ObjectValue) - data.OwnedSystems = obj.Attributes()["owned_systems"].(basetypes.ObjectValue) - data.RecentAudits = obj.Attributes()["recent_audits"].(basetypes.ObjectValue) + data.OwnedOrganizationalUnits = obj.Attributes()["owned_organizational_units"].(basetypes.ListValue) + data.OwnedSystems = obj.Attributes()["owned_systems"].(basetypes.ListValue) + data.RecentAudits = obj.Attributes()["recent_audits"].(basetypes.ListValue) data.Requeststatus = obj.Attributes()["requeststatus"].(basetypes.StringValue) - data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ObjectValue) - data.Systems = obj.Attributes()["systems"].(basetypes.ObjectValue) + data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ListValue) + data.Systems = obj.Attributes()["systems"].(basetypes.ListValue) data.Vault = obj.Attributes()["vault"].(basetypes.ObjectValue) - data.Webhooks = obj.Attributes()["webhooks"].(basetypes.ObjectValue) + data.Webhooks = obj.Attributes()["webhooks"].(basetypes.ListValue) } func fillDataStructFromTFObjectRSGroupGroupsAuditStats(data *groupGroupsAuditStatsDataRS, obj types.Object) { @@ -1214,7 +1214,7 @@ func fillDataStructFromTFObjectRSOrganizationOrganizationalUnitPrimerLinkableWra func fillDataStructFromTFObjectRSOrganizationOrganizationalUnit_additionalObjects(data *organizationOrganizationalUnit_additionalObjectsDataRS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.CreateAsParentOf = obj.Attributes()["create_as_parent_of"].(basetypes.ObjectValue) + data.CreateAsParentOf = obj.Attributes()["create_as_parent_of"].(basetypes.ListValue) } func fillDataStructFromTFObjectRSProvisioningAbstractProvisionedLDAP(data *provisioningAbstractProvisionedLDAPDataRS, obj types.Object) { @@ -1287,8 +1287,8 @@ func fillDataStructFromTFObjectRSProvisioningGroupOnSystemTypes(data *provisioni func fillDataStructFromTFObjectRSProvisioningGroupOnSystem_additionalObjects(data *provisioningGroupOnSystem_additionalObjectsDataRS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Provgroups = obj.Attributes()["provgroups"].(basetypes.ObjectValue) - data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ObjectValue) + data.Provgroups = obj.Attributes()["provgroups"].(basetypes.ListValue) + data.ServiceAccounts = obj.Attributes()["service_accounts"].(basetypes.ListValue) } func fillDataStructFromTFObjectRSProvisioningGroupProvisioningStatus(data *provisioningGroupProvisioningStatusDataRS, obj types.Object) { @@ -1326,7 +1326,7 @@ func fillDataStructFromTFObjectRSProvisioningProvisionNumberSequenceLinkableWrap func fillDataStructFromTFObjectRSProvisioningProvisionNumberSequence_additionalObjects(data *provisioningProvisionNumberSequence_additionalObjectsDataRS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Systems = obj.Attributes()["systems"].(basetypes.ObjectValue) + data.Systems = obj.Attributes()["systems"].(basetypes.ListValue) } func fillDataStructFromTFObjectRSProvisioningProvisionedAD(data *provisioningProvisionedADDataRS, obj types.Object) { @@ -1400,14 +1400,14 @@ func fillDataStructFromTFObjectRSProvisioningProvisionedSystem(data *provisionin data.ShouldDestroyUnknownAccounts = obj.Attributes()["should_destroy_unknown_accounts"].(basetypes.BoolValue) data.TechnicalAdministratorUUID = obj.Attributes()["technical_administrator_uuid"].(basetypes.StringValue) data.UsernamePrefix = obj.Attributes()["username_prefix"].(basetypes.StringValue) - data.ProvisionedAzureOIDCDirectory = obj.Attributes()["provisioned_azure_oidc_directory"].(basetypes.ObjectValue) data.AbstractProvisionedLDAP = obj.Attributes()["abstract_provisioned_ldap"].(basetypes.ObjectValue) - data.ProvisionedAD = obj.Attributes()["provisioned_a_d"].(basetypes.ObjectValue) + data.ProvisionedLDAP = obj.Attributes()["provisioned_ldap"].(basetypes.ObjectValue) data.ProvisionedAzureTenant = obj.Attributes()["provisioned_azure_tenant"].(basetypes.ObjectValue) data.ProvisionedAzureSyncLDAPDirectory = obj.Attributes()["provisioned_azure_sync_ldap_directory"].(basetypes.ObjectValue) - data.ProvisionedInternalLDAP = obj.Attributes()["provisioned_internal_ldap"].(basetypes.ObjectValue) - data.ProvisionedLDAP = obj.Attributes()["provisioned_ldap"].(basetypes.ObjectValue) + data.ProvisionedAzureOIDCDirectory = obj.Attributes()["provisioned_azure_oidc_directory"].(basetypes.ObjectValue) + data.ProvisionedAD = obj.Attributes()["provisioned_a_d"].(basetypes.ObjectValue) data.ProvisionedLDAPDirectory = obj.Attributes()["provisioned_ldap_directory"].(basetypes.ObjectValue) + data.ProvisionedInternalLDAP = obj.Attributes()["provisioned_internal_ldap"].(basetypes.ObjectValue) } func fillDataStructFromTFObjectRSProvisioningProvisionedSystemLinkableWrapper(data *provisioningProvisionedSystemLinkableWrapperDataRS, obj types.Object) { @@ -1449,7 +1449,7 @@ func fillDataStructFromTFObjectRSProvisioningProvisionedSystemSyncLog_additional func fillDataStructFromTFObjectRSProvisioningProvisionedSystem_additionalObjects(data *provisioningProvisionedSystem_additionalObjectsDataRS, obj types.Object) { data.Account = obj.Attributes()["account"].(basetypes.ObjectValue) data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.IssuedPermissions = obj.Attributes()["issued_permissions"].(basetypes.ObjectValue) + data.IssuedPermissions = obj.Attributes()["issued_permissions"].(basetypes.ListValue) data.LoginName = obj.Attributes()["login_name"].(basetypes.StringValue) data.ManagementPermissions = obj.Attributes()["management_permissions"].(basetypes.ObjectValue) data.Markers = obj.Attributes()["markers"].(basetypes.ObjectValue) @@ -1575,42 +1575,42 @@ func fillDataStructFromTFObjectRSRequestModificationRequest(data *requestModific data.MailKey = obj.Attributes()["mail_key"].(basetypes.StringValue) data.RequestModificationRequestType = obj.Attributes()["request_modification_request_type"].(basetypes.StringValue) data.Status = obj.Attributes()["status"].(basetypes.StringValue) - data.TransferAuditorGroupRequest = obj.Attributes()["transfer_auditor_group_request"].(basetypes.ObjectValue) + data.AbstractApplicationModificationRequest = obj.Attributes()["abstract_application_modification_request"].(basetypes.ObjectValue) data.AbstractProvisionedSystemModificationRequest = obj.Attributes()["abstract_provisioned_system_modification_request"].(basetypes.ObjectValue) - data.CreateServiceAccountRequest = obj.Attributes()["create_service_account_request"].(basetypes.ObjectValue) - data.ReviewAuditRequest = obj.Attributes()["review_audit_request"].(basetypes.ObjectValue) - data.SetupNestedGroupRequest = obj.Attributes()["setup_nested_group_request"].(basetypes.ObjectValue) data.RemoveProvisionedSystemRequest = obj.Attributes()["remove_provisioned_system_request"].(basetypes.ObjectValue) - data.AbstractApplicationModificationRequest = obj.Attributes()["abstract_application_modification_request"].(basetypes.ObjectValue) data.GrantApplicationRequest = obj.Attributes()["grant_application_request"].(basetypes.ObjectValue) + data.ReviewAuditRequest = obj.Attributes()["review_audit_request"].(basetypes.ObjectValue) + data.RevokeAdminRequest = obj.Attributes()["revoke_admin_request"].(basetypes.ObjectValue) + data.GrantAccessRequest = obj.Attributes()["grant_access_request"].(basetypes.ObjectValue) + data.TransferProvisionedSystemContentAdministrationRequest = obj.Attributes()["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue) data.AbstractOrganizationalUnitModificationRequest = obj.Attributes()["abstract_organizational_unit_modification_request"].(basetypes.ObjectValue) - data.VerifyInternalAccountRequest = obj.Attributes()["verify_internal_account_request"].(basetypes.ObjectValue) - data.Disable2FARequest = obj.Attributes()["disable2fa_request"].(basetypes.ObjectValue) - data.JoinGroupRequest = obj.Attributes()["join_group_request"].(basetypes.ObjectValue) - data.JoinVaultRequest = obj.Attributes()["join_vault_request"].(basetypes.ObjectValue) - data.RemoveGroupRequest = obj.Attributes()["remove_group_request"].(basetypes.ObjectValue) - data.TransferApplicationAdministrationRequest = obj.Attributes()["transfer_application_administration_request"].(basetypes.ObjectValue) - data.TransferOrganizationalUnitOwnershipRequest = obj.Attributes()["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue) data.RemoveOrganizationalUnitRequest = obj.Attributes()["remove_organizational_unit_request"].(basetypes.ObjectValue) - data.GrantClientPermissionRequest = obj.Attributes()["grant_client_permission_request"].(basetypes.ObjectValue) - data.EnableTechnicalAdministrationRequest = obj.Attributes()["enable_technical_administration_request"].(basetypes.ObjectValue) - data.TransferProvisionedSystemContentAdministrationRequest = obj.Attributes()["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue) - data.PasswordResetRequest = obj.Attributes()["password_reset_request"].(basetypes.ObjectValue) - data.TransferGroupOnSystemOwnershipRequest = obj.Attributes()["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue) - data.SetupAuthorizingGroupRequest = obj.Attributes()["setup_authorizing_group_request"].(basetypes.ObjectValue) - data.GrantServiceAccountGroupRequest = obj.Attributes()["grant_service_account_group_request"].(basetypes.ObjectValue) data.CreateGroupOnSystemRequest = obj.Attributes()["create_group_on_system_request"].(basetypes.ObjectValue) - data.TransferApplicationOwnershipRequest = obj.Attributes()["transfer_application_ownership_request"].(basetypes.ObjectValue) - data.GrantAccessRequest = obj.Attributes()["grant_access_request"].(basetypes.ObjectValue) + data.TransferApplicationAdministrationRequest = obj.Attributes()["transfer_application_administration_request"].(basetypes.ObjectValue) data.UpdateGroupMembershipRequest = obj.Attributes()["update_group_membership_request"].(basetypes.ObjectValue) - data.ExtendAccessRequest = obj.Attributes()["extend_access_request"].(basetypes.ObjectValue) data.AddGroupAdminRequest = obj.Attributes()["add_group_admin_request"].(basetypes.ObjectValue) - data.GrantGroupOnSystemRequest = obj.Attributes()["grant_group_on_system_request"].(basetypes.ObjectValue) + data.TransferOrganizationalUnitOwnershipRequest = obj.Attributes()["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue) + data.JoinVaultRequest = obj.Attributes()["join_vault_request"].(basetypes.ObjectValue) + data.VerifyInternalAccountRequest = obj.Attributes()["verify_internal_account_request"].(basetypes.ObjectValue) + data.JoinGroupRequest = obj.Attributes()["join_group_request"].(basetypes.ObjectValue) + data.TransferGroupOnSystemOwnershipRequest = obj.Attributes()["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue) + data.RemoveGroupRequest = obj.Attributes()["remove_group_request"].(basetypes.ObjectValue) + data.SetupAuthorizingGroupRequest = obj.Attributes()["setup_authorizing_group_request"].(basetypes.ObjectValue) + data.SetupNestedGroupRequest = obj.Attributes()["setup_nested_group_request"].(basetypes.ObjectValue) data.GrantGroupOnSystemRequestRequest = obj.Attributes()["grant_group_on_system_request_request"].(basetypes.ObjectValue) - data.RevokeAdminRequest = obj.Attributes()["revoke_admin_request"].(basetypes.ObjectValue) + data.Disable2FARequest = obj.Attributes()["disable2fa_request"].(basetypes.ObjectValue) + data.GrantGroupOnSystemRequest = obj.Attributes()["grant_group_on_system_request"].(basetypes.ObjectValue) + data.EnableTechnicalAdministrationRequest = obj.Attributes()["enable_technical_administration_request"].(basetypes.ObjectValue) data.CreateGroupRequest = obj.Attributes()["create_group_request"].(basetypes.ObjectValue) - data.TransferProvisionedSystemOwnershipRequest = obj.Attributes()["transfer_provisioned_system_ownership_request"].(basetypes.ObjectValue) + data.TransferAuditorGroupRequest = obj.Attributes()["transfer_auditor_group_request"].(basetypes.ObjectValue) + data.GrantClientPermissionRequest = obj.Attributes()["grant_client_permission_request"].(basetypes.ObjectValue) + data.TransferApplicationOwnershipRequest = obj.Attributes()["transfer_application_ownership_request"].(basetypes.ObjectValue) + data.CreateServiceAccountRequest = obj.Attributes()["create_service_account_request"].(basetypes.ObjectValue) data.TransferServiceAccountAdministrationRequest = obj.Attributes()["transfer_service_account_administration_request"].(basetypes.ObjectValue) + data.PasswordResetRequest = obj.Attributes()["password_reset_request"].(basetypes.ObjectValue) + data.GrantServiceAccountGroupRequest = obj.Attributes()["grant_service_account_group_request"].(basetypes.ObjectValue) + data.TransferProvisionedSystemOwnershipRequest = obj.Attributes()["transfer_provisioned_system_ownership_request"].(basetypes.ObjectValue) + data.ExtendAccessRequest = obj.Attributes()["extend_access_request"].(basetypes.ObjectValue) data.TransferProvisionedSystemAdministrationRequest = obj.Attributes()["transfer_provisioned_system_administration_request"].(basetypes.ObjectValue) } @@ -1767,7 +1767,7 @@ func fillDataStructFromTFObjectRSServiceaccountServiceAccountStatus(data *servic func fillDataStructFromTFObjectRSServiceaccountServiceAccount_additionalObjects(data *serviceaccountServiceAccount_additionalObjectsDataRS, obj types.Object) { data.Audit = obj.Attributes()["audit"].(basetypes.ObjectValue) - data.Groups = obj.Attributes()["groups"].(basetypes.ObjectValue) + data.Groups = obj.Attributes()["groups"].(basetypes.ListValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) } @@ -1910,7 +1910,7 @@ func fillDataStructFromTFObjectRSVaultVaultRecord_additionalObjects(data *vaultV data.PasswordMetadata = obj.Attributes()["password_metadata"].(basetypes.ObjectValue) data.Secret = obj.Attributes()["secret"].(basetypes.ObjectValue) data.ShareSummary = obj.Attributes()["share_summary"].(basetypes.ObjectValue) - data.Shares = obj.Attributes()["shares"].(basetypes.ObjectValue) + data.Shares = obj.Attributes()["shares"].(basetypes.ListValue) data.Tile = obj.Attributes()["tile"].(basetypes.ObjectValue) data.Vaultholder = obj.Attributes()["vaultholder"].(basetypes.ObjectValue) } diff --git a/internal/provider/full-tf-to-tkh-ds.go b/internal/provider/full-tf-to-tkh-ds.go index 01e335e..cc195d9 100644 --- a/internal/provider/full-tf-to-tkh-ds.go +++ b/internal/provider/full-tf-to-tkh-ds.go @@ -640,7 +640,7 @@ func tfObjectToTKHDSAuthAccount_additionalObjects(ctx context.Context, recurse b tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSGroupAccountGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupAccountGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) } @@ -1366,12 +1366,12 @@ func tfObjectToTKHDSClientClientApplication_additionalObjects(ctx context.Contex tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSGroupGroupClientLinkableWrapper(ctx, recurse, objAttrs["groupclients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groupclients"])) diags.Append(d...) tkh.SetGroupclients(val) } { - val, d := tfObjectToTKHDSGroupGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) } @@ -1792,35 +1792,35 @@ func tfObjectToTKHDSDirectoryAccountDirectory(ctx context.Context, recurse bool, tkh.SetRotatingPassword(val) } tkh.SetUsernameCustomizable(objAttrs["username_customizable"].(basetypes.BoolValue).ValueBoolPointer()) - if !objAttrs["l_d_a_p_directory"].IsNull() { - val, d := tfObjectToTKHDSDirectoryLDAPDirectory(ctx, false, objAttrs["l_d_a_p_directory"].(basetypes.ObjectValue)) + if !objAttrs["maintenance_directory"].IsNull() { + val, d := tfObjectToTKHDSDirectoryMaintenanceDirectory(ctx, false, objAttrs["maintenance_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryLDAPDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryMaintenanceDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["internal_directory"].IsNull() { - val, d := tfObjectToTKHDSDirectoryInternalDirectory(ctx, false, objAttrs["internal_directory"].(basetypes.ObjectValue)) + if !objAttrs["o_id_c_directory"].IsNull() { + val, d := tfObjectToTKHDSDirectoryOIDCDirectory(ctx, false, objAttrs["o_id_c_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryInternalDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryOIDCDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["o_id_c_directory"].IsNull() { - val, d := tfObjectToTKHDSDirectoryOIDCDirectory(ctx, false, objAttrs["o_id_c_directory"].(basetypes.ObjectValue)) + if !objAttrs["internal_directory"].IsNull() { + val, d := tfObjectToTKHDSDirectoryInternalDirectory(ctx, false, objAttrs["internal_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryOIDCDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryInternalDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["maintenance_directory"].IsNull() { - val, d := tfObjectToTKHDSDirectoryMaintenanceDirectory(ctx, false, objAttrs["maintenance_directory"].(basetypes.ObjectValue)) + if !objAttrs["l_d_a_p_directory"].IsNull() { + val, d := tfObjectToTKHDSDirectoryLDAPDirectory(ctx, false, objAttrs["l_d_a_p_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryMaintenanceDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryLDAPDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } @@ -3194,22 +3194,22 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo var tkh keyhubmodel.GroupGroup_additionalObjectsable tkh = keyhubmodel.NewGroupGroup_additionalObjects() { - val, d := tfObjectToTKHDSGroupGroupAccountLinkableWrapper(ctx, recurse, objAttrs["accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["accounts"])) diags.Append(d...) tkh.SetAccounts(val) } { - val, d := tfObjectToTKHDSClientClientApplicationLinkableWrapper(ctx, recurse, objAttrs["administered_clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSClientClientApplicationLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["administered_clients"])) diags.Append(d...) tkh.SetAdministeredClients(val) } { - val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["administered_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["administered_systems"])) diags.Append(d...) tkh.SetAdministeredSystems(val) } { - val, d := tfObjectToTKHDSGroupGroupAccountLinkableWrapper(ctx, recurse, objAttrs["admins"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["admins"])) diags.Append(d...) tkh.SetAdmins(val) } @@ -3224,17 +3224,17 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetAuthorizedGroups(val) } { - val, d := tfObjectToTKHDSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, objAttrs["client_permissions"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["client_permissions"])) diags.Append(d...) tkh.SetClientPermissions(val) } { - val, d := tfObjectToTKHDSGroupGroupClientLinkableWrapper(ctx, recurse, objAttrs["clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["clients"])) diags.Append(d...) tkh.SetClients(val) } { - val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["content_administered_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["content_administered_systems"])) diags.Append(d...) tkh.SetContentAdministeredSystems(val) } @@ -3249,7 +3249,7 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetGroupinfo(val) } { - val, d := tfObjectToTKHDSDirectoryAccountDirectorySummaryLinkableWrapper(ctx, recurse, objAttrs["helpdesk"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSDirectoryAccountDirectorySummaryLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["helpdesk"])) diags.Append(d...) tkh.SetHelpdesk(val) } @@ -3269,17 +3269,17 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetMydelegatedaccount(val) } { - val, d := tfObjectToTKHDSGroupGroupPrimerLinkableWrapper(ctx, recurse, objAttrs["nested_groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["nested_groups"])) diags.Append(d...) tkh.SetNestedGroups(val) } { - val, d := tfObjectToTKHDSClientClientApplicationLinkableWrapper(ctx, recurse, objAttrs["owned_clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSClientClientApplicationLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_clients"])) diags.Append(d...) tkh.SetOwnedClients(val) } { - val, d := tfObjectToTKHDSDirectoryAccountDirectoryLinkableWrapper(ctx, recurse, objAttrs["owned_directories"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSDirectoryAccountDirectoryLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_directories"])) diags.Append(d...) tkh.SetOwnedDirectories(val) } @@ -3289,17 +3289,17 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetOwnedGroupsOnSystem(val) } { - val, d := tfObjectToTKHDSOrganizationOrganizationalUnitLinkableWrapper(ctx, recurse, objAttrs["owned_organizational_units"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSOrganizationOrganizationalUnitLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_organizational_units"])) diags.Append(d...) tkh.SetOwnedOrganizationalUnits(val) } { - val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["owned_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_systems"])) diags.Append(d...) tkh.SetOwnedSystems(val) } { - val, d := tfObjectToTKHDSGroupGroupAuditLinkableWrapper(ctx, recurse, objAttrs["recent_audits"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupGroupAuditLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["recent_audits"])) diags.Append(d...) tkh.SetRecentAudits(val) } @@ -3309,12 +3309,12 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetRequeststatus(val) } { - val, d := tfObjectToTKHDSServiceaccountServiceAccountLinkableWrapper(ctx, recurse, objAttrs["service_accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSServiceaccountServiceAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["service_accounts"])) diags.Append(d...) tkh.SetServiceAccounts(val) } { - val, d := tfObjectToTKHDSGroupProvisioningGroupLinkableWrapper(ctx, recurse, objAttrs["systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupProvisioningGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["systems"])) diags.Append(d...) tkh.SetSystems(val) } @@ -3324,7 +3324,7 @@ func tfObjectToTKHDSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetVault(val) } { - val, d := tfObjectToTKHDSWebhookWebhookLinkableWrapper(ctx, recurse, objAttrs["webhooks"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSWebhookWebhookLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["webhooks"])) diags.Append(d...) tkh.SetWebhooks(val) } @@ -5491,12 +5491,12 @@ func tfObjectToTKHDSProvisioningGroupOnSystem_additionalObjects(ctx context.Cont tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSGroupProvisioningGroupLinkableWrapper(ctx, recurse, objAttrs["provgroups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSGroupProvisioningGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["provgroups"])) diags.Append(d...) tkh.SetProvgroups(val) } { - val, d := tfObjectToTKHDSServiceaccountServiceAccountPrimerLinkableWrapper(ctx, recurse, objAttrs["service_accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSServiceaccountServiceAccountPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["service_accounts"])) diags.Append(d...) tkh.SetServiceAccounts(val) } @@ -5652,7 +5652,7 @@ func tfObjectToTKHDSProvisioningProvisionNumberSequence_additionalObjects(ctx co tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSProvisioningProvisionedSystemPrimerLinkableWrapper(ctx, recurse, objAttrs["systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSProvisioningProvisionedSystemPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["systems"])) diags.Append(d...) tkh.SetSystems(val) } @@ -5938,14 +5938,6 @@ func tfObjectToTKHDSProvisioningProvisionedSystem(ctx context.Context, recurse b tkh.SetTechnicalAdministrator(val) } tkh.SetUsernamePrefix(objAttrs["username_prefix"].(basetypes.StringValue).ValueStringPointer()) - if !objAttrs["provisioned_azure_oidc_directory"].IsNull() { - val, d := tfObjectToTKHDSProvisioningProvisionedAzureOIDCDirectory(ctx, false, objAttrs["provisioned_azure_oidc_directory"].(basetypes.ObjectValue)) - diags.Append(d...) - dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedAzureOIDCDirectory)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) - val.SetTypeEscaped(dtype) - tkh = val - } if !objAttrs["abstract_provisioned_ldap"].IsNull() { val, d := tfObjectToTKHDSProvisioningAbstractProvisionedLDAP(ctx, false, objAttrs["abstract_provisioned_ldap"].(basetypes.ObjectValue)) diags.Append(d...) @@ -5954,11 +5946,11 @@ func tfObjectToTKHDSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_a_d"].IsNull() { - val, d := tfObjectToTKHDSProvisioningProvisionedAD(ctx, false, objAttrs["provisioned_a_d"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_ldap"].IsNull() { + val, d := tfObjectToTKHDSProvisioningProvisionedLDAP(ctx, false, objAttrs["provisioned_ldap"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedAD)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } @@ -5978,19 +5970,19 @@ func tfObjectToTKHDSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_internal_ldap"].IsNull() { - val, d := tfObjectToTKHDSProvisioningProvisionedInternalLDAP(ctx, false, objAttrs["provisioned_internal_ldap"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_azure_oidc_directory"].IsNull() { + val, d := tfObjectToTKHDSProvisioningProvisionedAzureOIDCDirectory(ctx, false, objAttrs["provisioned_azure_oidc_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedInternalLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedAzureOIDCDirectory)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_ldap"].IsNull() { - val, d := tfObjectToTKHDSProvisioningProvisionedLDAP(ctx, false, objAttrs["provisioned_ldap"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_a_d"].IsNull() { + val, d := tfObjectToTKHDSProvisioningProvisionedAD(ctx, false, objAttrs["provisioned_a_d"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedAD)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } @@ -6002,6 +5994,14 @@ func tfObjectToTKHDSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } + if !objAttrs["provisioned_internal_ldap"].IsNull() { + val, d := tfObjectToTKHDSProvisioningProvisionedInternalLDAP(ctx, false, objAttrs["provisioned_internal_ldap"].(basetypes.ObjectValue)) + diags.Append(d...) + dtype := val.GetTypeEscaped() + (*val.(*keyhubmodel.ProvisioningProvisionedInternalLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + val.SetTypeEscaped(dtype) + tkh = val + } if recurse { { val, d := tfObjectToTKHDSProvisioningProvisionedSystem_additionalObjects(ctx, false, objAttrs["additional_objects"].(basetypes.ObjectValue)) @@ -6195,7 +6195,7 @@ func tfObjectToTKHDSProvisioningProvisionedSystem_additionalObjects(ctx context. tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, objAttrs["issued_permissions"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["issued_permissions"])) diags.Append(d...) tkh.SetIssuedPermissions(val) } @@ -6645,11 +6645,11 @@ func tfObjectToTKHDSRequestModificationRequest(ctx context.Context, recurse bool diags.Append(d...) tkh.SetStatus(val) } - if !objAttrs["transfer_auditor_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferAuditorGroupRequest(ctx, false, objAttrs["transfer_auditor_group_request"].(basetypes.ObjectValue)) + if !objAttrs["abstract_application_modification_request"].IsNull() { + val, d := tfObjectToTKHDSRequestAbstractApplicationModificationRequest(ctx, false, objAttrs["abstract_application_modification_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferAuditorGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestAbstractApplicationModificationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6661,51 +6661,51 @@ func tfObjectToTKHDSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_service_account_request"].IsNull() { - val, d := tfObjectToTKHDSRequestCreateServiceAccountRequest(ctx, false, objAttrs["create_service_account_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_provisioned_system_request"].IsNull() { + val, d := tfObjectToTKHDSRequestRemoveProvisionedSystemRequest(ctx, false, objAttrs["remove_provisioned_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateServiceAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveProvisionedSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["review_audit_request"].IsNull() { - val, d := tfObjectToTKHDSRequestReviewAuditRequest(ctx, false, objAttrs["review_audit_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_application_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantApplicationRequest(ctx, false, objAttrs["grant_application_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestReviewAuditRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantApplicationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["setup_nested_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestSetupNestedGroupRequest(ctx, false, objAttrs["setup_nested_group_request"].(basetypes.ObjectValue)) + if !objAttrs["review_audit_request"].IsNull() { + val, d := tfObjectToTKHDSRequestReviewAuditRequest(ctx, false, objAttrs["review_audit_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestSetupNestedGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestReviewAuditRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_provisioned_system_request"].IsNull() { - val, d := tfObjectToTKHDSRequestRemoveProvisionedSystemRequest(ctx, false, objAttrs["remove_provisioned_system_request"].(basetypes.ObjectValue)) + if !objAttrs["revoke_admin_request"].IsNull() { + val, d := tfObjectToTKHDSRequestRevokeAdminRequest(ctx, false, objAttrs["revoke_admin_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveProvisionedSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRevokeAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["abstract_application_modification_request"].IsNull() { - val, d := tfObjectToTKHDSRequestAbstractApplicationModificationRequest(ctx, false, objAttrs["abstract_application_modification_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_access_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantAccessRequest(ctx, false, objAttrs["grant_access_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestAbstractApplicationModificationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_application_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantApplicationRequest(ctx, false, objAttrs["grant_application_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_provisioned_system_content_administration_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferProvisionedSystemContentAdministrationRequest(ctx, false, objAttrs["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantApplicationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6717,203 +6717,203 @@ func tfObjectToTKHDSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["verify_internal_account_request"].IsNull() { - val, d := tfObjectToTKHDSRequestVerifyInternalAccountRequest(ctx, false, objAttrs["verify_internal_account_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_organizational_unit_request"].IsNull() { + val, d := tfObjectToTKHDSRequestRemoveOrganizationalUnitRequest(ctx, false, objAttrs["remove_organizational_unit_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestVerifyInternalAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveOrganizationalUnitRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["disable2fa_request"].IsNull() { - val, d := tfObjectToTKHDSRequestDisable2FARequest(ctx, false, objAttrs["disable2fa_request"].(basetypes.ObjectValue)) + if !objAttrs["create_group_on_system_request"].IsNull() { + val, d := tfObjectToTKHDSRequestCreateGroupOnSystemRequest(ctx, false, objAttrs["create_group_on_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestDisable2FARequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["join_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestJoinGroupRequest(ctx, false, objAttrs["join_group_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_application_administration_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferApplicationAdministrationRequest(ctx, false, objAttrs["transfer_application_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestJoinGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferApplicationAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["join_vault_request"].IsNull() { - val, d := tfObjectToTKHDSRequestJoinVaultRequest(ctx, false, objAttrs["join_vault_request"].(basetypes.ObjectValue)) + if !objAttrs["update_group_membership_request"].IsNull() { + val, d := tfObjectToTKHDSRequestUpdateGroupMembershipRequest(ctx, false, objAttrs["update_group_membership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestJoinVaultRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestUpdateGroupMembershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestRemoveGroupRequest(ctx, false, objAttrs["remove_group_request"].(basetypes.ObjectValue)) + if !objAttrs["add_group_admin_request"].IsNull() { + val, d := tfObjectToTKHDSRequestAddGroupAdminRequest(ctx, false, objAttrs["add_group_admin_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestAddGroupAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_application_administration_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferApplicationAdministrationRequest(ctx, false, objAttrs["transfer_application_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_organizational_unit_ownership_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferOrganizationalUnitOwnershipRequest(ctx, false, objAttrs["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferApplicationAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_organizational_unit_ownership_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferOrganizationalUnitOwnershipRequest(ctx, false, objAttrs["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["join_vault_request"].IsNull() { + val, d := tfObjectToTKHDSRequestJoinVaultRequest(ctx, false, objAttrs["join_vault_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestJoinVaultRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_organizational_unit_request"].IsNull() { - val, d := tfObjectToTKHDSRequestRemoveOrganizationalUnitRequest(ctx, false, objAttrs["remove_organizational_unit_request"].(basetypes.ObjectValue)) + if !objAttrs["verify_internal_account_request"].IsNull() { + val, d := tfObjectToTKHDSRequestVerifyInternalAccountRequest(ctx, false, objAttrs["verify_internal_account_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveOrganizationalUnitRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestVerifyInternalAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_client_permission_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantClientPermissionRequest(ctx, false, objAttrs["grant_client_permission_request"].(basetypes.ObjectValue)) + if !objAttrs["join_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestJoinGroupRequest(ctx, false, objAttrs["join_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantClientPermissionRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestJoinGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["enable_technical_administration_request"].IsNull() { - val, d := tfObjectToTKHDSRequestEnableTechnicalAdministrationRequest(ctx, false, objAttrs["enable_technical_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_group_on_system_ownership_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferGroupOnSystemOwnershipRequest(ctx, false, objAttrs["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestEnableTechnicalAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferGroupOnSystemOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_provisioned_system_content_administration_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferProvisionedSystemContentAdministrationRequest(ctx, false, objAttrs["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestRemoveGroupRequest(ctx, false, objAttrs["remove_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["password_reset_request"].IsNull() { - val, d := tfObjectToTKHDSRequestPasswordResetRequest(ctx, false, objAttrs["password_reset_request"].(basetypes.ObjectValue)) + if !objAttrs["setup_authorizing_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestSetupAuthorizingGroupRequest(ctx, false, objAttrs["setup_authorizing_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestPasswordResetRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestSetupAuthorizingGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_group_on_system_ownership_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferGroupOnSystemOwnershipRequest(ctx, false, objAttrs["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["setup_nested_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestSetupNestedGroupRequest(ctx, false, objAttrs["setup_nested_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferGroupOnSystemOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestSetupNestedGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["setup_authorizing_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestSetupAuthorizingGroupRequest(ctx, false, objAttrs["setup_authorizing_group_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_group_on_system_request_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantGroupOnSystemRequestRequest(ctx, false, objAttrs["grant_group_on_system_request_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestSetupAuthorizingGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequestRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_service_account_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantServiceAccountGroupRequest(ctx, false, objAttrs["grant_service_account_group_request"].(basetypes.ObjectValue)) + if !objAttrs["disable2fa_request"].IsNull() { + val, d := tfObjectToTKHDSRequestDisable2FARequest(ctx, false, objAttrs["disable2fa_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantServiceAccountGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestDisable2FARequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_group_on_system_request"].IsNull() { - val, d := tfObjectToTKHDSRequestCreateGroupOnSystemRequest(ctx, false, objAttrs["create_group_on_system_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_group_on_system_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantGroupOnSystemRequest(ctx, false, objAttrs["grant_group_on_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_application_ownership_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferApplicationOwnershipRequest(ctx, false, objAttrs["transfer_application_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["enable_technical_administration_request"].IsNull() { + val, d := tfObjectToTKHDSRequestEnableTechnicalAdministrationRequest(ctx, false, objAttrs["enable_technical_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferApplicationOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestEnableTechnicalAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_access_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantAccessRequest(ctx, false, objAttrs["grant_access_request"].(basetypes.ObjectValue)) + if !objAttrs["create_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestCreateGroupRequest(ctx, false, objAttrs["create_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["update_group_membership_request"].IsNull() { - val, d := tfObjectToTKHDSRequestUpdateGroupMembershipRequest(ctx, false, objAttrs["update_group_membership_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_auditor_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferAuditorGroupRequest(ctx, false, objAttrs["transfer_auditor_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestUpdateGroupMembershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferAuditorGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["extend_access_request"].IsNull() { - val, d := tfObjectToTKHDSRequestExtendAccessRequest(ctx, false, objAttrs["extend_access_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_client_permission_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantClientPermissionRequest(ctx, false, objAttrs["grant_client_permission_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestExtendAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantClientPermissionRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["add_group_admin_request"].IsNull() { - val, d := tfObjectToTKHDSRequestAddGroupAdminRequest(ctx, false, objAttrs["add_group_admin_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_application_ownership_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferApplicationOwnershipRequest(ctx, false, objAttrs["transfer_application_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestAddGroupAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferApplicationOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_group_on_system_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantGroupOnSystemRequest(ctx, false, objAttrs["grant_group_on_system_request"].(basetypes.ObjectValue)) + if !objAttrs["create_service_account_request"].IsNull() { + val, d := tfObjectToTKHDSRequestCreateServiceAccountRequest(ctx, false, objAttrs["create_service_account_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateServiceAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_group_on_system_request_request"].IsNull() { - val, d := tfObjectToTKHDSRequestGrantGroupOnSystemRequestRequest(ctx, false, objAttrs["grant_group_on_system_request_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_service_account_administration_request"].IsNull() { + val, d := tfObjectToTKHDSRequestTransferServiceAccountAdministrationRequest(ctx, false, objAttrs["transfer_service_account_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequestRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferServiceAccountAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["revoke_admin_request"].IsNull() { - val, d := tfObjectToTKHDSRequestRevokeAdminRequest(ctx, false, objAttrs["revoke_admin_request"].(basetypes.ObjectValue)) + if !objAttrs["password_reset_request"].IsNull() { + val, d := tfObjectToTKHDSRequestPasswordResetRequest(ctx, false, objAttrs["password_reset_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRevokeAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestPasswordResetRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_group_request"].IsNull() { - val, d := tfObjectToTKHDSRequestCreateGroupRequest(ctx, false, objAttrs["create_group_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_service_account_group_request"].IsNull() { + val, d := tfObjectToTKHDSRequestGrantServiceAccountGroupRequest(ctx, false, objAttrs["grant_service_account_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantServiceAccountGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6925,11 +6925,11 @@ func tfObjectToTKHDSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_service_account_administration_request"].IsNull() { - val, d := tfObjectToTKHDSRequestTransferServiceAccountAdministrationRequest(ctx, false, objAttrs["transfer_service_account_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["extend_access_request"].IsNull() { + val, d := tfObjectToTKHDSRequestExtendAccessRequest(ctx, false, objAttrs["extend_access_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferServiceAccountAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestExtendAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -7549,7 +7549,7 @@ func tfObjectToTKHDSServiceaccountServiceAccount_additionalObjects(ctx context.C tkh.SetAudit(val) } { - val, d := tfObjectToTKHDSServiceaccountServiceAccountGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSServiceaccountServiceAccountGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) } @@ -8097,7 +8097,7 @@ func tfObjectToTKHDSVaultVaultRecord_additionalObjects(ctx context.Context, recu tkh.SetShareSummary(val) } { - val, d := tfObjectToTKHDSVaultVaultRecordPrimerLinkableWrapper(ctx, recurse, objAttrs["shares"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHDSVaultVaultRecordPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["shares"])) diags.Append(d...) tkh.SetShares(val) } diff --git a/internal/provider/full-tf-to-tkh-rs.go b/internal/provider/full-tf-to-tkh-rs.go index fadf22b..ff32bc8 100644 --- a/internal/provider/full-tf-to-tkh-rs.go +++ b/internal/provider/full-tf-to-tkh-rs.go @@ -640,7 +640,7 @@ func tfObjectToTKHRSAuthAccount_additionalObjects(ctx context.Context, recurse b tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSGroupAccountGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupAccountGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) if val != nil { @@ -1285,7 +1285,7 @@ func tfObjectToTKHRSClientClientApplication_additionalObjects(ctx context.Contex } tkh.SetDeleteTile(objAttrs["delete_tile"].(basetypes.BoolValue).ValueBoolPointer()) { - val, d := tfObjectToTKHRSGroupGroupClientLinkableWrapper(ctx, recurse, objAttrs["groupclients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groupclients"])) diags.Append(d...) tkh.SetGroupclients(val) if val != nil { @@ -1293,7 +1293,7 @@ func tfObjectToTKHRSClientClientApplication_additionalObjects(ctx context.Contex } } { - val, d := tfObjectToTKHRSGroupGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) } @@ -1717,35 +1717,35 @@ func tfObjectToTKHRSDirectoryAccountDirectory(ctx context.Context, recurse bool, tkh.SetRotatingPassword(val) } tkh.SetUsernameCustomizable(objAttrs["username_customizable"].(basetypes.BoolValue).ValueBoolPointer()) - if !objAttrs["l_d_a_p_directory"].IsNull() { - val, d := tfObjectToTKHRSDirectoryLDAPDirectory(ctx, false, objAttrs["l_d_a_p_directory"].(basetypes.ObjectValue)) + if !objAttrs["maintenance_directory"].IsNull() { + val, d := tfObjectToTKHRSDirectoryMaintenanceDirectory(ctx, false, objAttrs["maintenance_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryLDAPDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryMaintenanceDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["internal_directory"].IsNull() { - val, d := tfObjectToTKHRSDirectoryInternalDirectory(ctx, false, objAttrs["internal_directory"].(basetypes.ObjectValue)) + if !objAttrs["o_id_c_directory"].IsNull() { + val, d := tfObjectToTKHRSDirectoryOIDCDirectory(ctx, false, objAttrs["o_id_c_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryInternalDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryOIDCDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["o_id_c_directory"].IsNull() { - val, d := tfObjectToTKHRSDirectoryOIDCDirectory(ctx, false, objAttrs["o_id_c_directory"].(basetypes.ObjectValue)) + if !objAttrs["internal_directory"].IsNull() { + val, d := tfObjectToTKHRSDirectoryInternalDirectory(ctx, false, objAttrs["internal_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryOIDCDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryInternalDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["maintenance_directory"].IsNull() { - val, d := tfObjectToTKHRSDirectoryMaintenanceDirectory(ctx, false, objAttrs["maintenance_directory"].(basetypes.ObjectValue)) + if !objAttrs["l_d_a_p_directory"].IsNull() { + val, d := tfObjectToTKHRSDirectoryLDAPDirectory(ctx, false, objAttrs["l_d_a_p_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.DirectoryMaintenanceDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) + (*val.(*keyhubmodel.DirectoryLDAPDirectory)).DirectoryAccountDirectory = *tkh.(*keyhubmodel.DirectoryAccountDirectory) val.SetTypeEscaped(dtype) tkh = val } @@ -3085,7 +3085,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo var tkh keyhubmodel.GroupGroup_additionalObjectsable tkh = keyhubmodel.NewGroupGroup_additionalObjects() { - val, d := tfObjectToTKHRSGroupGroupAccountLinkableWrapper(ctx, recurse, objAttrs["accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["accounts"])) diags.Append(d...) tkh.SetAccounts(val) if val != nil { @@ -3093,7 +3093,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSClientClientApplicationLinkableWrapper(ctx, recurse, objAttrs["administered_clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSClientClientApplicationLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["administered_clients"])) diags.Append(d...) tkh.SetAdministeredClients(val) if val != nil { @@ -3101,12 +3101,12 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["administered_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["administered_systems"])) diags.Append(d...) tkh.SetAdministeredSystems(val) } { - val, d := tfObjectToTKHRSGroupGroupAccountLinkableWrapper(ctx, recurse, objAttrs["admins"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["admins"])) diags.Append(d...) tkh.SetAdmins(val) if val != nil { @@ -3127,7 +3127,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, objAttrs["client_permissions"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["client_permissions"])) diags.Append(d...) tkh.SetClientPermissions(val) if val != nil { @@ -3135,7 +3135,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSGroupGroupClientLinkableWrapper(ctx, recurse, objAttrs["clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["clients"])) diags.Append(d...) tkh.SetClients(val) if val != nil { @@ -3143,7 +3143,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["content_administered_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["content_administered_systems"])) diags.Append(d...) tkh.SetContentAdministeredSystems(val) } @@ -3158,7 +3158,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetGroupinfo(val) } { - val, d := tfObjectToTKHRSDirectoryAccountDirectorySummaryLinkableWrapper(ctx, recurse, objAttrs["helpdesk"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSDirectoryAccountDirectorySummaryLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["helpdesk"])) diags.Append(d...) tkh.SetHelpdesk(val) if val != nil { @@ -3181,7 +3181,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetMydelegatedaccount(val) } { - val, d := tfObjectToTKHRSGroupGroupPrimerLinkableWrapper(ctx, recurse, objAttrs["nested_groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["nested_groups"])) diags.Append(d...) tkh.SetNestedGroups(val) if val != nil { @@ -3189,7 +3189,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSClientClientApplicationLinkableWrapper(ctx, recurse, objAttrs["owned_clients"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSClientClientApplicationLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_clients"])) diags.Append(d...) tkh.SetOwnedClients(val) if val != nil { @@ -3197,7 +3197,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSDirectoryAccountDirectoryLinkableWrapper(ctx, recurse, objAttrs["owned_directories"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSDirectoryAccountDirectoryLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_directories"])) diags.Append(d...) tkh.SetOwnedDirectories(val) if val != nil { @@ -3213,17 +3213,17 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo } } { - val, d := tfObjectToTKHRSOrganizationOrganizationalUnitLinkableWrapper(ctx, recurse, objAttrs["owned_organizational_units"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSOrganizationOrganizationalUnitLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_organizational_units"])) diags.Append(d...) tkh.SetOwnedOrganizationalUnits(val) } { - val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, objAttrs["owned_systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSProvisioningProvisionedSystemLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["owned_systems"])) diags.Append(d...) tkh.SetOwnedSystems(val) } { - val, d := tfObjectToTKHRSGroupGroupAuditLinkableWrapper(ctx, recurse, objAttrs["recent_audits"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupGroupAuditLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["recent_audits"])) diags.Append(d...) tkh.SetRecentAudits(val) if val != nil { @@ -3236,12 +3236,12 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetRequeststatus(val) } { - val, d := tfObjectToTKHRSServiceaccountServiceAccountLinkableWrapper(ctx, recurse, objAttrs["service_accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSServiceaccountServiceAccountLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["service_accounts"])) diags.Append(d...) tkh.SetServiceAccounts(val) } { - val, d := tfObjectToTKHRSGroupProvisioningGroupLinkableWrapper(ctx, recurse, objAttrs["systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupProvisioningGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["systems"])) diags.Append(d...) tkh.SetSystems(val) if val != nil { @@ -3254,7 +3254,7 @@ func tfObjectToTKHRSGroupGroup_additionalObjects(ctx context.Context, recurse bo tkh.SetVault(val) } { - val, d := tfObjectToTKHRSWebhookWebhookLinkableWrapper(ctx, recurse, objAttrs["webhooks"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSWebhookWebhookLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["webhooks"])) diags.Append(d...) tkh.SetWebhooks(val) } @@ -4939,7 +4939,7 @@ func tfObjectToTKHRSOrganizationOrganizationalUnit_additionalObjects(ctx context tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSOrganizationOrganizationalUnitPrimerLinkableWrapper(ctx, recurse, objAttrs["create_as_parent_of"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSOrganizationOrganizationalUnitPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["create_as_parent_of"])) diags.Append(d...) tkh.SetCreateAsParentOf(val) if val != nil { @@ -5222,7 +5222,7 @@ func tfObjectToTKHRSProvisioningGroupOnSystem_additionalObjects(ctx context.Cont tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSGroupProvisioningGroupLinkableWrapper(ctx, recurse, objAttrs["provgroups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSGroupProvisioningGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["provgroups"])) diags.Append(d...) tkh.SetProvgroups(val) if val != nil { @@ -5230,7 +5230,7 @@ func tfObjectToTKHRSProvisioningGroupOnSystem_additionalObjects(ctx context.Cont } } { - val, d := tfObjectToTKHRSServiceaccountServiceAccountPrimerLinkableWrapper(ctx, recurse, objAttrs["service_accounts"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSServiceaccountServiceAccountPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["service_accounts"])) diags.Append(d...) tkh.SetServiceAccounts(val) if val != nil { @@ -5389,7 +5389,7 @@ func tfObjectToTKHRSProvisioningProvisionNumberSequence_additionalObjects(ctx co tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSProvisioningProvisionedSystemPrimerLinkableWrapper(ctx, recurse, objAttrs["systems"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSProvisioningProvisionedSystemPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["systems"])) diags.Append(d...) tkh.SetSystems(val) if val != nil { @@ -5656,14 +5656,6 @@ func tfObjectToTKHRSProvisioningProvisionedSystem(ctx context.Context, recurse b tkh.SetTechnicalAdministrator(val) } tkh.SetUsernamePrefix(objAttrs["username_prefix"].(basetypes.StringValue).ValueStringPointer()) - if !objAttrs["provisioned_azure_oidc_directory"].IsNull() { - val, d := tfObjectToTKHRSProvisioningProvisionedAzureOIDCDirectory(ctx, false, objAttrs["provisioned_azure_oidc_directory"].(basetypes.ObjectValue)) - diags.Append(d...) - dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedAzureOIDCDirectory)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) - val.SetTypeEscaped(dtype) - tkh = val - } if !objAttrs["abstract_provisioned_ldap"].IsNull() { val, d := tfObjectToTKHRSProvisioningAbstractProvisionedLDAP(ctx, false, objAttrs["abstract_provisioned_ldap"].(basetypes.ObjectValue)) diags.Append(d...) @@ -5672,11 +5664,11 @@ func tfObjectToTKHRSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_a_d"].IsNull() { - val, d := tfObjectToTKHRSProvisioningProvisionedAD(ctx, false, objAttrs["provisioned_a_d"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_ldap"].IsNull() { + val, d := tfObjectToTKHRSProvisioningProvisionedLDAP(ctx, false, objAttrs["provisioned_ldap"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedAD)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } @@ -5696,19 +5688,19 @@ func tfObjectToTKHRSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_internal_ldap"].IsNull() { - val, d := tfObjectToTKHRSProvisioningProvisionedInternalLDAP(ctx, false, objAttrs["provisioned_internal_ldap"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_azure_oidc_directory"].IsNull() { + val, d := tfObjectToTKHRSProvisioningProvisionedAzureOIDCDirectory(ctx, false, objAttrs["provisioned_azure_oidc_directory"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedInternalLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedAzureOIDCDirectory)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["provisioned_ldap"].IsNull() { - val, d := tfObjectToTKHRSProvisioningProvisionedLDAP(ctx, false, objAttrs["provisioned_ldap"].(basetypes.ObjectValue)) + if !objAttrs["provisioned_a_d"].IsNull() { + val, d := tfObjectToTKHRSProvisioningProvisionedAD(ctx, false, objAttrs["provisioned_a_d"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.ProvisioningProvisionedLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + (*val.(*keyhubmodel.ProvisioningProvisionedAD)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) val.SetTypeEscaped(dtype) tkh = val } @@ -5720,6 +5712,14 @@ func tfObjectToTKHRSProvisioningProvisionedSystem(ctx context.Context, recurse b val.SetTypeEscaped(dtype) tkh = val } + if !objAttrs["provisioned_internal_ldap"].IsNull() { + val, d := tfObjectToTKHRSProvisioningProvisionedInternalLDAP(ctx, false, objAttrs["provisioned_internal_ldap"].(basetypes.ObjectValue)) + diags.Append(d...) + dtype := val.GetTypeEscaped() + (*val.(*keyhubmodel.ProvisioningProvisionedInternalLDAP)).ProvisioningProvisionedSystem = *tkh.(*keyhubmodel.ProvisioningProvisionedSystem) + val.SetTypeEscaped(dtype) + tkh = val + } if recurse { { val, d := tfObjectToTKHRSProvisioningProvisionedSystem_additionalObjects(ctx, false, objAttrs["additional_objects"].(basetypes.ObjectValue)) @@ -5913,7 +5913,7 @@ func tfObjectToTKHRSProvisioningProvisionedSystem_additionalObjects(ctx context. tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, objAttrs["issued_permissions"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSClientOAuth2ClientPermissionWithClientLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["issued_permissions"])) diags.Append(d...) tkh.SetIssuedPermissions(val) if val != nil { @@ -6366,11 +6366,11 @@ func tfObjectToTKHRSRequestModificationRequest(ctx context.Context, recurse bool diags.Append(d...) tkh.SetStatus(val) } - if !objAttrs["transfer_auditor_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferAuditorGroupRequest(ctx, false, objAttrs["transfer_auditor_group_request"].(basetypes.ObjectValue)) + if !objAttrs["abstract_application_modification_request"].IsNull() { + val, d := tfObjectToTKHRSRequestAbstractApplicationModificationRequest(ctx, false, objAttrs["abstract_application_modification_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferAuditorGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestAbstractApplicationModificationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6382,51 +6382,51 @@ func tfObjectToTKHRSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_service_account_request"].IsNull() { - val, d := tfObjectToTKHRSRequestCreateServiceAccountRequest(ctx, false, objAttrs["create_service_account_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_provisioned_system_request"].IsNull() { + val, d := tfObjectToTKHRSRequestRemoveProvisionedSystemRequest(ctx, false, objAttrs["remove_provisioned_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateServiceAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveProvisionedSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["review_audit_request"].IsNull() { - val, d := tfObjectToTKHRSRequestReviewAuditRequest(ctx, false, objAttrs["review_audit_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_application_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantApplicationRequest(ctx, false, objAttrs["grant_application_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestReviewAuditRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantApplicationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["setup_nested_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestSetupNestedGroupRequest(ctx, false, objAttrs["setup_nested_group_request"].(basetypes.ObjectValue)) + if !objAttrs["review_audit_request"].IsNull() { + val, d := tfObjectToTKHRSRequestReviewAuditRequest(ctx, false, objAttrs["review_audit_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestSetupNestedGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestReviewAuditRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_provisioned_system_request"].IsNull() { - val, d := tfObjectToTKHRSRequestRemoveProvisionedSystemRequest(ctx, false, objAttrs["remove_provisioned_system_request"].(basetypes.ObjectValue)) + if !objAttrs["revoke_admin_request"].IsNull() { + val, d := tfObjectToTKHRSRequestRevokeAdminRequest(ctx, false, objAttrs["revoke_admin_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveProvisionedSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRevokeAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["abstract_application_modification_request"].IsNull() { - val, d := tfObjectToTKHRSRequestAbstractApplicationModificationRequest(ctx, false, objAttrs["abstract_application_modification_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_access_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantAccessRequest(ctx, false, objAttrs["grant_access_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestAbstractApplicationModificationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_application_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantApplicationRequest(ctx, false, objAttrs["grant_application_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_provisioned_system_content_administration_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferProvisionedSystemContentAdministrationRequest(ctx, false, objAttrs["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantApplicationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6438,203 +6438,203 @@ func tfObjectToTKHRSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["verify_internal_account_request"].IsNull() { - val, d := tfObjectToTKHRSRequestVerifyInternalAccountRequest(ctx, false, objAttrs["verify_internal_account_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_organizational_unit_request"].IsNull() { + val, d := tfObjectToTKHRSRequestRemoveOrganizationalUnitRequest(ctx, false, objAttrs["remove_organizational_unit_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestVerifyInternalAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveOrganizationalUnitRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["disable2fa_request"].IsNull() { - val, d := tfObjectToTKHRSRequestDisable2FARequest(ctx, false, objAttrs["disable2fa_request"].(basetypes.ObjectValue)) + if !objAttrs["create_group_on_system_request"].IsNull() { + val, d := tfObjectToTKHRSRequestCreateGroupOnSystemRequest(ctx, false, objAttrs["create_group_on_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestDisable2FARequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["join_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestJoinGroupRequest(ctx, false, objAttrs["join_group_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_application_administration_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferApplicationAdministrationRequest(ctx, false, objAttrs["transfer_application_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestJoinGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferApplicationAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["join_vault_request"].IsNull() { - val, d := tfObjectToTKHRSRequestJoinVaultRequest(ctx, false, objAttrs["join_vault_request"].(basetypes.ObjectValue)) + if !objAttrs["update_group_membership_request"].IsNull() { + val, d := tfObjectToTKHRSRequestUpdateGroupMembershipRequest(ctx, false, objAttrs["update_group_membership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestJoinVaultRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestUpdateGroupMembershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestRemoveGroupRequest(ctx, false, objAttrs["remove_group_request"].(basetypes.ObjectValue)) + if !objAttrs["add_group_admin_request"].IsNull() { + val, d := tfObjectToTKHRSRequestAddGroupAdminRequest(ctx, false, objAttrs["add_group_admin_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestAddGroupAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_application_administration_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferApplicationAdministrationRequest(ctx, false, objAttrs["transfer_application_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_organizational_unit_ownership_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferOrganizationalUnitOwnershipRequest(ctx, false, objAttrs["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferApplicationAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_organizational_unit_ownership_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferOrganizationalUnitOwnershipRequest(ctx, false, objAttrs["transfer_organizational_unit_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["join_vault_request"].IsNull() { + val, d := tfObjectToTKHRSRequestJoinVaultRequest(ctx, false, objAttrs["join_vault_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestJoinVaultRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["remove_organizational_unit_request"].IsNull() { - val, d := tfObjectToTKHRSRequestRemoveOrganizationalUnitRequest(ctx, false, objAttrs["remove_organizational_unit_request"].(basetypes.ObjectValue)) + if !objAttrs["verify_internal_account_request"].IsNull() { + val, d := tfObjectToTKHRSRequestVerifyInternalAccountRequest(ctx, false, objAttrs["verify_internal_account_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRemoveOrganizationalUnitRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestVerifyInternalAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_client_permission_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantClientPermissionRequest(ctx, false, objAttrs["grant_client_permission_request"].(basetypes.ObjectValue)) + if !objAttrs["join_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestJoinGroupRequest(ctx, false, objAttrs["join_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantClientPermissionRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestJoinGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["enable_technical_administration_request"].IsNull() { - val, d := tfObjectToTKHRSRequestEnableTechnicalAdministrationRequest(ctx, false, objAttrs["enable_technical_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_group_on_system_ownership_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferGroupOnSystemOwnershipRequest(ctx, false, objAttrs["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestEnableTechnicalAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferGroupOnSystemOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_provisioned_system_content_administration_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferProvisionedSystemContentAdministrationRequest(ctx, false, objAttrs["transfer_provisioned_system_content_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["remove_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestRemoveGroupRequest(ctx, false, objAttrs["remove_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestRemoveGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["password_reset_request"].IsNull() { - val, d := tfObjectToTKHRSRequestPasswordResetRequest(ctx, false, objAttrs["password_reset_request"].(basetypes.ObjectValue)) + if !objAttrs["setup_authorizing_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestSetupAuthorizingGroupRequest(ctx, false, objAttrs["setup_authorizing_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestPasswordResetRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestSetupAuthorizingGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_group_on_system_ownership_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferGroupOnSystemOwnershipRequest(ctx, false, objAttrs["transfer_group_on_system_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["setup_nested_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestSetupNestedGroupRequest(ctx, false, objAttrs["setup_nested_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferGroupOnSystemOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestSetupNestedGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["setup_authorizing_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestSetupAuthorizingGroupRequest(ctx, false, objAttrs["setup_authorizing_group_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_group_on_system_request_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantGroupOnSystemRequestRequest(ctx, false, objAttrs["grant_group_on_system_request_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestSetupAuthorizingGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequestRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_service_account_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantServiceAccountGroupRequest(ctx, false, objAttrs["grant_service_account_group_request"].(basetypes.ObjectValue)) + if !objAttrs["disable2fa_request"].IsNull() { + val, d := tfObjectToTKHRSRequestDisable2FARequest(ctx, false, objAttrs["disable2fa_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantServiceAccountGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestDisable2FARequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_group_on_system_request"].IsNull() { - val, d := tfObjectToTKHRSRequestCreateGroupOnSystemRequest(ctx, false, objAttrs["create_group_on_system_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_group_on_system_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantGroupOnSystemRequest(ctx, false, objAttrs["grant_group_on_system_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_application_ownership_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferApplicationOwnershipRequest(ctx, false, objAttrs["transfer_application_ownership_request"].(basetypes.ObjectValue)) + if !objAttrs["enable_technical_administration_request"].IsNull() { + val, d := tfObjectToTKHRSRequestEnableTechnicalAdministrationRequest(ctx, false, objAttrs["enable_technical_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferApplicationOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestEnableTechnicalAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_access_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantAccessRequest(ctx, false, objAttrs["grant_access_request"].(basetypes.ObjectValue)) + if !objAttrs["create_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestCreateGroupRequest(ctx, false, objAttrs["create_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["update_group_membership_request"].IsNull() { - val, d := tfObjectToTKHRSRequestUpdateGroupMembershipRequest(ctx, false, objAttrs["update_group_membership_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_auditor_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferAuditorGroupRequest(ctx, false, objAttrs["transfer_auditor_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestUpdateGroupMembershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferAuditorGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["extend_access_request"].IsNull() { - val, d := tfObjectToTKHRSRequestExtendAccessRequest(ctx, false, objAttrs["extend_access_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_client_permission_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantClientPermissionRequest(ctx, false, objAttrs["grant_client_permission_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestExtendAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantClientPermissionRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["add_group_admin_request"].IsNull() { - val, d := tfObjectToTKHRSRequestAddGroupAdminRequest(ctx, false, objAttrs["add_group_admin_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_application_ownership_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferApplicationOwnershipRequest(ctx, false, objAttrs["transfer_application_ownership_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestAddGroupAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferApplicationOwnershipRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_group_on_system_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantGroupOnSystemRequest(ctx, false, objAttrs["grant_group_on_system_request"].(basetypes.ObjectValue)) + if !objAttrs["create_service_account_request"].IsNull() { + val, d := tfObjectToTKHRSRequestCreateServiceAccountRequest(ctx, false, objAttrs["create_service_account_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestCreateServiceAccountRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["grant_group_on_system_request_request"].IsNull() { - val, d := tfObjectToTKHRSRequestGrantGroupOnSystemRequestRequest(ctx, false, objAttrs["grant_group_on_system_request_request"].(basetypes.ObjectValue)) + if !objAttrs["transfer_service_account_administration_request"].IsNull() { + val, d := tfObjectToTKHRSRequestTransferServiceAccountAdministrationRequest(ctx, false, objAttrs["transfer_service_account_administration_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestGrantGroupOnSystemRequestRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestTransferServiceAccountAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["revoke_admin_request"].IsNull() { - val, d := tfObjectToTKHRSRequestRevokeAdminRequest(ctx, false, objAttrs["revoke_admin_request"].(basetypes.ObjectValue)) + if !objAttrs["password_reset_request"].IsNull() { + val, d := tfObjectToTKHRSRequestPasswordResetRequest(ctx, false, objAttrs["password_reset_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestRevokeAdminRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestPasswordResetRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["create_group_request"].IsNull() { - val, d := tfObjectToTKHRSRequestCreateGroupRequest(ctx, false, objAttrs["create_group_request"].(basetypes.ObjectValue)) + if !objAttrs["grant_service_account_group_request"].IsNull() { + val, d := tfObjectToTKHRSRequestGrantServiceAccountGroupRequest(ctx, false, objAttrs["grant_service_account_group_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestCreateGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestGrantServiceAccountGroupRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -6646,11 +6646,11 @@ func tfObjectToTKHRSRequestModificationRequest(ctx context.Context, recurse bool val.SetTypeEscaped(dtype) tkh = val } - if !objAttrs["transfer_service_account_administration_request"].IsNull() { - val, d := tfObjectToTKHRSRequestTransferServiceAccountAdministrationRequest(ctx, false, objAttrs["transfer_service_account_administration_request"].(basetypes.ObjectValue)) + if !objAttrs["extend_access_request"].IsNull() { + val, d := tfObjectToTKHRSRequestExtendAccessRequest(ctx, false, objAttrs["extend_access_request"].(basetypes.ObjectValue)) diags.Append(d...) dtype := val.GetTypeEscaped() - (*val.(*keyhubmodel.RequestTransferServiceAccountAdministrationRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) + (*val.(*keyhubmodel.RequestExtendAccessRequest)).RequestModificationRequest = *tkh.(*keyhubmodel.RequestModificationRequest) val.SetTypeEscaped(dtype) tkh = val } @@ -7279,7 +7279,7 @@ func tfObjectToTKHRSServiceaccountServiceAccount_additionalObjects(ctx context.C tkh.SetAudit(val) } { - val, d := tfObjectToTKHRSServiceaccountServiceAccountGroupLinkableWrapper(ctx, recurse, objAttrs["groups"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSServiceaccountServiceAccountGroupLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["groups"])) diags.Append(d...) tkh.SetGroups(val) if val != nil { @@ -7832,7 +7832,7 @@ func tfObjectToTKHRSVaultVaultRecord_additionalObjects(ctx context.Context, recu tkh.SetShareSummary(val) } { - val, d := tfObjectToTKHRSVaultVaultRecordPrimerLinkableWrapper(ctx, recurse, objAttrs["shares"].(basetypes.ObjectValue)) + val, d := tfObjectToTKHRSVaultVaultRecordPrimerLinkableWrapper(ctx, recurse, toItemsList(ctx, objAttrs["shares"])) diags.Append(d...) tkh.SetShares(val) if val != nil { diff --git a/internal/provider/full-tkh-to-tf-ds.go b/internal/provider/full-tkh-to-tf-ds.go index 9af726c..cbe0fa8 100644 --- a/internal/provider/full-tkh-to-tf-ds.go +++ b/internal/provider/full-tkh-to-tf-ds.go @@ -714,7 +714,7 @@ func tkhToTFObjectDSAuthAccount_additionalObjects(recurse bool, tkh keyhubmodel. { val, d := tkhToTFObjectDSGroupAccountGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectDSAuthAccountRecoveryStatus(recurse, tkh.GetPendingRecoveryRequests()) @@ -1519,12 +1519,12 @@ func tkhToTFObjectDSClientClientApplication_additionalObjects(recurse bool, tkh { val, d := tkhToTFObjectDSGroupGroupClientLinkableWrapper(recurse, tkh.GetGroupclients()) diags.Append(d...) - obj["groupclients"] = val + obj["groupclients"] = getItemsAttr(val, attrs["groupclients"]) } { val, d := tkhToTFObjectDSGroupGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectDSGeneratedSecret(recurse, tkh.GetSecret()) @@ -2018,16 +2018,10 @@ func tkhToTFObjectDSDirectoryAccountDirectory(recurse bool, tkh keyhubmodel.Dire obj["rotating_password"] = stringerToTF(tkh.GetRotatingPassword()) obj["username_customizable"] = types.BoolPointerValue(tkh.GetUsernameCustomizable()) { - tkhCast, _ := tkh.(keyhubmodel.DirectoryLDAPDirectoryable) - val, d := tkhToTFObjectDSDirectoryLDAPDirectory(false, tkhCast) - diags.Append(d...) - obj["l_d_a_p_directory"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.DirectoryInternalDirectoryable) - val, d := tkhToTFObjectDSDirectoryInternalDirectory(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.DirectoryMaintenanceDirectoryable) + val, d := tkhToTFObjectDSDirectoryMaintenanceDirectory(false, tkhCast) diags.Append(d...) - obj["internal_directory"] = val + obj["maintenance_directory"] = val } { tkhCast, _ := tkh.(keyhubmodel.DirectoryOIDCDirectoryable) @@ -2036,10 +2030,16 @@ func tkhToTFObjectDSDirectoryAccountDirectory(recurse bool, tkh keyhubmodel.Dire obj["o_id_c_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.DirectoryMaintenanceDirectoryable) - val, d := tkhToTFObjectDSDirectoryMaintenanceDirectory(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.DirectoryInternalDirectoryable) + val, d := tkhToTFObjectDSDirectoryInternalDirectory(false, tkhCast) diags.Append(d...) - obj["maintenance_directory"] = val + obj["internal_directory"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.DirectoryLDAPDirectoryable) + val, d := tkhToTFObjectDSDirectoryLDAPDirectory(false, tkhCast) + diags.Append(d...) + obj["l_d_a_p_directory"] = val } objVal, d := types.ObjectValue(attrs, obj) @@ -3671,22 +3671,22 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSGroupGroupAccountLinkableWrapper(recurse, tkh.GetAccounts()) diags.Append(d...) - obj["accounts"] = val + obj["accounts"] = getItemsAttr(val, attrs["accounts"]) } { val, d := tkhToTFObjectDSClientClientApplicationLinkableWrapper(recurse, tkh.GetAdministeredClients()) diags.Append(d...) - obj["administered_clients"] = val + obj["administered_clients"] = getItemsAttr(val, attrs["administered_clients"]) } { val, d := tkhToTFObjectDSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetAdministeredSystems()) diags.Append(d...) - obj["administered_systems"] = val + obj["administered_systems"] = getItemsAttr(val, attrs["administered_systems"]) } { val, d := tkhToTFObjectDSGroupGroupAccountLinkableWrapper(recurse, tkh.GetAdmins()) diags.Append(d...) - obj["admins"] = val + obj["admins"] = getItemsAttr(val, attrs["admins"]) } { val, d := tkhToTFObjectDSAuditInfo(recurse, tkh.GetAudit()) @@ -3701,17 +3701,17 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse, tkh.GetClientPermissions()) diags.Append(d...) - obj["client_permissions"] = val + obj["client_permissions"] = getItemsAttr(val, attrs["client_permissions"]) } { val, d := tkhToTFObjectDSGroupGroupClientLinkableWrapper(recurse, tkh.GetClients()) diags.Append(d...) - obj["clients"] = val + obj["clients"] = getItemsAttr(val, attrs["clients"]) } { val, d := tkhToTFObjectDSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetContentAdministeredSystems()) diags.Append(d...) - obj["content_administered_systems"] = val + obj["content_administered_systems"] = getItemsAttr(val, attrs["content_administered_systems"]) } { val, d := tkhToTFObjectDSGroupGroupAuditingInfo(recurse, tkh.GetGroupauditinginfo()) @@ -3726,7 +3726,7 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSDirectoryAccountDirectorySummaryLinkableWrapper(recurse, tkh.GetHelpdesk()) diags.Append(d...) - obj["helpdesk"] = val + obj["helpdesk"] = getItemsAttr(val, attrs["helpdesk"]) } { val, d := tkhToTFObjectDSMarkItemMarkers(recurse, tkh.GetMarkers()) @@ -3746,17 +3746,17 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSGroupGroupPrimerLinkableWrapper(recurse, tkh.GetNestedGroups()) diags.Append(d...) - obj["nested_groups"] = val + obj["nested_groups"] = getItemsAttr(val, attrs["nested_groups"]) } { val, d := tkhToTFObjectDSClientClientApplicationLinkableWrapper(recurse, tkh.GetOwnedClients()) diags.Append(d...) - obj["owned_clients"] = val + obj["owned_clients"] = getItemsAttr(val, attrs["owned_clients"]) } { val, d := tkhToTFObjectDSDirectoryAccountDirectoryLinkableWrapper(recurse, tkh.GetOwnedDirectories()) diags.Append(d...) - obj["owned_directories"] = val + obj["owned_directories"] = getItemsAttr(val, attrs["owned_directories"]) } { val, d := tkhToTFObjectDSProvisioningOwnedGroupOnSystemsWrapper(recurse, tkh.GetOwnedGroupsOnSystem()) @@ -3766,28 +3766,28 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSOrganizationOrganizationalUnitLinkableWrapper(recurse, tkh.GetOwnedOrganizationalUnits()) diags.Append(d...) - obj["owned_organizational_units"] = val + obj["owned_organizational_units"] = getItemsAttr(val, attrs["owned_organizational_units"]) } { val, d := tkhToTFObjectDSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetOwnedSystems()) diags.Append(d...) - obj["owned_systems"] = val + obj["owned_systems"] = getItemsAttr(val, attrs["owned_systems"]) } { val, d := tkhToTFObjectDSGroupGroupAuditLinkableWrapper(recurse, tkh.GetRecentAudits()) diags.Append(d...) - obj["recent_audits"] = val + obj["recent_audits"] = getItemsAttr(val, attrs["recent_audits"]) } obj["requeststatus"] = stringerToTF(tkh.GetRequeststatus()) { val, d := tkhToTFObjectDSServiceaccountServiceAccountLinkableWrapper(recurse, tkh.GetServiceAccounts()) diags.Append(d...) - obj["service_accounts"] = val + obj["service_accounts"] = getItemsAttr(val, attrs["service_accounts"]) } { val, d := tkhToTFObjectDSGroupProvisioningGroupLinkableWrapper(recurse, tkh.GetSystems()) diags.Append(d...) - obj["systems"] = val + obj["systems"] = getItemsAttr(val, attrs["systems"]) } { val, d := tkhToTFObjectDSVaultVault(recurse, tkh.GetVault()) @@ -3797,7 +3797,7 @@ func tkhToTFObjectDSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectDSWebhookWebhookLinkableWrapper(recurse, tkh.GetWebhooks()) diags.Append(d...) - obj["webhooks"] = val + obj["webhooks"] = getItemsAttr(val, attrs["webhooks"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -6315,12 +6315,12 @@ func tkhToTFObjectDSProvisioningGroupOnSystem_additionalObjects(recurse bool, tk { val, d := tkhToTFObjectDSGroupProvisioningGroupLinkableWrapper(recurse, tkh.GetProvgroups()) diags.Append(d...) - obj["provgroups"] = val + obj["provgroups"] = getItemsAttr(val, attrs["provgroups"]) } { val, d := tkhToTFObjectDSServiceaccountServiceAccountPrimerLinkableWrapper(recurse, tkh.GetServiceAccounts()) diags.Append(d...) - obj["service_accounts"] = val + obj["service_accounts"] = getItemsAttr(val, attrs["service_accounts"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -6521,7 +6521,7 @@ func tkhToTFObjectDSProvisioningProvisionNumberSequence_additionalObjects(recurs { val, d := tkhToTFObjectDSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse, tkh.GetSystems()) diags.Append(d...) - obj["systems"] = val + obj["systems"] = getItemsAttr(val, attrs["systems"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -6877,12 +6877,6 @@ func tkhToTFObjectDSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["technical_administrator"] = val } obj["username_prefix"] = types.StringPointerValue(tkh.GetUsernamePrefix()) - { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureOIDCDirectoryable) - val, d := tkhToTFObjectDSProvisioningProvisionedAzureOIDCDirectory(false, tkhCast) - diags.Append(d...) - obj["provisioned_azure_oidc_directory"] = val - } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningAbstractProvisionedLDAPable) val, d := tkhToTFObjectDSProvisioningAbstractProvisionedLDAP(false, tkhCast) @@ -6890,10 +6884,10 @@ func tkhToTFObjectDSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["abstract_provisioned_ldap"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedADable) - val, d := tkhToTFObjectDSProvisioningProvisionedAD(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPable) + val, d := tkhToTFObjectDSProvisioningProvisionedLDAP(false, tkhCast) diags.Append(d...) - obj["provisioned_a_d"] = val + obj["provisioned_ldap"] = val } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureTenantable) @@ -6908,16 +6902,16 @@ func tkhToTFObjectDSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["provisioned_azure_sync_ldap_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedInternalLDAPable) - val, d := tkhToTFObjectDSProvisioningProvisionedInternalLDAP(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureOIDCDirectoryable) + val, d := tkhToTFObjectDSProvisioningProvisionedAzureOIDCDirectory(false, tkhCast) diags.Append(d...) - obj["provisioned_internal_ldap"] = val + obj["provisioned_azure_oidc_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPable) - val, d := tkhToTFObjectDSProvisioningProvisionedLDAP(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedADable) + val, d := tkhToTFObjectDSProvisioningProvisionedAD(false, tkhCast) diags.Append(d...) - obj["provisioned_ldap"] = val + obj["provisioned_a_d"] = val } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPDirectoryable) @@ -6925,6 +6919,12 @@ func tkhToTFObjectDSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. diags.Append(d...) obj["provisioned_ldap_directory"] = val } + { + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedInternalLDAPable) + val, d := tkhToTFObjectDSProvisioningProvisionedInternalLDAP(false, tkhCast) + diags.Append(d...) + obj["provisioned_internal_ldap"] = val + } objVal, d := types.ObjectValue(attrs, obj) diags.Append(d...) @@ -7167,7 +7167,7 @@ func tkhToTFObjectDSProvisioningProvisionedSystem_additionalObjects(recurse bool { val, d := tkhToTFObjectDSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse, tkh.GetIssuedPermissions()) diags.Append(d...) - obj["issued_permissions"] = val + obj["issued_permissions"] = getItemsAttr(val, attrs["issued_permissions"]) } obj["login_name"] = types.StringPointerValue(tkh.GetLoginName()) { @@ -7809,10 +7809,10 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["request_modification_request_type"] = stringerToTF(tkh.GetRequestModificationRequestType()) obj["status"] = stringerToTF(tkh.GetStatus()) { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferAuditorGroupRequestable) - val, d := tkhToTFObjectDSRequestTransferAuditorGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAbstractApplicationModificationRequestable) + val, d := tkhToTFObjectDSRequestAbstractApplicationModificationRequest(false, tkhCast) diags.Append(d...) - obj["transfer_auditor_group_request"] = val + obj["abstract_application_modification_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestAbstractProvisionedSystemModificationRequestable) @@ -7820,36 +7820,12 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req diags.Append(d...) obj["abstract_provisioned_system_modification_request"] = val } - { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateServiceAccountRequestable) - val, d := tkhToTFObjectDSRequestCreateServiceAccountRequest(false, tkhCast) - diags.Append(d...) - obj["create_service_account_request"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.RequestReviewAuditRequestable) - val, d := tkhToTFObjectDSRequestReviewAuditRequest(false, tkhCast) - diags.Append(d...) - obj["review_audit_request"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.RequestSetupNestedGroupRequestable) - val, d := tkhToTFObjectDSRequestSetupNestedGroupRequest(false, tkhCast) - diags.Append(d...) - obj["setup_nested_group_request"] = val - } { tkhCast, _ := tkh.(keyhubmodel.RequestRemoveProvisionedSystemRequestable) val, d := tkhToTFObjectDSRequestRemoveProvisionedSystemRequest(false, tkhCast) diags.Append(d...) obj["remove_provisioned_system_request"] = val } - { - tkhCast, _ := tkh.(keyhubmodel.RequestAbstractApplicationModificationRequestable) - val, d := tkhToTFObjectDSRequestAbstractApplicationModificationRequest(false, tkhCast) - diags.Append(d...) - obj["abstract_application_modification_request"] = val - } { tkhCast, _ := tkh.(keyhubmodel.RequestGrantApplicationRequestable) val, d := tkhToTFObjectDSRequestGrantApplicationRequest(false, tkhCast) @@ -7857,40 +7833,46 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["grant_application_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestAbstractOrganizationalUnitModificationRequestable) - val, d := tkhToTFObjectDSRequestAbstractOrganizationalUnitModificationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestReviewAuditRequestable) + val, d := tkhToTFObjectDSRequestReviewAuditRequest(false, tkhCast) diags.Append(d...) - obj["abstract_organizational_unit_modification_request"] = val + obj["review_audit_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestVerifyInternalAccountRequestable) - val, d := tkhToTFObjectDSRequestVerifyInternalAccountRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestRevokeAdminRequestable) + val, d := tkhToTFObjectDSRequestRevokeAdminRequest(false, tkhCast) diags.Append(d...) - obj["verify_internal_account_request"] = val + obj["revoke_admin_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestDisable2FARequestable) - val, d := tkhToTFObjectDSRequestDisable2FARequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantAccessRequestable) + val, d := tkhToTFObjectDSRequestGrantAccessRequest(false, tkhCast) diags.Append(d...) - obj["disable2fa_request"] = val + obj["grant_access_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestJoinGroupRequestable) - val, d := tkhToTFObjectDSRequestJoinGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequestable) + val, d := tkhToTFObjectDSRequestTransferProvisionedSystemContentAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["join_group_request"] = val + obj["transfer_provisioned_system_content_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestJoinVaultRequestable) - val, d := tkhToTFObjectDSRequestJoinVaultRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAbstractOrganizationalUnitModificationRequestable) + val, d := tkhToTFObjectDSRequestAbstractOrganizationalUnitModificationRequest(false, tkhCast) diags.Append(d...) - obj["join_vault_request"] = val + obj["abstract_organizational_unit_modification_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRemoveGroupRequestable) - val, d := tkhToTFObjectDSRequestRemoveGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestRemoveOrganizationalUnitRequestable) + val, d := tkhToTFObjectDSRequestRemoveOrganizationalUnitRequest(false, tkhCast) diags.Append(d...) - obj["remove_group_request"] = val + obj["remove_organizational_unit_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupOnSystemRequestable) + val, d := tkhToTFObjectDSRequestCreateGroupOnSystemRequest(false, tkhCast) + diags.Append(d...) + obj["create_group_on_system_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationAdministrationRequestable) @@ -7899,40 +7881,40 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["transfer_application_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequestable) - val, d := tkhToTFObjectDSRequestTransferOrganizationalUnitOwnershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestUpdateGroupMembershipRequestable) + val, d := tkhToTFObjectDSRequestUpdateGroupMembershipRequest(false, tkhCast) diags.Append(d...) - obj["transfer_organizational_unit_ownership_request"] = val + obj["update_group_membership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRemoveOrganizationalUnitRequestable) - val, d := tkhToTFObjectDSRequestRemoveOrganizationalUnitRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAddGroupAdminRequestable) + val, d := tkhToTFObjectDSRequestAddGroupAdminRequest(false, tkhCast) diags.Append(d...) - obj["remove_organizational_unit_request"] = val + obj["add_group_admin_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantClientPermissionRequestable) - val, d := tkhToTFObjectDSRequestGrantClientPermissionRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequestable) + val, d := tkhToTFObjectDSRequestTransferOrganizationalUnitOwnershipRequest(false, tkhCast) diags.Append(d...) - obj["grant_client_permission_request"] = val + obj["transfer_organizational_unit_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestEnableTechnicalAdministrationRequestable) - val, d := tkhToTFObjectDSRequestEnableTechnicalAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestJoinVaultRequestable) + val, d := tkhToTFObjectDSRequestJoinVaultRequest(false, tkhCast) diags.Append(d...) - obj["enable_technical_administration_request"] = val + obj["join_vault_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequestable) - val, d := tkhToTFObjectDSRequestTransferProvisionedSystemContentAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestVerifyInternalAccountRequestable) + val, d := tkhToTFObjectDSRequestVerifyInternalAccountRequest(false, tkhCast) diags.Append(d...) - obj["transfer_provisioned_system_content_administration_request"] = val + obj["verify_internal_account_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestPasswordResetRequestable) - val, d := tkhToTFObjectDSRequestPasswordResetRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestJoinGroupRequestable) + val, d := tkhToTFObjectDSRequestJoinGroupRequest(false, tkhCast) diags.Append(d...) - obj["password_reset_request"] = val + obj["join_group_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferGroupOnSystemOwnershipRequestable) @@ -7940,6 +7922,12 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req diags.Append(d...) obj["transfer_group_on_system_ownership_request"] = val } + { + tkhCast, _ := tkh.(keyhubmodel.RequestRemoveGroupRequestable) + val, d := tkhToTFObjectDSRequestRemoveGroupRequest(false, tkhCast) + diags.Append(d...) + obj["remove_group_request"] = val + } { tkhCast, _ := tkh.(keyhubmodel.RequestSetupAuthorizingGroupRequestable) val, d := tkhToTFObjectDSRequestSetupAuthorizingGroupRequest(false, tkhCast) @@ -7947,70 +7935,82 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["setup_authorizing_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantServiceAccountGroupRequestable) - val, d := tkhToTFObjectDSRequestGrantServiceAccountGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestSetupNestedGroupRequestable) + val, d := tkhToTFObjectDSRequestSetupNestedGroupRequest(false, tkhCast) diags.Append(d...) - obj["grant_service_account_group_request"] = val + obj["setup_nested_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupOnSystemRequestable) - val, d := tkhToTFObjectDSRequestCreateGroupOnSystemRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestRequestable) + val, d := tkhToTFObjectDSRequestGrantGroupOnSystemRequestRequest(false, tkhCast) diags.Append(d...) - obj["create_group_on_system_request"] = val + obj["grant_group_on_system_request_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationOwnershipRequestable) - val, d := tkhToTFObjectDSRequestTransferApplicationOwnershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestDisable2FARequestable) + val, d := tkhToTFObjectDSRequestDisable2FARequest(false, tkhCast) diags.Append(d...) - obj["transfer_application_ownership_request"] = val + obj["disable2fa_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantAccessRequestable) - val, d := tkhToTFObjectDSRequestGrantAccessRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestable) + val, d := tkhToTFObjectDSRequestGrantGroupOnSystemRequest(false, tkhCast) diags.Append(d...) - obj["grant_access_request"] = val + obj["grant_group_on_system_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestUpdateGroupMembershipRequestable) - val, d := tkhToTFObjectDSRequestUpdateGroupMembershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestEnableTechnicalAdministrationRequestable) + val, d := tkhToTFObjectDSRequestEnableTechnicalAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["update_group_membership_request"] = val + obj["enable_technical_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestExtendAccessRequestable) - val, d := tkhToTFObjectDSRequestExtendAccessRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupRequestable) + val, d := tkhToTFObjectDSRequestCreateGroupRequest(false, tkhCast) diags.Append(d...) - obj["extend_access_request"] = val + obj["create_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestAddGroupAdminRequestable) - val, d := tkhToTFObjectDSRequestAddGroupAdminRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferAuditorGroupRequestable) + val, d := tkhToTFObjectDSRequestTransferAuditorGroupRequest(false, tkhCast) diags.Append(d...) - obj["add_group_admin_request"] = val + obj["transfer_auditor_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestable) - val, d := tkhToTFObjectDSRequestGrantGroupOnSystemRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantClientPermissionRequestable) + val, d := tkhToTFObjectDSRequestGrantClientPermissionRequest(false, tkhCast) diags.Append(d...) - obj["grant_group_on_system_request"] = val + obj["grant_client_permission_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestRequestable) - val, d := tkhToTFObjectDSRequestGrantGroupOnSystemRequestRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationOwnershipRequestable) + val, d := tkhToTFObjectDSRequestTransferApplicationOwnershipRequest(false, tkhCast) diags.Append(d...) - obj["grant_group_on_system_request_request"] = val + obj["transfer_application_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRevokeAdminRequestable) - val, d := tkhToTFObjectDSRequestRevokeAdminRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestCreateServiceAccountRequestable) + val, d := tkhToTFObjectDSRequestCreateServiceAccountRequest(false, tkhCast) diags.Append(d...) - obj["revoke_admin_request"] = val + obj["create_service_account_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupRequestable) - val, d := tkhToTFObjectDSRequestCreateGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferServiceAccountAdministrationRequestable) + val, d := tkhToTFObjectDSRequestTransferServiceAccountAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["create_group_request"] = val + obj["transfer_service_account_administration_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestPasswordResetRequestable) + val, d := tkhToTFObjectDSRequestPasswordResetRequest(false, tkhCast) + diags.Append(d...) + obj["password_reset_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestGrantServiceAccountGroupRequestable) + val, d := tkhToTFObjectDSRequestGrantServiceAccountGroupRequest(false, tkhCast) + diags.Append(d...) + obj["grant_service_account_group_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemOwnershipRequestable) @@ -8019,10 +8019,10 @@ func tkhToTFObjectDSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["transfer_provisioned_system_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferServiceAccountAdministrationRequestable) - val, d := tkhToTFObjectDSRequestTransferServiceAccountAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestExtendAccessRequestable) + val, d := tkhToTFObjectDSRequestExtendAccessRequest(false, tkhCast) diags.Append(d...) - obj["transfer_service_account_administration_request"] = val + obj["extend_access_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemAdministrationRequestable) @@ -8847,7 +8847,7 @@ func tkhToTFObjectDSServiceaccountServiceAccount_additionalObjects(recurse bool, { val, d := tkhToTFObjectDSServiceaccountServiceAccountGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectDSGeneratedSecret(recurse, tkh.GetSecret()) @@ -9549,7 +9549,7 @@ func tkhToTFObjectDSVaultVaultRecord_additionalObjects(recurse bool, tkh keyhubm { val, d := tkhToTFObjectDSVaultVaultRecordPrimerLinkableWrapper(recurse, tkh.GetShares()) diags.Append(d...) - obj["shares"] = val + obj["shares"] = getItemsAttr(val, attrs["shares"]) } { val, d := tkhToTFObjectDSLaunchpadVaultRecordLaunchpadTile(recurse, tkh.GetTile()) diff --git a/internal/provider/full-tkh-to-tf-rs.go b/internal/provider/full-tkh-to-tf-rs.go index 031339e..900a096 100644 --- a/internal/provider/full-tkh-to-tf-rs.go +++ b/internal/provider/full-tkh-to-tf-rs.go @@ -703,7 +703,7 @@ func tkhToTFObjectRSAuthAccount_additionalObjects(recurse bool, tkh keyhubmodel. { val, d := tkhToTFObjectRSGroupAccountGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectRSAuthAccountRecoveryStatus(recurse, tkh.GetPendingRecoveryRequests()) @@ -1435,12 +1435,12 @@ func tkhToTFObjectRSClientClientApplication_additionalObjects(recurse bool, tkh { val, d := tkhToTFObjectRSGroupGroupClientLinkableWrapper(recurse, tkh.GetGroupclients()) diags.Append(d...) - obj["groupclients"] = val + obj["groupclients"] = getItemsAttr(val, attrs["groupclients"]) } { val, d := tkhToTFObjectRSGroupGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectRSGeneratedSecret(recurse, tkh.GetSecret()) @@ -1894,16 +1894,10 @@ func tkhToTFObjectRSDirectoryAccountDirectory(recurse bool, tkh keyhubmodel.Dire obj["rotating_password"] = stringerToTF(tkh.GetRotatingPassword()) obj["username_customizable"] = types.BoolPointerValue(tkh.GetUsernameCustomizable()) { - tkhCast, _ := tkh.(keyhubmodel.DirectoryLDAPDirectoryable) - val, d := tkhToTFObjectRSDirectoryLDAPDirectory(false, tkhCast) - diags.Append(d...) - obj["l_d_a_p_directory"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.DirectoryInternalDirectoryable) - val, d := tkhToTFObjectRSDirectoryInternalDirectory(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.DirectoryMaintenanceDirectoryable) + val, d := tkhToTFObjectRSDirectoryMaintenanceDirectory(false, tkhCast) diags.Append(d...) - obj["internal_directory"] = val + obj["maintenance_directory"] = val } { tkhCast, _ := tkh.(keyhubmodel.DirectoryOIDCDirectoryable) @@ -1912,10 +1906,16 @@ func tkhToTFObjectRSDirectoryAccountDirectory(recurse bool, tkh keyhubmodel.Dire obj["o_id_c_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.DirectoryMaintenanceDirectoryable) - val, d := tkhToTFObjectRSDirectoryMaintenanceDirectory(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.DirectoryInternalDirectoryable) + val, d := tkhToTFObjectRSDirectoryInternalDirectory(false, tkhCast) diags.Append(d...) - obj["maintenance_directory"] = val + obj["internal_directory"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.DirectoryLDAPDirectoryable) + val, d := tkhToTFObjectRSDirectoryLDAPDirectory(false, tkhCast) + diags.Append(d...) + obj["l_d_a_p_directory"] = val } objVal, d := types.ObjectValue(attrs, obj) @@ -3424,22 +3424,22 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSGroupGroupAccountLinkableWrapper(recurse, tkh.GetAccounts()) diags.Append(d...) - obj["accounts"] = val + obj["accounts"] = getItemsAttr(val, attrs["accounts"]) } { val, d := tkhToTFObjectRSClientClientApplicationLinkableWrapper(recurse, tkh.GetAdministeredClients()) diags.Append(d...) - obj["administered_clients"] = val + obj["administered_clients"] = getItemsAttr(val, attrs["administered_clients"]) } { val, d := tkhToTFObjectRSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetAdministeredSystems()) diags.Append(d...) - obj["administered_systems"] = val + obj["administered_systems"] = getItemsAttr(val, attrs["administered_systems"]) } { val, d := tkhToTFObjectRSGroupGroupAccountLinkableWrapper(recurse, tkh.GetAdmins()) diags.Append(d...) - obj["admins"] = val + obj["admins"] = getItemsAttr(val, attrs["admins"]) } { val, d := tkhToTFObjectRSAuditInfo(recurse, tkh.GetAudit()) @@ -3454,17 +3454,17 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse, tkh.GetClientPermissions()) diags.Append(d...) - obj["client_permissions"] = val + obj["client_permissions"] = getItemsAttr(val, attrs["client_permissions"]) } { val, d := tkhToTFObjectRSGroupGroupClientLinkableWrapper(recurse, tkh.GetClients()) diags.Append(d...) - obj["clients"] = val + obj["clients"] = getItemsAttr(val, attrs["clients"]) } { val, d := tkhToTFObjectRSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetContentAdministeredSystems()) diags.Append(d...) - obj["content_administered_systems"] = val + obj["content_administered_systems"] = getItemsAttr(val, attrs["content_administered_systems"]) } { val, d := tkhToTFObjectRSGroupGroupAuditingInfo(recurse, tkh.GetGroupauditinginfo()) @@ -3479,7 +3479,7 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSDirectoryAccountDirectorySummaryLinkableWrapper(recurse, tkh.GetHelpdesk()) diags.Append(d...) - obj["helpdesk"] = val + obj["helpdesk"] = getItemsAttr(val, attrs["helpdesk"]) } { val, d := tkhToTFObjectRSMarkItemMarkers(recurse, tkh.GetMarkers()) @@ -3499,17 +3499,17 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSGroupGroupPrimerLinkableWrapper(recurse, tkh.GetNestedGroups()) diags.Append(d...) - obj["nested_groups"] = val + obj["nested_groups"] = getItemsAttr(val, attrs["nested_groups"]) } { val, d := tkhToTFObjectRSClientClientApplicationLinkableWrapper(recurse, tkh.GetOwnedClients()) diags.Append(d...) - obj["owned_clients"] = val + obj["owned_clients"] = getItemsAttr(val, attrs["owned_clients"]) } { val, d := tkhToTFObjectRSDirectoryAccountDirectoryLinkableWrapper(recurse, tkh.GetOwnedDirectories()) diags.Append(d...) - obj["owned_directories"] = val + obj["owned_directories"] = getItemsAttr(val, attrs["owned_directories"]) } { val, d := tkhToTFObjectRSProvisioningOwnedGroupOnSystemsWrapper(recurse, tkh.GetOwnedGroupsOnSystem()) @@ -3519,28 +3519,28 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSOrganizationOrganizationalUnitLinkableWrapper(recurse, tkh.GetOwnedOrganizationalUnits()) diags.Append(d...) - obj["owned_organizational_units"] = val + obj["owned_organizational_units"] = getItemsAttr(val, attrs["owned_organizational_units"]) } { val, d := tkhToTFObjectRSProvisioningProvisionedSystemLinkableWrapper(recurse, tkh.GetOwnedSystems()) diags.Append(d...) - obj["owned_systems"] = val + obj["owned_systems"] = getItemsAttr(val, attrs["owned_systems"]) } { val, d := tkhToTFObjectRSGroupGroupAuditLinkableWrapper(recurse, tkh.GetRecentAudits()) diags.Append(d...) - obj["recent_audits"] = val + obj["recent_audits"] = getItemsAttr(val, attrs["recent_audits"]) } obj["requeststatus"] = stringerToTF(tkh.GetRequeststatus()) { val, d := tkhToTFObjectRSServiceaccountServiceAccountLinkableWrapper(recurse, tkh.GetServiceAccounts()) diags.Append(d...) - obj["service_accounts"] = val + obj["service_accounts"] = getItemsAttr(val, attrs["service_accounts"]) } { val, d := tkhToTFObjectRSGroupProvisioningGroupLinkableWrapper(recurse, tkh.GetSystems()) diags.Append(d...) - obj["systems"] = val + obj["systems"] = getItemsAttr(val, attrs["systems"]) } { val, d := tkhToTFObjectRSVaultVault(recurse, tkh.GetVault()) @@ -3550,7 +3550,7 @@ func tkhToTFObjectRSGroupGroup_additionalObjects(recurse bool, tkh keyhubmodel.G { val, d := tkhToTFObjectRSWebhookWebhookLinkableWrapper(recurse, tkh.GetWebhooks()) diags.Append(d...) - obj["webhooks"] = val + obj["webhooks"] = getItemsAttr(val, attrs["webhooks"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -5434,7 +5434,7 @@ func tkhToTFObjectRSOrganizationOrganizationalUnit_additionalObjects(recurse boo { val, d := tkhToTFObjectRSOrganizationOrganizationalUnitPrimerLinkableWrapper(recurse, tkh.GetCreateAsParentOf()) diags.Append(d...) - obj["create_as_parent_of"] = val + obj["create_as_parent_of"] = getItemsAttr(val, attrs["create_as_parent_of"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -5750,12 +5750,12 @@ func tkhToTFObjectRSProvisioningGroupOnSystem_additionalObjects(recurse bool, tk { val, d := tkhToTFObjectRSGroupProvisioningGroupLinkableWrapper(recurse, tkh.GetProvgroups()) diags.Append(d...) - obj["provgroups"] = val + obj["provgroups"] = getItemsAttr(val, attrs["provgroups"]) } { val, d := tkhToTFObjectRSServiceaccountServiceAccountPrimerLinkableWrapper(recurse, tkh.GetServiceAccounts()) diags.Append(d...) - obj["service_accounts"] = val + obj["service_accounts"] = getItemsAttr(val, attrs["service_accounts"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -5955,7 +5955,7 @@ func tkhToTFObjectRSProvisioningProvisionNumberSequence_additionalObjects(recurs { val, d := tkhToTFObjectRSProvisioningProvisionedSystemPrimerLinkableWrapper(recurse, tkh.GetSystems()) diags.Append(d...) - obj["systems"] = val + obj["systems"] = getItemsAttr(val, attrs["systems"]) } objVal, d := types.ObjectValue(attrs, obj) @@ -6257,12 +6257,6 @@ func tkhToTFObjectRSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["should_destroy_unknown_accounts"] = types.BoolPointerValue(tkh.GetShouldDestroyUnknownAccounts()) obj["technical_administrator_uuid"] = withUuidToTF(tkh.GetTechnicalAdministrator()) obj["username_prefix"] = types.StringPointerValue(tkh.GetUsernamePrefix()) - { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureOIDCDirectoryable) - val, d := tkhToTFObjectRSProvisioningProvisionedAzureOIDCDirectory(false, tkhCast) - diags.Append(d...) - obj["provisioned_azure_oidc_directory"] = val - } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningAbstractProvisionedLDAPable) val, d := tkhToTFObjectRSProvisioningAbstractProvisionedLDAP(false, tkhCast) @@ -6270,10 +6264,10 @@ func tkhToTFObjectRSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["abstract_provisioned_ldap"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedADable) - val, d := tkhToTFObjectRSProvisioningProvisionedAD(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPable) + val, d := tkhToTFObjectRSProvisioningProvisionedLDAP(false, tkhCast) diags.Append(d...) - obj["provisioned_a_d"] = val + obj["provisioned_ldap"] = val } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureTenantable) @@ -6288,16 +6282,16 @@ func tkhToTFObjectRSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. obj["provisioned_azure_sync_ldap_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedInternalLDAPable) - val, d := tkhToTFObjectRSProvisioningProvisionedInternalLDAP(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedAzureOIDCDirectoryable) + val, d := tkhToTFObjectRSProvisioningProvisionedAzureOIDCDirectory(false, tkhCast) diags.Append(d...) - obj["provisioned_internal_ldap"] = val + obj["provisioned_azure_oidc_directory"] = val } { - tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPable) - val, d := tkhToTFObjectRSProvisioningProvisionedLDAP(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedADable) + val, d := tkhToTFObjectRSProvisioningProvisionedAD(false, tkhCast) diags.Append(d...) - obj["provisioned_ldap"] = val + obj["provisioned_a_d"] = val } { tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedLDAPDirectoryable) @@ -6305,6 +6299,12 @@ func tkhToTFObjectRSProvisioningProvisionedSystem(recurse bool, tkh keyhubmodel. diags.Append(d...) obj["provisioned_ldap_directory"] = val } + { + tkhCast, _ := tkh.(keyhubmodel.ProvisioningProvisionedInternalLDAPable) + val, d := tkhToTFObjectRSProvisioningProvisionedInternalLDAP(false, tkhCast) + diags.Append(d...) + obj["provisioned_internal_ldap"] = val + } objVal, d := types.ObjectValue(attrs, obj) diags.Append(d...) @@ -6540,7 +6540,7 @@ func tkhToTFObjectRSProvisioningProvisionedSystem_additionalObjects(recurse bool { val, d := tkhToTFObjectRSClientOAuth2ClientPermissionWithClientLinkableWrapper(recurse, tkh.GetIssuedPermissions()) diags.Append(d...) - obj["issued_permissions"] = val + obj["issued_permissions"] = getItemsAttr(val, attrs["issued_permissions"]) } obj["login_name"] = types.StringPointerValue(tkh.GetLoginName()) { @@ -7149,10 +7149,10 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["request_modification_request_type"] = stringerToTF(tkh.GetRequestModificationRequestType()) obj["status"] = stringerToTF(tkh.GetStatus()) { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferAuditorGroupRequestable) - val, d := tkhToTFObjectRSRequestTransferAuditorGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAbstractApplicationModificationRequestable) + val, d := tkhToTFObjectRSRequestAbstractApplicationModificationRequest(false, tkhCast) diags.Append(d...) - obj["transfer_auditor_group_request"] = val + obj["abstract_application_modification_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestAbstractProvisionedSystemModificationRequestable) @@ -7160,36 +7160,12 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req diags.Append(d...) obj["abstract_provisioned_system_modification_request"] = val } - { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateServiceAccountRequestable) - val, d := tkhToTFObjectRSRequestCreateServiceAccountRequest(false, tkhCast) - diags.Append(d...) - obj["create_service_account_request"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.RequestReviewAuditRequestable) - val, d := tkhToTFObjectRSRequestReviewAuditRequest(false, tkhCast) - diags.Append(d...) - obj["review_audit_request"] = val - } - { - tkhCast, _ := tkh.(keyhubmodel.RequestSetupNestedGroupRequestable) - val, d := tkhToTFObjectRSRequestSetupNestedGroupRequest(false, tkhCast) - diags.Append(d...) - obj["setup_nested_group_request"] = val - } { tkhCast, _ := tkh.(keyhubmodel.RequestRemoveProvisionedSystemRequestable) val, d := tkhToTFObjectRSRequestRemoveProvisionedSystemRequest(false, tkhCast) diags.Append(d...) obj["remove_provisioned_system_request"] = val } - { - tkhCast, _ := tkh.(keyhubmodel.RequestAbstractApplicationModificationRequestable) - val, d := tkhToTFObjectRSRequestAbstractApplicationModificationRequest(false, tkhCast) - diags.Append(d...) - obj["abstract_application_modification_request"] = val - } { tkhCast, _ := tkh.(keyhubmodel.RequestGrantApplicationRequestable) val, d := tkhToTFObjectRSRequestGrantApplicationRequest(false, tkhCast) @@ -7197,40 +7173,46 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["grant_application_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestAbstractOrganizationalUnitModificationRequestable) - val, d := tkhToTFObjectRSRequestAbstractOrganizationalUnitModificationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestReviewAuditRequestable) + val, d := tkhToTFObjectRSRequestReviewAuditRequest(false, tkhCast) diags.Append(d...) - obj["abstract_organizational_unit_modification_request"] = val + obj["review_audit_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestVerifyInternalAccountRequestable) - val, d := tkhToTFObjectRSRequestVerifyInternalAccountRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestRevokeAdminRequestable) + val, d := tkhToTFObjectRSRequestRevokeAdminRequest(false, tkhCast) diags.Append(d...) - obj["verify_internal_account_request"] = val + obj["revoke_admin_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestDisable2FARequestable) - val, d := tkhToTFObjectRSRequestDisable2FARequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantAccessRequestable) + val, d := tkhToTFObjectRSRequestGrantAccessRequest(false, tkhCast) diags.Append(d...) - obj["disable2fa_request"] = val + obj["grant_access_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestJoinGroupRequestable) - val, d := tkhToTFObjectRSRequestJoinGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequestable) + val, d := tkhToTFObjectRSRequestTransferProvisionedSystemContentAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["join_group_request"] = val + obj["transfer_provisioned_system_content_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestJoinVaultRequestable) - val, d := tkhToTFObjectRSRequestJoinVaultRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAbstractOrganizationalUnitModificationRequestable) + val, d := tkhToTFObjectRSRequestAbstractOrganizationalUnitModificationRequest(false, tkhCast) diags.Append(d...) - obj["join_vault_request"] = val + obj["abstract_organizational_unit_modification_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRemoveGroupRequestable) - val, d := tkhToTFObjectRSRequestRemoveGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestRemoveOrganizationalUnitRequestable) + val, d := tkhToTFObjectRSRequestRemoveOrganizationalUnitRequest(false, tkhCast) diags.Append(d...) - obj["remove_group_request"] = val + obj["remove_organizational_unit_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupOnSystemRequestable) + val, d := tkhToTFObjectRSRequestCreateGroupOnSystemRequest(false, tkhCast) + diags.Append(d...) + obj["create_group_on_system_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationAdministrationRequestable) @@ -7239,40 +7221,40 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["transfer_application_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequestable) - val, d := tkhToTFObjectRSRequestTransferOrganizationalUnitOwnershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestUpdateGroupMembershipRequestable) + val, d := tkhToTFObjectRSRequestUpdateGroupMembershipRequest(false, tkhCast) diags.Append(d...) - obj["transfer_organizational_unit_ownership_request"] = val + obj["update_group_membership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRemoveOrganizationalUnitRequestable) - val, d := tkhToTFObjectRSRequestRemoveOrganizationalUnitRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestAddGroupAdminRequestable) + val, d := tkhToTFObjectRSRequestAddGroupAdminRequest(false, tkhCast) diags.Append(d...) - obj["remove_organizational_unit_request"] = val + obj["add_group_admin_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantClientPermissionRequestable) - val, d := tkhToTFObjectRSRequestGrantClientPermissionRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferOrganizationalUnitOwnershipRequestable) + val, d := tkhToTFObjectRSRequestTransferOrganizationalUnitOwnershipRequest(false, tkhCast) diags.Append(d...) - obj["grant_client_permission_request"] = val + obj["transfer_organizational_unit_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestEnableTechnicalAdministrationRequestable) - val, d := tkhToTFObjectRSRequestEnableTechnicalAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestJoinVaultRequestable) + val, d := tkhToTFObjectRSRequestJoinVaultRequest(false, tkhCast) diags.Append(d...) - obj["enable_technical_administration_request"] = val + obj["join_vault_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemContentAdministrationRequestable) - val, d := tkhToTFObjectRSRequestTransferProvisionedSystemContentAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestVerifyInternalAccountRequestable) + val, d := tkhToTFObjectRSRequestVerifyInternalAccountRequest(false, tkhCast) diags.Append(d...) - obj["transfer_provisioned_system_content_administration_request"] = val + obj["verify_internal_account_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestPasswordResetRequestable) - val, d := tkhToTFObjectRSRequestPasswordResetRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestJoinGroupRequestable) + val, d := tkhToTFObjectRSRequestJoinGroupRequest(false, tkhCast) diags.Append(d...) - obj["password_reset_request"] = val + obj["join_group_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferGroupOnSystemOwnershipRequestable) @@ -7280,6 +7262,12 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req diags.Append(d...) obj["transfer_group_on_system_ownership_request"] = val } + { + tkhCast, _ := tkh.(keyhubmodel.RequestRemoveGroupRequestable) + val, d := tkhToTFObjectRSRequestRemoveGroupRequest(false, tkhCast) + diags.Append(d...) + obj["remove_group_request"] = val + } { tkhCast, _ := tkh.(keyhubmodel.RequestSetupAuthorizingGroupRequestable) val, d := tkhToTFObjectRSRequestSetupAuthorizingGroupRequest(false, tkhCast) @@ -7287,70 +7275,82 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["setup_authorizing_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantServiceAccountGroupRequestable) - val, d := tkhToTFObjectRSRequestGrantServiceAccountGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestSetupNestedGroupRequestable) + val, d := tkhToTFObjectRSRequestSetupNestedGroupRequest(false, tkhCast) diags.Append(d...) - obj["grant_service_account_group_request"] = val + obj["setup_nested_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupOnSystemRequestable) - val, d := tkhToTFObjectRSRequestCreateGroupOnSystemRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestRequestable) + val, d := tkhToTFObjectRSRequestGrantGroupOnSystemRequestRequest(false, tkhCast) diags.Append(d...) - obj["create_group_on_system_request"] = val + obj["grant_group_on_system_request_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationOwnershipRequestable) - val, d := tkhToTFObjectRSRequestTransferApplicationOwnershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestDisable2FARequestable) + val, d := tkhToTFObjectRSRequestDisable2FARequest(false, tkhCast) diags.Append(d...) - obj["transfer_application_ownership_request"] = val + obj["disable2fa_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantAccessRequestable) - val, d := tkhToTFObjectRSRequestGrantAccessRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestable) + val, d := tkhToTFObjectRSRequestGrantGroupOnSystemRequest(false, tkhCast) diags.Append(d...) - obj["grant_access_request"] = val + obj["grant_group_on_system_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestUpdateGroupMembershipRequestable) - val, d := tkhToTFObjectRSRequestUpdateGroupMembershipRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestEnableTechnicalAdministrationRequestable) + val, d := tkhToTFObjectRSRequestEnableTechnicalAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["update_group_membership_request"] = val + obj["enable_technical_administration_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestExtendAccessRequestable) - val, d := tkhToTFObjectRSRequestExtendAccessRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupRequestable) + val, d := tkhToTFObjectRSRequestCreateGroupRequest(false, tkhCast) diags.Append(d...) - obj["extend_access_request"] = val + obj["create_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestAddGroupAdminRequestable) - val, d := tkhToTFObjectRSRequestAddGroupAdminRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferAuditorGroupRequestable) + val, d := tkhToTFObjectRSRequestTransferAuditorGroupRequest(false, tkhCast) diags.Append(d...) - obj["add_group_admin_request"] = val + obj["transfer_auditor_group_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestable) - val, d := tkhToTFObjectRSRequestGrantGroupOnSystemRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestGrantClientPermissionRequestable) + val, d := tkhToTFObjectRSRequestGrantClientPermissionRequest(false, tkhCast) diags.Append(d...) - obj["grant_group_on_system_request"] = val + obj["grant_client_permission_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestGrantGroupOnSystemRequestRequestable) - val, d := tkhToTFObjectRSRequestGrantGroupOnSystemRequestRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferApplicationOwnershipRequestable) + val, d := tkhToTFObjectRSRequestTransferApplicationOwnershipRequest(false, tkhCast) diags.Append(d...) - obj["grant_group_on_system_request_request"] = val + obj["transfer_application_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestRevokeAdminRequestable) - val, d := tkhToTFObjectRSRequestRevokeAdminRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestCreateServiceAccountRequestable) + val, d := tkhToTFObjectRSRequestCreateServiceAccountRequest(false, tkhCast) diags.Append(d...) - obj["revoke_admin_request"] = val + obj["create_service_account_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestCreateGroupRequestable) - val, d := tkhToTFObjectRSRequestCreateGroupRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestTransferServiceAccountAdministrationRequestable) + val, d := tkhToTFObjectRSRequestTransferServiceAccountAdministrationRequest(false, tkhCast) diags.Append(d...) - obj["create_group_request"] = val + obj["transfer_service_account_administration_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestPasswordResetRequestable) + val, d := tkhToTFObjectRSRequestPasswordResetRequest(false, tkhCast) + diags.Append(d...) + obj["password_reset_request"] = val + } + { + tkhCast, _ := tkh.(keyhubmodel.RequestGrantServiceAccountGroupRequestable) + val, d := tkhToTFObjectRSRequestGrantServiceAccountGroupRequest(false, tkhCast) + diags.Append(d...) + obj["grant_service_account_group_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemOwnershipRequestable) @@ -7359,10 +7359,10 @@ func tkhToTFObjectRSRequestModificationRequest(recurse bool, tkh keyhubmodel.Req obj["transfer_provisioned_system_ownership_request"] = val } { - tkhCast, _ := tkh.(keyhubmodel.RequestTransferServiceAccountAdministrationRequestable) - val, d := tkhToTFObjectRSRequestTransferServiceAccountAdministrationRequest(false, tkhCast) + tkhCast, _ := tkh.(keyhubmodel.RequestExtendAccessRequestable) + val, d := tkhToTFObjectRSRequestExtendAccessRequest(false, tkhCast) diags.Append(d...) - obj["transfer_service_account_administration_request"] = val + obj["extend_access_request"] = val } { tkhCast, _ := tkh.(keyhubmodel.RequestTransferProvisionedSystemAdministrationRequestable) @@ -8155,7 +8155,7 @@ func tkhToTFObjectRSServiceaccountServiceAccount_additionalObjects(recurse bool, { val, d := tkhToTFObjectRSServiceaccountServiceAccountGroupLinkableWrapper(recurse, tkh.GetGroups()) diags.Append(d...) - obj["groups"] = val + obj["groups"] = getItemsAttr(val, attrs["groups"]) } { val, d := tkhToTFObjectRSGeneratedSecret(recurse, tkh.GetSecret()) @@ -8839,7 +8839,7 @@ func tkhToTFObjectRSVaultVaultRecord_additionalObjects(recurse bool, tkh keyhubm { val, d := tkhToTFObjectRSVaultVaultRecordPrimerLinkableWrapper(recurse, tkh.GetShares()) diags.Append(d...) - obj["shares"] = val + obj["shares"] = getItemsAttr(val, attrs["shares"]) } { val, d := tkhToTFObjectRSLaunchpadVaultRecordLaunchpadTile(recurse, tkh.GetTile())