getNetwork

Using getNetwork

function getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
def get_network(id: Optional[str] = None,
                label: Optional[str] = None,
                region: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetNetworkResult
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 string
The unique identifier of an existing Network.
Label string
The label of an existing Network.
Region string
The region of an existing Network.
Id string
The unique identifier of an existing Network.
Label string
The label of an existing Network.
Region string
The region of an existing Network.
id string
The unique identifier of an existing Network.
label string
The label of an existing Network.
region string
The region of an existing Network.
id str
The unique identifier of an existing Network.
label str
The label of an existing Network.
region str
The region of an existing Network.

getNetwork Result

The following output properties are available:

Default bool
If is the default network.
Name string
The name of the network.
Id string
A unique ID that can be used to identify and reference a Network.
Label string
The label used in the configuration.
Region string
Default bool
If is the default network.
Name string
The name of the network.
Id string
A unique ID that can be used to identify and reference a Network.
Label string
The label used in the configuration.
Region string
default boolean
If is the default network.
name string
The name of the network.
id string
A unique ID that can be used to identify and reference a Network.
label string
The label used in the configuration.
region string
default bool
If is the default network.
name str
The name of the network.
id str
A unique ID that can be used to identify and reference a Network.
label str
The label used in the configuration.
region str

Package Details

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