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.getVmaasPowerSchedule data source can be used to discover the ID of a hpegl vmaas powerSchedule. This can then be used with resources or data sources that require a hpegl_vmaas_power_schedule, such as the hpegl.VmaasInstance resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
const weekday = hpegl.getVmaasPowerSchedule({
name: "DEMO_WEEKDAY",
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
weekday = hpegl.get_vmaas_power_schedule(name="DEMO_WEEKDAY")
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 2021 Hewlett Packard Enterprise Development LP
_, err := hpegl.GetVmaasPowerSchedule(ctx, &hpegl.GetVmaasPowerScheduleArgs{
Name: "DEMO_WEEKDAY",
}, 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 2021 Hewlett Packard Enterprise Development LP
var weekday = Hpegl.GetVmaasPowerSchedule.Invoke(new()
{
Name = "DEMO_WEEKDAY",
});
});
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.GetVmaasPowerScheduleArgs;
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 2021 Hewlett Packard Enterprise Development LP
final var weekday = HpeglFunctions.getVmaasPowerSchedule(GetVmaasPowerScheduleArgs.builder()
.name("DEMO_WEEKDAY")
.build());
}
}
variables:
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
weekday:
fn::invoke:
function: hpegl:getVmaasPowerSchedule
arguments:
name: DEMO_WEEKDAY
Using getVmaasPowerSchedule
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 getVmaasPowerSchedule(args: GetVmaasPowerScheduleArgs, opts?: InvokeOptions): Promise<GetVmaasPowerScheduleResult>
function getVmaasPowerScheduleOutput(args: GetVmaasPowerScheduleOutputArgs, opts?: InvokeOptions): Output<GetVmaasPowerScheduleResult>def get_vmaas_power_schedule(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmaasPowerScheduleResult
def get_vmaas_power_schedule_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmaasPowerScheduleResult]func GetVmaasPowerSchedule(ctx *Context, args *GetVmaasPowerScheduleArgs, opts ...InvokeOption) (*GetVmaasPowerScheduleResult, error)
func GetVmaasPowerScheduleOutput(ctx *Context, args *GetVmaasPowerScheduleOutputArgs, opts ...InvokeOption) GetVmaasPowerScheduleResultOutput> Note: This function is named GetVmaasPowerSchedule in the Go SDK.
public static class GetVmaasPowerSchedule
{
public static Task<GetVmaasPowerScheduleResult> InvokeAsync(GetVmaasPowerScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetVmaasPowerScheduleResult> Invoke(GetVmaasPowerScheduleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmaasPowerScheduleResult> getVmaasPowerSchedule(GetVmaasPowerScheduleArgs args, InvokeOptions options)
public static Output<GetVmaasPowerScheduleResult> getVmaasPowerSchedule(GetVmaasPowerScheduleArgs args, InvokeOptions options)
fn::invoke:
function: hpegl:index/getVmaasPowerSchedule:getVmaasPowerSchedule
arguments:
# arguments dictionaryThe following arguments are supported:
getVmaasPowerSchedule Result
The following output properties are available:
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
