-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tfplugin docs and generated documentation (#21)
* Added tfplugin docs and generated documentation - Added terraform-plugin-docs - Generated documentation for Vmaas 0.1.8 * Staticcheck rule not being excluded, ignoring linter
- Loading branch information
Showing
36 changed files
with
559 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "hpegl_vmaas_cloud Data Source - terraform-provider-hpegl" | ||
subcategory: "" | ||
subcategory: "vmaas" | ||
description: |- | ||
The hpeglvmaascloud data source can be used to discover the ID of a hpegl vmaas Cloud. | ||
This can then be used with resources or data sources that require a hpegl vmaas cloud, | ||
such as the hpeglvmaasdatastore data source, hpeglvmaasinstance resource, etc. | ||
--- | ||
|
||
# hpegl_vmaas_cloud (Data Source) | ||
|
||
The hpegl_vmaas_cloud data source can be used to discover the ID of a hpegl vmaas Cloud. | ||
This can then be used with resources or data sources that require a hpegl vmaas cloud, | ||
such as the hpegl_vmaas_datastore data source, hpegl_vmaas_instance resource, etc. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP | ||
data "hpegl_vmaas_cloud" "cloud" { | ||
name = "HPE GreenLake VMaaS Cloud" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) Name of the cloud as it appears on GLPC Portal. If there is no cloud with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Optional | ||
- `name` (String) Name of the cloud as it appears on HPE GreenLake for private cloud dashboard. If there is no cloud with this name, a 'NOT FOUND' error will returned. | ||
|
||
- **id** (String) The ID of this resource. | ||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "hpegl_vmaas_edge_cluster Data Source - terraform-provider-hpegl" | ||
subcategory: "" | ||
subcategory: "vmaas" | ||
description: |- | ||
The hpeglvmaasedgecluster data source can be used to discover the Provider ID of a hpegl vmaas Edge cluster. | ||
This can then be used with resources or data sources that require a hpeglvmaasedgecluster | ||
--- | ||
|
||
# hpegl_vmaas_edge_cluster (Data Source) | ||
|
||
The hpegl_vmaas_edge_cluster data source can be used to discover the Provider ID of a hpegl vmaas Edge cluster. | ||
This can then be used with resources or data sources that require a hpegl_vmaas_edge_cluster | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP | ||
data "hpegl_vmaas_edge_cluster" "tf_edge_cluster" { | ||
name = "nsx_edge_cluster" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) Name of the Edge Cluster as it appears on GLPC Portal. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- `name` (String) Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Read-Only | ||
|
||
- **external_id** (String) | ||
- **internal_id** (String) | ||
- **provider_id** (String) ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router | ||
|
||
- `external_id` (String) | ||
- `id` (String) The ID of this resource. | ||
- `internal_id` (String) | ||
- `provider_id` (String) ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "hpegl_vmaas_environment Data Source - terraform-provider-hpegl" | ||
subcategory: "" | ||
subcategory: "vmaas" | ||
description: |- | ||
The hpeglvmaasenvironment data source can be used to discover the ID/Code of a hpegl vmaas environment. | ||
This can then be used with resources or data sources that require a hpeglvmaasenvironment, | ||
such as the hpeglvmaasinstance resource. | ||
--- | ||
|
||
# hpegl_vmaas_environment (Data Source) | ||
|
||
The hpegl_vmaas_environment data source can be used to discover the ID/Code of a hpegl vmaas environment. | ||
This can then be used with resources or data sources that require a hpegl_vmaas_environment, | ||
such as the hpegl_vmaas_instance resource. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP | ||
data "hpegl_vmaas_environment" "staging" { | ||
name = "Staging" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) Name of the Environment as it appears on GLPC Portal. If there is no Environment with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- `name` (String) Name of the Environment as it appears on HPE GreenLake for private cloud dashboard. If there is no Environment with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Read-Only | ||
|
||
- **code** (String) code of each environment | ||
|
||
- `code` (String) code of each environment | ||
- `id` (String) The ID of this resource. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "hpegl_vmaas_group Data Source - terraform-provider-hpegl" | ||
subcategory: "" | ||
subcategory: "vmaas" | ||
description: |- | ||
The hpeglvmaasgroup data source can be used to discover the ID of a hpegl vmaas group. | ||
This can then be used with resources or data sources that require a hpeglvmaasgroup, | ||
such as the hpeglvmaasinstance resource. | ||
--- | ||
|
||
# hpegl_vmaas_group (Data Source) | ||
|
||
The hpegl_vmaas_group data source can be used to discover the ID of a hpegl vmaas group. | ||
This can then be used with resources or data sources that require a hpegl_vmaas_group, | ||
such as the hpegl_vmaas_instance resource. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP | ||
data "hpegl_vmaas_group" "default_group" { | ||
name = "Default" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) Name of the group as it appears on GLPC Portal. If there is no group with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Optional | ||
- `name` (String) Name of the group as it appears on HPE GreenLake for private cloud dashboard. If there is no group with this name, a 'NOT FOUND' error will returned. | ||
|
||
- **id** (String) The ID of this resource. | ||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "hpegl_vmaas_network Data Source - terraform-provider-hpegl" | ||
subcategory: "" | ||
subcategory: "vmaas" | ||
description: |- | ||
The hpeglvmaasnetwork data source can be used to discover the ID of a hpegl vmaas network. | ||
This can then be used with resources or data sources that require a hpeglvmaasnetwork, | ||
such as the hpeglvmaasinstance resource. | ||
--- | ||
|
||
# hpegl_vmaas_network (Data Source) | ||
|
||
The hpegl_vmaas_network data source can be used to discover the ID of a hpegl vmaas network. | ||
This can then be used with resources or data sources that require a hpegl_vmaas_network, | ||
such as the hpegl_vmaas_instance resource. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP | ||
data "hpegl_vmaas_network" "blue_net" { | ||
name = "Blue-Net" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) Name of the network as it appears on GLPC Portal. If there is no network with this name, a 'NOT FOUND' error will returned. | ||
|
||
### Optional | ||
- `name` (String) Name of the network as it appears on HPE GreenLake for private cloud dashboard. If there is no network with this name, a 'NOT FOUND' error will returned. | ||
|
||
- **id** (String) The ID of this resource. | ||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
Oops, something went wrong.