You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`metadata` (Attributes) Tenant metadata. Workspace, project and platform of the target tenant must be set here. (see [below for nested schema](#nestedatt--metadata))
44
+
-`metadata` (Attributes) Metadata of the tenant. The `owned_by_workspace` and `owned_by_project` attributes must be set here. (see [below for nested schema](#nestedatt--metadata))
43
45
-`spec` (Attributes) Tenant specification. (see [below for nested schema](#nestedatt--spec))
-`api_version` (String) API version of the tenant resource.
50
+
-`kind` (String) The kind of the meshObject, always `meshTenant`.
49
51
-`status` (Attributes) Tenant status. (see [below for nested schema](#nestedatt--status))
50
52
51
53
<aid="nestedatt--metadata"></a>
52
54
### Nested Schema for `metadata`
53
55
54
56
Required:
55
57
56
-
-`owned_by_project` (String) Identifier of the project the tenant belongs to.
57
-
-`owned_by_workspace` (String) Identifier of the workspace the tenant belongs to.
58
-
-`uuid` (String) UUID of the tenant.
58
+
-`owned_by_project` (String) The identifier of the project that the tenant belongs to.
59
+
-`owned_by_workspace` (String) The identifier of the workspace that the tenant belongs to.
59
60
60
61
Read-Only:
61
62
62
-
-`created_on` (String) The date the tenant was created (e.g. 2020-12-22T09:37:43Z).
63
-
-`deleted_on` (String) If the tenant has been submitted for deletion by a workspace manager, the date is shown here (e.g. 2020-12-22T09:37:43Z).
63
+
-`created_on` (String) The creation timestamp of the meshTenant (e.g. `2020-12-22T09:37:43Z`).
64
+
-`deleted_on` (String) The deletion timestamp of the tenant (e.g. `2020-12-22T09:37:43Z`).
65
+
-`marked_for_deletion_on` (String) The timestamp when the tenant was marked for deletion (e.g. `2020-12-22T09:37:43Z`).
66
+
-`uuid` (String) The unique identifier (UUID) of the tenant.
64
67
65
68
66
69
<aid="nestedatt--spec"></a>
@@ -72,14 +75,14 @@ Required:
72
75
73
76
Optional:
74
77
75
-
-`landing_zone_identifier` (String) Identifier of landing zone to assign to this tenant.
76
-
-`local_id` (String) Tenant ID local to the platform (e.g. GCP project ID, Azure subscription ID). Setting the local ID means that a tenant with this ID should be imported into meshStack. Not setting a local ID means that a new tenant should be created. Field will be empty until a successful replication has run.
77
-
-`quotas` (Attributes List) Set of applied tenant quotas. By default the landing zone quotas are applied to new tenants. (see [below for nested schema](#nestedatt--spec--quotas))
78
+
-`landing_zone_identifier` (String) The identifier of the landing zone to assign to this tenant.
79
+
-`platform_tenant_id` (String) The identifier of the tenant on the platform (e.g. GCP project ID or Azure subscription ID). If this is not set, a new tenant will be created. If this is set, an existing tenant will be imported. Otherwise, this field will be empty until a successful replication has run.
80
+
-`quotas` (Attributes Set) Landing zone quota settings will be applied by default but can be changed here. (see [below for nested schema](#nestedatt--spec--quotas))
78
81
79
82
<aid="nestedatt--spec--quotas"></a>
80
83
### Nested Schema for `spec.quotas`
81
84
82
-
Read-Only:
85
+
Required:
83
86
84
87
-`key` (String)
85
88
-`value` (Number)
@@ -91,15 +94,25 @@ Read-Only:
91
94
92
95
Read-Only:
93
96
94
-
-`current_replication_status` (String) The current replication status of the tenant.
95
-
-`last_replicated` (String) The last time the tenant was replicated (e.g. 2020-12-22T09:37:43Z).
97
+
-`platform_type_identifier` (String) Identifier of the platform type.
98
+
-`platform_workspace_identifier` (String) Some platforms create representations of workspaces, in such cases this will contain the identifier of the workspace on the platform.
99
+
-`quotas` (Attributes Set) The effective quotas applied to the tenant. (see [below for nested schema](#nestedatt--status--quotas))
96
100
-`tags` (Map of List of String) Tags assigned to this tenant.
101
+
-`tenant_name` (String) The full tenant name, a concatenation of the workspace identifier, project identifier and platform identifier.
0 commit comments