diff --git a/website/docs/d/vra_data_collector.html.markdown b/website/docs/d/vra_data_collector.html.markdown new file mode 100644 index 00000000..eb773b8b --- /dev/null +++ b/website/docs/d/vra_data_collector.html.markdown @@ -0,0 +1,30 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_data_collector" +description: |- + Provides a data lookup for data collector data source. +--- + +# Data Source: vra_data_collector +## Example Usages + +This is an example of how to lookup a data collector. + +**Data collector data source by its name:** +```hcl +data "vra_data_collector" "this" { + name = var.data_collector_name +} +``` +The data collector data source supports the following arguments: + +## Argument Reference +* `name` - (Required) Data collector name. Example: Datacollector1 + +## Attribute Reference +* `hostname` - Data collector host name. Example: dc1-lnd.mycompany.com + +* `ip_address` - IPv4 Address of the data collector VM. Example: 10.0.0.1 + +* `status` - Current status of the data collector. Example: ACTIVE, INACTIVE + diff --git a/website/docs/d/vra_region.html.markdown b/website/docs/d/vra_region.html.markdown new file mode 100644 index 00000000..0df408b6 --- /dev/null +++ b/website/docs/d/vra_region.html.markdown @@ -0,0 +1,29 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region" +description: |- + Provides a data lookup for region data source. +--- + +# Data Source: vra_region +## Example Usages + +This is an example of how to read a region data source. + +**Region data source by cloud account Id and region:** +```hcl +data "vra_region" "this" { + cloud_account_id = var.vra_cloud_account_id + region = "us-east-1" +} +``` + +The region data source supports the following arguments: + +## Argument Reference +* `cloud_account_id` - (Required) The Cloud Account ID. + +* `region` - (Required) The specific region associated with the cloud account. + +## Attribute Reference +* `id` - The ID of the given region within the cloud account. diff --git a/website/docs/d/vra_region_enumeration.html.markdown b/website/docs/d/vra_region_enumeration.html.markdown new file mode 100644 index 00000000..6a1545be --- /dev/null +++ b/website/docs/d/vra_region_enumeration.html.markdown @@ -0,0 +1,43 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration" +description: |- + Provides a data lookup for region enumeration data source. +--- + +# Data Source: vra_region_enumeration +## Example Usages + +This is an example of how to lookup a region enumeration data source. + +DeprecationMessage: 'region_enumeration' is deprecated. Use 'region_enumeration_vsphere' instead. + +**Region enumeration data source for vSphere** +```hcl +data "vra_region_enumeration_vsphere" "this" { + accept_self_signed_cert = false + + dcid = var.vra_data_collector_id + + hostname = var.hostname + password = var.password + username = var.username +} +``` + +The region enumeration data source supports the following arguments: + +## Argument Reference +* `accept_self_signed_cert` - (Optional) Accept self signed certificate when connecting to vSphere. Example: false + +* `dcid` - (Optional) ID of a data collector vm deployed in the on premise infrastructure. Example: d5316b00-f3b8-4895-9e9a-c4b98649c2ca + +* `hostname` - (Required) Host name for the cloud account endpoint. Example: dc1-lnd.mycompany.com + +* `password` - (Required) Password for the user used to authenticate with the cloud Account + +* `username` - (Required) Username to authenticate with the cloud account + +## Attribute Reference +* `regions` - A set of datacenter managed object reference identifiers to enable provisioning on. Example: Datacenter:datacenter-2 + diff --git a/website/docs/d/vra_region_enumeration_aws.html.markdown b/website/docs/d/vra_region_enumeration_aws.html.markdown new file mode 100644 index 00000000..5cb449c1 --- /dev/null +++ b/website/docs/d/vra_region_enumeration_aws.html.markdown @@ -0,0 +1,30 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration_aws" +description: |- + Provides a data lookup for region enumeration for AWS cloud account. +--- + +# Data Source: vra_region_enumeration_aws +## Example Usages + +This is an example of how to lookup a region enumeration data source for AWS cloud account. + +**Region enumeration data source for AWS, by the AWS account access key and secret key:** +```hcl +data "vra_region_enumeration_aws" "this" { + access_key = var.access_key + secret_key = var.secret_key +} +``` + +The region enumeration data source for AWS cloud account supports the following arguments: + +## Argument Reference +* `access_key` - (Optional) Aws Access key ID. + +* `secret_key` - (Required) Aws Secret Access Key. + +## Attribute Reference +* `regions` - A set of Region names to enable provisioning on. Example: us-east-2, ap-northeast-1 + diff --git a/website/docs/d/vra_region_enumeration_azure.html.markdown b/website/docs/d/vra_region_enumeration_azure.html.markdown new file mode 100644 index 00000000..6e69c710 --- /dev/null +++ b/website/docs/d/vra_region_enumeration_azure.html.markdown @@ -0,0 +1,35 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration_azure" +description: |- + Provides a data lookup for region enumeration for Azure cloud account. +--- + +# Data Source: vra_region_enumeration_azure +## Example Usages + +This is an example of how to lookup a region enumeration data source for Azure cloud account. + +**Region enumeration data source for Azure** +```hcl +data "vra_region_enumeration_azure" "this" { + application_id = var.application_id + application_key = var.application_key + subscription_id = var.subscription_id + tenant_id = var.tenant_id + } +``` + +The region enumeration data source for Azure cloud account supports the following arguments: + +## Argument Reference +* `application_id` - (Required) Azure Client Application ID + +* `application_key` - (Required) Azure Client Application Secret Key + +* `subscription_id` - (Required) Azure Subscribtion ID + +* `tenant_id` - (Required) Azure Tenant ID + +## Attribute Reference +* `regions` - A set of Region names to enable provisioning on. Example: northamerica-northeast1 diff --git a/website/docs/d/vra_region_enumeration_gcp.html.markdown b/website/docs/d/vra_region_enumeration_gcp.html.markdown new file mode 100644 index 00000000..a8383e2a --- /dev/null +++ b/website/docs/d/vra_region_enumeration_gcp.html.markdown @@ -0,0 +1,36 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration_gcp" +description: |- + Provides a data lookup for region enumeration for GCP cloud account. +--- + +# Data Source: vra_region_enumeration_gcp +## Example Usages + +This is an example of how to lookup a region enumeration data source for GCP cloud account. + +**Region enumeration data source for GCP** +```hcl +data "vra_region_enumeration_gcp" "this" { + client_email = var.client_email + private_key_id = var.private_key_id + private_key = var.private_key + project_id = var.project_id + } +``` + +The region enumeration data source for GCP cloud account supports the following arguments: + +## Argument Reference +* `client_email` - (Required) Client E-mail ID. + +* `private_key` - (Required) GCP Private key. + +* `private_key_id` - (Required) GCP Private key ID. + +* `project_id` - (Required) GCP Project ID. + +## Attribute Reference +* `regions` - A set of Region names to enable provisioning on. Example: northamerica-northeast1 + diff --git a/website/docs/d/vra_region_enumeration_vmc.html.markdown b/website/docs/d/vra_region_enumeration_vmc.html.markdown new file mode 100644 index 00000000..c1b0dec1 --- /dev/null +++ b/website/docs/d/vra_region_enumeration_vmc.html.markdown @@ -0,0 +1,47 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration_vmc" +description: |- + Provides a data lookup for region enumeration for VMC cloud account. +--- + +# Data Source: vra_region_enumeration_vmc +## Example Usages + +This is an example of how to lookup a region enumeration data source for VMC cloud account. + +**Region enumeration data source for VMC** +```hcl +data "vra_region_enumeration_vmc" "this" { + accept_self_signed_cert = true + + dc_id = var.vra_data_collector_id + + api_token = var.api_token + sddc_name = var.sddc_name + + vcenter_hostname = var.vcenter_hostname + vcenter_password = var.vcenter_password + vcenter_username = var.vcenter_username +} +``` + +The region enumeration data source for VMC cloud account supports the following arguments: + +## Argument Reference +* `accept_self_signed_cert` - (Optional) Accept self signed certificate when connecting to vSphere. Example: false + +* `api_token` - (Required) API Token for the cloud account endpoint. + +* `dc_id` - (Optional) ID of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors. + +* `sddc_name` - (Required) Identifier of the on-premise SDDC to be used by this cloud account. + +* `vcenter_hostname` - (Required) The IP address or FQDN of the vCenter Server in the specified SDDC. The cloud proxy belongs on this vCenter. + +* `vcenter_password` - (Required) Password for the user used to authenticate with the cloud Account + +* `vcenter_username` - (Required) vCenter user name for the specified SDDC.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials. + +## Attribute Reference +* `regions` - A set of Region names to enable provisioning on. Example: northamerica-northeast1 \ No newline at end of file diff --git a/website/docs/d/vra_region_enumeration_vsphere.html.markdown b/website/docs/d/vra_region_enumeration_vsphere.html.markdown new file mode 100644 index 00000000..2f0119c2 --- /dev/null +++ b/website/docs/d/vra_region_enumeration_vsphere.html.markdown @@ -0,0 +1,40 @@ +--- +layout: "vra" +page_title: "VMware vRealize Automation: vra_region_enumeration_vsphere" +description: |- + Provides a data lookup for region enumeration for vSphere cloud account. +--- + +# Data Source: vra_region_enumeration_vsphere +## Example Usages + +This is an example of how to lookup a region enumeration data source for vSphere cloud account. + +**Region enumeration data source for vSphere** +```hcl +data "vra_region_enumeration_vsphere" "this" { + accept_self_signed_cert = false + + dcid = var.vra_data_collector_id + + hostname = this.hostname + password = this.password + username = this.username +} +``` + +The region enumeration data source for vSphere cloud account supports the following arguments: + +## Argument Reference +* `accept_self_signed_cert` - (Optional) Accept self signed certificate when connecting to vSphere. Example: false + +* `dcid` - (Required) ID of a data collector vm deployed in the on premise infrastructure. Example: d5316b00-f3b8-4895-9e9a-c4b98649c2ca + +* `hostname` - (Required) Host name for the cloud account endpoint. Example: dc1-lnd.mycompany.com + +* `password` - (Required) Password for the user used to authenticate with the cloud Account + +* `username` - (Required) Username to authenticate with the cloud account + +## Attribute Reference +* `regions` - A set of datacenter managed object reference identifiers to enable provisioning on. Example: Datacenter:datacenter-2 \ No newline at end of file