|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "vcda_pair_site Resource - terraform-provider-for-vmware-cloud-director-availability" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + VMware Cloud Director Availability Pair Site resource. |
| 7 | +--- |
| 8 | + |
| 9 | +# vcda_pair_site (Resource) |
| 10 | + |
| 11 | +The Pair Site resource performs one-step pairing of either: |
| 12 | + |
| 13 | +- a Cloud Director Replication Management Appliance to an already configured |
| 14 | + Cloud Director Replication Management Appliance, or |
| 15 | + |
| 16 | +- a vCenter Replication Management Appliance to an already configured vCenter Replication Management Appliance. |
| 17 | + |
| 18 | +## Example Usage |
| 19 | + |
| 20 | +### Pair Cloud Director Replication Management Appliance to an already configured Cloud Director Replication Management Appliance |
| 21 | + |
| 22 | +```terraform |
| 23 | +resource "vcda_pair_site" "pair_cloud_site" { |
| 24 | + api_url = var.cloud_site_endpoint |
| 25 | + pairing_description = "pair cloud site" |
| 26 | + site = var.cloud_site_name |
| 27 | + |
| 28 | + service_cert = data.vcda_service_cert.cloud_service_cert.id |
| 29 | + api_thumbprint = data.vcda_remote_services_thumbprint.cloud_site_thumbprint.id |
| 30 | +} |
| 31 | +``` |
| 32 | + |
| 33 | +### Pair vCenter Replication Management Appliance to an already configured vCenter Replication Management Appliance |
| 34 | + |
| 35 | +```terraform |
| 36 | +resource "vcda_pair_site" "pair_manager_site" { |
| 37 | + api_url = var.manager_site_endpoint |
| 38 | + pairing_description = "pair manager site" |
| 39 | + |
| 40 | + service_cert = data.vcda_service_cert.manager_service_cert.id |
| 41 | + api_thumbprint = data.vcda_remote_services_thumbprint.manager_site_thumbprint.id |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +<!-- schema generated by tfplugindocs --> |
| 46 | + |
| 47 | +## Schema |
| 48 | + |
| 49 | +### Required |
| 50 | + |
| 51 | +- `api_thumbprint` (String) The thumbprint of the to-be paired Cloud Director/vCenter Replication Management Appliance. |
| 52 | + It can either be computed from |
| 53 | + the `vcda_remote_services_thumbprint` data source or provided directly as a SHA-256 fingerprint. |
| 54 | +- `api_url` (String) The API URL address/endpoint of the to-be paired Cloud Director/vCenter Replication Management |
| 55 | + Appliance. |
| 56 | +- `service_cert` (String) The certificate of the Cloud Director/vCenter Replication Management Appliance. |
| 57 | + |
| 58 | +### Optional |
| 59 | + |
| 60 | +- `pairing_description` (String) The description of the pairing. |
| 61 | +- `site` (String) The site name of the to-be paired Cloud Director Replication Management Appliance. |
| 62 | + Only required for pairing a Cloud Director Replication Management Appliance to another Cloud Director Replication |
| 63 | + Management Appliance. |
| 64 | + |
| 65 | +### Read-Only |
| 66 | + |
| 67 | +- `site_id` (String) The site ID of the paired vCenter Replication Management Appliance. Computed only for pairing a |
| 68 | + vCenter Replication Management Appliance to another vCenter Replication Management Appliance. |
| 69 | +- `site_name` (String) The site name of the paired Cloud Director/vCenter Replication Management Appliance. |
| 70 | +- `site_description` (String) The site description of the paired Cloud Director/vCenter Replication Management |
| 71 | + Appliance. |
| 72 | +- `api_public_url` (Boolean) The public API URL address of the paired Cloud Director/vCenter Replication Management |
| 73 | + Appliance. |
| 74 | +- `api_version` (String) The API version of the paired Cloud Director/vCenter Replication Management Appliance. |
| 75 | +- `build_version` (String) The build version of the paired Cloud Director Replication Management Appliance. Computed |
| 76 | + only for pairing a Cloud Director Replication Management Appliance to another Cloud Director Replication Management |
| 77 | + Appliance. |
| 78 | +- `is_provider_deployment` (String) A flag that indicates whether the paired vCenter Replication Management Appliance is |
| 79 | + of type provider. Computed only for pairing a vCenter Replication Management Appliance to another vCenter Replication |
| 80 | + Management Appliance. |
0 commit comments