1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getDmsMaintainwindow
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getDmsMaintainwindow

Explore with Pulumi AI

flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

Use this data source to get the ID of an available FlexibleEngine dms maintainwindow.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const maintainwindow1 = flexibleengine.getDmsMaintainwindow({
    seq: 1,
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

maintainwindow1 = flexibleengine.get_dms_maintainwindow(seq=1)
Copy
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.GetDmsMaintainwindow(ctx, &flexibleengine.GetDmsMaintainwindowArgs{
			Seq: pulumi.Float64Ref(1),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var maintainwindow1 = Flexibleengine.GetDmsMaintainwindow.Invoke(new()
    {
        Seq = 1,
    });

});
Copy
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.GetDmsMaintainwindowArgs;
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.getDmsMaintainwindow(GetDmsMaintainwindowArgs.builder()
            .seq(1)
            .build());

    }
}
Copy
variables:
  maintainwindow1:
    fn::invoke:
      function: flexibleengine:getDmsMaintainwindow
      arguments:
        seq: 1
Copy

Using getDmsMaintainwindow

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 getDmsMaintainwindow(args: GetDmsMaintainwindowArgs, opts?: InvokeOptions): Promise<GetDmsMaintainwindowResult>
function getDmsMaintainwindowOutput(args: GetDmsMaintainwindowOutputArgs, opts?: InvokeOptions): Output<GetDmsMaintainwindowResult>
Copy
def get_dms_maintainwindow(begin: Optional[str] = None,
                           default: Optional[bool] = None,
                           end: Optional[str] = None,
                           id: Optional[str] = None,
                           region: Optional[str] = None,
                           seq: Optional[float] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDmsMaintainwindowResult
def get_dms_maintainwindow_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,
                           region: Optional[pulumi.Input[str]] = None,
                           seq: Optional[pulumi.Input[float]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDmsMaintainwindowResult]
Copy
func GetDmsMaintainwindow(ctx *Context, args *GetDmsMaintainwindowArgs, opts ...InvokeOption) (*GetDmsMaintainwindowResult, error)
func GetDmsMaintainwindowOutput(ctx *Context, args *GetDmsMaintainwindowOutputArgs, opts ...InvokeOption) GetDmsMaintainwindowResultOutput
Copy

> Note: This function is named GetDmsMaintainwindow in the Go SDK.

public static class GetDmsMaintainwindow 
{
    public static Task<GetDmsMaintainwindowResult> InvokeAsync(GetDmsMaintainwindowArgs args, InvokeOptions? opts = null)
    public static Output<GetDmsMaintainwindowResult> Invoke(GetDmsMaintainwindowInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDmsMaintainwindowResult> getDmsMaintainwindow(GetDmsMaintainwindowArgs args, InvokeOptions options)
public static Output<GetDmsMaintainwindowResult> getDmsMaintainwindow(GetDmsMaintainwindowArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: flexibleengine:index/getDmsMaintainwindow:getDmsMaintainwindow
  arguments:
    # arguments dictionary
Copy

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
Specifies a data source ID in UUID format.
Region string
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
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
Specifies a data source ID in UUID format.
Region string
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
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
Specifies a data source ID in UUID format.
region String
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
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
Specifies a data source ID in UUID format.
region string
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
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
Specifies a data source ID in UUID format.
region str
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
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
Specifies a data source ID in UUID format.
region String
The region in which to obtain the dms maintainwindows. If omitted, the provider-level region will be used.
seq Number
Indicates the sequential number of a maintenance time window.

getDmsMaintainwindow Result

The following output properties are available:

Begin string
Default bool
End string
Id string
Specifies a data source ID in UUID format.
Region string
Seq double
Begin string
Default bool
End string
Id string
Specifies a data source ID in UUID format.
Region string
Seq float64
begin String
default_ Boolean
end String
id String
Specifies a data source ID in UUID format.
region String
seq Double
begin string
default boolean
end string
id string
Specifies a data source ID in UUID format.
region string
seq number
begin str
default bool
end str
id str
Specifies a data source ID in UUID format.
region str
seq float
begin String
default Boolean
end String
id String
Specifies a data source ID in UUID format.
region String
seq Number

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud