Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getNdbNetwork
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
Describes a network in Nutanix Database Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const nw = nutanix.getNdbNetwork({
id: "{{ id of network }}",
});
import pulumi
import pulumi_nutanix as nutanix
nw = nutanix.get_ndb_network(id="{{ id of network }}")
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.LookupNdbNetwork(ctx, &nutanix.LookupNdbNetworkArgs{
Id: pulumi.StringRef("{{ id of network }}"),
}, 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.GetNdbNetwork.Invoke(new()
{
Id = "{{ id of network }}",
});
});
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.GetNdbNetworkArgs;
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.getNdbNetwork(GetNdbNetworkArgs.builder()
.id("{{ id of network }}")
.build());
}
}
variables:
nw:
fn::invoke:
Function: nutanix:getNdbNetwork
Arguments:
id: '{{ id of network }}'
Using getNdbNetwork
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 getNdbNetwork(args: GetNdbNetworkArgs, opts?: InvokeOptions): Promise<GetNdbNetworkResult>
function getNdbNetworkOutput(args: GetNdbNetworkOutputArgs, opts?: InvokeOptions): Output<GetNdbNetworkResult>
def get_ndb_network(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNdbNetworkResult
def get_ndb_network_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNdbNetworkResult]
func LookupNdbNetwork(ctx *Context, args *LookupNdbNetworkArgs, opts ...InvokeOption) (*LookupNdbNetworkResult, error)
func LookupNdbNetworkOutput(ctx *Context, args *LookupNdbNetworkOutputArgs, opts ...InvokeOption) LookupNdbNetworkResultOutput
> Note: This function is named LookupNdbNetwork
in the Go SDK.
public static class GetNdbNetwork
{
public static Task<GetNdbNetworkResult> InvokeAsync(GetNdbNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetNdbNetworkResult> Invoke(GetNdbNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNdbNetworkResult> getNdbNetwork(GetNdbNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getNdbNetwork:getNdbNetwork
arguments:
# arguments dictionary
The following arguments are supported:
getNdbNetwork Result
The following output properties are available:
- Cluster
Id string - cluster id where network is present
- Id string
- network id
- Ip
Addresses List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Network Ip Address> - IP addresses of network
- Ip
Pools List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Network Ip Pool> - IP Pools of network
- Managed bool
- network managed by NDB or not
- Name string
- network name
- Properties
List<Piers
Karsenbarg. Nutanix. Outputs. Get Ndb Network Property> - properties of network
- Properties
Maps List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb 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 Network Ip Address - IP addresses of network
- Ip
Pools []GetNdb Network Ip Pool - IP Pools of network
- Managed bool
- network managed by NDB or not
- Name string
- network name
- Properties
[]Get
Ndb Network Property - properties of network
- Properties
Maps []GetNdb 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 Network Ip Address> - IP addresses of network
- ip
Pools List<GetNdb Network Ip Pool> - IP Pools of network
- managed Boolean
- network managed by NDB or not
- name String
- network name
- properties
List<Get
Ndb Network Property> - properties of network
- properties
Maps List<GetNdb 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 Network Ip Address[] - IP addresses of network
- ip
Pools GetNdb Network Ip Pool[] - IP Pools of network
- managed boolean
- network managed by NDB or not
- name string
- network name
- properties
Get
Ndb Network Property[] - properties of network
- properties
Maps GetNdb 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 Network Ip Address] - IP addresses of network
- ip_
pools Sequence[GetNdb Network Ip Pool] - IP Pools of network
- managed bool
- network managed by NDB or not
- name str
- network name
- properties
Sequence[Get
Ndb Network Property] - properties of network
- properties_
maps Sequence[GetNdb 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
Supporting Types
GetNdbNetworkIpAddress
- 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
GetNdbNetworkIpPool
- Addresses
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Network Ip Pool Address> - address of ips ranges
- End
Ip string - end ip
- Start
Ip string - start ip
- Addresses
[]Get
Ndb Network Ip Pool Address - address of ips ranges
- End
Ip string - end ip
- Start
Ip string - start ip
- addresses
List<Get
Ndb Network Ip Pool Address> - address of ips ranges
- end
Ip String - end ip
- start
Ip String - start ip
- addresses
Get
Ndb Network Ip Pool Address[] - address of ips ranges
- end
Ip string - end ip
- start
Ip string - start ip
- addresses
Sequence[Get
Ndb 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
GetNdbNetworkIpPoolAddress
GetNdbNetworkPropertiesMap
- 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
GetNdbNetworkProperty
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg