Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
The hpegl.getVmaasInstanceDiskType 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.VmaasInstance resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
const vmaasCloudVmwareThinLazy = hpegl.getVmaasInstanceDiskType({
name: "thick (lazy zero)",
cloudId: cloud.id,
groupId: defaultGroup.id,
layoutId: vmware.id,
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
vmaas_cloud_vmware_thin_lazy = hpegl.get_vmaas_instance_disk_type(name="thick (lazy zero)",
cloud_id=cloud["id"],
group_id=default_group["id"],
layout_id=vmware["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
_, err := hpegl.GetVmaasInstanceDiskType(ctx, &hpegl.GetVmaasInstanceDiskTypeArgs{
Name: "thick (lazy zero)",
CloudId: cloud.Id,
GroupId: defaultGroup.Id,
LayoutId: vmware.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() =>
{
// (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
var vmaasCloudVmwareThinLazy = Hpegl.GetVmaasInstanceDiskType.Invoke(new()
{
Name = "thick (lazy zero)",
CloudId = cloud.Id,
GroupId = defaultGroup.Id,
LayoutId = vmware.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.HpeglFunctions;
import com.pulumi.hpegl.inputs.GetVmaasInstanceDiskTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
final var vmaasCloudVmwareThinLazy = HpeglFunctions.getVmaasInstanceDiskType(GetVmaasInstanceDiskTypeArgs.builder()
.name("thick (lazy zero)")
.cloudId(cloud.id())
.groupId(defaultGroup.id())
.layoutId(vmware.id())
.build());
}
}
variables:
# (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP
vmaasCloudVmwareThinLazy:
fn::invoke:
function: hpegl:getVmaasInstanceDiskType
arguments:
name: thick (lazy zero)
cloudId: ${cloud.id}
groupId: ${defaultGroup.id}
layoutId: ${vmware.id}
Using getVmaasInstanceDiskType
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVmaasInstanceDiskType(args: GetVmaasInstanceDiskTypeArgs, opts?: InvokeOptions): Promise<GetVmaasInstanceDiskTypeResult>
function getVmaasInstanceDiskTypeOutput(args: GetVmaasInstanceDiskTypeOutputArgs, opts?: InvokeOptions): Output<GetVmaasInstanceDiskTypeResult>def get_vmaas_instance_disk_type(cloud_id: Optional[str] = None,
group_id: Optional[str] = None,
id: Optional[str] = None,
layout_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmaasInstanceDiskTypeResult
def get_vmaas_instance_disk_type_output(cloud_id: Optional[pulumi.Input[str]] = None,
group_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
layout_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmaasInstanceDiskTypeResult]func GetVmaasInstanceDiskType(ctx *Context, args *GetVmaasInstanceDiskTypeArgs, opts ...InvokeOption) (*GetVmaasInstanceDiskTypeResult, error)
func GetVmaasInstanceDiskTypeOutput(ctx *Context, args *GetVmaasInstanceDiskTypeOutputArgs, opts ...InvokeOption) GetVmaasInstanceDiskTypeResultOutput> Note: This function is named GetVmaasInstanceDiskType in the Go SDK.
public static class GetVmaasInstanceDiskType
{
public static Task<GetVmaasInstanceDiskTypeResult> InvokeAsync(GetVmaasInstanceDiskTypeArgs args, InvokeOptions? opts = null)
public static Output<GetVmaasInstanceDiskTypeResult> Invoke(GetVmaasInstanceDiskTypeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmaasInstanceDiskTypeResult> getVmaasInstanceDiskType(GetVmaasInstanceDiskTypeArgs args, InvokeOptions options)
public static Output<GetVmaasInstanceDiskTypeResult> getVmaasInstanceDiskType(GetVmaasInstanceDiskTypeArgs args, InvokeOptions options)
fn::invoke:
function: hpegl:index/getVmaasInstanceDiskType:getVmaasInstanceDiskType
arguments:
# arguments dictionaryThe following arguments are supported:
- Cloud
Id string - Unique ID to identify a cloud.
- Group
Id string - Unique ID to identify a group.
- 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.
- Id string
- The ID of this resource.
- Cloud
Id string - Unique ID to identify a cloud.
- Group
Id string - Unique ID to identify a group.
- 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.
- Id string
- The ID of this resource.
- cloud
Id String - Unique ID to identify a cloud.
- group
Id String - Unique ID to identify a group.
- 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.
- id String
- The ID of this resource.
- cloud
Id string - Unique ID to identify a cloud.
- group
Id string - Unique ID to identify a group.
- 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.
- id string
- The ID of this resource.
- cloud_
id str - Unique ID to identify a cloud.
- group_
id str - Unique ID to identify a group.
- layout_
id str - Unique ID to identify a layout.
- name str
- 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.
- id str
- The ID of this resource.
- cloud
Id String - Unique ID to identify a cloud.
- group
Id String - Unique ID to identify a group.
- 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.
- id String
- The ID of this resource.
getVmaasInstanceDiskType Result
The following output properties are available:
- Cloud
Id string - Unique ID to identify a cloud.
- Group
Id string - Unique ID to identify a group.
- Id string
- The ID of this resource.
- 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.
- Cloud
Id string - Unique ID to identify a cloud.
- Group
Id string - Unique ID to identify a group.
- Id string
- The ID of this resource.
- 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.
- cloud
Id String - Unique ID to identify a cloud.
- group
Id String - Unique ID to identify a group.
- id String
- The ID of this resource.
- 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.
- cloud
Id string - Unique ID to identify a cloud.
- group
Id string - Unique ID to identify a group.
- id string
- The ID of this resource.
- 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.
- cloud_
id str - Unique ID to identify a cloud.
- group_
id str - Unique ID to identify a group.
- id str
- The ID of this resource.
- layout_
id str - Unique ID to identify a layout.
- name str
- 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.
- cloud
Id String - Unique ID to identify a cloud.
- group
Id String - Unique ID to identify a group.
- id String
- The ID of this resource.
- 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.
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpeglTerraform Provider.
Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
