|
| 1 | +# oci_identity_tenancy |
1 | 2 |
|
2 | | -# oci_identity_tenancies |
3 | | - |
4 | | -## Tenancy DataSource |
5 | | - |
6 | | -Gets a single tenancy |
7 | | - |
8 | | -### Get Operation |
9 | | -Get the specified tenancy's information. |
10 | | -The following arguments are supported: |
11 | | - |
12 | | -* `tenancy_id` - (Required) The OCID of the tenancy. |
| 3 | +## Tenancy Singular DataSource |
13 | 4 |
|
| 5 | +### Tenancy Reference |
14 | 6 |
|
15 | 7 | The following attributes are exported: |
16 | 8 |
|
17 | 9 | * `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` |
18 | 10 | * `description` - The description of the tenancy. |
19 | 11 | * `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` |
20 | 12 | * `home_region_key` - The region key for the tenancy's home region. For more information about regions, see [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm). Allowed values are: - `IAD` - `PHX` - `FRA` - `LHR` |
21 | | -* `tenancy_id` - The OCID of the tenancy. |
| 13 | +* `id` - The OCID of the tenancy. |
22 | 14 | * `name` - The name of the tenancy. |
23 | 15 |
|
24 | 16 |
|
| 17 | + |
| 18 | +### Get Operation |
| 19 | +Get the specified tenancy's information. |
| 20 | + |
| 21 | +The following arguments are supported: |
| 22 | + |
| 23 | +* `tenancy_id` - (Required) The OCID of the tenancy. |
| 24 | + |
| 25 | + |
25 | 26 | ### Example Usage |
26 | 27 |
|
27 | 28 | ```hcl |
28 | | -data "oci_identity_tenancies" "test_tenancies" { |
| 29 | +data "oci_identity_tenancy" "test_tenancy" { |
29 | 30 | #Required |
30 | 31 | tenancy_id = "${var.tenancy_ocid}" |
31 | 32 | } |
32 | 33 | ``` |
33 | | -### Tenancy Reference |
34 | | - |
35 | | -The following attributes are exported: |
36 | | - |
37 | | -* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` |
38 | | -* `description` - The description of the tenancy. |
39 | | -* `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` |
40 | | -* `home_region_key` - The region key for the tenancy's home region. For more information about regions, see [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm). Allowed values are: - `IAD` - `PHX` - `FRA` - `LHR` |
41 | | -* `tenancy_id` - The OCID of the tenancy. |
42 | | -* `name` - The name of the tenancy. |
0 commit comments