Nutanix v0.0.52 published on Friday, Jun 7, 2024 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, 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<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 string - cluster id where network is present
- Id string
- network id
- Ip
Addresses List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Address> - IP addresses of network
- Ip
Pools List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Pool> - IP Pools of network
- Managed bool
- network managed by NDB or not
- Name string
- network name
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Networks Network Property> - properties of network
- Properties
Maps List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Networks Network Properties Map> - properties map of network
- Stretched
Vlan stringId - stretched vlan id
- Type string
- type of network
- Cluster
Id string - cluster id where network is present
- Id string
- network id
- Ip
Addresses []GetNdb Networks Network Ip Address - IP addresses of network
- Ip
Pools []GetNdb Networks Network Ip Pool - IP Pools of network
- Managed bool
- network managed by NDB or not
- Name string
- network name
- Properties
[]Get
Ndb Networks Network Property - properties of network
- Properties
Maps []GetNdb Networks Network Properties Map - properties map of network
- Stretched
Vlan stringId - stretched vlan id
- Type string
- type of network
- cluster
Id String - cluster id where network is present
- id String
- network id
- ip
Addresses List<GetNdb Networks Network Ip Address> - IP addresses of network
- ip
Pools List<GetNdb Networks Network Ip Pool> - IP Pools of network
- managed Boolean
- network managed by NDB or not
- name String
- network name
- properties
List<Get
Ndb Networks Network Property> - properties of network
- properties
Maps List<GetNdb Networks Network Properties Map> - properties map of network
- stretched
Vlan StringId - stretched vlan id
- type String
- type of network
- cluster
Id string - cluster id where network is present
- id string
- network id
- ip
Addresses GetNdb Networks Network Ip Address[] - IP addresses of network
- ip
Pools GetNdb Networks Network Ip Pool[] - IP Pools of network
- managed boolean
- network managed by NDB or not
- name string
- network name
- properties
Get
Ndb Networks Network Property[] - properties of network
- properties
Maps GetNdb Networks Network Properties Map[] - properties map of network
- stretched
Vlan stringId - stretched vlan id
- type string
- type of network
- cluster_
id str - cluster id where network is present
- id str
- network id
- ip_
addresses Sequence[GetNdb Networks Network Ip Address] - IP addresses of network
- ip_
pools Sequence[GetNdb Networks Network Ip Pool] - IP Pools of network
- managed bool
- network managed by NDB or not
- name str
- network name
- properties
Sequence[Get
Ndb Networks Network Property] - properties of network
- properties_
maps Sequence[GetNdb Networks Network Properties Map] - properties map of network
- stretched_
vlan_ strid - stretched vlan id
- type str
- type of network
- cluster
Id String - cluster id where network is present
- id String
- network id
- ip
Addresses List<Property Map> - IP addresses of network
- ip
Pools 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
- properties
Maps List<Property Map> - properties map of network
- stretched
Vlan StringId - stretched vlan id
- type String
- type of network
GetNdbNetworksNetworkIpAddress
- Dbserver
Id string - dbserver id
- Dbserver
Name string - dbserver name
- Ip string
- ip of pool
- Status string
- ip status
- Dbserver
Id string - dbserver id
- Dbserver
Name string - dbserver name
- Ip string
- ip of pool
- Status string
- ip status
- dbserver
Id String - dbserver id
- dbserver
Name String - dbserver name
- ip String
- ip of pool
- status String
- ip status
- dbserver
Id string - dbserver id
- dbserver
Name 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
- dbserver
Id String - dbserver id
- dbserver
Name String - dbserver name
- ip String
- ip of pool
- status String
- ip status
GetNdbNetworksNetworkIpPool
- Addresses
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Networks Network Ip Pool Address> - address of ips ranges
- End
Ip string - end ip
- Start
Ip string - start ip
- Addresses
[]Get
Ndb Networks Network Ip Pool Address - address of ips ranges
- End
Ip string - end ip
- Start
Ip string - start ip
- addresses
List<Get
Ndb Networks Network Ip Pool Address> - address of ips ranges
- end
Ip String - end ip
- start
Ip String - start ip
- addresses
Get
Ndb Networks Network Ip Pool Address[] - address of ips ranges
- end
Ip string - end ip
- start
Ip string - start ip
- addresses
Sequence[Get
Ndb Networks Network Ip Pool Address] - address of ips ranges
- end_
ip str - end ip
- start_
ip str - start ip
- addresses List<Property Map>
- address of ips ranges
- end
Ip String - end ip
- start
Ip String - start ip
GetNdbNetworksNetworkIpPoolAddress
GetNdbNetworksNetworkPropertiesMap
- Vlan
Gateway string - gateway of vlan
- Vlan
Primary stringDns - primary dns of vlan
- Vlan
Secondary stringDns - secondary dns of vlan
- Vlan
Subnet stringMask - subnet mask of vlan
- Vlan
Gateway string - gateway of vlan
- Vlan
Primary stringDns - primary dns of vlan
- Vlan
Secondary stringDns - secondary dns of vlan
- Vlan
Subnet stringMask - subnet mask of vlan
- vlan
Gateway String - gateway of vlan
- vlan
Primary StringDns - primary dns of vlan
- vlan
Secondary StringDns - secondary dns of vlan
- vlan
Subnet StringMask - subnet mask of vlan
- vlan
Gateway string - gateway of vlan
- vlan
Primary stringDns - primary dns of vlan
- vlan
Secondary stringDns - secondary dns of vlan
- vlan
Subnet stringMask - subnet mask of vlan
- vlan_
gateway str - gateway of vlan
- vlan_
primary_ strdns - primary dns of vlan
- vlan_
secondary_ strdns - secondary dns of vlan
- vlan_
subnet_ strmask - subnet mask of vlan
- vlan
Gateway String - gateway of vlan
- vlan
Primary StringDns - primary dns of vlan
- vlan
Secondary StringDns - secondary dns of vlan
- vlan
Subnet StringMask - 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.