1. Packages
  2. Nutanix
  3. API Docs
  4. NdbMaintenanceWindow
Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg

nutanix.NdbMaintenanceWindow

Explore with Pulumi AI

Provides a resource to create maintenance window based on the input parameters.

Example Usage

resource to create weekly maintenance window

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";

const acctest_managed = new nutanix.NdbMaintenanceWindow("acctest-managed", {
    dayOfWeek: "TUESDAY",
    description: "desc",
    duration: 3,
    recurrence: "WEEKLY",
    startTime: "17:04:47",
});
Copy
import pulumi
import pulumi_nutanix as nutanix

acctest_managed = nutanix.NdbMaintenanceWindow("acctest-managed",
    day_of_week="TUESDAY",
    description="desc",
    duration=3,
    recurrence="WEEKLY",
    start_time="17:04:47")
Copy
package main

import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.NewNdbMaintenanceWindow(ctx, "acctest-managed", &nutanix.NdbMaintenanceWindowArgs{
			DayOfWeek:   pulumi.String("TUESDAY"),
			Description: pulumi.String("desc"),
			Duration:    pulumi.Int(3),
			Recurrence:  pulumi.String("WEEKLY"),
			StartTime:   pulumi.String("17:04:47"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;

return await Deployment.RunAsync(() => 
{
    var acctest_managed = new Nutanix.NdbMaintenanceWindow("acctest-managed", new()
    {
        DayOfWeek = "TUESDAY",
        Description = "desc",
        Duration = 3,
        Recurrence = "WEEKLY",
        StartTime = "17:04:47",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NdbMaintenanceWindow;
import com.pulumi.nutanix.NdbMaintenanceWindowArgs;
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 acctest_managed = new NdbMaintenanceWindow("acctest-managed", NdbMaintenanceWindowArgs.builder()
            .dayOfWeek("TUESDAY")
            .description("desc")
            .duration(3)
            .recurrence("WEEKLY")
            .startTime("17:04:47")
            .build());

    }
}
Copy
resources:
  acctest-managed:
    type: nutanix:NdbMaintenanceWindow
    properties:
      dayOfWeek: TUESDAY
      description: desc
      duration: 3
      recurrence: WEEKLY
      startTime: 17:04:47
Copy

resource to create monthly maintenance window

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";

const acctest_managed = new nutanix.NdbMaintenanceWindow("acctest-managed", {
    dayOfWeek: "TUESDAY",
    description: "description",
    duration: 2,
    recurrence: "MONTHLY",
    startTime: "17:04:47",
    weekOfMonth: 4,
});
Copy
import pulumi
import pulumi_nutanix as nutanix

acctest_managed = nutanix.NdbMaintenanceWindow("acctest-managed",
    day_of_week="TUESDAY",
    description="description",
    duration=2,
    recurrence="MONTHLY",
    start_time="17:04:47",
    week_of_month=4)
Copy
package main

import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.NewNdbMaintenanceWindow(ctx, "acctest-managed", &nutanix.NdbMaintenanceWindowArgs{
			DayOfWeek:   pulumi.String("TUESDAY"),
			Description: pulumi.String("description"),
			Duration:    pulumi.Int(2),
			Recurrence:  pulumi.String("MONTHLY"),
			StartTime:   pulumi.String("17:04:47"),
			WeekOfMonth: pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;

return await Deployment.RunAsync(() => 
{
    var acctest_managed = new Nutanix.NdbMaintenanceWindow("acctest-managed", new()
    {
        DayOfWeek = "TUESDAY",
        Description = "description",
        Duration = 2,
        Recurrence = "MONTHLY",
        StartTime = "17:04:47",
        WeekOfMonth = 4,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NdbMaintenanceWindow;
import com.pulumi.nutanix.NdbMaintenanceWindowArgs;
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 acctest_managed = new NdbMaintenanceWindow("acctest-managed", NdbMaintenanceWindowArgs.builder()
            .dayOfWeek("TUESDAY")
            .description("description")
            .duration(2)
            .recurrence("MONTHLY")
            .startTime("17:04:47")
            .weekOfMonth(4)
            .build());

    }
}
Copy
resources:
  acctest-managed:
    type: nutanix:NdbMaintenanceWindow
    properties:
      dayOfWeek: TUESDAY
      description: description
      duration: 2
      recurrence: MONTHLY
      startTime: 17:04:47
      weekOfMonth: 4
Copy

Create NdbMaintenanceWindow Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NdbMaintenanceWindow(name: string, args: NdbMaintenanceWindowArgs, opts?: CustomResourceOptions);
@overload
def NdbMaintenanceWindow(resource_name: str,
                         args: NdbMaintenanceWindowArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def NdbMaintenanceWindow(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         recurrence: Optional[str] = None,
                         start_time: Optional[str] = None,
                         day_of_week: Optional[str] = None,
                         description: Optional[str] = None,
                         duration: Optional[int] = None,
                         name: Optional[str] = None,
                         tags: Optional[Sequence[NdbMaintenanceWindowTagArgs]] = None,
                         timezone: Optional[str] = None,
                         week_of_month: Optional[int] = None)
func NewNdbMaintenanceWindow(ctx *Context, name string, args NdbMaintenanceWindowArgs, opts ...ResourceOption) (*NdbMaintenanceWindow, error)
public NdbMaintenanceWindow(string name, NdbMaintenanceWindowArgs args, CustomResourceOptions? opts = null)
public NdbMaintenanceWindow(String name, NdbMaintenanceWindowArgs args)
public NdbMaintenanceWindow(String name, NdbMaintenanceWindowArgs args, CustomResourceOptions options)
type: nutanix:NdbMaintenanceWindow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NdbMaintenanceWindowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NdbMaintenanceWindowArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NdbMaintenanceWindowArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NdbMaintenanceWindowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NdbMaintenanceWindowArgs
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 ndbMaintenanceWindowResource = new Nutanix.NdbMaintenanceWindow("ndbMaintenanceWindowResource", new()
{
    Recurrence = "string",
    StartTime = "string",
    DayOfWeek = "string",
    Description = "string",
    Duration = 0,
    Name = "string",
    Tags = new[]
    {
        new Nutanix.Inputs.NdbMaintenanceWindowTagArgs
        {
            EntityId = "string",
            EntityType = "string",
            TagId = "string",
            TagName = "string",
            Value = "string",
        },
    },
    Timezone = "string",
    WeekOfMonth = 0,
});
Copy
example, err := nutanix.NewNdbMaintenanceWindow(ctx, "ndbMaintenanceWindowResource", &nutanix.NdbMaintenanceWindowArgs{
	Recurrence:  pulumi.String("string"),
	StartTime:   pulumi.String("string"),
	DayOfWeek:   pulumi.String("string"),
	Description: pulumi.String("string"),
	Duration:    pulumi.Int(0),
	Name:        pulumi.String("string"),
	Tags: nutanix.NdbMaintenanceWindowTagArray{
		&nutanix.NdbMaintenanceWindowTagArgs{
			EntityId:   pulumi.String("string"),
			EntityType: pulumi.String("string"),
			TagId:      pulumi.String("string"),
			TagName:    pulumi.String("string"),
			Value:      pulumi.String("string"),
		},
	},
	Timezone:    pulumi.String("string"),
	WeekOfMonth: pulumi.Int(0),
})
Copy
var ndbMaintenanceWindowResource = new NdbMaintenanceWindow("ndbMaintenanceWindowResource", NdbMaintenanceWindowArgs.builder()
    .recurrence("string")
    .startTime("string")
    .dayOfWeek("string")
    .description("string")
    .duration(0)
    .name("string")
    .tags(NdbMaintenanceWindowTagArgs.builder()
        .entityId("string")
        .entityType("string")
        .tagId("string")
        .tagName("string")
        .value("string")
        .build())
    .timezone("string")
    .weekOfMonth(0)
    .build());
Copy
ndb_maintenance_window_resource = nutanix.NdbMaintenanceWindow("ndbMaintenanceWindowResource",
    recurrence="string",
    start_time="string",
    day_of_week="string",
    description="string",
    duration=0,
    name="string",
    tags=[{
        "entity_id": "string",
        "entity_type": "string",
        "tag_id": "string",
        "tag_name": "string",
        "value": "string",
    }],
    timezone="string",
    week_of_month=0)
Copy
const ndbMaintenanceWindowResource = new nutanix.NdbMaintenanceWindow("ndbMaintenanceWindowResource", {
    recurrence: "string",
    startTime: "string",
    dayOfWeek: "string",
    description: "string",
    duration: 0,
    name: "string",
    tags: [{
        entityId: "string",
        entityType: "string",
        tagId: "string",
        tagName: "string",
        value: "string",
    }],
    timezone: "string",
    weekOfMonth: 0,
});
Copy
type: nutanix:NdbMaintenanceWindow
properties:
    dayOfWeek: string
    description: string
    duration: 0
    name: string
    recurrence: string
    startTime: string
    tags:
        - entityId: string
          entityType: string
          tagId: string
          tagName: string
          value: string
    timezone: string
    weekOfMonth: 0
Copy

NdbMaintenanceWindow Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NdbMaintenanceWindow resource accepts the following input properties:

Recurrence This property is required. string
Supported values [ MONTHLY, WEEKLY ]
StartTime This property is required. string
start time for maintenance window to trigger
DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Description string
Description for maintenance window
Duration int
duration in hours. Default is 2
Name string
Name for the maintenance window.
Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowTag>
tags of maintenance window
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
Recurrence This property is required. string
Supported values [ MONTHLY, WEEKLY ]
StartTime This property is required. string
start time for maintenance window to trigger
DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Description string
Description for maintenance window
Duration int
duration in hours. Default is 2
Name string
Name for the maintenance window.
Tags []NdbMaintenanceWindowTagArgs
tags of maintenance window
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
recurrence This property is required. String
Supported values [ MONTHLY, WEEKLY ]
startTime This property is required. String
start time for maintenance window to trigger
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description String
Description for maintenance window
duration Integer
duration in hours. Default is 2
name String
Name for the maintenance window.
tags List<NdbMaintenanceWindowTag>
tags of maintenance window
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Integer
week of the month. Supports [1, 2, 3, 4] .
recurrence This property is required. string
Supported values [ MONTHLY, WEEKLY ]
startTime This property is required. string
start time for maintenance window to trigger
dayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description string
Description for maintenance window
duration number
duration in hours. Default is 2
name string
Name for the maintenance window.
tags NdbMaintenanceWindowTag[]
tags of maintenance window
timezone string
timezone . Default is Asia/Calcutta .
weekOfMonth number
week of the month. Supports [1, 2, 3, 4] .
recurrence This property is required. str
Supported values [ MONTHLY, WEEKLY ]
start_time This property is required. str
start time for maintenance window to trigger
day_of_week str
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description str
Description for maintenance window
duration int
duration in hours. Default is 2
name str
Name for the maintenance window.
tags Sequence[NdbMaintenanceWindowTagArgs]
tags of maintenance window
timezone str
timezone . Default is Asia/Calcutta .
week_of_month int
week of the month. Supports [1, 2, 3, 4] .
recurrence This property is required. String
Supported values [ MONTHLY, WEEKLY ]
startTime This property is required. String
start time for maintenance window to trigger
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description String
Description for maintenance window
duration Number
duration in hours. Default is 2
name String
Name for the maintenance window.
tags List<Property Map>
tags of maintenance window
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Number
week of the month. Supports [1, 2, 3, 4] .

Outputs

All input properties are implicitly available as output properties. Additionally, the NdbMaintenanceWindow resource produces the following output properties:

AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
EntityTaskAssocs List<PiersKarsenbarg.Nutanix.Outputs.NdbMaintenanceWindowEntityTaskAssoc>
entity task association for maintenance window
Id string
The provider-assigned unique ID for this managed resource.
NextRunTime string
next run time for maintenance window to trigger
OwnerId string
owner id of maintenance window
Properties List<PiersKarsenbarg.Nutanix.Outputs.NdbMaintenanceWindowProperty>
properties of maintenance window
Schedules List<PiersKarsenbarg.Nutanix.Outputs.NdbMaintenanceWindowSchedule>
schedule of maintenance window
Status string
status of maintennace window
AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
EntityTaskAssocs []NdbMaintenanceWindowEntityTaskAssoc
entity task association for maintenance window
Id string
The provider-assigned unique ID for this managed resource.
NextRunTime string
next run time for maintenance window to trigger
OwnerId string
owner id of maintenance window
Properties []NdbMaintenanceWindowProperty
properties of maintenance window
Schedules []NdbMaintenanceWindowSchedule
schedule of maintenance window
Status string
status of maintennace window
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
entityTaskAssocs List<NdbMaintenanceWindowEntityTaskAssoc>
entity task association for maintenance window
id String
The provider-assigned unique ID for this managed resource.
nextRunTime String
next run time for maintenance window to trigger
ownerId String
owner id of maintenance window
properties List<NdbMaintenanceWindowProperty>
properties of maintenance window
schedules List<NdbMaintenanceWindowSchedule>
schedule of maintenance window
status String
status of maintennace window
accessLevel string
access level
dateCreated string
created date of maintenance window
dateModified string
modified date of maintenance window
entityTaskAssocs NdbMaintenanceWindowEntityTaskAssoc[]
entity task association for maintenance window
id string
The provider-assigned unique ID for this managed resource.
nextRunTime string
next run time for maintenance window to trigger
ownerId string
owner id of maintenance window
properties NdbMaintenanceWindowProperty[]
properties of maintenance window
schedules NdbMaintenanceWindowSchedule[]
schedule of maintenance window
status string
status of maintennace window
access_level str
access level
date_created str
created date of maintenance window
date_modified str
modified date of maintenance window
entity_task_assocs Sequence[NdbMaintenanceWindowEntityTaskAssoc]
entity task association for maintenance window
id str
The provider-assigned unique ID for this managed resource.
next_run_time str
next run time for maintenance window to trigger
owner_id str
owner id of maintenance window
properties Sequence[NdbMaintenanceWindowProperty]
properties of maintenance window
schedules Sequence[NdbMaintenanceWindowSchedule]
schedule of maintenance window
status str
status of maintennace window
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
entityTaskAssocs List<Property Map>
entity task association for maintenance window
id String
The provider-assigned unique ID for this managed resource.
nextRunTime String
next run time for maintenance window to trigger
ownerId String
owner id of maintenance window
properties List<Property Map>
properties of maintenance window
schedules List<Property Map>
schedule of maintenance window
status String
status of maintennace window

Look up Existing NdbMaintenanceWindow Resource

Get an existing NdbMaintenanceWindow 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?: NdbMaintenanceWindowState, opts?: CustomResourceOptions): NdbMaintenanceWindow
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_level: Optional[str] = None,
        date_created: Optional[str] = None,
        date_modified: Optional[str] = None,
        day_of_week: Optional[str] = None,
        description: Optional[str] = None,
        duration: Optional[int] = None,
        entity_task_assocs: Optional[Sequence[NdbMaintenanceWindowEntityTaskAssocArgs]] = None,
        name: Optional[str] = None,
        next_run_time: Optional[str] = None,
        owner_id: Optional[str] = None,
        properties: Optional[Sequence[NdbMaintenanceWindowPropertyArgs]] = None,
        recurrence: Optional[str] = None,
        schedules: Optional[Sequence[NdbMaintenanceWindowScheduleArgs]] = None,
        start_time: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[NdbMaintenanceWindowTagArgs]] = None,
        timezone: Optional[str] = None,
        week_of_month: Optional[int] = None) -> NdbMaintenanceWindow
func GetNdbMaintenanceWindow(ctx *Context, name string, id IDInput, state *NdbMaintenanceWindowState, opts ...ResourceOption) (*NdbMaintenanceWindow, error)
public static NdbMaintenanceWindow Get(string name, Input<string> id, NdbMaintenanceWindowState? state, CustomResourceOptions? opts = null)
public static NdbMaintenanceWindow get(String name, Output<String> id, NdbMaintenanceWindowState state, CustomResourceOptions options)
resources:  _:    type: nutanix:NdbMaintenanceWindow    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Description string
Description for maintenance window
Duration int
duration in hours. Default is 2
EntityTaskAssocs List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowEntityTaskAssoc>
entity task association for maintenance window
Name string
Name for the maintenance window.
NextRunTime string
next run time for maintenance window to trigger
OwnerId string
owner id of maintenance window
Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowProperty>
properties of maintenance window
Recurrence string
Supported values [ MONTHLY, WEEKLY ]
Schedules List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowSchedule>
schedule of maintenance window
StartTime string
start time for maintenance window to trigger
Status string
status of maintennace window
Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowTag>
tags of maintenance window
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Description string
Description for maintenance window
Duration int
duration in hours. Default is 2
EntityTaskAssocs []NdbMaintenanceWindowEntityTaskAssocArgs
entity task association for maintenance window
Name string
Name for the maintenance window.
NextRunTime string
next run time for maintenance window to trigger
OwnerId string
owner id of maintenance window
Properties []NdbMaintenanceWindowPropertyArgs
properties of maintenance window
Recurrence string
Supported values [ MONTHLY, WEEKLY ]
Schedules []NdbMaintenanceWindowScheduleArgs
schedule of maintenance window
StartTime string
start time for maintenance window to trigger
Status string
status of maintennace window
Tags []NdbMaintenanceWindowTagArgs
tags of maintenance window
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description String
Description for maintenance window
duration Integer
duration in hours. Default is 2
entityTaskAssocs List<NdbMaintenanceWindowEntityTaskAssoc>
entity task association for maintenance window
name String
Name for the maintenance window.
nextRunTime String
next run time for maintenance window to trigger
ownerId String
owner id of maintenance window
properties List<NdbMaintenanceWindowProperty>
properties of maintenance window
recurrence String
Supported values [ MONTHLY, WEEKLY ]
schedules List<NdbMaintenanceWindowSchedule>
schedule of maintenance window
startTime String
start time for maintenance window to trigger
status String
status of maintennace window
tags List<NdbMaintenanceWindowTag>
tags of maintenance window
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Integer
week of the month. Supports [1, 2, 3, 4] .
accessLevel string
access level
dateCreated string
created date of maintenance window
dateModified string
modified date of maintenance window
dayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description string
Description for maintenance window
duration number
duration in hours. Default is 2
entityTaskAssocs NdbMaintenanceWindowEntityTaskAssoc[]
entity task association for maintenance window
name string
Name for the maintenance window.
nextRunTime string
next run time for maintenance window to trigger
ownerId string
owner id of maintenance window
properties NdbMaintenanceWindowProperty[]
properties of maintenance window
recurrence string
Supported values [ MONTHLY, WEEKLY ]
schedules NdbMaintenanceWindowSchedule[]
schedule of maintenance window
startTime string
start time for maintenance window to trigger
status string
status of maintennace window
tags NdbMaintenanceWindowTag[]
tags of maintenance window
timezone string
timezone . Default is Asia/Calcutta .
weekOfMonth number
week of the month. Supports [1, 2, 3, 4] .
access_level str
access level
date_created str
created date of maintenance window
date_modified str
modified date of maintenance window
day_of_week str
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description str
Description for maintenance window
duration int
duration in hours. Default is 2
entity_task_assocs Sequence[NdbMaintenanceWindowEntityTaskAssocArgs]
entity task association for maintenance window
name str
Name for the maintenance window.
next_run_time str
next run time for maintenance window to trigger
owner_id str
owner id of maintenance window
properties Sequence[NdbMaintenanceWindowPropertyArgs]
properties of maintenance window
recurrence str
Supported values [ MONTHLY, WEEKLY ]
schedules Sequence[NdbMaintenanceWindowScheduleArgs]
schedule of maintenance window
start_time str
start time for maintenance window to trigger
status str
status of maintennace window
tags Sequence[NdbMaintenanceWindowTagArgs]
tags of maintenance window
timezone str
timezone . Default is Asia/Calcutta .
week_of_month int
week of the month. Supports [1, 2, 3, 4] .
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
description String
Description for maintenance window
duration Number
duration in hours. Default is 2
entityTaskAssocs List<Property Map>
entity task association for maintenance window
name String
Name for the maintenance window.
nextRunTime String
next run time for maintenance window to trigger
ownerId String
owner id of maintenance window
properties List<Property Map>
properties of maintenance window
recurrence String
Supported values [ MONTHLY, WEEKLY ]
schedules List<Property Map>
schedule of maintenance window
startTime String
start time for maintenance window to trigger
status String
status of maintennace window
tags List<Property Map>
tags of maintenance window
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Number
week of the month. Supports [1, 2, 3, 4] .

Supporting Types

NdbMaintenanceWindowEntityTaskAssoc
, NdbMaintenanceWindowEntityTaskAssocArgs

AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
Description string
Description for maintenance window
Entity string
EntityId string
EntityType string
Id string
MaintenanceWindowId string
MaintenanceWindowOwnerId string
Name string
Name for the maintenance window.
OwnerId string
owner id of maintenance window
Payloads List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowEntityTaskAssocPayload>
Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowEntityTaskAssocProperty>
properties of maintenance window
Status string
status of maintennace window
Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceWindowEntityTaskAssocTag>
tags of maintenance window
TaskType string
AccessLevel string
access level
DateCreated string
created date of maintenance window
DateModified string
modified date of maintenance window
Description string
Description for maintenance window
Entity string
EntityId string
EntityType string
Id string
MaintenanceWindowId string
MaintenanceWindowOwnerId string
Name string
Name for the maintenance window.
OwnerId string
owner id of maintenance window
Payloads []NdbMaintenanceWindowEntityTaskAssocPayload
Properties []NdbMaintenanceWindowEntityTaskAssocProperty
properties of maintenance window
Status string
status of maintennace window
Tags []NdbMaintenanceWindowEntityTaskAssocTag
tags of maintenance window
TaskType string
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
description String
Description for maintenance window
entity String
entityId String
entityType String
id String
maintenanceWindowId String
maintenanceWindowOwnerId String
name String
Name for the maintenance window.
ownerId String
owner id of maintenance window
payloads List<NdbMaintenanceWindowEntityTaskAssocPayload>
properties List<NdbMaintenanceWindowEntityTaskAssocProperty>
properties of maintenance window
status String
status of maintennace window
tags List<NdbMaintenanceWindowEntityTaskAssocTag>
tags of maintenance window
taskType String
accessLevel string
access level
dateCreated string
created date of maintenance window
dateModified string
modified date of maintenance window
description string
Description for maintenance window
entity string
entityId string
entityType string
id string
maintenanceWindowId string
maintenanceWindowOwnerId string
name string
Name for the maintenance window.
ownerId string
owner id of maintenance window
payloads NdbMaintenanceWindowEntityTaskAssocPayload[]
properties NdbMaintenanceWindowEntityTaskAssocProperty[]
properties of maintenance window
status string
status of maintennace window
tags NdbMaintenanceWindowEntityTaskAssocTag[]
tags of maintenance window
taskType string
access_level str
access level
date_created str
created date of maintenance window
date_modified str
modified date of maintenance window
description str
Description for maintenance window
entity str
entity_id str
entity_type str
id str
maintenance_window_id str
maintenance_window_owner_id str
name str
Name for the maintenance window.
owner_id str
owner id of maintenance window
payloads Sequence[NdbMaintenanceWindowEntityTaskAssocPayload]
properties Sequence[NdbMaintenanceWindowEntityTaskAssocProperty]
properties of maintenance window
status str
status of maintennace window
tags Sequence[NdbMaintenanceWindowEntityTaskAssocTag]
tags of maintenance window
task_type str
accessLevel String
access level
dateCreated String
created date of maintenance window
dateModified String
modified date of maintenance window
description String
Description for maintenance window
entity String
entityId String
entityType String
id String
maintenanceWindowId String
maintenanceWindowOwnerId String
name String
Name for the maintenance window.
ownerId String
owner id of maintenance window
payloads List<Property Map>
properties List<Property Map>
properties of maintenance window
status String
status of maintennace window
tags List<Property Map>
tags of maintenance window
taskType String

NdbMaintenanceWindowEntityTaskAssocPayload
, NdbMaintenanceWindowEntityTaskAssocPayloadArgs

NdbMaintenanceWindowEntityTaskAssocPayloadPrePostCommand
, NdbMaintenanceWindowEntityTaskAssocPayloadPrePostCommandArgs

PostCommand string
PreCommand string
PostCommand string
PreCommand string
postCommand String
preCommand String
postCommand string
preCommand string
postCommand String
preCommand String

NdbMaintenanceWindowEntityTaskAssocProperty
, NdbMaintenanceWindowEntityTaskAssocPropertyArgs

Name string
Name for the maintenance window.
Value string
Name string
Name for the maintenance window.
Value string
name String
Name for the maintenance window.
value String
name string
Name for the maintenance window.
value string
name str
Name for the maintenance window.
value str
name String
Name for the maintenance window.
value String

NdbMaintenanceWindowEntityTaskAssocTag
, NdbMaintenanceWindowEntityTaskAssocTagArgs

EntityId string
EntityType string
TagId string
TagName string
Value string
EntityId string
EntityType string
TagId string
TagName string
Value string
entityId String
entityType String
tagId String
tagName String
value String
entityId string
entityType string
tagId string
tagName string
value string
entityId String
entityType String
tagId String
tagName String
value String

NdbMaintenanceWindowProperty
, NdbMaintenanceWindowPropertyArgs

Name string
Name for the maintenance window.
Value string
Name string
Name for the maintenance window.
Value string
name String
Name for the maintenance window.
value String
name string
Name for the maintenance window.
value string
name str
Name for the maintenance window.
value str
name String
Name for the maintenance window.
value String

NdbMaintenanceWindowSchedule
, NdbMaintenanceWindowScheduleArgs

DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Duration int
duration in hours. Default is 2
Hour int
Minute int
Recurrence string
Supported values [ MONTHLY, WEEKLY ]
StartTime string
start time for maintenance window to trigger
Threshold string
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
DayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
Duration int
duration in hours. Default is 2
Hour int
Minute int
Recurrence string
Supported values [ MONTHLY, WEEKLY ]
StartTime string
start time for maintenance window to trigger
Threshold string
Timezone string
timezone . Default is Asia/Calcutta .
WeekOfMonth int
week of the month. Supports [1, 2, 3, 4] .
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
duration Integer
duration in hours. Default is 2
hour Integer
minute Integer
recurrence String
Supported values [ MONTHLY, WEEKLY ]
startTime String
start time for maintenance window to trigger
threshold String
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Integer
week of the month. Supports [1, 2, 3, 4] .
dayOfWeek string
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
duration number
duration in hours. Default is 2
hour number
minute number
recurrence string
Supported values [ MONTHLY, WEEKLY ]
startTime string
start time for maintenance window to trigger
threshold string
timezone string
timezone . Default is Asia/Calcutta .
weekOfMonth number
week of the month. Supports [1, 2, 3, 4] .
day_of_week str
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
duration int
duration in hours. Default is 2
hour int
minute int
recurrence str
Supported values [ MONTHLY, WEEKLY ]
start_time str
start time for maintenance window to trigger
threshold str
timezone str
timezone . Default is Asia/Calcutta .
week_of_month int
week of the month. Supports [1, 2, 3, 4] .
dayOfWeek String
Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ]
duration Number
duration in hours. Default is 2
hour Number
minute Number
recurrence String
Supported values [ MONTHLY, WEEKLY ]
startTime String
start time for maintenance window to trigger
threshold String
timezone String
timezone . Default is Asia/Calcutta .
weekOfMonth Number
week of the month. Supports [1, 2, 3, 4] .

NdbMaintenanceWindowTag
, NdbMaintenanceWindowTagArgs

EntityId string
EntityType string
TagId string
TagName string
Value string
EntityId string
EntityType string
TagId string
TagName string
Value string
entityId String
entityType String
tagId String
tagName String
value String
entityId string
entityType string
tagId string
tagName string
value string
entityId String
entityType String
tagId String
tagName String
value String

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.