1. Packages
  2. Nutanix
  3. API Docs
  4. getNdbTimeMachines
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

nutanix.getNdbTimeMachines

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.52 published on Friday, Jun 7, 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

    GetNdbTimeMachinesTimeMachineProperty

    Description string
    Name string
    RefId string
    Secure bool
    Value string
    Description string
    Name string
    RefId string
    Secure bool
    Value string
    description String
    name String
    refId String
    secure Boolean
    value String
    description string
    name string
    refId string
    secure boolean
    value string
    description String
    name String
    refId String
    secure Boolean
    value String

    GetNdbTimeMachinesTimeMachineSchedule

    ContinuousSchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule>
    DailySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleDailySchedule>
    DateCreated string
    DateModified string
    Description string
    GlobalPolicy bool
    Id string
    MonthlySchedules List<PiersKarsenbarg.Nutanix.Inputs.GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule>
    Name string
    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>

    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

    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.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg