1. Packages
  2. Nutanix
  3. API Docs
  4. getNdbTimeMachines
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

nutanix.getNdbTimeMachines

Explore with Pulumi AI

nutanix logo
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    List all time machines present in Nutanix Database Service

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const tms = nutanix.getNdbTimeMachines({});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    tms = nutanix.get_ndb_time_machines()
    
    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.GetNdbTimeMachines(ctx, nil, 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 tms = Nutanix.GetNdbTimeMachines.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 tms = NutanixFunctions.getNdbTimeMachines();
    
        }
    }
    
    variables:
      tms:
        fn::invoke:
          Function: nutanix:getNdbTimeMachines
          Arguments: {}
    

    Using getNdbTimeMachines

    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 getNdbTimeMachines(opts?: InvokeOptions): Promise<GetNdbTimeMachinesResult>
    function getNdbTimeMachinesOutput(opts?: InvokeOptions): Output<GetNdbTimeMachinesResult>
    def get_ndb_time_machines(opts: Optional[InvokeOptions] = None) -> GetNdbTimeMachinesResult
    def get_ndb_time_machines_output(opts: Optional[InvokeOptions] = None) -> Output[GetNdbTimeMachinesResult]
    func GetNdbTimeMachines(ctx *Context, opts ...InvokeOption) (*GetNdbTimeMachinesResult, error)
    func GetNdbTimeMachinesOutput(ctx *Context, opts ...InvokeOption) GetNdbTimeMachinesResultOutput

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

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

    getNdbTimeMachines Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TimeMachines List<PiersKarsenbarg.Nutanix.Outputs.GetNdbTimeMachinesTimeMachine>
    Id string
    The provider-assigned unique ID for this managed resource.
    TimeMachines []GetNdbTimeMachinesTimeMachine
    id String
    The provider-assigned unique ID for this managed resource.
    timeMachines List<GetNdbTimeMachinesTimeMachine>
    id string
    The provider-assigned unique ID for this managed resource.
    timeMachines GetNdbTimeMachinesTimeMachine[]
    id str
    The provider-assigned unique ID for this managed resource.
    time_machines Sequence[GetNdbTimeMachinesTimeMachine]
    id String
    The provider-assigned unique ID for this managed resource.
    timeMachines List<Property Map>

    Supporting Types

    GetNdbTimeMachinesTimeMachine

    AccessLevel string
    access level to time machines
    Clone bool
    clone time machine or not
    Clones string
    clone info
    Clustered bool
    clustered or not
    Database string
    database info
    DatabaseId string
    database id
    DateCreated string
    date created
    DateModified string
    date modified
    Description string
    time machine description
    EaStatus string
    ea status of time machine
    Id string
    time machine id
    Metric string
    Metric info
    Name string
    time machine name
    Properties List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineProperty>
    List of all the properties
    ScheduleId string
    schedule id
    Schedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineSchedule>

    schedule info

    See detailed information in NDB Time Machines.

    Scope string
    scope
    SlaId string
    sla id
    SlaUpdateInProgress bool
    sla update in progress
    SlaUpdateMetadata string
    sla update metadata
    Slas List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineSla>
    sla info
    SourceNxClusters List<string>
    source clusters
    Status string
    status of time machine
    Tags List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineTag>
    tags
    Type string
    type of time machine
    AccessLevel string
    access level to time machines
    Clone bool
    clone time machine or not
    Clones string
    clone info
    Clustered bool
    clustered or not
    Database string
    database info
    DatabaseId string
    database id
    DateCreated string
    date created
    DateModified string
    date modified
    Description string
    time machine description
    EaStatus string
    ea status of time machine
    Id string
    time machine id
    Metric string
    Metric info
    Name string
    time machine name
    Properties []GetNdbTimeMachinesTimeMachineProperty
    List of all the properties
    ScheduleId string
    schedule id
    Schedules []GetNdbTimeMachinesTimeMachineSchedule

    schedule info

    See detailed information in NDB Time Machines.

    Scope string
    scope
    SlaId string
    sla id
    SlaUpdateInProgress bool
    sla update in progress
    SlaUpdateMetadata string
    sla update metadata
    Slas []GetNdbTimeMachinesTimeMachineSla
    sla info
    SourceNxClusters []string
    source clusters
    Status string
    status of time machine
    Tags []GetNdbTimeMachinesTimeMachineTag
    tags
    Type string
    type of time machine
    accessLevel String
    access level to time machines
    clone_ Boolean
    clone time machine or not
    clones String
    clone info
    clustered Boolean
    clustered or not
    database String
    database info
    databaseId String
    database id
    dateCreated String
    date created
    dateModified String
    date modified
    description String
    time machine description
    eaStatus String
    ea status of time machine
    id String
    time machine id
    metric String
    Metric info
    name String
    time machine name
    properties List<GetNdbTimeMachinesTimeMachineProperty>
    List of all the properties
    scheduleId String
    schedule id
    schedules List<GetNdbTimeMachinesTimeMachineSchedule>

    schedule info

    See detailed information in NDB Time Machines.

    scope String
    scope
    slaId String
    sla id
    slaUpdateInProgress Boolean
    sla update in progress
    slaUpdateMetadata String
    sla update metadata
    slas List<GetNdbTimeMachinesTimeMachineSla>
    sla info
    sourceNxClusters List<String>
    source clusters
    status String
    status of time machine
    tags List<GetNdbTimeMachinesTimeMachineTag>
    tags
    type String
    type of time machine
    accessLevel string
    access level to time machines
    clone boolean
    clone time machine or not
    clones string
    clone info
    clustered boolean
    clustered or not
    database string
    database info
    databaseId string
    database id
    dateCreated string
    date created
    dateModified string
    date modified
    description string
    time machine description
    eaStatus string
    ea status of time machine
    id string
    time machine id
    metric string
    Metric info
    name string
    time machine name
    properties GetNdbTimeMachinesTimeMachineProperty[]
    List of all the properties
    scheduleId string
    schedule id
    schedules GetNdbTimeMachinesTimeMachineSchedule[]

    schedule info

    See detailed information in NDB Time Machines.

    scope string
    scope
    slaId string
    sla id
    slaUpdateInProgress boolean
    sla update in progress
    slaUpdateMetadata string
    sla update metadata
    slas GetNdbTimeMachinesTimeMachineSla[]
    sla info
    sourceNxClusters string[]
    source clusters
    status string
    status of time machine
    tags GetNdbTimeMachinesTimeMachineTag[]
    tags
    type string
    type of time machine
    access_level str
    access level to time machines
    clone bool
    clone time machine or not
    clones str
    clone info
    clustered bool
    clustered or not
    database str
    database info
    database_id str
    database id
    date_created str
    date created
    date_modified str
    date modified
    description str
    time machine description
    ea_status str
    ea status of time machine
    id str
    time machine id
    metric str
    Metric info
    name str
    time machine name
    properties Sequence[GetNdbTimeMachinesTimeMachineProperty]
    List of all the properties
    schedule_id str
    schedule id
    schedules Sequence[GetNdbTimeMachinesTimeMachineSchedule]

    schedule info

    See detailed information in NDB Time Machines.

    scope str
    scope
    sla_id str
    sla id
    sla_update_in_progress bool
    sla update in progress
    sla_update_metadata str
    sla update metadata
    slas Sequence[GetNdbTimeMachinesTimeMachineSla]
    sla info
    source_nx_clusters Sequence[str]
    source clusters
    status str
    status of time machine
    tags Sequence[GetNdbTimeMachinesTimeMachineTag]
    tags
    type str
    type of time machine
    accessLevel String
    access level to time machines
    clone Boolean
    clone time machine or not
    clones String
    clone info
    clustered Boolean
    clustered or not
    database String
    database info
    databaseId String
    database id
    dateCreated String
    date created
    dateModified String
    date modified
    description String
    time machine description
    eaStatus String
    ea status of time machine
    id String
    time machine id
    metric String
    Metric info
    name String
    time machine name
    properties List<Property Map>
    List of all the properties
    scheduleId String
    schedule id
    schedules List<Property Map>

    schedule info

    See detailed information in NDB Time Machines.

    scope String
    scope
    slaId String
    sla id
    slaUpdateInProgress Boolean
    sla update in progress
    slaUpdateMetadata String
    sla update metadata
    slas List<Property Map>
    sla info
    sourceNxClusters List<String>
    source clusters
    status String
    status of time machine
    tags List<Property Map>
    tags
    type String
    type of time machine

    GetNdbTimeMachinesTimeMachineProperty

    Description string
    time machine description
    Name string
    time machine name
    RefId string
    Secure bool
    Value string
    Description string
    time machine description
    Name string
    time machine name
    RefId string
    Secure bool
    Value string
    description String
    time machine description
    name String
    time machine name
    refId String
    secure Boolean
    value String
    description string
    time machine description
    name string
    time machine name
    refId string
    secure boolean
    value string
    description str
    time machine description
    name str
    time machine name
    ref_id str
    secure bool
    value str
    description String
    time machine description
    name String
    time machine name
    refId String
    secure Boolean
    value String

    GetNdbTimeMachinesTimeMachineSchedule

    ContinuousSchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule>
    DailySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleDailySchedule>
    DateCreated string
    date created
    DateModified string
    date modified
    Description string
    time machine description
    GlobalPolicy bool
    Id string
    time machine id
    MonthlySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule>
    Name string
    time machine name
    OwnerId string
    QuartelySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleQuartelySchedule>
    ReferenceCount int
    SnapshotTimeOfDays List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleSnapshotTimeOfDay>
    StartTime string
    SystemPolicy bool
    TimeZone string
    UniqueName string
    WeeklySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleWeeklySchedule>
    YearlySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleYearlySchedule>
    continuousSchedules List<GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule>
    dailySchedules List<GetNdbTimeMachinesTimeMachineScheduleDailySchedule>
    dateCreated String
    date created
    dateModified String
    date modified
    description String
    time machine description
    globalPolicy Boolean
    id String
    time machine id
    monthlySchedules List<GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule>
    name String
    time machine name
    ownerId String
    quartelySchedules List<GetNdbTimeMachinesTimeMachineScheduleQuartelySchedule>
    referenceCount Integer
    snapshotTimeOfDays List<GetNdbTimeMachinesTimeMachineScheduleSnapshotTimeOfDay>
    startTime String
    systemPolicy Boolean
    timeZone String
    uniqueName String
    weeklySchedules List<GetNdbTimeMachinesTimeMachineScheduleWeeklySchedule>
    yearlySchedules List<GetNdbTimeMachinesTimeMachineScheduleYearlySchedule>
    continuous_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule]
    daily_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleDailySchedule]
    date_created str
    date created
    date_modified str
    date modified
    description str
    time machine description
    global_policy bool
    id str
    time machine id
    monthly_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule]
    name str
    time machine name
    owner_id str
    quartely_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleQuartelySchedule]
    reference_count int
    snapshot_time_of_days Sequence[GetNdbTimeMachinesTimeMachineScheduleSnapshotTimeOfDay]
    start_time str
    system_policy bool
    time_zone str
    unique_name str
    weekly_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleWeeklySchedule]
    yearly_schedules Sequence[GetNdbTimeMachinesTimeMachineScheduleYearlySchedule]

    GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule

    GetNdbTimeMachinesTimeMachineScheduleDailySchedule

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

    GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule

    dayOfMonth Integer
    enabled Boolean
    dayOfMonth number
    enabled boolean
    dayOfMonth Number
    enabled Boolean

    GetNdbTimeMachinesTimeMachineScheduleQuartelySchedule

    dayOfMonth Integer
    enabled Boolean
    startMonth String
    startMonthValue String
    dayOfMonth number
    enabled boolean
    startMonth string
    startMonthValue string
    dayOfMonth Number
    enabled Boolean
    startMonth String
    startMonthValue String

    GetNdbTimeMachinesTimeMachineScheduleSnapshotTimeOfDay

    Extra bool
    Hours int
    Minutes int
    Seconds int
    Extra bool
    Hours int
    Minutes int
    Seconds int
    extra Boolean
    hours Integer
    minutes Integer
    seconds Integer
    extra boolean
    hours number
    minutes number
    seconds number
    extra bool
    hours int
    minutes int
    seconds int
    extra Boolean
    hours Number
    minutes Number
    seconds Number

    GetNdbTimeMachinesTimeMachineScheduleWeeklySchedule

    dayOfWeek String
    dayOfWeekValue String
    enabled Boolean
    dayOfWeek string
    dayOfWeekValue string
    enabled boolean
    dayOfWeek String
    dayOfWeekValue String
    enabled Boolean

    GetNdbTimeMachinesTimeMachineScheduleYearlySchedule

    DayOfMonth int
    Enabled bool
    Month string
    MonthValue string
    DayOfMonth int
    Enabled bool
    Month string
    MonthValue string
    dayOfMonth Integer
    enabled Boolean
    month String
    monthValue String
    dayOfMonth number
    enabled boolean
    month string
    monthValue string
    dayOfMonth Number
    enabled Boolean
    month String
    monthValue String

    GetNdbTimeMachinesTimeMachineSla

    ContinuousRetention int
    CurrentActiveFrequency string
    DailyRetention int
    DateCreated string
    date created
    DateModified string
    date modified
    Description string
    time machine description
    Id string
    time machine id
    MonthlyRetention int
    Name string
    time machine name
    OwnerId string
    PitrEnabled bool
    QuarterlyRetention int
    ReferenceCount int
    SystemSla bool
    UniqueName string
    WeeklyRetention int
    YearlyRetention int
    ContinuousRetention int
    CurrentActiveFrequency string
    DailyRetention int
    DateCreated string
    date created
    DateModified string
    date modified
    Description string
    time machine description
    Id string
    time machine id
    MonthlyRetention int
    Name string
    time machine name
    OwnerId string
    PitrEnabled bool
    QuarterlyRetention int
    ReferenceCount int
    SystemSla bool
    UniqueName string
    WeeklyRetention int
    YearlyRetention int
    continuousRetention Integer
    currentActiveFrequency String
    dailyRetention Integer
    dateCreated String
    date created
    dateModified String
    date modified
    description String
    time machine description
    id String
    time machine id
    monthlyRetention Integer
    name String
    time machine name
    ownerId String
    pitrEnabled Boolean
    quarterlyRetention Integer
    referenceCount Integer
    systemSla Boolean
    uniqueName String
    weeklyRetention Integer
    yearlyRetention Integer
    continuousRetention number
    currentActiveFrequency string
    dailyRetention number
    dateCreated string
    date created
    dateModified string
    date modified
    description string
    time machine description
    id string
    time machine id
    monthlyRetention number
    name string
    time machine name
    ownerId string
    pitrEnabled boolean
    quarterlyRetention number
    referenceCount number
    systemSla boolean
    uniqueName string
    weeklyRetention number
    yearlyRetention number
    continuous_retention int
    current_active_frequency str
    daily_retention int
    date_created str
    date created
    date_modified str
    date modified
    description str
    time machine description
    id str
    time machine id
    monthly_retention int
    name str
    time machine name
    owner_id str
    pitr_enabled bool
    quarterly_retention int
    reference_count int
    system_sla bool
    unique_name str
    weekly_retention int
    yearly_retention int
    continuousRetention Number
    currentActiveFrequency String
    dailyRetention Number
    dateCreated String
    date created
    dateModified String
    date modified
    description String
    time machine description
    id String
    time machine id
    monthlyRetention Number
    name String
    time machine name
    ownerId String
    pitrEnabled Boolean
    quarterlyRetention Number
    referenceCount Number
    systemSla Boolean
    uniqueName String
    weeklyRetention Number
    yearlyRetention Number

    GetNdbTimeMachinesTimeMachineTag

    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.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg