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 dictionaryThe 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.
- MatchingSubnet stringCidr 
- optional string → The CIDR of a subnet within the network.
- Name string
- optional string → The name of the network.
- NetworkId string
- optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the idattribute 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 regionargument 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.
- TenantId string
- optional string → The owner of the network.
- VkcsServices 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.
- MatchingSubnet stringCidr 
- optional string → The CIDR of a subnet within the network.
- Name string
- optional string → The name of the network.
- NetworkId string
- optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the idattribute 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 regionargument 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.
- TenantId string
- optional string → The owner of the network.
- VkcsServices 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.
- matchingSubnet StringCidr 
- optional string → The CIDR of a subnet within the network.
- name String
- optional string → The name of the network.
- networkId String
- optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the idattribute 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 regionargument 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.
- tenantId String
- optional string → The owner of the network.
- vkcsServices 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.
- matchingSubnet stringCidr 
- optional string → The CIDR of a subnet within the network.
- name string
- optional string → The name of the network.
- networkId string
- optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the idattribute 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 regionargument 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.
- tenantId string
- optional string → The owner of the network.
- vkcsServices 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 idattribute 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 regionargument 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.
- matchingSubnet StringCidr 
- optional string → The CIDR of a subnet within the network.
- name String
- optional string → The name of the network.
- networkId String
- optional deprecated string → The ID of the network. Deprecated This argument is deprecated, please, use the idattribute 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 regionargument 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.
- tenantId String
- optional string → The owner of the network.
- vkcsServices BooleanAccess 
- optional boolean → Specifies whether VKCS services access is enabled.
getNetworkingNetwork Result
The following output properties are available:
- AdminState stringUp 
- string → The administrative state of the network.
- List<string>
- set of string → The set of string tags applied on the network.
- Id string
- NetworkId string
- PrivateDns 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
- MatchingSubnet stringCidr 
- Name string
- Sdn string
- Status string
- List<string>
- TenantId string
- VkcsServices boolAccess 
- AdminState stringUp 
- string → The administrative state of the network.
- []string
- set of string → The set of string tags applied on the network.
- Id string
- NetworkId string
- PrivateDns 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
- MatchingSubnet stringCidr 
- Name string
- Sdn string
- Status string
- []string
- TenantId string
- VkcsServices boolAccess 
- adminState StringUp 
- string → The administrative state of the network.
- List<String>
- set of string → The set of string tags applied on the network.
- id String
- networkId String
- privateDns 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
- matchingSubnet StringCidr 
- name String
- sdn String
- status String
- List<String>
- tenantId String
- vkcsServices BooleanAccess 
- adminState stringUp 
- string → The administrative state of the network.
- string[]
- set of string → The set of string tags applied on the network.
- id string
- networkId string
- privateDns 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
- matchingSubnet stringCidr 
- name string
- sdn string
- status string
- string[]
- tenantId string
- vkcsServices 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 
- adminState StringUp 
- string → The administrative state of the network.
- List<String>
- set of string → The set of string tags applied on the network.
- id String
- networkId String
- privateDns 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
- matchingSubnet StringCidr 
- name String
- sdn String
- status String
- List<String>
- tenantId String
- vkcsServices BooleanAccess 
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the vkcsTerraform Provider.