wavefront.MaintenanceWindow
Explore with Pulumi AI
Provides a Wavefront Maintenance Window Resource. This allows maintenance windows to be created, updated, and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
const basic = new wavefront.MaintenanceWindow("basic", {
reason: "Routine maintenance for 2020",
title: "Routine maintenance",
startTimeInSeconds: 1600123456,
endTimeInSeconds: 1601123456,
relevantHostNames: [
"my_hostname",
"my_other_hostname",
],
});
import pulumi
import pulumi_wavefront as wavefront
basic = wavefront.MaintenanceWindow("basic",
reason="Routine maintenance for 2020",
title="Routine maintenance",
start_time_in_seconds=1600123456,
end_time_in_seconds=1601123456,
relevant_host_names=[
"my_hostname",
"my_other_hostname",
])
package main
import (
"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := wavefront.NewMaintenanceWindow(ctx, "basic", &wavefront.MaintenanceWindowArgs{
Reason: pulumi.String("Routine maintenance for 2020"),
Title: pulumi.String("Routine maintenance"),
StartTimeInSeconds: pulumi.Int(1600123456),
EndTimeInSeconds: pulumi.Int(1601123456),
RelevantHostNames: pulumi.StringArray{
pulumi.String("my_hostname"),
pulumi.String("my_other_hostname"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() =>
{
var basic = new Wavefront.MaintenanceWindow("basic", new()
{
Reason = "Routine maintenance for 2020",
Title = "Routine maintenance",
StartTimeInSeconds = 1600123456,
EndTimeInSeconds = 1601123456,
RelevantHostNames = new[]
{
"my_hostname",
"my_other_hostname",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.MaintenanceWindow;
import com.pulumi.wavefront.MaintenanceWindowArgs;
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) {
var basic = new MaintenanceWindow("basic", MaintenanceWindowArgs.builder()
.reason("Routine maintenance for 2020")
.title("Routine maintenance")
.startTimeInSeconds(1600123456)
.endTimeInSeconds(1601123456)
.relevantHostNames(
"my_hostname",
"my_other_hostname")
.build());
}
}
resources:
basic:
type: wavefront:MaintenanceWindow
properties:
reason: Routine maintenance for 2020
title: Routine maintenance
startTimeInSeconds: 1.600123456e+09
endTimeInSeconds: 1.601123456e+09
relevantHostNames:
- my_hostname
- my_other_hostname
Create MaintenanceWindow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MaintenanceWindow(name: string, args: MaintenanceWindowArgs, opts?: CustomResourceOptions);
@overload
def MaintenanceWindow(resource_name: str,
args: MaintenanceWindowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MaintenanceWindow(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_time_in_seconds: Optional[int] = None,
reason: Optional[str] = None,
start_time_in_seconds: Optional[int] = None,
title: Optional[str] = None,
host_tag_group_host_names_group_anded: Optional[bool] = None,
relevant_customer_tags: Optional[Sequence[str]] = None,
relevant_host_names: Optional[Sequence[str]] = None,
relevant_host_tags: Optional[Sequence[str]] = None,
relevant_host_tags_anded: Optional[bool] = None)
func NewMaintenanceWindow(ctx *Context, name string, args MaintenanceWindowArgs, opts ...ResourceOption) (*MaintenanceWindow, error)
public MaintenanceWindow(string name, MaintenanceWindowArgs args, CustomResourceOptions? opts = null)
public MaintenanceWindow(String name, MaintenanceWindowArgs args)
public MaintenanceWindow(String name, MaintenanceWindowArgs args, CustomResourceOptions options)
type: wavefront:MaintenanceWindow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var maintenanceWindowResource = new Wavefront.MaintenanceWindow("maintenanceWindowResource", new()
{
EndTimeInSeconds = 0,
Reason = "string",
StartTimeInSeconds = 0,
Title = "string",
HostTagGroupHostNamesGroupAnded = false,
RelevantCustomerTags = new[]
{
"string",
},
RelevantHostNames = new[]
{
"string",
},
RelevantHostTags = new[]
{
"string",
},
RelevantHostTagsAnded = false,
});
example, err := wavefront.NewMaintenanceWindow(ctx, "maintenanceWindowResource", &wavefront.MaintenanceWindowArgs{
EndTimeInSeconds: pulumi.Int(0),
Reason: pulumi.String("string"),
StartTimeInSeconds: pulumi.Int(0),
Title: pulumi.String("string"),
HostTagGroupHostNamesGroupAnded: pulumi.Bool(false),
RelevantCustomerTags: pulumi.StringArray{
pulumi.String("string"),
},
RelevantHostNames: pulumi.StringArray{
pulumi.String("string"),
},
RelevantHostTags: pulumi.StringArray{
pulumi.String("string"),
},
RelevantHostTagsAnded: pulumi.Bool(false),
})
var maintenanceWindowResource = new MaintenanceWindow("maintenanceWindowResource", MaintenanceWindowArgs.builder()
.endTimeInSeconds(0)
.reason("string")
.startTimeInSeconds(0)
.title("string")
.hostTagGroupHostNamesGroupAnded(false)
.relevantCustomerTags("string")
.relevantHostNames("string")
.relevantHostTags("string")
.relevantHostTagsAnded(false)
.build());
maintenance_window_resource = wavefront.MaintenanceWindow("maintenanceWindowResource",
end_time_in_seconds=0,
reason="string",
start_time_in_seconds=0,
title="string",
host_tag_group_host_names_group_anded=False,
relevant_customer_tags=["string"],
relevant_host_names=["string"],
relevant_host_tags=["string"],
relevant_host_tags_anded=False)
const maintenanceWindowResource = new wavefront.MaintenanceWindow("maintenanceWindowResource", {
endTimeInSeconds: 0,
reason: "string",
startTimeInSeconds: 0,
title: "string",
hostTagGroupHostNamesGroupAnded: false,
relevantCustomerTags: ["string"],
relevantHostNames: ["string"],
relevantHostTags: ["string"],
relevantHostTagsAnded: false,
});
type: wavefront:MaintenanceWindow
properties:
endTimeInSeconds: 0
hostTagGroupHostNamesGroupAnded: false
reason: string
relevantCustomerTags:
- string
relevantHostNames:
- string
relevantHostTags:
- string
relevantHostTagsAnded: false
startTimeInSeconds: 0
title: string
MaintenanceWindow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MaintenanceWindow resource accepts the following input properties:
- End
Time intIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- Reason string
- The reason for the maintenance window.
- Start
Time intIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- Title string
- The title of the maintenance window.
- Host
Tag boolGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - List<string>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Relevant
Host List<string>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<string>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
- End
Time intIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- Reason string
- The reason for the maintenance window.
- Start
Time intIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- Title string
- The title of the maintenance window.
- Host
Tag boolGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - []string
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Relevant
Host []stringNames - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - []string
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
- end
Time IntegerIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- reason String
- The reason for the maintenance window.
- start
Time IntegerIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title String
- The title of the maintenance window.
- host
Tag BooleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - List<String>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host List<String>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<String>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
- end
Time numberIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- reason string
- The reason for the maintenance window.
- start
Time numberIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title string
- The title of the maintenance window.
- host
Tag booleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - string[]
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host string[]Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - string[]
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
- end_
time_ intin_ seconds - end time in seconds after 1 Jan 1970 GMT.
- reason str
- The reason for the maintenance window.
- start_
time_ intin_ seconds - start time in seconds after 1 Jan 1970 GMT.
- title str
- The title of the maintenance window.
- host_
tag_ boolgroup_ host_ names_ group_ anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - Sequence[str]
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant_
host_ Sequence[str]names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Sequence[str]
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
- end
Time NumberIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- reason String
- The reason for the maintenance window.
- start
Time NumberIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title String
- The title of the maintenance window.
- host
Tag BooleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - List<String>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host List<String>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<String>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
.
Outputs
All input properties are implicitly available as output properties. Additionally, the MaintenanceWindow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MaintenanceWindow Resource
Get an existing MaintenanceWindow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MaintenanceWindowState, opts?: CustomResourceOptions): MaintenanceWindow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
end_time_in_seconds: Optional[int] = None,
host_tag_group_host_names_group_anded: Optional[bool] = None,
reason: Optional[str] = None,
relevant_customer_tags: Optional[Sequence[str]] = None,
relevant_host_names: Optional[Sequence[str]] = None,
relevant_host_tags: Optional[Sequence[str]] = None,
relevant_host_tags_anded: Optional[bool] = None,
start_time_in_seconds: Optional[int] = None,
title: Optional[str] = None) -> MaintenanceWindow
func GetMaintenanceWindow(ctx *Context, name string, id IDInput, state *MaintenanceWindowState, opts ...ResourceOption) (*MaintenanceWindow, error)
public static MaintenanceWindow Get(string name, Input<string> id, MaintenanceWindowState? state, CustomResourceOptions? opts = null)
public static MaintenanceWindow get(String name, Output<String> id, MaintenanceWindowState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- End
Time intIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- Host
Tag boolGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - Reason string
- The reason for the maintenance window.
- List<string>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Relevant
Host List<string>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<string>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - Start
Time intIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- Title string
- The title of the maintenance window.
- End
Time intIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- Host
Tag boolGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - Reason string
- The reason for the maintenance window.
- []string
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Relevant
Host []stringNames - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - []string
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - Start
Time intIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- Title string
- The title of the maintenance window.
- end
Time IntegerIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- host
Tag BooleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - reason String
- The reason for the maintenance window.
- List<String>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host List<String>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<String>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - start
Time IntegerIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title String
- The title of the maintenance window.
- end
Time numberIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- host
Tag booleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - reason string
- The reason for the maintenance window.
- string[]
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host string[]Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - string[]
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - start
Time numberIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title string
- The title of the maintenance window.
- end_
time_ intin_ seconds - end time in seconds after 1 Jan 1970 GMT.
- host_
tag_ boolgroup_ host_ names_ group_ anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - reason str
- The reason for the maintenance window.
- Sequence[str]
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant_
host_ Sequence[str]names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Sequence[str]
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - bool
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - start_
time_ intin_ seconds - start time in seconds after 1 Jan 1970 GMT.
- title str
- The title of the maintenance window.
- end
Time NumberIn Seconds - end time in seconds after 1 Jan 1970 GMT.
- host
Tag BooleanGroup Host Names Group Anded - If
true
, a source/host must be inrelevant_host_names
and have tags matching the specification formed byrelevant_host_tags
andrelevant_host_tags_anded
in order for this maintenance window to apply. Iffalse
, a source/host must either be inrelevant_host_names
or matchrelevant_host_tags
andrelevant_host_tags_anded
. Default:false
. - reason String
- The reason for the maintenance window.
- List<String>
- List of alert tags whose matching alerts will be put into maintenance because
of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - relevant
Host List<String>Names - List of source/host names that will be put into maintenance because of this
maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - List<String>
- List of source/host tags whose matching sources/hosts will be put into maintenance
because of this maintenance window. At least one of
relevant_customer_tags
,relevant_host_tags
, orrelevant_host_names
is required. - Boolean
- Whether to AND source/host tags listed in
relevant_host_tags
. Iftrue
, a source/host must contain all tags in order for the maintenance window to apply. Iffalse
, the tags are OR'ed, and a source/host must contain one of the tags. Default:false
. - start
Time NumberIn Seconds - start time in seconds after 1 Jan 1970 GMT.
- title String
- The title of the maintenance window.
Import
Maintenance windows can be imported using the id
, e.g.
$ pulumi import wavefront:index/maintenanceWindow:MaintenanceWindow basic 1600383357095
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Wavefront pulumi/pulumi-wavefront
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
wavefront
Terraform Provider.