GetNetwork

Using GetNetwork

function getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
function  get_network(id=None, ip_range=None, labels=None, name=None, with_selector=None, opts=None)
func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)

Note: This function is named LookupNetwork in the Go SDK.

public static class GetNetwork {
    public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id int
IpRange string
Labels Dictionary<string, object>
Name string
WithSelector string
Id int
IpRange string
Labels map[string]interface{}
Name string
WithSelector string
id number
ipRange string
labels {[key: string]: any}
name string
withSelector string
id float
ip_range str
labels Dict[str, Any]
name str
with_selector str

GetNetwork Result

The following output properties are available:

Id int
IpRange string
Labels Dictionary<string, object>
Name string
WithSelector string
Id int
IpRange string
Labels map[string]interface{}
Name string
WithSelector string
id number
ipRange string
labels {[key: string]: any}
name string
withSelector string
id float
ip_range str
labels Dict[str, Any]
name str
with_selector str

Package Details

Repository
https://github.com/pulumi/pulumi-hcloud
License
Apache-2.0
Notes
This Pulumi package is based on the hcloud Terraform Provider.