Skip to content

Commit

Permalink
website: add documentation for category_key resource
Browse files Browse the repository at this point in the history
  • Loading branch information
marinsalinas committed Apr 19, 2019
1 parent c084f9c commit 4314396
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions website/docs/d/category_key.html.markdown
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).

0 comments on commit 4314396

Please sign in to comment.