Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Maxia <[email protected]>
  • Loading branch information
Giuseppe Maxia committed Jun 18, 2024
1 parent 5127f96 commit 06e8d1b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions website/docs/guides/site_org_association.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: "vcd"
page_title: "VMware Cloud Director: Site and Org Association"
sidebar_current: "docs-vcd-guides-associations"
description: |-
Provides guidance to VMware Cloud Site and Org Associations
Provides guidance to VMware Cloud Director Site and Org Associations
---

# Site and Org association
Expand Down Expand Up @@ -127,7 +127,7 @@ get the data using [data collection](#data-collection-for-a-site).
Using the XML file (`site2.xml`) received from the other administrator, you can run the following:

```hcl
# as administrator of site1
# As administrator of site1
resource "vcd_multisite_site_association" "site1-site2" {
association_data_file = "site2.xml"
connection_timeout_mins = 2
Expand All @@ -141,7 +141,7 @@ received yet.
For the association to be completed, the other administrator must perform the same operation, using the XML data file for site1.

```hcl
# as administrator of site2
# As administrator of site2
resource "vcd_multisite_site_association" "site2-site1" {
association_data_file = "site1.xml"
connection_timeout_mins = 2
Expand All @@ -157,7 +157,7 @@ get the data using [data collection](#data-collection-for-an-organization).
Using the XML file (`org2.xml`) received from the other administrator, you can run the following:

```hcl
# as administrator of org1
# As administrator of org1
resource "vcd_multisite_org_association" "org1-org2" {
association_data_file = "org2.xml"
connection_timeout_mins = 2
Expand All @@ -171,7 +171,7 @@ received yet.
For the association to be completed, the other administrator must perform the same operation, using the XML data file for org1.

```hcl
# as administrator of org2
# As administrator of org2
resource "vcd_multisite_org_association" "org2-org1" {
association_data_file = "org1.xml"
connection_timeout_mins = 2
Expand Down Expand Up @@ -200,8 +200,8 @@ Note about `connection_timeout_mins`:

You can use one of the two methods below:

1. run data source `vcd_resource_list` with `resource_type = "vcd_multisite_site_association"`
2. run data source `vcd_multisite_site`: it will show the number and the name of site associations.
1. Run data source `vcd_resource_list` with `resource_type = "vcd_multisite_site_association"`
2. Run data source `vcd_multisite_site`: it will show the number and the name of site associations.

```hcl
data "vcd_multisite_site" "sites" {
Expand All @@ -217,8 +217,8 @@ data "vcd_resource_list" "sites" {

You can use one of the two methods below:

1. run data source `vcd_resource_list` with `resource_type = "vcd_multisite_org_association"`
2. run data source `vcd_multisite_org_data`: it will show the number and the name of org associations.
1. Run data source `vcd_resource_list` with `resource_type = "vcd_multisite_org_association"`
2. Run data source `vcd_multisite_org_data`: it will show the number and the name of org associations.

```hcl
data "vcd_org" "my_org" {
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/multisite_org_association.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Use this method if it is more convenient than reading XML from a file.
## Argument Reference

* `org_id` - (Required) The ID of the current organization where we start the association with a remote one.
* `association_data_file` - (Optional, but required if `associated_data` is not used) Name of the file containing the data used to associate to this org from another one.
* `association_data_file` - (Optional; required if `associated_data` is not used) Name of the file containing the data used to associate to this org from another one.
(Used instead of `associated_data`). This file can be created (by the other org administrator) using the data source `vcd_multisite_org_data`.
* `association_data` - (Optional, but required if `associated_data_file` is not used) Data produced from another org, needed to associate to this org from another one.
* `association_data` - (Optional; required if `associated_data_file` is not used) Data produced from another org, needed to associate to this org from another one.
(Used instead of `associated_data_file`)

## Attribute Reference
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/multisite_site_association.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Use this method if it is more convenient than reading XML from a file.

## Argument Reference

* `association_data_file` - (Optional, but required if `associated_data` is not used) Name of the file containing the data used to associate to this site from another one.
* `association_data_file` - (Optional; required if `associated_data` is not used) Name of the file containing the data used to associate to this site from another one.
(Used instead of `associated_data`). This file can be created (by the other site administrator) using the data source `vcd_multisite_site_data`.
* `association_data` - (Optional, but required if `associated_data_file` is not used) Data produced from another site, needed to associate to this site from another one.
* `association_data` - (Optional; required if `associated_data_file` is not used) Data produced from another site, needed to associate to this site from another one.
(Used instead of `associated_data_file`)
* `connection_timeout_mins` - (Optional) How many minutes we wait for the association to be complete. (0 = no check)
This property is only used during update, and should not be used until both sides of the association have been completed.
Expand Down

0 comments on commit 06e8d1b

Please sign in to comment.