nutanix.getNdbTimeMachines
Explore with Pulumi AI
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, 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 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)
public static Output<GetNdbTimeMachinesResult> getNdbTimeMachines(InvokeOptions options)
fn::invoke:
  function: nutanix:index/getNdbTimeMachines:getNdbTimeMachines
  arguments:
    # arguments dictionarygetNdbTimeMachines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- TimeMachines List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Time Machines Time Machine> 
- Id string
- The provider-assigned unique ID for this managed resource.
- TimeMachines []GetNdb Time Machines Time Machine 
- id String
- The provider-assigned unique ID for this managed resource.
- timeMachines List<GetNdb Time Machines Time Machine> 
- id string
- The provider-assigned unique ID for this managed resource.
- timeMachines GetNdb Time Machines Time Machine[] 
- id str
- The provider-assigned unique ID for this managed resource.
- time_machines Sequence[GetNdb Time Machines Time Machine] 
- 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. Get Ndb Time Machines Time Machine Property> 
- List of all the properties
- ScheduleId string
- schedule id
- Schedules
List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule> 
- schedule info - See detailed information in NDB Time Machines. 
- Scope string
- scope
- SlaId string
- sla id
- SlaUpdate boolIn Progress 
- sla update in progress
- SlaUpdate stringMetadata 
- sla update metadata
- Slas
List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Sla> 
- sla info
- SourceNx List<string>Clusters 
- source clusters
- Status string
- status of time machine
- 
List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Tag> 
- 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
[]GetNdb Time Machines Time Machine Property 
- List of all the properties
- ScheduleId string
- schedule id
- Schedules
[]GetNdb Time Machines Time Machine Schedule 
- schedule info - See detailed information in NDB Time Machines. 
- Scope string
- scope
- SlaId string
- sla id
- SlaUpdate boolIn Progress 
- sla update in progress
- SlaUpdate stringMetadata 
- sla update metadata
- Slas
[]GetNdb Time Machines Time Machine Sla 
- sla info
- SourceNx []stringClusters 
- source clusters
- Status string
- status of time machine
- 
[]GetNdb Time Machines Time Machine Tag 
- 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<GetNdb Time Machines Time Machine Property> 
- List of all the properties
- scheduleId String
- schedule id
- schedules
List<GetNdb Time Machines Time Machine Schedule> 
- schedule info - See detailed information in NDB Time Machines. 
- scope String
- scope
- slaId String
- sla id
- slaUpdate BooleanIn Progress 
- sla update in progress
- slaUpdate StringMetadata 
- sla update metadata
- slas
List<GetNdb Time Machines Time Machine Sla> 
- sla info
- sourceNx List<String>Clusters 
- source clusters
- status String
- status of time machine
- 
List<GetNdb Time Machines Time Machine Tag> 
- 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
GetNdb Time Machines Time Machine Property[] 
- List of all the properties
- scheduleId string
- schedule id
- schedules
GetNdb Time Machines Time Machine Schedule[] 
- schedule info - See detailed information in NDB Time Machines. 
- scope string
- scope
- slaId string
- sla id
- slaUpdate booleanIn Progress 
- sla update in progress
- slaUpdate stringMetadata 
- sla update metadata
- slas
GetNdb Time Machines Time Machine Sla[] 
- sla info
- sourceNx string[]Clusters 
- source clusters
- status string
- status of time machine
- 
GetNdb Time Machines Time Machine Tag[] 
- 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[GetNdb Time Machines Time Machine Property] 
- List of all the properties
- schedule_id str
- schedule id
- schedules
Sequence[GetNdb Time Machines Time Machine Schedule] 
- schedule info - See detailed information in NDB Time Machines. 
- scope str
- scope
- sla_id str
- sla id
- sla_update_ boolin_ progress 
- sla update in progress
- sla_update_ strmetadata 
- sla update metadata
- slas
Sequence[GetNdb Time Machines Time Machine Sla] 
- sla info
- source_nx_ Sequence[str]clusters 
- source clusters
- status str
- status of time machine
- 
Sequence[GetNdb Time Machines Time Machine Tag] 
- 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
- slaUpdate BooleanIn Progress 
- sla update in progress
- slaUpdate StringMetadata 
- sla update metadata
- slas List<Property Map>
- sla info
- sourceNx List<String>Clusters 
- source clusters
- status String
- status of time machine
- 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. Get Ndb Time Machines Time Machine Schedule Continuous Schedule> 
- DailySchedules List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule Daily Schedule> 
- 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. Get Ndb Time Machines Time Machine Schedule Monthly Schedule> 
- Name string
- time machine name
- OwnerId string
- QuartelySchedules List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule Quartely Schedule> 
- ReferenceCount int
- SnapshotTime List<PiersOf Days Karsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule Snapshot Time Of Day> 
- StartTime string
- SystemPolicy bool
- TimeZone string
- UniqueName string
- WeeklySchedules List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule Weekly Schedule> 
- YearlySchedules List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Time Machines Time Machine Schedule Yearly Schedule> 
- ContinuousSchedules []GetNdb Time Machines Time Machine Schedule Continuous Schedule 
- DailySchedules []GetNdb Time Machines Time Machine Schedule Daily Schedule 
- DateCreated string
- date created
- DateModified string
- date modified
- Description string
- time machine description
- GlobalPolicy bool
- Id string
- time machine id
- MonthlySchedules []GetNdb Time Machines Time Machine Schedule Monthly Schedule 
- Name string
- time machine name
- OwnerId string
- QuartelySchedules []GetNdb Time Machines Time Machine Schedule Quartely Schedule 
- ReferenceCount int
- SnapshotTime []GetOf Days Ndb Time Machines Time Machine Schedule Snapshot Time Of Day 
- StartTime string
- SystemPolicy bool
- TimeZone string
- UniqueName string
- WeeklySchedules []GetNdb Time Machines Time Machine Schedule Weekly Schedule 
- YearlySchedules []GetNdb Time Machines Time Machine Schedule Yearly Schedule 
- continuousSchedules List<GetNdb Time Machines Time Machine Schedule Continuous Schedule> 
- dailySchedules List<GetNdb Time Machines Time Machine Schedule Daily Schedule> 
- dateCreated String
- date created
- dateModified String
- date modified
- description String
- time machine description
- globalPolicy Boolean
- id String
- time machine id
- monthlySchedules List<GetNdb Time Machines Time Machine Schedule Monthly Schedule> 
- name String
- time machine name
- ownerId String
- quartelySchedules List<GetNdb Time Machines Time Machine Schedule Quartely Schedule> 
- referenceCount Integer
- snapshotTime List<GetOf Days Ndb Time Machines Time Machine Schedule Snapshot Time Of Day> 
- startTime String
- systemPolicy Boolean
- timeZone String
- uniqueName String
- weeklySchedules List<GetNdb Time Machines Time Machine Schedule Weekly Schedule> 
- yearlySchedules List<GetNdb Time Machines Time Machine Schedule Yearly Schedule> 
- continuousSchedules GetNdb Time Machines Time Machine Schedule Continuous Schedule[] 
- dailySchedules GetNdb Time Machines Time Machine Schedule Daily Schedule[] 
- dateCreated string
- date created
- dateModified string
- date modified
- description string
- time machine description
- globalPolicy boolean
- id string
- time machine id
- monthlySchedules GetNdb Time Machines Time Machine Schedule Monthly Schedule[] 
- name string
- time machine name
- ownerId string
- quartelySchedules GetNdb Time Machines Time Machine Schedule Quartely Schedule[] 
- referenceCount number
- snapshotTime GetOf Days Ndb Time Machines Time Machine Schedule Snapshot Time Of Day[] 
- startTime string
- systemPolicy boolean
- timeZone string
- uniqueName string
- weeklySchedules GetNdb Time Machines Time Machine Schedule Weekly Schedule[] 
- yearlySchedules GetNdb Time Machines Time Machine Schedule Yearly Schedule[] 
- continuous_schedules Sequence[GetNdb Time Machines Time Machine Schedule Continuous Schedule] 
- daily_schedules Sequence[GetNdb Time Machines Time Machine Schedule Daily Schedule] 
- 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[GetNdb Time Machines Time Machine Schedule Monthly Schedule] 
- name str
- time machine name
- owner_id str
- quartely_schedules Sequence[GetNdb Time Machines Time Machine Schedule Quartely Schedule] 
- reference_count int
- snapshot_time_ Sequence[Getof_ days Ndb Time Machines Time Machine Schedule Snapshot Time Of Day] 
- start_time str
- system_policy bool
- time_zone str
- unique_name str
- weekly_schedules Sequence[GetNdb Time Machines Time Machine Schedule Weekly Schedule] 
- yearly_schedules Sequence[GetNdb Time Machines Time Machine Schedule Yearly Schedule] 
- continuousSchedules List<Property Map>
- dailySchedules List<Property Map>
- dateCreated String
- date created
- dateModified String
- date modified
- description String
- time machine description
- globalPolicy Boolean
- id String
- time machine id
- monthlySchedules List<Property Map>
- name String
- time machine name
- ownerId String
- quartelySchedules List<Property Map>
- referenceCount Number
- snapshotTime List<Property Map>Of Days 
- startTime String
- systemPolicy Boolean
- timeZone String
- uniqueName String
- weeklySchedules List<Property Map>
- yearlySchedules List<Property Map>
GetNdbTimeMachinesTimeMachineScheduleContinuousSchedule        
- Enabled bool
- LogBackup intInterval 
- SnapshotsPer intDay 
- Enabled bool
- LogBackup intInterval 
- SnapshotsPer intDay 
- enabled Boolean
- logBackup IntegerInterval 
- snapshotsPer IntegerDay 
- enabled boolean
- logBackup numberInterval 
- snapshotsPer numberDay 
- enabled bool
- log_backup_ intinterval 
- snapshots_per_ intday 
- enabled Boolean
- logBackup NumberInterval 
- snapshotsPer NumberDay 
GetNdbTimeMachinesTimeMachineScheduleDailySchedule        
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetNdbTimeMachinesTimeMachineScheduleMonthlySchedule        
- DayOf intMonth 
- Enabled bool
- DayOf intMonth 
- Enabled bool
- dayOf IntegerMonth 
- enabled Boolean
- dayOf numberMonth 
- enabled boolean
- day_of_ intmonth 
- enabled bool
- dayOf NumberMonth 
- enabled Boolean
GetNdbTimeMachinesTimeMachineScheduleQuartelySchedule        
- DayOf intMonth 
- Enabled bool
- StartMonth string
- StartMonth stringValue 
- DayOf intMonth 
- Enabled bool
- StartMonth string
- StartMonth stringValue 
- dayOf IntegerMonth 
- enabled Boolean
- startMonth String
- startMonth StringValue 
- dayOf numberMonth 
- enabled boolean
- startMonth string
- startMonth stringValue 
- day_of_ intmonth 
- enabled bool
- start_month str
- start_month_ strvalue 
- dayOf NumberMonth 
- enabled Boolean
- startMonth String
- startMonth StringValue 
GetNdbTimeMachinesTimeMachineScheduleSnapshotTimeOfDay          
GetNdbTimeMachinesTimeMachineScheduleWeeklySchedule        
- DayOf stringWeek 
- DayOf stringWeek Value 
- Enabled bool
- DayOf stringWeek 
- DayOf stringWeek Value 
- Enabled bool
- dayOf StringWeek 
- dayOf StringWeek Value 
- enabled Boolean
- dayOf stringWeek 
- dayOf stringWeek Value 
- enabled boolean
- day_of_ strweek 
- day_of_ strweek_ value 
- enabled bool
- dayOf StringWeek 
- dayOf StringWeek Value 
- enabled Boolean
GetNdbTimeMachinesTimeMachineScheduleYearlySchedule        
- DayOf intMonth 
- Enabled bool
- Month string
- MonthValue string
- DayOf intMonth 
- Enabled bool
- Month string
- MonthValue string
- dayOf IntegerMonth 
- enabled Boolean
- month String
- monthValue String
- dayOf numberMonth 
- enabled boolean
- month string
- monthValue string
- day_of_ intmonth 
- enabled bool
- month str
- month_value str
- dayOf NumberMonth 
- enabled Boolean
- month String
- monthValue String
GetNdbTimeMachinesTimeMachineSla      
- ContinuousRetention int
- CurrentActive stringFrequency 
- 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
- CurrentActive stringFrequency 
- 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
- currentActive StringFrequency 
- 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
- currentActive stringFrequency 
- 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_ strfrequency 
- 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
- currentActive StringFrequency 
- 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
- entity_id str
- entity_type str
- tag_id str
- tag_name str
- value str
- 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 nutanixTerraform Provider.
