You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
Do not leave "+1" or other comments that do not add relevant information or questions.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
Add support for new data source to query a specified host for a specific (search by name) or all vGPU profiles available on the host.
Use Case(s)
The ability to search for or simply query for all available vGPU profiles on a given host gives admins the ability to confirm vGPU availability before attempting to consume the vGPU resource.
Potential Terraform Provider Configuration
Query a specific host for all available vGPU profiles
data "vsphere_datacenter" "datacenter" {
name = "datacenter"
}
data "vsphere_host" "host01" {
name = "host01.test.com"
datacenter_id = data.vsphere_datacenter.datacenter.id
}
data "vsphere_host_vgpu_profile" "vgpu_profiles" {
host_id = data.vsphere_host.host01.id
}
Query a specific host for a specific vGPU profile name: grid_a100d-80c
data "vsphere_datacenter" "datacenter" {
name = "datacenter"
}
data "vsphere_host" "host01" {
name = "host01.test.com"
datacenter_id = data.vsphere_datacenter.datacenter.id
}
data "vsphere_host_vgpu_profile" "vgpu_profiles" {
host_id = data.vsphere_host.host01.id
name = "grid_a100d-80c"
}
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Guidelines
Description
Add support for new data source to query a specified host for a specific (search by name) or all vGPU profiles available on the host.
Use Case(s)
The ability to search for or simply query for all available vGPU profiles on a given host gives admins the ability to confirm vGPU availability before attempting to consume the vGPU resource.
Potential Terraform Provider Configuration
Query a specific host for all available vGPU profiles
Query a specific host for a specific vGPU profile name:
grid_a100d-80c
References
No response
The text was updated successfully, but these errors were encountered: