vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getNetworkingNetwork
Explore with Pulumi AI
Use this data source to get the ID of an available VKCS network.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const extnet = vkcs.getNetworkingNetwork({
name: "internet",
});
import pulumi
import pulumi_vkcs as vkcs
extnet = vkcs.get_networking_network(name="internet")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.LookupNetworkingNetwork(ctx, &vkcs.LookupNetworkingNetworkArgs{
Name: pulumi.StringRef("internet"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var extnet = Vkcs.GetNetworkingNetwork.Invoke(new()
{
Name = "internet",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetNetworkingNetworkArgs;
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 extnet = VkcsFunctions.getNetworkingNetwork(GetNetworkingNetworkArgs.builder()
.name("internet")
.build());
}
}
variables:
extnet:
fn::invoke:
function: vkcs:getNetworkingNetwork
arguments:
name: internet
Using getNetworkingNetwork
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 getNetworkingNetwork(args: GetNetworkingNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkingNetworkResult>
function getNetworkingNetworkOutput(args: GetNetworkingNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkingNetworkResult>
def get_networking_network(description: Optional[str] = None,
external: Optional[bool] = None,
id: Optional[str] = None,
matching_subnet_cidr: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
region: Optional[str] = None,
sdn: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[str] = None,
vkcs_services_access: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkingNetworkResult
def get_networking_network_output(description: Optional[pulumi.Input[str]] = None,
external: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
matching_subnet_cidr: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
sdn: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tenant_id: Optional[pulumi.Input[str]] = None,
vkcs_services_access: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkingNetworkResult]
func LookupNetworkingNetwork(ctx *Context, args *LookupNetworkingNetworkArgs, opts ...InvokeOption) (*LookupNetworkingNetworkResult, error)
func LookupNetworkingNetworkOutput(ctx *Context, args *LookupNetworkingNetworkOutputArgs, opts ...InvokeOption) LookupNetworkingNetworkResultOutput
> Note: This function is named LookupNetworkingNetwork
in the Go SDK.
public static class GetNetworkingNetwork
{
public static Task<GetNetworkingNetworkResult> InvokeAsync(GetNetworkingNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkingNetworkResult> Invoke(GetNetworkingNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkingNetworkResult> getNetworkingNetwork(GetNetworkingNetworkArgs args, InvokeOptions options)
public static Output<GetNetworkingNetworkResult> getNetworkingNetwork(GetNetworkingNetworkArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getNetworkingNetwork:getNetworkingNetwork
arguments:
# arguments dictionary
The following arguments are supported:
- Description string
- optional string → Human-readable description of the network.
- External bool
- optional boolean → The external routing facility of the network.
- Id string
- optional string → The ID of the network.
- Matching
Subnet stringCidr - optional string → The CIDR of a subnet within the network.
- Name string
- optional string → The name of the network.
- Network
Id string - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - Region string
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- Status string
- optional string → The status of the network.
- List<string>
- optional set of string → The list of network tags to filter.
- Tenant
Id string - optional string → The owner of the network.
- Vkcs
Services boolAccess - optional boolean → Specifies whether VKCS services access is enabled.
- Description string
- optional string → Human-readable description of the network.
- External bool
- optional boolean → The external routing facility of the network.
- Id string
- optional string → The ID of the network.
- Matching
Subnet stringCidr - optional string → The CIDR of a subnet within the network.
- Name string
- optional string → The name of the network.
- Network
Id string - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - Region string
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- Status string
- optional string → The status of the network.
- []string
- optional set of string → The list of network tags to filter.
- Tenant
Id string - optional string → The owner of the network.
- Vkcs
Services boolAccess - optional boolean → Specifies whether VKCS services access is enabled.
- description String
- optional string → Human-readable description of the network.
- external Boolean
- optional boolean → The external routing facility of the network.
- id String
- optional string → The ID of the network.
- matching
Subnet StringCidr - optional string → The CIDR of a subnet within the network.
- name String
- optional string → The name of the network.
- network
Id String - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - region String
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- status String
- optional string → The status of the network.
- List<String>
- optional set of string → The list of network tags to filter.
- tenant
Id String - optional string → The owner of the network.
- vkcs
Services BooleanAccess - optional boolean → Specifies whether VKCS services access is enabled.
- description string
- optional string → Human-readable description of the network.
- external boolean
- optional boolean → The external routing facility of the network.
- id string
- optional string → The ID of the network.
- matching
Subnet stringCidr - optional string → The CIDR of a subnet within the network.
- name string
- optional string → The name of the network.
- network
Id string - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - region string
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- status string
- optional string → The status of the network.
- string[]
- optional set of string → The list of network tags to filter.
- tenant
Id string - optional string → The owner of the network.
- vkcs
Services booleanAccess - optional boolean → Specifies whether VKCS services access is enabled.
- description str
- optional string → Human-readable description of the network.
- external bool
- optional boolean → The external routing facility of the network.
- id str
- optional string → The ID of the network.
- matching_
subnet_ strcidr - optional string → The CIDR of a subnet within the network.
- name str
- optional string → The name of the network.
- network_
id str - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - region str
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - sdn str
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- status str
- optional string → The status of the network.
- Sequence[str]
- optional set of string → The list of network tags to filter.
- tenant_
id str - optional string → The owner of the network.
- vkcs_
services_ boolaccess - optional boolean → Specifies whether VKCS services access is enabled.
- description String
- optional string → Human-readable description of the network.
- external Boolean
- optional boolean → The external routing facility of the network.
- id String
- optional string → The ID of the network.
- matching
Subnet StringCidr - optional string → The CIDR of a subnet within the network.
- name String
- optional string → The name of the network.
- network
Id String - optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the
id
attribute instead. - region String
- optional string → The region in which to obtain the Network client. A Network client is needed to retrieve networks ids. If omitted, the
region
argument of the provider is used. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
- status String
- optional string → The status of the network.
- List<String>
- optional set of string → The list of network tags to filter.
- tenant
Id String - optional string → The owner of the network.
- vkcs
Services BooleanAccess - optional boolean → Specifies whether VKCS services access is enabled.
getNetworkingNetwork Result
The following output properties are available:
- Admin
State stringUp - string → The administrative state of the network.
- List<string>
- set of string → The set of string tags applied on the network.
- Id string
- Network
Id string - Private
Dns stringDomain - string → Private dns domain name
- Region string
- string
- string → Specifies whether the network resource can be accessed by any tenant or not.
- Subnets List<string>
- string → A list of subnet IDs belonging to the network.
- Description string
- External bool
- Matching
Subnet stringCidr - Name string
- Sdn string
- Status string
- List<string>
- Tenant
Id string - Vkcs
Services boolAccess
- Admin
State stringUp - string → The administrative state of the network.
- []string
- set of string → The set of string tags applied on the network.
- Id string
- Network
Id string - Private
Dns stringDomain - string → Private dns domain name
- Region string
- string
- string → Specifies whether the network resource can be accessed by any tenant or not.
- Subnets []string
- string → A list of subnet IDs belonging to the network.
- Description string
- External bool
- Matching
Subnet stringCidr - Name string
- Sdn string
- Status string
- []string
- Tenant
Id string - Vkcs
Services boolAccess
- admin
State StringUp - string → The administrative state of the network.
- List<String>
- set of string → The set of string tags applied on the network.
- id String
- network
Id String - private
Dns StringDomain - string → Private dns domain name
- region String
- String
- string → Specifies whether the network resource can be accessed by any tenant or not.
- subnets List<String>
- string → A list of subnet IDs belonging to the network.
- description String
- external Boolean
- matching
Subnet StringCidr - name String
- sdn String
- status String
- List<String>
- tenant
Id String - vkcs
Services BooleanAccess
- admin
State stringUp - string → The administrative state of the network.
- string[]
- set of string → The set of string tags applied on the network.
- id string
- network
Id string - private
Dns stringDomain - string → Private dns domain name
- region string
- string
- string → Specifies whether the network resource can be accessed by any tenant or not.
- subnets string[]
- string → A list of subnet IDs belonging to the network.
- description string
- external boolean
- matching
Subnet stringCidr - name string
- sdn string
- status string
- string[]
- tenant
Id string - vkcs
Services booleanAccess
- admin_
state_ strup - string → The administrative state of the network.
- Sequence[str]
- set of string → The set of string tags applied on the network.
- id str
- network_
id str - private_
dns_ strdomain - string → Private dns domain name
- region str
- str
- string → Specifies whether the network resource can be accessed by any tenant or not.
- subnets Sequence[str]
- string → A list of subnet IDs belonging to the network.
- description str
- external bool
- matching_
subnet_ strcidr - name str
- sdn str
- status str
- Sequence[str]
- tenant_
id str - vkcs_
services_ boolaccess
- admin
State StringUp - string → The administrative state of the network.
- List<String>
- set of string → The set of string tags applied on the network.
- id String
- network
Id String - private
Dns StringDomain - string → Private dns domain name
- region String
- String
- string → Specifies whether the network resource can be accessed by any tenant or not.
- subnets List<String>
- string → A list of subnet IDs belonging to the network.
- description String
- external Boolean
- matching
Subnet StringCidr - name String
- sdn String
- status String
- List<String>
- tenant
Id String - vkcs
Services BooleanAccess
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.