Skip to content

Commit

Permalink
Generate docs (#255)
Browse files Browse the repository at this point in the history
I forgot to run 'git add .' previously
  • Loading branch information
joannelynch92 authored Sep 16, 2024
1 parent 77e54b7 commit 40fd8e8
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
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
}

0 comments on commit 40fd8e8

Please sign in to comment.