Skip to content

Commit

Permalink
Various documentation fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
  • Loading branch information
annakhm committed Apr 30, 2024
1 parent 2c9f162 commit 04aaeab
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion website/docs/d/policy_vms.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "nsxt_policy_vm_tags" "test" {

## Argument Reference

* `value_tupe` - (Optional) Type of VM ID the user is interested in. Possible values are `bios_id`, `external_id`, `instance_id`. Default is `bios_id`.
* `value_type` - (Optional) Type of VM ID the user is interested in. Possible values are `bios_id`, `external_id`, `instance_id`. Default is `bios_id`.
* `state` - (Optional) Filter results by power state of the machine.
* `guest_os` - (Optional) Filter results by operating system of the machine. The match is case insensitive and prefix-based.
* `context` - (Optional) The context which the object belongs to
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/policy_compute_sub_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This resource is supported with NSX 3.2.2 onwards.
resource "nsxt_policy_compute_sub_cluster" "test" {
display_name = "subcluster1"
compute_collection_id = data.nsxt_compute_collection.cc1.id
discovered_node_ids = data.nsxt_discover_node.dn.id
discovered_node_ids = [data.nsxt_discovered_node.dn.id]
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/policy_host_transport_node.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This resource is supported with NSX 4.1.0 onwards.
resource "nsxt_policy_host_transport_node" "test" {
description = "Terraform-deployed host transport node"
display_name = "tf_host_transport_node"
discovered_node_id = data.nsxt_discover_node.dn.id
discovered_node_id = data.nsxt_discovered_node.dn.id
standard_host_switch {
host_switch_id = "50 0b 31 a4 b8 af 35 df-40 56 b6 f9 aa d3 ee 12"
Expand Down
60 changes: 30 additions & 30 deletions website/docs/r/policy_qos_profile.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ This resource is applicable to NSX Global Manager, NSX Policy Manager and VMC.
resource "nsxt_policy_qos_profile" "qos_profile" {
description = "qos profile provisioned by Terraform"
display_name = "qos_profile1"
class_of_service = "5"
dscp_trusted = "true"
dscp_priority = "53"
class_of_service = 5
dscp_trusted = true
dscp_priority = 53
ingress_rate_shaper {
enabled = "true"
peak_bw_mbps = "800"
burst_size = "200"
average_bw_mbps = "100"
enabled = true
peak_bw_mbps = 800
burst_size = 200
average_bw_mbps = 100
}
egress_rate_shaper {
enabled = "true"
peak_bw_mbps = "800"
burst_size = "200"
average_bw_mbps = "100"
enabled = true
peak_bw_mbps = 800
burst_size = 200
average_bw_mbps = 100
}
ingress_broadcast_rate_shaper {
enabled = "true"
average_bw_kbps = "111"
burst_size = "222"
peak_bw_kbps = "500"
enabled = true
average_bw_kbps = 111
burst_size = 222
peak_bw_kbps = 500
}
tag {
Expand All @@ -62,29 +62,29 @@ resource "nsxt_policy_qos_profile" "qos_profile" {
}
description = "qos profile provisioned by Terraform"
display_name = "qos_profile1"
class_of_service = "5"
dscp_trusted = "true"
dscp_priority = "53"
class_of_service = 5
dscp_trusted = true
dscp_priority = 53
ingress_rate_shaper {
enabled = "true"
peak_bw_mbps = "800"
burst_size = "200"
average_bw_mbps = "100"
enabled = true
peak_bw_mbps = 800
burst_size = 200
average_bw_mbps = 100
}
egress_rate_shaper {
enabled = "true"
peak_bw_mbps = "800"
burst_size = "200"
average_bw_mbps = "100"
enabled = true
peak_bw_mbps = 800
burst_size = 200
average_bw_mbps = 100
}
ingress_broadcast_rate_shaper {
enabled = "true"
average_bw_kbps = "111"
burst_size = "222"
peak_bw_kbps = "500"
enabled = true
average_bw_kbps = 111
burst_size = 222
peak_bw_kbps = 500
}
tag {
Expand Down

0 comments on commit 04aaeab

Please sign in to comment.