Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate docs #255

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions docs/data-sources/vmaas_instance_disk_type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
page_title: "hpegl_vmaas_instance_disk_type Data Source - terraform-provider-hpegl"
subcategory: "vmaas"
description: |-
The hpegl_vmaas_instance_disk_type data source can be used to discover the ID of a disk type.
This can then be used with resources or data sources that require a hpegl_vmaas_instance_disk_type,
such as the hpegl_vmaas_instance resource.
---
# hpegl_vmaas_instance_disk_type (Data Source)

The hpegl_vmaas_instance_disk_type data source can be used to discover the ID of a disk type.
This can then be used with resources or data sources that require a hpegl_vmaas_instance_disk_type,
such as the hpegl_vmaas_instance resource.

## Example Usage

```terraform
# (C) Copyright 2024 Hewlett Packard Enterprise Development LP

data "hpegl_vmaas_instance_disk_type" "vmaas_cloud_vmware_thin_lazy" {
name = "thick (lazy zero)"
cloud_id = data.hpegl_vmaas_cloud.cloud.id
layout_id = data.hpegl_vmaas_layout.vmware.id
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `cloud_id` (String) Unique ID to identify a cloud.
- `layout_id` (String) Unique ID to identify a layout.
- `name` (String) Name of the disk type as it appears on HPE GreenLake for private cloud dashboard. If there is no disk type with this name, a 'NOT FOUND' error will returned.

### Read-Only

- `id` (String) The ID of this resource.


Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# (C) Copyright 2024 Hewlett Packard Enterprise Development LP

data "hpegl_vmaas_instance_disk_type" "vmaas_cloud_vmware_thin_lazy" {
name = "thick (lazy zero)"
cloud_id = data.hpegl_vmaas_cloud.cloud.id
layout_id = data.hpegl_vmaas_layout.vmware.id
}