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

nutanix.getNdbDbserver

Explore with Pulumi AI

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

    Describes Database Server VM in Nutanix Database Service

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const dbserver = nutanix.getNdbDbserver({
        ip: "{{ dbserver_vm_ip }}",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    dbserver = nutanix.get_ndb_dbserver(ip="{{ dbserver_vm_ip }}")
    
    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.GetNdbDbserver(ctx, &nutanix.GetNdbDbserverArgs{
    			Ip: pulumi.StringRef("{{ dbserver_vm_ip }}"),
    		}, 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 dbserver = Nutanix.GetNdbDbserver.Invoke(new()
        {
            Ip = "{{ dbserver_vm_ip }}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NutanixFunctions;
    import com.pulumi.nutanix.inputs.GetNdbDbserverArgs;
    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 dbserver = NutanixFunctions.getNdbDbserver(GetNdbDbserverArgs.builder()
                .ip("{{ dbserver_vm_ip }}")
                .build());
    
        }
    }
    
    variables:
      dbserver:
        fn::invoke:
          Function: nutanix:getNdbDbserver
          Arguments:
            ip: '{{ dbserver_vm_ip }}'
    

    Using getNdbDbserver

    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 getNdbDbserver(args: GetNdbDbserverArgs, opts?: InvokeOptions): Promise<GetNdbDbserverResult>
    function getNdbDbserverOutput(args: GetNdbDbserverOutputArgs, opts?: InvokeOptions): Output<GetNdbDbserverResult>
    def get_ndb_dbserver(dbserver_cluster_id: Optional[str] = None,
                         id: Optional[str] = None,
                         ip: Optional[str] = None,
                         name: Optional[str] = None,
                         nx_cluster_id: Optional[str] = None,
                         tags: Optional[Sequence[GetNdbDbserverTag]] = None,
                         vm_cluster_id: Optional[str] = None,
                         vm_cluster_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetNdbDbserverResult
    def get_ndb_dbserver_output(dbserver_cluster_id: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         ip: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         nx_cluster_id: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetNdbDbserverTagArgs]]]] = None,
                         vm_cluster_id: Optional[pulumi.Input[str]] = None,
                         vm_cluster_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetNdbDbserverResult]
    func GetNdbDbserver(ctx *Context, args *GetNdbDbserverArgs, opts ...InvokeOption) (*GetNdbDbserverResult, error)
    func GetNdbDbserverOutput(ctx *Context, args *GetNdbDbserverOutputArgs, opts ...InvokeOption) GetNdbDbserverResultOutput

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

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

    The following arguments are supported:

    DbserverClusterId string
    Id string
    id of database server vm
    Ip string
    ip of database server vm
    Name string
    name of database server vm
    NxClusterId string
    Tags List<PiersKarsenbarg.Nutanix.Inputs.GetNdbDbserverTag>
    tags for db server vm
    VmClusterId string
    vm cluster id of database server
    VmClusterName string
    vm cluster name of database server
    DbserverClusterId string
    Id string
    id of database server vm
    Ip string
    ip of database server vm
    Name string
    name of database server vm
    NxClusterId string
    Tags []GetNdbDbserverTag
    tags for db server vm
    VmClusterId string
    vm cluster id of database server
    VmClusterName string
    vm cluster name of database server
    dbserverClusterId String
    id String
    id of database server vm
    ip String
    ip of database server vm
    name String
    name of database server vm
    nxClusterId String
    tags List<GetNdbDbserverTag>
    tags for db server vm
    vmClusterId String
    vm cluster id of database server
    vmClusterName String
    vm cluster name of database server
    dbserverClusterId string
    id string
    id of database server vm
    ip string
    ip of database server vm
    name string
    name of database server vm
    nxClusterId string
    tags GetNdbDbserverTag[]
    tags for db server vm
    vmClusterId string
    vm cluster id of database server
    vmClusterName string
    vm cluster name of database server
    dbserver_cluster_id str
    id str
    id of database server vm
    ip str
    ip of database server vm
    name str
    name of database server vm
    nx_cluster_id str
    tags Sequence[GetNdbDbserverTag]
    tags for db server vm
    vm_cluster_id str
    vm cluster id of database server
    vm_cluster_name str
    vm cluster name of database server
    dbserverClusterId String
    id String
    id of database server vm
    ip String
    ip of database server vm
    name String
    name of database server vm
    nxClusterId String
    tags List<Property Map>
    tags for db server vm
    vmClusterId String
    vm cluster id of database server
    vmClusterName String
    vm cluster name of database server

    getNdbDbserver Result

    The following output properties are available:

    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
    DbserverClusterId string
    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
    Properties List<PiersKarsenbarg.Nutanix.Outputs.GetNdbDbserverProperty>
    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.Outputs.GetNdbDbserverTag>
    tags for db server vm
    Type string
    Type of entity. i.e. Dbserver
    ValidDiagnosticBundleState bool
    valid diagnostic bundle state
    VmClusterName string
    VmClusterUuid string
    clusetr uuid for dbserver vm
    VmInfos List<PiersKarsenbarg.Nutanix.Outputs.GetNdbDbserverVmInfo>
    info of dbserver vm
    VmTimezone string
    timezone of dbserver vm
    WindowsDbServer bool
    window db server
    WorkingDirectory string
    working directory of db server vm
    Ip string
    NxClusterId string
    VmClusterId string
    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
    DbserverClusterId string
    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
    Properties []GetNdbDbserverProperty
    properties of db server vm
    ProtectionDomainId string
    protection domain id
    QueryCount int
    query count
    Status string
    Status of Dbserver . Active or not.
    Tags []GetNdbDbserverTag
    tags for db server vm
    Type string
    Type of entity. i.e. Dbserver
    ValidDiagnosticBundleState bool
    valid diagnostic bundle state
    VmClusterName string
    VmClusterUuid string
    clusetr uuid for dbserver vm
    VmInfos []GetNdbDbserverVmInfo
    info of dbserver vm
    VmTimezone string
    timezone of dbserver vm
    WindowsDbServer bool
    window db server
    WorkingDirectory string
    working directory of db server vm
    Ip string
    NxClusterId string
    VmClusterId string
    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
    dbserverClusterId String
    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
    properties List<GetNdbDbserverProperty>
    properties of db server vm
    protectionDomainId String
    protection domain id
    queryCount Integer
    query count
    status String
    Status of Dbserver . Active or not.
    tags List<GetNdbDbserverTag>
    tags for db server vm
    type String
    Type of entity. i.e. Dbserver
    validDiagnosticBundleState Boolean
    valid diagnostic bundle state
    vmClusterName String
    vmClusterUuid String
    clusetr uuid for dbserver vm
    vmInfos List<GetNdbDbserverVmInfo>
    info of dbserver vm
    vmTimezone String
    timezone of dbserver vm
    windowsDbServer Boolean
    window db server
    workingDirectory String
    working directory of db server vm
    ip String
    nxClusterId String
    vmClusterId String
    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
    dbserverClusterId string
    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
    properties GetNdbDbserverProperty[]
    properties of db server vm
    protectionDomainId string
    protection domain id
    queryCount number
    query count
    status string
    Status of Dbserver . Active or not.
    tags GetNdbDbserverTag[]
    tags for db server vm
    type string
    Type of entity. i.e. Dbserver
    validDiagnosticBundleState boolean
    valid diagnostic bundle state
    vmClusterName string
    vmClusterUuid string
    clusetr uuid for dbserver vm
    vmInfos GetNdbDbserverVmInfo[]
    info of dbserver vm
    vmTimezone string
    timezone of dbserver vm
    windowsDbServer boolean
    window db server
    workingDirectory string
    working directory of db server vm
    ip string
    nxClusterId string
    vmClusterId string
    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_cluster_id str
    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
    properties Sequence[GetNdbDbserverProperty]
    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[GetNdbDbserverTag]
    tags for db server vm
    type str
    Type of entity. i.e. Dbserver
    valid_diagnostic_bundle_state bool
    valid diagnostic bundle state
    vm_cluster_name str
    vm_cluster_uuid str
    clusetr uuid for dbserver vm
    vm_infos Sequence[GetNdbDbserverVmInfo]
    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
    ip str
    nx_cluster_id str
    vm_cluster_id str
    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
    dbserverClusterId String
    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
    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
    vmClusterName String
    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
    ip String
    nxClusterId String
    vmClusterId String

    Supporting Types

    GetNdbDbserverProperty

    Name string
    name of database server vm
    Value string
    Name string
    name of database server vm
    Value string
    name String
    name of database server vm
    value String
    name string
    name of database server vm
    value string
    name str
    name of database server vm
    value str
    name String
    name of database server vm
    value String

    GetNdbDbserverTag

    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

    GetNdbDbserverVmInfo

    GetNdbDbserverVmInfoDeregisterInfo

    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>

    GetNdbDbserverVmInfoInfo

    GetNdbDbserverVmInfoInfoBpgConfig

    GetNdbDbserverVmInfoInfoBpgConfigBpgDbParam

    GetNdbDbserverVmInfoInfoBpgConfigStorage

    GetNdbDbserverVmInfoInfoBpgConfigStorageArchiveStorage

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

    GetNdbDbserverVmInfoInfoBpgConfigStorageDataDisk

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

    GetNdbDbserverVmInfoInfoBpgConfigStorageLogDisk

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

    GetNdbDbserverVmInfoInfoBpgConfigVmProperty

    GetNdbDbserverVmInfoNetworkInfo

    AccessInfos []GetNdbDbserverVmInfoNetworkInfoAccessInfo
    DefaultGatewayDevice bool
    DeviceName string
    EraConfigured bool
    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<GetNdbDbserverVmInfoNetworkInfoAccessInfo>
    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 GetNdbDbserverVmInfoNetworkInfoAccessInfo[]
    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

    GetNdbDbserverVmInfoNetworkInfoAccessInfo

    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