1. Packages
  2. Nutanix
  3. API Docs
  4. getNdbMaintenanceWindows
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.getNdbMaintenanceWindows

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    List of maintenance windows in Nutanix Database Service

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const windows = nutanix.getNdbMaintenanceWindows({});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    windows = nutanix.get_ndb_maintenance_windows()
    
    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.GetNdbMaintenanceWindows(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var windows = Nutanix.GetNdbMaintenanceWindows.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NutanixFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var windows = NutanixFunctions.getNdbMaintenanceWindows();
    
        }
    }
    
    variables:
      windows:
        fn::invoke:
          Function: nutanix:getNdbMaintenanceWindows
          Arguments: {}
    

    Using getNdbMaintenanceWindows

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNdbMaintenanceWindows(opts?: InvokeOptions): Promise<GetNdbMaintenanceWindowsResult>
    function getNdbMaintenanceWindowsOutput(opts?: InvokeOptions): Output<GetNdbMaintenanceWindowsResult>
    def get_ndb_maintenance_windows(opts: Optional[InvokeOptions] = None) -> GetNdbMaintenanceWindowsResult
    def get_ndb_maintenance_windows_output(opts: Optional[InvokeOptions] = None) -> Output[GetNdbMaintenanceWindowsResult]
    func GetNdbMaintenanceWindows(ctx *Context, opts ...InvokeOption) (*GetNdbMaintenanceWindowsResult, error)
    func GetNdbMaintenanceWindowsOutput(ctx *Context, opts ...InvokeOption) GetNdbMaintenanceWindowsResultOutput

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

    public static class GetNdbMaintenanceWindows 
    {
        public static Task<GetNdbMaintenanceWindowsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetNdbMaintenanceWindowsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNdbMaintenanceWindowsResult> getNdbMaintenanceWindows(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nutanix:index/getNdbMaintenanceWindows:getNdbMaintenanceWindows
      arguments:
        # arguments dictionary

    getNdbMaintenanceWindows Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    MaintenanceWindows List<PiersKarsenbarg.Nutanix.Outputs.GetNdbMaintenanceWindowsMaintenanceWindow>
    List of maintenance windows
    Id string
    The provider-assigned unique ID for this managed resource.
    MaintenanceWindows []GetNdbMaintenanceWindowsMaintenanceWindow
    List of maintenance windows
    id String
    The provider-assigned unique ID for this managed resource.
    maintenanceWindows List<GetNdbMaintenanceWindowsMaintenanceWindow>
    List of maintenance windows
    id string
    The provider-assigned unique ID for this managed resource.
    maintenanceWindows GetNdbMaintenanceWindowsMaintenanceWindow[]
    List of maintenance windows
    id str
    The provider-assigned unique ID for this managed resource.
    maintenance_windows Sequence[GetNdbMaintenanceWindowsMaintenanceWindow]
    List of maintenance windows
    id String
    The provider-assigned unique ID for this managed resource.
    maintenanceWindows List<Property Map>
    List of maintenance windows

    Supporting Types

    GetNdbMaintenanceWindowsMaintenanceWindow

    AccessLevel string
    access level
    DateCreated string
    created date of maintenance window
    DateModified string
    modified date of maintenance window
    Description string
    description of maintenance window
    EntityTaskAssocs List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc>
    entity task association for maintenance window
    Id string
    Name string
    name of maintenance window
    NextRunTime string
    next run time for maintenance window to trigger
    OwnerId string
    owner id of maintenance window
    Properties List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowProperty>
    properties of maintenance window
    Schedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowSchedule>
    schedule of maintenance window
    Status string
    status of maintennace window
    Tags List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowTag>
    tags of maintenance window
    Timezone string
    timezone
    AccessLevel string
    access level
    DateCreated string
    created date of maintenance window
    DateModified string
    modified date of maintenance window
    Description string
    description of maintenance window
    EntityTaskAssocs []GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc
    entity task association for maintenance window
    Id string
    Name string
    name of maintenance window
    NextRunTime string
    next run time for maintenance window to trigger
    OwnerId string
    owner id of maintenance window
    Properties []GetNdbMaintenanceWindowsMaintenanceWindowProperty
    properties of maintenance window
    Schedules []GetNdbMaintenanceWindowsMaintenanceWindowSchedule
    schedule of maintenance window
    Status string
    status of maintennace window
    Tags []GetNdbMaintenanceWindowsMaintenanceWindowTag
    tags of maintenance window
    Timezone string
    timezone
    accessLevel String
    access level
    dateCreated String
    created date of maintenance window
    dateModified String
    modified date of maintenance window
    description String
    description of maintenance window
    entityTaskAssocs List<GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc>
    entity task association for maintenance window
    id String
    name String
    name of maintenance window
    nextRunTime String
    next run time for maintenance window to trigger
    ownerId String
    owner id of maintenance window
    properties List<GetNdbMaintenanceWindowsMaintenanceWindowProperty>
    properties of maintenance window
    schedules List<GetNdbMaintenanceWindowsMaintenanceWindowSchedule>
    schedule of maintenance window
    status String
    status of maintennace window
    tags List<GetNdbMaintenanceWindowsMaintenanceWindowTag>
    tags of maintenance window
    timezone String
    timezone
    accessLevel string
    access level
    dateCreated string
    created date of maintenance window
    dateModified string
    modified date of maintenance window
    description string
    description of maintenance window
    entityTaskAssocs GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc[]
    entity task association for maintenance window
    id string
    name string
    name of maintenance window
    nextRunTime string
    next run time for maintenance window to trigger
    ownerId string
    owner id of maintenance window
    properties GetNdbMaintenanceWindowsMaintenanceWindowProperty[]
    properties of maintenance window
    schedules GetNdbMaintenanceWindowsMaintenanceWindowSchedule[]
    schedule of maintenance window
    status string
    status of maintennace window
    tags GetNdbMaintenanceWindowsMaintenanceWindowTag[]
    tags of maintenance window
    timezone string
    timezone
    access_level str
    access level
    date_created str
    created date of maintenance window
    date_modified str
    modified date of maintenance window
    description str
    description of maintenance window
    entity_task_assocs Sequence[GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc]
    entity task association for maintenance window
    id str
    name str
    name of maintenance window
    next_run_time str
    next run time for maintenance window to trigger
    owner_id str
    owner id of maintenance window
    properties Sequence[GetNdbMaintenanceWindowsMaintenanceWindowProperty]
    properties of maintenance window
    schedules Sequence[GetNdbMaintenanceWindowsMaintenanceWindowSchedule]
    schedule of maintenance window
    status str
    status of maintennace window
    tags Sequence[GetNdbMaintenanceWindowsMaintenanceWindowTag]
    tags of maintenance window
    timezone str
    timezone
    accessLevel String
    access level
    dateCreated String
    created date of maintenance window
    dateModified String
    modified date of maintenance window
    description String
    description of maintenance window
    entityTaskAssocs List<Property Map>
    entity task association for maintenance window
    id String
    name String
    name of 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
    schedules List<Property Map>
    schedule of maintenance window
    status String
    status of maintennace window
    tags List<Property Map>
    tags of maintenance window
    timezone String
    timezone

    GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc

    AccessLevel string
    access level
    DateCreated string
    created date of maintenance window
    DateModified string
    modified date of maintenance window
    Description string
    description of maintenance window
    Entity string
    EntityId string
    EntityType string
    Id string
    MaintenanceWindowId string
    MaintenanceWindowOwnerId string
    Name string
    name of maintenance window
    OwnerId string
    owner id of maintenance window
    Payloads List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload>
    Properties List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty>
    properties of maintenance window
    Status string
    status of maintennace window
    Tags List<PiersKarsenbarg.Nutanix.Inputs.GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag>
    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 of maintenance window
    Entity string
    EntityId string
    EntityType string
    Id string
    MaintenanceWindowId string
    MaintenanceWindowOwnerId string
    Name string
    name of maintenance window
    OwnerId string
    owner id of maintenance window
    Payloads []GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload
    Properties []GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty
    properties of maintenance window
    Status string
    status of maintennace window
    Tags []GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag
    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 of maintenance window
    entity String
    entityId String
    entityType String
    id String
    maintenanceWindowId String
    maintenanceWindowOwnerId String
    name String
    name of maintenance window
    ownerId String
    owner id of maintenance window
    payloads List<GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload>
    properties List<GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty>
    properties of maintenance window
    status String
    status of maintennace window
    tags List<GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag>
    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 of maintenance window
    entity string
    entityId string
    entityType string
    id string
    maintenanceWindowId string
    maintenanceWindowOwnerId string
    name string
    name of maintenance window
    ownerId string
    owner id of maintenance window
    payloads GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload[]
    properties GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty[]
    properties of maintenance window
    status string
    status of maintennace window
    tags GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag[]
    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 of maintenance window
    entity str
    entity_id str
    entity_type str
    id str
    maintenance_window_id str
    maintenance_window_owner_id str
    name str
    name of maintenance window
    owner_id str
    owner id of maintenance window
    payloads Sequence[GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload]
    properties Sequence[GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty]
    properties of maintenance window
    status str
    status of maintennace window
    tags Sequence[GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag]
    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 of maintenance window
    entity String
    entityId String
    entityType String
    id String
    maintenanceWindowId String
    maintenanceWindowOwnerId String
    name String
    name of 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

    GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload

    GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayloadPrePostCommand

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

    GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty

    Name string
    name of maintenance window
    Value string
    Name string
    name of maintenance window
    Value string
    name String
    name of maintenance window
    value String
    name string
    name of maintenance window
    value string
    name str
    name of maintenance window
    value str
    name String
    name of maintenance window
    value String

    GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag

    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

    GetNdbMaintenanceWindowsMaintenanceWindowProperty

    Name string
    name of maintenance window
    Value string
    Name string
    name of maintenance window
    Value string
    name String
    name of maintenance window
    value String
    name string
    name of maintenance window
    value string
    name str
    name of maintenance window
    value str
    name String
    name of maintenance window
    value String

    GetNdbMaintenanceWindowsMaintenanceWindowSchedule

    DayOfWeek string
    Duration int
    Hour int
    Minute int
    Recurrence string
    Threshold string
    Timezone string
    timezone
    WeekOfMonth int
    StartTime string
    DayOfWeek string
    Duration int
    Hour int
    Minute int
    Recurrence string
    Threshold string
    Timezone string
    timezone
    WeekOfMonth int
    StartTime string
    dayOfWeek String
    duration Integer
    hour Integer
    minute Integer
    recurrence String
    threshold String
    timezone String
    timezone
    weekOfMonth Integer
    startTime String
    dayOfWeek string
    duration number
    hour number
    minute number
    recurrence string
    threshold string
    timezone string
    timezone
    weekOfMonth number
    startTime string
    dayOfWeek String
    duration Number
    hour Number
    minute Number
    recurrence String
    threshold String
    timezone String
    timezone
    weekOfMonth Number
    startTime String

    GetNdbMaintenanceWindowsMaintenanceWindowTag

    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.
    nutanix logo
    Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg