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

nutanix.getNdbDbservers

Explore with Pulumi AI

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

    List of all Database Server VM in Nutanix Database Service

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const dbservers = nutanix.getNdbDbservers({});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    dbservers = nutanix.get_ndb_dbservers()
    
    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.GetNdbDbservers(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 dbservers = Nutanix.GetNdbDbservers.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 dbservers = NutanixFunctions.getNdbDbservers();
    
        }
    }
    
    variables:
      dbservers:
        fn::invoke:
          Function: nutanix:getNdbDbservers
          Arguments: {}
    

    Using getNdbDbservers

    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 getNdbDbservers(opts?: InvokeOptions): Promise<GetNdbDbserversResult>
    function getNdbDbserversOutput(opts?: InvokeOptions): Output<GetNdbDbserversResult>
    def get_ndb_dbservers(opts: Optional[InvokeOptions] = None) -> GetNdbDbserversResult
    def get_ndb_dbservers_output(opts: Optional[InvokeOptions] = None) -> Output[GetNdbDbserversResult]
    func GetNdbDbservers(ctx *Context, opts ...InvokeOption) (*GetNdbDbserversResult, error)
    func GetNdbDbserversOutput(ctx *Context, opts ...InvokeOption) GetNdbDbserversResultOutput

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

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

    getNdbDbservers Result

    The following output properties are available:

    Dbservers List<PiersKarsenbarg.Nutanix.Outputs.GetNdbDbserversDbserver>
    Id string
    The provider-assigned unique ID for this managed resource.
    Dbservers []GetNdbDbserversDbserver
    Id string
    The provider-assigned unique ID for this managed resource.
    dbservers List<GetNdbDbserversDbserver>
    id String
    The provider-assigned unique ID for this managed resource.
    dbservers GetNdbDbserversDbserver[]
    id string
    The provider-assigned unique ID for this managed resource.
    dbservers Sequence[GetNdbDbserversDbserver]
    id str
    The provider-assigned unique ID for this managed resource.
    dbservers List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetNdbDbserversDbserver

    AccessKeyId string
    access key id of dbserver vm
    AccessLevel string
    access level
    AssociatedTimeMachineIds List<string>
    associated time machines ids
    ClientId string
    client id
    Clustered bool
    clustered or not
    DatabaseType string
    database type
    DateCreated string
    date created of db server vm
    DateModified string
    date modified of db server vm
    DbserverInvalidEaState bool
    dbserver invalid ea state
    Description string
    description of db server vm
    EraDriveId string
    era drive id
    EraVersion string
    era version
    Fqdns string
    Id string
    IpAddresses List<string>
    IP addresses of the dbserver vm
    IsServerDriven bool
    is server down or not
    MacAddresses List<string>
    Mac addresses of dbserver vm
    Name string
    name of dbserver vm
    Properties List<PiersKarsenbarg.Nutanix.Inputs.GetNdbDbserversDbserverProperty>
    properties of db server vm
    ProtectionDomainId string
    protection domain id
    QueryCount int
    query count
    Status string
    Status of Dbserver . Active or not.
    Tags List<PiersKarsenbarg.Nutanix.Inputs.GetNdbDbserversDbserverTag>
    tags for db server vm
    Type string
    Type of entity. i.e. Dbserver
    ValidDiagnosticBundleState bool
    valid diagnostic bundle state
    VmClusterUuid string
    clusetr uuid for dbserver vm
    VmInfos List<PiersKarsenbarg.Nutanix.Inputs.GetNdbDbserversDbserverVmInfo>
    info of dbserver vm
    VmTimezone string
    timezone of dbserver vm
    WindowsDbServer bool
    window db server
    WorkingDirectory string
    working directory of db server vm
    AccessKeyId string
    access key id of dbserver vm
    AccessLevel string
    access level
    AssociatedTimeMachineIds []string
    associated time machines ids
    ClientId string
    client id
    Clustered bool
    clustered or not
    DatabaseType string
    database type
    DateCreated string
    date created of db server vm
    DateModified string
    date modified of db server vm
    DbserverInvalidEaState bool
    dbserver invalid ea state
    Description string
    description of db server vm
    EraDriveId string
    era drive id
    EraVersion string
    era version
    Fqdns string
    Id string
    IpAddresses []string
    IP addresses of the dbserver vm
    IsServerDriven bool
    is server down or not
    MacAddresses []string
    Mac addresses of dbserver vm
    Name string
    name of dbserver vm
    Properties []GetNdbDbserversDbserverProperty
    properties of db server vm
    ProtectionDomainId string
    protection domain id
    QueryCount int
    query count
    Status string
    Status of Dbserver . Active or not.
    Tags []GetNdbDbserversDbserverTag
    tags for db server vm
    Type string
    Type of entity. i.e. Dbserver
    ValidDiagnosticBundleState bool
    valid diagnostic bundle state
    VmClusterUuid string
    clusetr uuid for dbserver vm
    VmInfos []GetNdbDbserversDbserverVmInfo
    info of dbserver vm
    VmTimezone string
    timezone of dbserver vm
    WindowsDbServer bool
    window db server
    WorkingDirectory string
    working directory of db server vm
    accessKeyId String
    access key id of dbserver vm
    accessLevel String
    access level
    associatedTimeMachineIds List<String>
    associated time machines ids
    clientId String
    client id
    clustered Boolean
    clustered or not
    databaseType String
    database type
    dateCreated String
    date created of db server vm
    dateModified String
    date modified of db server vm
    dbserverInvalidEaState Boolean
    dbserver invalid ea state
    description String
    description of db server vm
    eraDriveId String
    era drive id
    eraVersion String
    era version
    fqdns String
    id String
    ipAddresses List<String>
    IP addresses of the dbserver vm
    isServerDriven Boolean
    is server down or not
    macAddresses List<String>
    Mac addresses of dbserver vm
    name String
    name of dbserver vm
    properties List<GetNdbDbserversDbserverProperty>
    properties of db server vm
    protectionDomainId String
    protection domain id
    queryCount Integer
    query count
    status String
    Status of Dbserver . Active or not.
    tags List<GetNdbDbserversDbserverTag>
    tags for db server vm
    type String
    Type of entity. i.e. Dbserver
    validDiagnosticBundleState Boolean
    valid diagnostic bundle state
    vmClusterUuid String
    clusetr uuid for dbserver vm
    vmInfos List<GetNdbDbserversDbserverVmInfo>
    info of dbserver vm
    vmTimezone String
    timezone of dbserver vm
    windowsDbServer Boolean
    window db server
    workingDirectory String
    working directory of db server vm
    accessKeyId string
    access key id of dbserver vm
    accessLevel string
    access level
    associatedTimeMachineIds string[]
    associated time machines ids
    clientId string
    client id
    clustered boolean
    clustered or not
    databaseType string
    database type
    dateCreated string
    date created of db server vm
    dateModified string
    date modified of db server vm
    dbserverInvalidEaState boolean
    dbserver invalid ea state
    description string
    description of db server vm
    eraDriveId string
    era drive id
    eraVersion string
    era version
    fqdns string
    id string
    ipAddresses string[]
    IP addresses of the dbserver vm
    isServerDriven boolean
    is server down or not
    macAddresses string[]
    Mac addresses of dbserver vm
    name string
    name of dbserver vm
    properties GetNdbDbserversDbserverProperty[]
    properties of db server vm
    protectionDomainId string
    protection domain id
    queryCount number
    query count
    status string
    Status of Dbserver . Active or not.
    tags GetNdbDbserversDbserverTag[]
    tags for db server vm
    type string
    Type of entity. i.e. Dbserver
    validDiagnosticBundleState boolean
    valid diagnostic bundle state
    vmClusterUuid string
    clusetr uuid for dbserver vm
    vmInfos GetNdbDbserversDbserverVmInfo[]
    info of dbserver vm
    vmTimezone string
    timezone of dbserver vm
    windowsDbServer boolean
    window db server
    workingDirectory string
    working directory of db server vm
    access_key_id str
    access key id of dbserver vm
    access_level str
    access level
    associated_time_machine_ids Sequence[str]
    associated time machines ids
    client_id str
    client id
    clustered bool
    clustered or not
    database_type str
    database type
    date_created str
    date created of db server vm
    date_modified str
    date modified of db server vm
    dbserver_invalid_ea_state bool
    dbserver invalid ea state
    description str
    description of db server vm
    era_drive_id str
    era drive id
    era_version str
    era version
    fqdns str
    id str
    ip_addresses Sequence[str]
    IP addresses of the dbserver vm
    is_server_driven bool
    is server down or not
    mac_addresses Sequence[str]
    Mac addresses of dbserver vm
    name str
    name of dbserver vm
    properties Sequence[GetNdbDbserversDbserverProperty]
    properties of db server vm
    protection_domain_id str
    protection domain id
    query_count int
    query count
    status str
    Status of Dbserver . Active or not.
    tags Sequence[GetNdbDbserversDbserverTag]
    tags for db server vm
    type str
    Type of entity. i.e. Dbserver
    valid_diagnostic_bundle_state bool
    valid diagnostic bundle state
    vm_cluster_uuid str
    clusetr uuid for dbserver vm
    vm_infos Sequence[GetNdbDbserversDbserverVmInfo]
    info of dbserver vm
    vm_timezone str
    timezone of dbserver vm
    windows_db_server bool
    window db server
    working_directory str
    working directory of db server vm
    accessKeyId String
    access key id of dbserver vm
    accessLevel String
    access level
    associatedTimeMachineIds List<String>
    associated time machines ids
    clientId String
    client id
    clustered Boolean
    clustered or not
    databaseType String
    database type
    dateCreated String
    date created of db server vm
    dateModified String
    date modified of db server vm
    dbserverInvalidEaState Boolean
    dbserver invalid ea state
    description String
    description of db server vm
    eraDriveId String
    era drive id
    eraVersion String
    era version
    fqdns String
    id String
    ipAddresses List<String>
    IP addresses of the dbserver vm
    isServerDriven Boolean
    is server down or not
    macAddresses List<String>
    Mac addresses of dbserver vm
    name String
    name of dbserver vm
    properties List<Property Map>
    properties of db server vm
    protectionDomainId String
    protection domain id
    queryCount Number
    query count
    status String
    Status of Dbserver . Active or not.
    tags List<Property Map>
    tags for db server vm
    type String
    Type of entity. i.e. Dbserver
    validDiagnosticBundleState Boolean
    valid diagnostic bundle state
    vmClusterUuid String
    clusetr uuid for dbserver vm
    vmInfos List<Property Map>
    info of dbserver vm
    vmTimezone String
    timezone of dbserver vm
    windowsDbServer Boolean
    window db server
    workingDirectory String
    working directory of db server vm

    GetNdbDbserversDbserverProperty

    Name string
    name of dbserver vm
    Value string
    Name string
    name of dbserver vm
    Value string
    name String
    name of dbserver vm
    value String
    name string
    name of dbserver vm
    value string
    name str
    name of dbserver vm
    value str
    name String
    name of dbserver vm
    value String

    GetNdbDbserversDbserverTag

    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

    GetNdbDbserversDbserverVmInfo

    GetNdbDbserversDbserverVmInfoDeregisterInfo

    Message string
    Operations List<string>
    Message string
    Operations []string
    message String
    operations List<String>
    message string
    operations string[]
    message str
    operations Sequence[str]
    message String
    operations List<String>

    GetNdbDbserversDbserverVmInfoInfo

    GetNdbDbserversDbserverVmInfoInfoBpgConfig

    GetNdbDbserversDbserverVmInfoInfoBpgConfigBpgDbParam

    GetNdbDbserversDbserverVmInfoInfoBpgConfigStorage

    GetNdbDbserversDbserverVmInfoInfoBpgConfigStorageArchiveStorage

    Size double
    Size float64
    size Double
    size number
    size float
    size Number

    GetNdbDbserversDbserverVmInfoInfoBpgConfigStorageDataDisk

    Count double
    Count float64
    count Double
    count number
    count float
    count Number

    GetNdbDbserversDbserverVmInfoInfoBpgConfigStorageLogDisk

    Count double
    Size double
    Count float64
    Size float64
    count Double
    size Double
    count number
    size number
    count float
    size float
    count Number
    size Number

    GetNdbDbserversDbserverVmInfoInfoBpgConfigVmProperty

    GetNdbDbserversDbserverVmInfoNetworkInfo

    accessInfos List<GetNdbDbserversDbserverVmInfoNetworkInfoAccessInfo>
    defaultGatewayDevice Boolean
    deviceName String
    eraConfigured Boolean
    flags String
    gateway String
    hostname String
    ipAddresses List<String>
    IP addresses of the dbserver vm
    macAddress String
    mtu String
    subnetMask String
    vlanName String
    vlanType String
    vlanUuid String
    accessInfos GetNdbDbserversDbserverVmInfoNetworkInfoAccessInfo[]
    defaultGatewayDevice boolean
    deviceName string
    eraConfigured boolean
    flags string
    gateway string
    hostname string
    ipAddresses string[]
    IP addresses of the dbserver vm
    macAddress string
    mtu string
    subnetMask string
    vlanName string
    vlanType string
    vlanUuid string
    accessInfos List<Property Map>
    defaultGatewayDevice Boolean
    deviceName String
    eraConfigured Boolean
    flags String
    gateway String
    hostname String
    ipAddresses List<String>
    IP addresses of the dbserver vm
    macAddress String
    mtu String
    subnetMask String
    vlanName String
    vlanType String
    vlanUuid String

    GetNdbDbserversDbserverVmInfoNetworkInfoAccessInfo

    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