scaleway.getVpcPrivateNetwork
Explore with Pulumi AI
Gets information about a private network.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetVpcPrivateNetworkArgs;
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 myName = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()
.name("foobar")
.build());
final var myId = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()
.privateNetworkIdId("11111111-1111-1111-1111-111111111111")
.build());
}
}
Coming soon!
Coming soon!
variables:
myName:
fn::invoke:
Function: scaleway:getVpcPrivateNetwork
Arguments:
name: foobar
myId:
fn::invoke:
Function: scaleway:getVpcPrivateNetwork
Arguments:
privateNetworkIdId: 11111111-1111-1111-1111-111111111111
Using getVpcPrivateNetwork
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 getVpcPrivateNetwork(args: GetVpcPrivateNetworkArgs, opts?: InvokeOptions): Promise<GetVpcPrivateNetworkResult>
function getVpcPrivateNetworkOutput(args: GetVpcPrivateNetworkOutputArgs, opts?: InvokeOptions): Output<GetVpcPrivateNetworkResult>
def get_vpc_private_network(name: Optional[str] = None,
private_network_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcPrivateNetworkResult
def get_vpc_private_network_output(name: Optional[pulumi.Input[str]] = None,
private_network_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcPrivateNetworkResult]
func LookupVpcPrivateNetwork(ctx *Context, args *LookupVpcPrivateNetworkArgs, opts ...InvokeOption) (*LookupVpcPrivateNetworkResult, error)
func LookupVpcPrivateNetworkOutput(ctx *Context, args *LookupVpcPrivateNetworkOutputArgs, opts ...InvokeOption) LookupVpcPrivateNetworkResultOutput
> Note: This function is named LookupVpcPrivateNetwork
in the Go SDK.
public static class GetVpcPrivateNetwork
{
public static Task<GetVpcPrivateNetworkResult> InvokeAsync(GetVpcPrivateNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetVpcPrivateNetworkResult> Invoke(GetVpcPrivateNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcPrivateNetworkResult> getVpcPrivateNetwork(GetVpcPrivateNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getVpcPrivateNetwork:getVpcPrivateNetwork
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
Name of the private network. One of
name
andprivate_network_id
should be specified.- Private
Network stringId ID of the private network. One of
name
andprivate_network_id
should be specified.
- Name string
Name of the private network. One of
name
andprivate_network_id
should be specified.- Private
Network stringId ID of the private network. One of
name
andprivate_network_id
should be specified.
- name String
Name of the private network. One of
name
andprivate_network_id
should be specified.- private
Network StringId ID of the private network. One of
name
andprivate_network_id
should be specified.
- name string
Name of the private network. One of
name
andprivate_network_id
should be specified.- private
Network stringId ID of the private network. One of
name
andprivate_network_id
should be specified.
- name str
Name of the private network. One of
name
andprivate_network_id
should be specified.- private_
network_ strid ID of the private network. One of
name
andprivate_network_id
should be specified.
- name String
Name of the private network. One of
name
andprivate_network_id
should be specified.- private
Network StringId ID of the private network. One of
name
andprivate_network_id
should be specified.
getVpcPrivateNetwork Result
The following output properties are available:
- Created
At string - Id string
The provider-assigned unique ID for this managed resource.
- Ipv4Subnets
List<Lbrlabs.
Pulumi Package. Scaleway. Outputs. Get Vpc Private Network Ipv4Subnet> (Optional) The IPv4 subnet associated with the private network.
- Ipv6Subnets
List<Lbrlabs.
Pulumi Package. Scaleway. Outputs. Get Vpc Private Network Ipv6Subnet> (Optional) The IPv6 subnets associated with the private network.
- Is
Regional bool - Organization
Id string - Project
Id string - Region string
- List<string>
- Updated
At string - Vpc
Id string - Zone string
- Name string
- Private
Network stringId
- Created
At string - Id string
The provider-assigned unique ID for this managed resource.
- Ipv4Subnets
[]Get
Vpc Private Network Ipv4Subnet (Optional) The IPv4 subnet associated with the private network.
- Ipv6Subnets
[]Get
Vpc Private Network Ipv6Subnet (Optional) The IPv6 subnets associated with the private network.
- Is
Regional bool - Organization
Id string - Project
Id string - Region string
- []string
- Updated
At string - Vpc
Id string - Zone string
- Name string
- Private
Network stringId
- created
At String - id String
The provider-assigned unique ID for this managed resource.
- ipv4Subnets
List<Get
Vpc Private Network Ipv4Subnet> (Optional) The IPv4 subnet associated with the private network.
- ipv6Subnets
List<Get
Vpc Private Network Ipv6Subnet> (Optional) The IPv6 subnets associated with the private network.
- is
Regional Boolean - organization
Id String - project
Id String - region String
- List<String>
- updated
At String - vpc
Id String - zone String
- name String
- private
Network StringId
- created
At string - id string
The provider-assigned unique ID for this managed resource.
- ipv4Subnets
Get
Vpc Private Network Ipv4Subnet[] (Optional) The IPv4 subnet associated with the private network.
- ipv6Subnets
Get
Vpc Private Network Ipv6Subnet[] (Optional) The IPv6 subnets associated with the private network.
- is
Regional boolean - organization
Id string - project
Id string - region string
- string[]
- updated
At string - vpc
Id string - zone string
- name string
- private
Network stringId
- created_
at str - id str
The provider-assigned unique ID for this managed resource.
- ipv4_
subnets Sequence[GetVpc Private Network Ipv4Subnet] (Optional) The IPv4 subnet associated with the private network.
- ipv6_
subnets Sequence[GetVpc Private Network Ipv6Subnet] (Optional) The IPv6 subnets associated with the private network.
- is_
regional bool - organization_
id str - project_
id str - region str
- Sequence[str]
- updated_
at str - vpc_
id str - zone str
- name str
- private_
network_ strid
- created
At String - id String
The provider-assigned unique ID for this managed resource.
- ipv4Subnets List<Property Map>
(Optional) The IPv4 subnet associated with the private network.
- ipv6Subnets List<Property Map>
(Optional) The IPv6 subnets associated with the private network.
- is
Regional Boolean - organization
Id String - project
Id String - region String
- List<String>
- updated
At String - vpc
Id String - zone String
- name String
- private
Network StringId
Supporting Types
GetVpcPrivateNetworkIpv4Subnet
- created_
at str - id str
The ID of the private network.
- subnet str
- updated_
at str
GetVpcPrivateNetworkIpv6Subnet
- created_
at str - id str
The ID of the private network.
- subnet str
- updated_
at str
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.