flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDcsMaintainwindowV1
Start a Neo task
Explain and create a flexibleengine.getDcsMaintainwindowV1 resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the ID of an available Flexibleengine DCS maintainwindow.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const maintainwindow1 = flexibleengine.getDcsMaintainwindowV1({
"default": true,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
maintainwindow1 = flexibleengine.get_dcs_maintainwindow_v1(default=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetDcsMaintainwindowV1(ctx, &flexibleengine.GetDcsMaintainwindowV1Args{
Default: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var maintainwindow1 = Flexibleengine.GetDcsMaintainwindowV1.Invoke(new()
{
Default = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetDcsMaintainwindowV1Args;
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) {
final var maintainwindow1 = FlexibleengineFunctions.getDcsMaintainwindowV1(GetDcsMaintainwindowV1Args.builder()
.default_(true)
.build());
}
}
variables:
maintainwindow1:
fn::invoke:
function: flexibleengine:getDcsMaintainwindowV1
arguments:
default: true
Using getDcsMaintainwindowV1
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 getDcsMaintainwindowV1(args: GetDcsMaintainwindowV1Args, opts?: InvokeOptions): Promise<GetDcsMaintainwindowV1Result>
function getDcsMaintainwindowV1Output(args: GetDcsMaintainwindowV1OutputArgs, opts?: InvokeOptions): Output<GetDcsMaintainwindowV1Result>def get_dcs_maintainwindow_v1(begin: Optional[str] = None,
default: Optional[bool] = None,
end: Optional[str] = None,
id: Optional[str] = None,
seq: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDcsMaintainwindowV1Result
def get_dcs_maintainwindow_v1_output(begin: Optional[pulumi.Input[str]] = None,
default: Optional[pulumi.Input[bool]] = None,
end: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
seq: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDcsMaintainwindowV1Result]func GetDcsMaintainwindowV1(ctx *Context, args *GetDcsMaintainwindowV1Args, opts ...InvokeOption) (*GetDcsMaintainwindowV1Result, error)
func GetDcsMaintainwindowV1Output(ctx *Context, args *GetDcsMaintainwindowV1OutputArgs, opts ...InvokeOption) GetDcsMaintainwindowV1ResultOutput> Note: This function is named GetDcsMaintainwindowV1 in the Go SDK.
public static class GetDcsMaintainwindowV1
{
public static Task<GetDcsMaintainwindowV1Result> InvokeAsync(GetDcsMaintainwindowV1Args args, InvokeOptions? opts = null)
public static Output<GetDcsMaintainwindowV1Result> Invoke(GetDcsMaintainwindowV1InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDcsMaintainwindowV1Result> getDcsMaintainwindowV1(GetDcsMaintainwindowV1Args args, InvokeOptions options)
public static Output<GetDcsMaintainwindowV1Result> getDcsMaintainwindowV1(GetDcsMaintainwindowV1Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getDcsMaintainwindowV1:getDcsMaintainwindowV1
arguments:
# arguments dictionaryThe following arguments are supported:
- Begin string
- Specifies the time at which a maintenance time window starts.
- Default bool
- Specifies whether a maintenance time window is set to the default time segment.
- End string
- Specifies the time at which a maintenance time window ends.
- Id string
- Seq double
- Specifies the sequential number of a maintenance time window.
- Begin string
- Specifies the time at which a maintenance time window starts.
- Default bool
- Specifies whether a maintenance time window is set to the default time segment.
- End string
- Specifies the time at which a maintenance time window ends.
- Id string
- Seq float64
- Specifies the sequential number of a maintenance time window.
- begin String
- Specifies the time at which a maintenance time window starts.
- default_ Boolean
- Specifies whether a maintenance time window is set to the default time segment.
- end String
- Specifies the time at which a maintenance time window ends.
- id String
- seq Double
- Specifies the sequential number of a maintenance time window.
- begin string
- Specifies the time at which a maintenance time window starts.
- default boolean
- Specifies whether a maintenance time window is set to the default time segment.
- end string
- Specifies the time at which a maintenance time window ends.
- id string
- seq number
- Specifies the sequential number of a maintenance time window.
- begin str
- Specifies the time at which a maintenance time window starts.
- default bool
- Specifies whether a maintenance time window is set to the default time segment.
- end str
- Specifies the time at which a maintenance time window ends.
- id str
- seq float
- Specifies the sequential number of a maintenance time window.
- begin String
- Specifies the time at which a maintenance time window starts.
- default Boolean
- Specifies whether a maintenance time window is set to the default time segment.
- end String
- Specifies the time at which a maintenance time window ends.
- id String
- seq Number
- Specifies the sequential number of a maintenance time window.
getDcsMaintainwindowV1 Result
The following output properties are available:
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
