Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getNdbNetworks
Explore with Pulumi AI
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, 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 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)
public static Output<GetNdbNetworksResult> getNdbNetworks(InvokeOptions options)
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<Piers
Karsenbarg. Nutanix. Outputs. Get Ndb Networks Network> - List of networks in NDB
- Id string
- The provider-assigned unique ID for this managed resource.
- Networks
[]Get
Ndb Networks Network - List of networks in NDB
- id String
- The provider-assigned unique ID for this managed resource.
- networks
List<Get
Ndb Networks Network> - List of networks in NDB
- id string
- The provider-assigned unique ID for this managed resource.
- networks
Get
Ndb Networks Network[] - List of networks in NDB
- id str
- The provider-assigned unique ID for this managed resource.
- networks
Sequence[Get
Ndb Networks Network] - 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
- Cluster
Id This property is required. string - cluster id where network is present
- Id
This property is required. string - network id
- Ip
Addresses This property is required. List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Address> - IP addresses of network
- Ip
Pools This property is required. List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Pool> - IP Pools of network
- Managed
This property is required. bool - network managed by NDB or not
- Name
This property is required. string - network name
- Properties
This property is required. List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Property> - properties of network
- Properties
Maps This property is required. List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Properties Map> - properties map of network
- Stretched
Vlan Id This property is required. string - stretched vlan id
- Type
This property is required. string - type of network
- Cluster
Id This property is required. string - cluster id where network is present
- Id
This property is required. string - network id
- Ip
Addresses This property is required. []GetNdb Networks Network Ip Address - IP addresses of network
- Ip
Pools This property is required. []GetNdb Networks Network Ip Pool - IP Pools of network
- Managed
This property is required. bool - network managed by NDB or not
- Name
This property is required. string - network name
- Properties
This property is required. []GetNdb Networks Network Property - properties of network
- Properties
Maps This property is required. []GetNdb Networks Network Properties Map - properties map of network
- Stretched
Vlan Id This property is required. string - stretched vlan id
- Type
This property is required. string - type of network
- cluster
Id This property is required. String - cluster id where network is present
- id
This property is required. String - network id
- ip
Addresses This property is required. List<GetNdb Networks Network Ip Address> - IP addresses of network
- ip
Pools This property is required. List<GetNdb Networks Network Ip Pool> - IP Pools of network
- managed
This property is required. Boolean - network managed by NDB or not
- name
This property is required. String - network name
- properties
This property is required. List<GetNdb Networks Network Property> - properties of network
- properties
Maps This property is required. List<GetNdb Networks Network Properties Map> - properties map of network
- stretched
Vlan Id This property is required. String - stretched vlan id
- type
This property is required. String - type of network
- cluster
Id This property is required. string - cluster id where network is present
- id
This property is required. string - network id
- ip
Addresses This property is required. GetNdb Networks Network Ip Address[] - IP addresses of network
- ip
Pools This property is required. GetNdb Networks Network Ip Pool[] - IP Pools of network
- managed
This property is required. boolean - network managed by NDB or not
- name
This property is required. string - network name
- properties
This property is required. GetNdb Networks Network Property[] - properties of network
- properties
Maps This property is required. GetNdb Networks Network Properties Map[] - properties map of network
- stretched
Vlan Id This property is required. string - stretched vlan id
- type
This property is required. string - type of network
- cluster_
id This property is required. str - cluster id where network is present
- id
This property is required. str - network id
- ip_
addresses This property is required. Sequence[GetNdb Networks Network Ip Address] - IP addresses of network
- ip_
pools This property is required. Sequence[GetNdb Networks Network Ip Pool] - IP Pools of network
- managed
This property is required. bool - network managed by NDB or not
- name
This property is required. str - network name
- properties
This property is required. Sequence[GetNdb Networks Network Property] - properties of network
- properties_
maps This property is required. Sequence[GetNdb Networks Network Properties Map] - properties map of network
- stretched_
vlan_ id This property is required. str - stretched vlan id
- type
This property is required. str - type of network
- cluster
Id This property is required. String - cluster id where network is present
- id
This property is required. String - network id
- ip
Addresses This property is required. List<Property Map> - IP addresses of network
- ip
Pools This property is required. List<Property Map> - IP Pools of network
- managed
This property is required. Boolean - network managed by NDB or not
- name
This property is required. String - network name
- properties
This property is required. List<Property Map> - properties of network
- properties
Maps This property is required. List<Property Map> - properties map of network
- stretched
Vlan Id This property is required. String - stretched vlan id
- type
This property is required. String - type of network
GetNdbNetworksNetworkIpAddress
- Dbserver
Id This property is required. string - dbserver id
- Dbserver
Name This property is required. string - dbserver name
- Ip
This property is required. string - ip of pool
- Status
This property is required. string - ip status
- Dbserver
Id This property is required. string - dbserver id
- Dbserver
Name This property is required. string - dbserver name
- Ip
This property is required. string - ip of pool
- Status
This property is required. string - ip status
- dbserver
Id This property is required. String - dbserver id
- dbserver
Name This property is required. String - dbserver name
- ip
This property is required. String - ip of pool
- status
This property is required. String - ip status
- dbserver
Id This property is required. string - dbserver id
- dbserver
Name This property is required. string - dbserver name
- ip
This property is required. string - ip of pool
- status
This property is required. string - ip status
- dbserver_
id This property is required. str - dbserver id
- dbserver_
name This property is required. str - dbserver name
- ip
This property is required. str - ip of pool
- status
This property is required. str - ip status
- dbserver
Id This property is required. String - dbserver id
- dbserver
Name This property is required. String - dbserver name
- ip
This property is required. String - ip of pool
- status
This property is required. String - ip status
GetNdbNetworksNetworkIpPool
- Addresses
This property is required. List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Pool Address> - address of ips ranges
- End
Ip This property is required. string - end ip
- Start
Ip This property is required. string - start ip
- Addresses
This property is required. []GetNdb Networks Network Ip Pool Address - address of ips ranges
- End
Ip This property is required. string - end ip
- Start
Ip This property is required. string - start ip
- addresses
This property is required. List<GetNdb Networks Network Ip Pool Address> - address of ips ranges
- end
Ip This property is required. String - end ip
- start
Ip This property is required. String - start ip
- addresses
This property is required. GetNdb Networks Network Ip Pool Address[] - address of ips ranges
- end
Ip This property is required. string - end ip
- start
Ip This property is required. string - start ip
- addresses
This property is required. Sequence[GetNdb Networks Network Ip Pool Address] - address of ips ranges
- end_
ip This property is required. str - end ip
- start_
ip This property is required. str - start ip
- addresses
This property is required. List<Property Map> - address of ips ranges
- end
Ip This property is required. String - end ip
- start
Ip This property is required. String - start ip
GetNdbNetworksNetworkIpPoolAddress
GetNdbNetworksNetworkPropertiesMap
- Vlan
Gateway This property is required. string - gateway of vlan
- Vlan
Primary Dns This property is required. string - primary dns of vlan
- Vlan
Secondary Dns This property is required. string - secondary dns of vlan
- Vlan
Subnet Mask This property is required. string - subnet mask of vlan
- Vlan
Gateway This property is required. string - gateway of vlan
- Vlan
Primary Dns This property is required. string - primary dns of vlan
- Vlan
Secondary Dns This property is required. string - secondary dns of vlan
- Vlan
Subnet Mask This property is required. string - subnet mask of vlan
- vlan
Gateway This property is required. String - gateway of vlan
- vlan
Primary Dns This property is required. String - primary dns of vlan
- vlan
Secondary Dns This property is required. String - secondary dns of vlan
- vlan
Subnet Mask This property is required. String - subnet mask of vlan
- vlan
Gateway This property is required. string - gateway of vlan
- vlan
Primary Dns This property is required. string - primary dns of vlan
- vlan
Secondary Dns This property is required. string - secondary dns of vlan
- vlan
Subnet Mask This property is required. string - subnet mask of vlan
- vlan_
gateway This property is required. str - gateway of vlan
- vlan_
primary_ dns This property is required. str - primary dns of vlan
- vlan_
secondary_ dns This property is required. str - secondary dns of vlan
- vlan_
subnet_ mask This property is required. str - subnet mask of vlan
- vlan
Gateway This property is required. String - gateway of vlan
- vlan
Primary Dns This property is required. String - primary dns of vlan
- vlan
Secondary Dns This property is required. String - secondary dns of vlan
- vlan
Subnet Mask This property is required. String - subnet mask of vlan
GetNdbNetworksNetworkProperty
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.