1. Packages
  2. Scaleway
  3. API Docs
  4. getVpcPrivateNetwork
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.getVpcPrivateNetwork

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    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 and private_network_id should be specified.

    PrivateNetworkId string

    ID of the private network. One of name and private_network_id should be specified.

    Name string

    Name of the private network. One of name and private_network_id should be specified.

    PrivateNetworkId string

    ID of the private network. One of name and private_network_id should be specified.

    name String

    Name of the private network. One of name and private_network_id should be specified.

    privateNetworkId String

    ID of the private network. One of name and private_network_id should be specified.

    name string

    Name of the private network. One of name and private_network_id should be specified.

    privateNetworkId string

    ID of the private network. One of name and private_network_id should be specified.

    name str

    Name of the private network. One of name and private_network_id should be specified.

    private_network_id str

    ID of the private network. One of name and private_network_id should be specified.

    name String

    Name of the private network. One of name and private_network_id should be specified.

    privateNetworkId String

    ID of the private network. One of name and private_network_id should be specified.

    getVpcPrivateNetwork Result

    The following output properties are available:

    CreatedAt string
    Id string

    The provider-assigned unique ID for this managed resource.

    Ipv4Subnets List<Lbrlabs.PulumiPackage.Scaleway.Outputs.GetVpcPrivateNetworkIpv4Subnet>

    (Optional) The IPv4 subnet associated with the private network.

    Ipv6Subnets List<Lbrlabs.PulumiPackage.Scaleway.Outputs.GetVpcPrivateNetworkIpv6Subnet>

    (Optional) The IPv6 subnets associated with the private network.

    IsRegional bool
    OrganizationId string
    ProjectId string
    Region string
    Tags List<string>
    UpdatedAt string
    VpcId string
    Zone string
    Name string
    PrivateNetworkId string
    CreatedAt string
    Id string

    The provider-assigned unique ID for this managed resource.

    Ipv4Subnets []GetVpcPrivateNetworkIpv4Subnet

    (Optional) The IPv4 subnet associated with the private network.

    Ipv6Subnets []GetVpcPrivateNetworkIpv6Subnet

    (Optional) The IPv6 subnets associated with the private network.

    IsRegional bool
    OrganizationId string
    ProjectId string
    Region string
    Tags []string
    UpdatedAt string
    VpcId string
    Zone string
    Name string
    PrivateNetworkId string
    createdAt String
    id String

    The provider-assigned unique ID for this managed resource.

    ipv4Subnets List<GetVpcPrivateNetworkIpv4Subnet>

    (Optional) The IPv4 subnet associated with the private network.

    ipv6Subnets List<GetVpcPrivateNetworkIpv6Subnet>

    (Optional) The IPv6 subnets associated with the private network.

    isRegional Boolean
    organizationId String
    projectId String
    region String
    tags List<String>
    updatedAt String
    vpcId String
    zone String
    name String
    privateNetworkId String
    createdAt string
    id string

    The provider-assigned unique ID for this managed resource.

    ipv4Subnets GetVpcPrivateNetworkIpv4Subnet[]

    (Optional) The IPv4 subnet associated with the private network.

    ipv6Subnets GetVpcPrivateNetworkIpv6Subnet[]

    (Optional) The IPv6 subnets associated with the private network.

    isRegional boolean
    organizationId string
    projectId string
    region string
    tags string[]
    updatedAt string
    vpcId string
    zone string
    name string
    privateNetworkId string
    created_at str
    id str

    The provider-assigned unique ID for this managed resource.

    ipv4_subnets Sequence[GetVpcPrivateNetworkIpv4Subnet]

    (Optional) The IPv4 subnet associated with the private network.

    ipv6_subnets Sequence[GetVpcPrivateNetworkIpv6Subnet]

    (Optional) The IPv6 subnets associated with the private network.

    is_regional bool
    organization_id str
    project_id str
    region str
    tags Sequence[str]
    updated_at str
    vpc_id str
    zone str
    name str
    private_network_id str
    createdAt 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.

    isRegional Boolean
    organizationId String
    projectId String
    region String
    tags List<String>
    updatedAt String
    vpcId String
    zone String
    name String
    privateNetworkId String

    Supporting Types

    GetVpcPrivateNetworkIpv4Subnet

    CreatedAt string
    Id string

    The ID of the private network.

    Subnet string
    UpdatedAt string
    CreatedAt string
    Id string

    The ID of the private network.

    Subnet string
    UpdatedAt string
    createdAt String
    id String

    The ID of the private network.

    subnet String
    updatedAt String
    createdAt string
    id string

    The ID of the private network.

    subnet string
    updatedAt string
    created_at str
    id str

    The ID of the private network.

    subnet str
    updated_at str
    createdAt String
    id String

    The ID of the private network.

    subnet String
    updatedAt String

    GetVpcPrivateNetworkIpv6Subnet

    CreatedAt string
    Id string

    The ID of the private network.

    Subnet string
    UpdatedAt string
    CreatedAt string
    Id string

    The ID of the private network.

    Subnet string
    UpdatedAt string
    createdAt String
    id String

    The ID of the private network.

    subnet String
    updatedAt String
    createdAt string
    id string

    The ID of the private network.

    subnet string
    updatedAt string
    created_at str
    id str

    The ID of the private network.

    subnet str
    updated_at str
    createdAt String
    id String

    The ID of the private network.

    subnet String
    updatedAt String

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs