Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getNdbMaintenanceWindows
Explore with Pulumi AI
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.
- Maintenance
Windows List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Maintenance Windows Maintenance Window> - List of maintenance windows
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Windows []GetNdb Maintenance Windows Maintenance Window - List of maintenance windows
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Windows List<GetNdb Maintenance Windows Maintenance Window> - List of maintenance windows
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Windows GetNdb Maintenance Windows Maintenance Window[] - List of maintenance windows
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
windows Sequence[GetNdb Maintenance Windows Maintenance Window] - List of maintenance windows
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Windows List<Property Map> - List of maintenance windows
Supporting Types
GetNdbMaintenanceWindowsMaintenanceWindow
- Access
Level string - access level
- Date
Created string - created date of maintenance window
- Date
Modified string - modified date of maintenance window
- Description string
- description of maintenance window
- Entity
Task List<PiersAssocs Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Entity Task Assoc> - entity task association for maintenance window
- Id string
- Name string
- name of maintenance window
- Next
Run stringTime - next run time for maintenance window to trigger
- Owner
Id string - owner id of maintenance window
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Property> - properties of maintenance window
- Schedules
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Schedule> - schedule of maintenance window
- Status string
- status of maintennace window
- List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Tag> - tags of maintenance window
- Timezone string
- timezone
- Access
Level string - access level
- Date
Created string - created date of maintenance window
- Date
Modified string - modified date of maintenance window
- Description string
- description of maintenance window
- Entity
Task []GetAssocs Ndb Maintenance Windows Maintenance Window Entity Task Assoc - entity task association for maintenance window
- Id string
- Name string
- name of maintenance window
- Next
Run stringTime - next run time for maintenance window to trigger
- Owner
Id string - owner id of maintenance window
- Properties
[]Get
Ndb Maintenance Windows Maintenance Window Property - properties of maintenance window
- Schedules
[]Get
Ndb Maintenance Windows Maintenance Window Schedule - schedule of maintenance window
- Status string
- status of maintennace window
- []Get
Ndb Maintenance Windows Maintenance Window Tag - tags of maintenance window
- Timezone string
- timezone
- access
Level String - access level
- date
Created String - created date of maintenance window
- date
Modified String - modified date of maintenance window
- description String
- description of maintenance window
- entity
Task List<GetAssocs Ndb Maintenance Windows Maintenance Window Entity Task Assoc> - entity task association for maintenance window
- id String
- name String
- name of maintenance window
- next
Run StringTime - next run time for maintenance window to trigger
- owner
Id String - owner id of maintenance window
- properties
List<Get
Ndb Maintenance Windows Maintenance Window Property> - properties of maintenance window
- schedules
List<Get
Ndb Maintenance Windows Maintenance Window Schedule> - schedule of maintenance window
- status String
- status of maintennace window
- List<Get
Ndb Maintenance Windows Maintenance Window Tag> - tags of maintenance window
- timezone String
- timezone
- access
Level string - access level
- date
Created string - created date of maintenance window
- date
Modified string - modified date of maintenance window
- description string
- description of maintenance window
- entity
Task GetAssocs Ndb Maintenance Windows Maintenance Window Entity Task Assoc[] - entity task association for maintenance window
- id string
- name string
- name of maintenance window
- next
Run stringTime - next run time for maintenance window to trigger
- owner
Id string - owner id of maintenance window
- properties
Get
Ndb Maintenance Windows Maintenance Window Property[] - properties of maintenance window
- schedules
Get
Ndb Maintenance Windows Maintenance Window Schedule[] - schedule of maintenance window
- status string
- status of maintennace window
- Get
Ndb Maintenance Windows Maintenance Window Tag[] - 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_ Sequence[Getassocs Ndb Maintenance Windows Maintenance Window Entity Task Assoc] - entity task association for maintenance window
- id str
- name str
- name of maintenance window
- next_
run_ strtime - next run time for maintenance window to trigger
- owner_
id str - owner id of maintenance window
- properties
Sequence[Get
Ndb Maintenance Windows Maintenance Window Property] - properties of maintenance window
- schedules
Sequence[Get
Ndb Maintenance Windows Maintenance Window Schedule] - schedule of maintenance window
- status str
- status of maintennace window
- Sequence[Get
Ndb Maintenance Windows Maintenance Window Tag] - tags of maintenance window
- timezone str
- timezone
- access
Level String - access level
- date
Created String - created date of maintenance window
- date
Modified String - modified date of maintenance window
- description String
- description of maintenance window
- entity
Task List<Property Map>Assocs - entity task association for maintenance window
- id String
- name String
- name of maintenance window
- next
Run StringTime - next run time for maintenance window to trigger
- owner
Id 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
- List<Property Map>
- tags of maintenance window
- timezone String
- timezone
GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssoc
- Access
Level string - access level
- Date
Created string - created date of maintenance window
- Date
Modified string - modified date of maintenance window
- Description string
- description of maintenance window
- Entity string
- Entity
Id string - Entity
Type string - Id string
- Maintenance
Window stringId - Maintenance
Window stringOwner Id - Name string
- name of maintenance window
- Owner
Id string - owner id of maintenance window
- Payloads
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Entity Task Assoc Payload> - Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Entity Task Assoc Property> - properties of maintenance window
- Status string
- status of maintennace window
- List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Maintenance Windows Maintenance Window Entity Task Assoc Tag> - tags of maintenance window
- Task
Type string
- Access
Level string - access level
- Date
Created string - created date of maintenance window
- Date
Modified string - modified date of maintenance window
- Description string
- description of maintenance window
- Entity string
- Entity
Id string - Entity
Type string - Id string
- Maintenance
Window stringId - Maintenance
Window stringOwner Id - Name string
- name of maintenance window
- Owner
Id string - owner id of maintenance window
- Payloads
[]Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Payload - Properties
[]Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Property - properties of maintenance window
- Status string
- status of maintennace window
- []Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Tag - tags of maintenance window
- Task
Type string
- access
Level String - access level
- date
Created String - created date of maintenance window
- date
Modified String - modified date of maintenance window
- description String
- description of maintenance window
- entity String
- entity
Id String - entity
Type String - id String
- maintenance
Window StringId - maintenance
Window StringOwner Id - name String
- name of maintenance window
- owner
Id String - owner id of maintenance window
- payloads
List<Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Payload> - properties
List<Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Property> - properties of maintenance window
- status String
- status of maintennace window
- List<Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Tag> - tags of maintenance window
- task
Type String
- access
Level string - access level
- date
Created string - created date of maintenance window
- date
Modified string - modified date of maintenance window
- description string
- description of maintenance window
- entity string
- entity
Id string - entity
Type string - id string
- maintenance
Window stringId - maintenance
Window stringOwner Id - name string
- name of maintenance window
- owner
Id string - owner id of maintenance window
- payloads
Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Payload[] - properties
Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Property[] - properties of maintenance window
- status string
- status of maintennace window
- Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Tag[] - tags of maintenance window
- task
Type 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_ strid - maintenance_
window_ strowner_ id - name str
- name of maintenance window
- owner_
id str - owner id of maintenance window
- payloads
Sequence[Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Payload] - properties
Sequence[Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Property] - properties of maintenance window
- status str
- status of maintennace window
- Sequence[Get
Ndb Maintenance Windows Maintenance Window Entity Task Assoc Tag] - tags of maintenance window
- task_
type str
- access
Level String - access level
- date
Created String - created date of maintenance window
- date
Modified String - modified date of maintenance window
- description String
- description of maintenance window
- entity String
- entity
Id String - entity
Type String - id String
- maintenance
Window StringId - maintenance
Window StringOwner Id - name String
- name of maintenance window
- owner
Id String - owner id of maintenance window
- payloads List<Property Map>
- properties List<Property Map>
- properties of maintenance window
- status String
- status of maintennace window
- List<Property Map>
- tags of maintenance window
- task
Type String
GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayload
GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocPayloadPrePostCommand
- Post
Command string - Pre
Command string
- Post
Command string - Pre
Command string
- post
Command String - pre
Command String
- post
Command string - pre
Command string
- post_
command str - pre_
command str
- post
Command String - pre
Command String
GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocProperty
GetNdbMaintenanceWindowsMaintenanceWindowEntityTaskAssocTag
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- entity
Id String - entity
Type String - tag
Id String - tag
Name String - value String
- entity
Id string - entity
Type string - tag
Id string - tag
Name string - value string
- entity_
id str - entity_
type str - tag_
id str - tag_
name str - value str
- entity
Id String - entity
Type String - tag
Id String - tag
Name String - value String
GetNdbMaintenanceWindowsMaintenanceWindowProperty
GetNdbMaintenanceWindowsMaintenanceWindowSchedule
- Day
Of stringWeek - Duration int
- Hour int
- Minute int
- Recurrence string
- Threshold string
- Timezone string
- timezone
- Week
Of intMonth - Start
Time string
- Day
Of stringWeek - Duration int
- Hour int
- Minute int
- Recurrence string
- Threshold string
- Timezone string
- timezone
- Week
Of intMonth - Start
Time string
- day
Of StringWeek - duration Integer
- hour Integer
- minute Integer
- recurrence String
- threshold String
- timezone String
- timezone
- week
Of IntegerMonth - start
Time String
- day
Of stringWeek - duration number
- hour number
- minute number
- recurrence string
- threshold string
- timezone string
- timezone
- week
Of numberMonth - start
Time string
- day_
of_ strweek - duration int
- hour int
- minute int
- recurrence str
- threshold str
- timezone str
- timezone
- week_
of_ intmonth - start_
time str
- day
Of StringWeek - duration Number
- hour Number
- minute Number
- recurrence String
- threshold String
- timezone String
- timezone
- week
Of NumberMonth - start
Time String
GetNdbMaintenanceWindowsMaintenanceWindowTag
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- entity
Id String - entity
Type String - tag
Id String - tag
Name String - value String
- entity
Id string - entity
Type string - tag
Id string - tag
Name string - value string
- entity_
id str - entity_
type str - tag_
id str - tag_
name str - value str
- entity
Id String - entity
Type String - tag
Id String - tag
Name 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.