1. Packages
  2. Wavefront
  3. API Docs
  4. MaintenanceWindow
Wavefront v3.1.1 published on Monday, Mar 11, 2024 by Pulumi

wavefront.MaintenanceWindow

Explore with Pulumi AI

wavefront logo
Wavefront v3.1.1 published on Monday, Mar 11, 2024 by Pulumi

    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", {
        endTimeInSeconds: 1601123456,
        reason: "Routine maintenance for 2020",
        relevantHostNames: [
            "my_hostname",
            "my_other_hostname",
        ],
        startTimeInSeconds: 1600123456,
        title: "Routine maintenance",
    });
    
    import pulumi
    import pulumi_wavefront as wavefront
    
    basic = wavefront.MaintenanceWindow("basic",
        end_time_in_seconds=1601123456,
        reason="Routine maintenance for 2020",
        relevant_host_names=[
            "my_hostname",
            "my_other_hostname",
        ],
        start_time_in_seconds=1600123456,
        title="Routine maintenance")
    
    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{
    			EndTimeInSeconds: pulumi.Int(1601123456),
    			Reason:           pulumi.String("Routine maintenance for 2020"),
    			RelevantHostNames: pulumi.StringArray{
    				pulumi.String("my_hostname"),
    				pulumi.String("my_other_hostname"),
    			},
    			StartTimeInSeconds: pulumi.Int(1600123456),
    			Title:              pulumi.String("Routine maintenance"),
    		})
    		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()
        {
            EndTimeInSeconds = 1601123456,
            Reason = "Routine maintenance for 2020",
            RelevantHostNames = new[]
            {
                "my_hostname",
                "my_other_hostname",
            },
            StartTimeInSeconds = 1600123456,
            Title = "Routine maintenance",
        });
    
    });
    
    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()        
                .endTimeInSeconds(1601123456)
                .reason("Routine maintenance for 2020")
                .relevantHostNames(            
                    "my_hostname",
                    "my_other_hostname")
                .startTimeInSeconds(1600123456)
                .title("Routine maintenance")
                .build());
    
        }
    }
    
    resources:
      basic:
        type: wavefront:MaintenanceWindow
        properties:
          endTimeInSeconds: 1.601123456e+09
          reason: Routine maintenance for 2020
          relevantHostNames:
            - my_hostname
            - my_other_hostname
          startTimeInSeconds: 1.600123456e+09
          title: Routine maintenance
    

    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.

    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:

    EndTimeInSeconds int
    end time in seconds after 1 Jan 1970 GMT.
    Reason string
    The reason for the maintenance window.
    StartTimeInSeconds int
    start time in seconds after 1 Jan 1970 GMT.
    Title string
    The title of the maintenance window.
    HostTagGroupHostNamesGroupAnded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    RelevantCustomerTags 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, or relevant_host_names is required.
    RelevantHostNames List<string>
    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, or relevant_host_names is required.
    RelevantHostTags 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, or relevant_host_names is required.
    RelevantHostTagsAnded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    EndTimeInSeconds int
    end time in seconds after 1 Jan 1970 GMT.
    Reason string
    The reason for the maintenance window.
    StartTimeInSeconds int
    start time in seconds after 1 Jan 1970 GMT.
    Title string
    The title of the maintenance window.
    HostTagGroupHostNamesGroupAnded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    RelevantCustomerTags []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, or relevant_host_names is required.
    RelevantHostNames []string
    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, or relevant_host_names is required.
    RelevantHostTags []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, or relevant_host_names is required.
    RelevantHostTagsAnded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    endTimeInSeconds Integer
    end time in seconds after 1 Jan 1970 GMT.
    reason String
    The reason for the maintenance window.
    startTimeInSeconds Integer
    start time in seconds after 1 Jan 1970 GMT.
    title String
    The title of the maintenance window.
    hostTagGroupHostNamesGroupAnded Boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames List<String>
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded Boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    endTimeInSeconds number
    end time in seconds after 1 Jan 1970 GMT.
    reason string
    The reason for the maintenance window.
    startTimeInSeconds number
    start time in seconds after 1 Jan 1970 GMT.
    title string
    The title of the maintenance window.
    hostTagGroupHostNamesGroupAnded boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames string[]
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    end_time_in_seconds int
    end time in seconds after 1 Jan 1970 GMT.
    reason str
    The reason for the maintenance window.
    start_time_in_seconds int
    start time in seconds after 1 Jan 1970 GMT.
    title str
    The title of the maintenance window.
    host_tag_group_host_names_group_anded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    relevant_customer_tags 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, or relevant_host_names is required.
    relevant_host_names Sequence[str]
    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, or relevant_host_names is required.
    relevant_host_tags 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, or relevant_host_names is required.
    relevant_host_tags_anded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    endTimeInSeconds Number
    end time in seconds after 1 Jan 1970 GMT.
    reason String
    The reason for the maintenance window.
    startTimeInSeconds Number
    start time in seconds after 1 Jan 1970 GMT.
    title String
    The title of the maintenance window.
    hostTagGroupHostNamesGroupAnded Boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames List<String>
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded Boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, 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.
    The following state arguments are supported:
    EndTimeInSeconds int
    end time in seconds after 1 Jan 1970 GMT.
    HostTagGroupHostNamesGroupAnded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    Reason string
    The reason for the maintenance window.
    RelevantCustomerTags 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, or relevant_host_names is required.
    RelevantHostNames List<string>
    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, or relevant_host_names is required.
    RelevantHostTags 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, or relevant_host_names is required.
    RelevantHostTagsAnded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    StartTimeInSeconds int
    start time in seconds after 1 Jan 1970 GMT.
    Title string
    The title of the maintenance window.
    EndTimeInSeconds int
    end time in seconds after 1 Jan 1970 GMT.
    HostTagGroupHostNamesGroupAnded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    Reason string
    The reason for the maintenance window.
    RelevantCustomerTags []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, or relevant_host_names is required.
    RelevantHostNames []string
    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, or relevant_host_names is required.
    RelevantHostTags []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, or relevant_host_names is required.
    RelevantHostTagsAnded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    StartTimeInSeconds int
    start time in seconds after 1 Jan 1970 GMT.
    Title string
    The title of the maintenance window.
    endTimeInSeconds Integer
    end time in seconds after 1 Jan 1970 GMT.
    hostTagGroupHostNamesGroupAnded Boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    reason String
    The reason for the maintenance window.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames List<String>
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded Boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    startTimeInSeconds Integer
    start time in seconds after 1 Jan 1970 GMT.
    title String
    The title of the maintenance window.
    endTimeInSeconds number
    end time in seconds after 1 Jan 1970 GMT.
    hostTagGroupHostNamesGroupAnded boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    reason string
    The reason for the maintenance window.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames string[]
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    startTimeInSeconds number
    start time in seconds after 1 Jan 1970 GMT.
    title string
    The title of the maintenance window.
    end_time_in_seconds int
    end time in seconds after 1 Jan 1970 GMT.
    host_tag_group_host_names_group_anded bool
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    reason str
    The reason for the maintenance window.
    relevant_customer_tags 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, or relevant_host_names is required.
    relevant_host_names Sequence[str]
    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, or relevant_host_names is required.
    relevant_host_tags 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, or relevant_host_names is required.
    relevant_host_tags_anded bool
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    start_time_in_seconds int
    start time in seconds after 1 Jan 1970 GMT.
    title str
    The title of the maintenance window.
    endTimeInSeconds Number
    end time in seconds after 1 Jan 1970 GMT.
    hostTagGroupHostNamesGroupAnded Boolean
    If true, a source/host must be in relevant_host_names and have tags matching the specification formed by relevant_host_tags and relevant_host_tags_anded in order for this maintenance window to apply. If false, a source/host must either be in relevant_host_names or match relevant_host_tags and relevant_host_tags_anded. Default: false.
    reason String
    The reason for the maintenance window.
    relevantCustomerTags 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, or relevant_host_names is required.
    relevantHostNames List<String>
    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, or relevant_host_names is required.
    relevantHostTags 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, or relevant_host_names is required.
    relevantHostTagsAnded Boolean
    Whether to AND source/host tags listed in relevant_host_tags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false.
    startTimeInSeconds Number
    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.
    wavefront logo
    Wavefront v3.1.1 published on Monday, Mar 11, 2024 by Pulumi