opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getDmsMaintainwindowV1
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Up-to-date reference of API arguments for DMS maintain window you can get at documentation portal
Use this data source to get the ID of an available OpenTelekomCloud DMS maintainwindow.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const maintainwindow1 = opentelekomcloud.getDmsMaintainwindowV1({
seq: 1,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
maintainwindow1 = opentelekomcloud.get_dms_maintainwindow_v1(seq=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.GetDmsMaintainwindowV1(ctx, &opentelekomcloud.GetDmsMaintainwindowV1Args{
Seq: pulumi.Float64Ref(1),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var maintainwindow1 = Opentelekomcloud.GetDmsMaintainwindowV1.Invoke(new()
{
Seq = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsMaintainwindowV1Args;
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 = OpentelekomcloudFunctions.getDmsMaintainwindowV1(GetDmsMaintainwindowV1Args.builder()
.seq(1)
.build());
}
}
variables:
maintainwindow1:
fn::invoke:
function: opentelekomcloud:getDmsMaintainwindowV1
arguments:
seq: 1
Using getDmsMaintainwindowV1
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 getDmsMaintainwindowV1(args: GetDmsMaintainwindowV1Args, opts?: InvokeOptions): Promise<GetDmsMaintainwindowV1Result>
function getDmsMaintainwindowV1Output(args: GetDmsMaintainwindowV1OutputArgs, opts?: InvokeOptions): Output<GetDmsMaintainwindowV1Result>
def get_dms_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) -> GetDmsMaintainwindowV1Result
def get_dms_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[GetDmsMaintainwindowV1Result]
func GetDmsMaintainwindowV1(ctx *Context, args *GetDmsMaintainwindowV1Args, opts ...InvokeOption) (*GetDmsMaintainwindowV1Result, error)
func GetDmsMaintainwindowV1Output(ctx *Context, args *GetDmsMaintainwindowV1OutputArgs, opts ...InvokeOption) GetDmsMaintainwindowV1ResultOutput
> Note: This function is named GetDmsMaintainwindowV1
in the Go SDK.
public static class GetDmsMaintainwindowV1
{
public static Task<GetDmsMaintainwindowV1Result> InvokeAsync(GetDmsMaintainwindowV1Args args, InvokeOptions? opts = null)
public static Output<GetDmsMaintainwindowV1Result> Invoke(GetDmsMaintainwindowV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDmsMaintainwindowV1Result> getDmsMaintainwindowV1(GetDmsMaintainwindowV1Args args, InvokeOptions options)
public static Output<GetDmsMaintainwindowV1Result> getDmsMaintainwindowV1(GetDmsMaintainwindowV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getDmsMaintainwindowV1:getDmsMaintainwindowV1
arguments:
# arguments dictionary
The following arguments are supported:
- Begin string
- Indicates the time at which a maintenance time window starts.
- Default bool
- Indicates whether a maintenance time window is set to the default time segment.
- End string
- Indicates the time at which a maintenance time window ends.
- Id string
- Seq double
- Indicates the sequential number of a maintenance time window.
- Begin string
- Indicates the time at which a maintenance time window starts.
- Default bool
- Indicates whether a maintenance time window is set to the default time segment.
- End string
- Indicates the time at which a maintenance time window ends.
- Id string
- Seq float64
- Indicates the sequential number of a maintenance time window.
- begin String
- Indicates the time at which a maintenance time window starts.
- default_ Boolean
- Indicates whether a maintenance time window is set to the default time segment.
- end String
- Indicates the time at which a maintenance time window ends.
- id String
- seq Double
- Indicates the sequential number of a maintenance time window.
- begin string
- Indicates the time at which a maintenance time window starts.
- default boolean
- Indicates whether a maintenance time window is set to the default time segment.
- end string
- Indicates the time at which a maintenance time window ends.
- id string
- seq number
- Indicates the sequential number of a maintenance time window.
- begin str
- Indicates the time at which a maintenance time window starts.
- default bool
- Indicates whether a maintenance time window is set to the default time segment.
- end str
- Indicates the time at which a maintenance time window ends.
- id str
- seq float
- Indicates the sequential number of a maintenance time window.
- begin String
- Indicates the time at which a maintenance time window starts.
- default Boolean
- Indicates whether a maintenance time window is set to the default time segment.
- end String
- Indicates the time at which a maintenance time window ends.
- id String
- seq Number
- Indicates the sequential number of a maintenance time window.
getDmsMaintainwindowV1 Result
The following output properties are available:
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud