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

nutanix.getNdbNetworks

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

    List of networks in Nutanix Database Service

    Example Usage

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

    Using getNdbNetworks

    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 getNdbNetworks(opts?: InvokeOptions): Promise<GetNdbNetworksResult>
    function getNdbNetworksOutput(opts?: InvokeOptions): Output<GetNdbNetworksResult>
    def get_ndb_networks(opts: Optional[InvokeOptions] = None) -> GetNdbNetworksResult
    def get_ndb_networks_output(opts: Optional[InvokeOptions] = None) -> Output[GetNdbNetworksResult]
    func GetNdbNetworks(ctx *Context, opts ...InvokeOption) (*GetNdbNetworksResult, error)
    func GetNdbNetworksOutput(ctx *Context, opts ...InvokeOption) GetNdbNetworksResultOutput

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

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

    getNdbNetworks Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Networks List<PiersKarsenbarg.Nutanix.Outputs.GetNdbNetworksNetwork>
    List of networks in NDB
    Id string
    The provider-assigned unique ID for this managed resource.
    Networks []GetNdbNetworksNetwork
    List of networks in NDB
    id String
    The provider-assigned unique ID for this managed resource.
    networks List<GetNdbNetworksNetwork>
    List of networks in NDB
    id string
    The provider-assigned unique ID for this managed resource.
    networks GetNdbNetworksNetwork[]
    List of networks in NDB
    id str
    The provider-assigned unique ID for this managed resource.
    networks Sequence[GetNdbNetworksNetwork]
    List of networks in NDB
    id String
    The provider-assigned unique ID for this managed resource.
    networks List<Property Map>
    List of networks in NDB

    Supporting Types

    GetNdbNetworksNetwork

    ClusterId string
    cluster id where network is present
    Id string
    network id
    IpAddresses List<PiersKarsenbarg.Nutanix.Inputs.GetNdbNetworksNetworkIpAddress>
    IP addresses of network
    IpPools List<PiersKarsenbarg.Nutanix.Inputs.GetNdbNetworksNetworkIpPool>
    IP Pools of network
    Managed bool
    network managed by NDB or not
    Name string
    network name
    Properties List<PiersKarsenbarg.Nutanix.Inputs.GetNdbNetworksNetworkProperty>
    properties of network
    PropertiesMaps List<PiersKarsenbarg.Nutanix.Inputs.GetNdbNetworksNetworkPropertiesMap>
    properties map of network
    StretchedVlanId string
    stretched vlan id
    Type string
    type of network
    ClusterId string
    cluster id where network is present
    Id string
    network id
    IpAddresses []GetNdbNetworksNetworkIpAddress
    IP addresses of network
    IpPools []GetNdbNetworksNetworkIpPool
    IP Pools of network
    Managed bool
    network managed by NDB or not
    Name string
    network name
    Properties []GetNdbNetworksNetworkProperty
    properties of network
    PropertiesMaps []GetNdbNetworksNetworkPropertiesMap
    properties map of network
    StretchedVlanId string
    stretched vlan id
    Type string
    type of network
    clusterId String
    cluster id where network is present
    id String
    network id
    ipAddresses List<GetNdbNetworksNetworkIpAddress>
    IP addresses of network
    ipPools List<GetNdbNetworksNetworkIpPool>
    IP Pools of network
    managed Boolean
    network managed by NDB or not
    name String
    network name
    properties List<GetNdbNetworksNetworkProperty>
    properties of network
    propertiesMaps List<GetNdbNetworksNetworkPropertiesMap>
    properties map of network
    stretchedVlanId String
    stretched vlan id
    type String
    type of network
    clusterId string
    cluster id where network is present
    id string
    network id
    ipAddresses GetNdbNetworksNetworkIpAddress[]
    IP addresses of network
    ipPools GetNdbNetworksNetworkIpPool[]
    IP Pools of network
    managed boolean
    network managed by NDB or not
    name string
    network name
    properties GetNdbNetworksNetworkProperty[]
    properties of network
    propertiesMaps GetNdbNetworksNetworkPropertiesMap[]
    properties map of network
    stretchedVlanId string
    stretched vlan id
    type string
    type of network
    cluster_id str
    cluster id where network is present
    id str
    network id
    ip_addresses Sequence[GetNdbNetworksNetworkIpAddress]
    IP addresses of network
    ip_pools Sequence[GetNdbNetworksNetworkIpPool]
    IP Pools of network
    managed bool
    network managed by NDB or not
    name str
    network name
    properties Sequence[GetNdbNetworksNetworkProperty]
    properties of network
    properties_maps Sequence[GetNdbNetworksNetworkPropertiesMap]
    properties map of network
    stretched_vlan_id str
    stretched vlan id
    type str
    type of network
    clusterId String
    cluster id where network is present
    id String
    network id
    ipAddresses List<Property Map>
    IP addresses of network
    ipPools List<Property Map>
    IP Pools of network
    managed Boolean
    network managed by NDB or not
    name String
    network name
    properties List<Property Map>
    properties of network
    propertiesMaps List<Property Map>
    properties map of network
    stretchedVlanId String
    stretched vlan id
    type String
    type of network

    GetNdbNetworksNetworkIpAddress

    DbserverId string
    dbserver id
    DbserverName string
    dbserver name
    Ip string
    ip of pool
    Status string
    ip status
    DbserverId string
    dbserver id
    DbserverName string
    dbserver name
    Ip string
    ip of pool
    Status string
    ip status
    dbserverId String
    dbserver id
    dbserverName String
    dbserver name
    ip String
    ip of pool
    status String
    ip status
    dbserverId string
    dbserver id
    dbserverName string
    dbserver name
    ip string
    ip of pool
    status string
    ip status
    dbserver_id str
    dbserver id
    dbserver_name str
    dbserver name
    ip str
    ip of pool
    status str
    ip status
    dbserverId String
    dbserver id
    dbserverName String
    dbserver name
    ip String
    ip of pool
    status String
    ip status

    GetNdbNetworksNetworkIpPool

    Addresses []GetNdbNetworksNetworkIpPoolAddress
    address of ips ranges
    EndIp string
    end ip
    StartIp string
    start ip
    addresses List<GetNdbNetworksNetworkIpPoolAddress>
    address of ips ranges
    endIp String
    end ip
    startIp String
    start ip
    addresses GetNdbNetworksNetworkIpPoolAddress[]
    address of ips ranges
    endIp string
    end ip
    startIp string
    start ip
    addresses List<Property Map>
    address of ips ranges
    endIp String
    end ip
    startIp String
    start ip

    GetNdbNetworksNetworkIpPoolAddress

    Ip string
    ip of pool
    Status string
    ip status
    Ip string
    ip of pool
    Status string
    ip status
    ip String
    ip of pool
    status String
    ip status
    ip string
    ip of pool
    status string
    ip status
    ip str
    ip of pool
    status str
    ip status
    ip String
    ip of pool
    status String
    ip status

    GetNdbNetworksNetworkPropertiesMap

    VlanGateway string
    gateway of vlan
    VlanPrimaryDns string
    primary dns of vlan
    VlanSecondaryDns string
    secondary dns of vlan
    VlanSubnetMask string
    subnet mask of vlan
    VlanGateway string
    gateway of vlan
    VlanPrimaryDns string
    primary dns of vlan
    VlanSecondaryDns string
    secondary dns of vlan
    VlanSubnetMask string
    subnet mask of vlan
    vlanGateway String
    gateway of vlan
    vlanPrimaryDns String
    primary dns of vlan
    vlanSecondaryDns String
    secondary dns of vlan
    vlanSubnetMask String
    subnet mask of vlan
    vlanGateway string
    gateway of vlan
    vlanPrimaryDns string
    primary dns of vlan
    vlanSecondaryDns string
    secondary dns of vlan
    vlanSubnetMask string
    subnet mask of vlan
    vlan_gateway str
    gateway of vlan
    vlan_primary_dns str
    primary dns of vlan
    vlan_secondary_dns str
    secondary dns of vlan
    vlan_subnet_mask str
    subnet mask of vlan
    vlanGateway String
    gateway of vlan
    vlanPrimaryDns String
    primary dns of vlan
    vlanSecondaryDns String
    secondary dns of vlan
    vlanSubnetMask String
    subnet mask of vlan

    GetNdbNetworksNetworkProperty

    Name string
    network name
    Secure bool
    Value string
    Name string
    network name
    Secure bool
    Value string
    name String
    network name
    secure Boolean
    value String
    name string
    network name
    secure boolean
    value string
    name str
    network name
    secure bool
    value str
    name String
    network name
    secure Boolean
    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