Skip to content

Commit

Permalink
Merge pull request #1109 from ksamoray/compute_manager_doc
Browse files Browse the repository at this point in the history
Documentation fixes
  • Loading branch information
ksamoray authored Feb 13, 2024
2 parents 8c0081c + d2ed922 commit c124a25
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions website/docs/d/compute_manager.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ When only single Compute Manager is present on NSX, no need to specify any filte

```hcl
data "nsxt_compute_manager" "test_vcenter" {
display_name = "some-compute-mgr"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ In addition to arguments listed above, the following attributes are exported:

An existing policy Host Transport Node Collection can be [imported][docs-import] into this resource, via the following command:

```
terraform import nsxt_policy_host_transport_node_collection.test POLICY_PATH

```
The above command imports Policy Host Transport Node Collection named test with NSX policy path POLICY_PATH.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ In addition to arguments listed above, the following attributes are exported:
* `id` - ID of the resource.
* `revision` - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

[docs-import]: https://www.terraform.io/cli/import

## Importing

An existing policy Host Transport Node profile can be [imported][docs-import] into this resource, via the following command:

```
terraform import nsxt_policy_host_transport_node_profile.test POLICY_PATH
Expand Down
12 changes: 6 additions & 6 deletions website/docs/r/policy_ipsec_vpn_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ This resource is applicable to NSX Policy Manager.

```hcl
resource "nsxt_policy_ipsec_vpn_service" "test" {
display_name = "ipsec-vpn-service1"
description = "Terraform provisioned IPSec VPN service"
locale_service_path = data.nsxt_policy_gateway_locale_service.test.path
enabled = true
ha_sync = true
ike_log_level = "INFO"
display_name = "ipsec-vpn-service1"
description = "Terraform provisioned IPSec VPN service"
gateway_path = data.nsxt_policy_tier0_gateway.gw1.path
enabled = true
ha_sync = true
ike_log_level = "INFO"
bypass_rule {
sources = ["192.168.10.0/24"]
destinations = ["192.169.10.0/24"]
Expand Down

0 comments on commit c124a25

Please sign in to comment.