-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
website: add documentation for category_key resource
- Loading branch information
1 parent
c084f9c
commit 4314396
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: "nutanix" | ||
page_title: "NUTANIX: nutanix_category_key" | ||
sidebar_current: "docs-nutanix-datasource-category-key" | ||
description: |- | ||
Describe a Nutanix Category Key and its values (if it has them). | ||
--- | ||
|
||
# nutanix_category_key | ||
|
||
Describe a Nutanix Category Key and its values (if it has them). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "nutanix_category_key" "test_key_value"{ | ||
name = "data_source_category_key_test_values" | ||
description = "Data Source CategoryKey Test with Values" | ||
} | ||
resource "nutanix_category_value" "test_value"{ | ||
name = "${nutanix_category_key.test_key_value.name}" | ||
value = "test_category_value_data_source" | ||
description = "Data Source CategoryValue Test with Values" | ||
} | ||
data "nutanix_category_key" "test_key_value" { | ||
name = "${nutanix_category_key.test_key_value.name}" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `name`: - (Required) The name for the category key. | ||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `system_defined`: - Specifying whether its a system defined category. | ||
* `description`: - A description for category key. | ||
* `api_version` - The version of the API. | ||
* `values`: - A list of the values from this category key (if it has them). | ||
|
||
See detailed information in [Nutanix Image](https://nutanix.github.io/Automation/experimental/swagger-redoc-sandbox/#tag/category/paths/~1categories~1{name}/get). |