UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

84 lines (83 loc) 2.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the ID of an available HuaweiCloud dms maintenance windows. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const maintainwindow1 = pulumi.output(huaweicloud.Dms.getMaintainwindow({ * seq: 1, * })); * ``` */ export declare function getMaintainwindow(args?: GetMaintainwindowArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintainwindowResult>; /** * A collection of arguments for invoking getMaintainwindow. */ export interface GetMaintainwindowArgs { /** * Indicates the time at which a maintenance time window starts. */ begin?: string; /** * Indicates whether a maintenance time window is set to the default time segment. */ default?: boolean; /** * Indicates the time at which a maintenance time window ends. */ end?: string; /** * The region in which to obtain the dms maintenance windows. If omitted, the provider-level * region will be used. */ region?: string; /** * Indicates the sequential number of a maintenance time window. */ seq?: number; } /** * A collection of values returned by getMaintainwindow. */ export interface GetMaintainwindowResult { readonly begin: string; readonly default: boolean; readonly end: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; readonly seq: number; } export declare function getMaintainwindowOutput(args?: GetMaintainwindowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaintainwindowResult>; /** * A collection of arguments for invoking getMaintainwindow. */ export interface GetMaintainwindowOutputArgs { /** * Indicates the time at which a maintenance time window starts. */ begin?: pulumi.Input<string>; /** * Indicates whether a maintenance time window is set to the default time segment. */ default?: pulumi.Input<boolean>; /** * Indicates the time at which a maintenance time window ends. */ end?: pulumi.Input<string>; /** * The region in which to obtain the dms maintenance windows. If omitted, the provider-level * region will be used. */ region?: pulumi.Input<string>; /** * Indicates the sequential number of a maintenance time window. */ seq?: pulumi.Input<number>; }