UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

93 lines (92 loc) 2.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a private network. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myName = scaleway.getVpcPrivateNetwork({ * name: "foobar", * }); * const myId = scaleway.getVpcPrivateNetwork({ * privateNetworkId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getVpcPrivateNetwork(args?: GetVpcPrivateNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPrivateNetworkResult>; /** * A collection of arguments for invoking getVpcPrivateNetwork. */ export interface GetVpcPrivateNetworkArgs { /** * Name of the private network. One of `name` and `privateNetworkId` should be specified. */ name?: string; /** * ID of the private network. One of `name` and `privateNetworkId` should be specified. */ privateNetworkId?: string; } /** * A collection of values returned by getVpcPrivateNetwork. */ export interface GetVpcPrivateNetworkResult { readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Optional) The IPv4 subnet associated with the private network. */ readonly ipv4Subnets: outputs.GetVpcPrivateNetworkIpv4Subnet[]; /** * (Optional) The IPv6 subnets associated with the private network. */ readonly ipv6Subnets: outputs.GetVpcPrivateNetworkIpv6Subnet[]; readonly isRegional: boolean; readonly name?: string; readonly organizationId: string; readonly privateNetworkId?: string; readonly projectId: string; readonly region: string; readonly tags: string[]; readonly updatedAt: string; readonly vpcId: string; readonly zone: string; } /** * Gets information about a private network. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myName = scaleway.getVpcPrivateNetwork({ * name: "foobar", * }); * const myId = scaleway.getVpcPrivateNetwork({ * privateNetworkId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getVpcPrivateNetworkOutput(args?: GetVpcPrivateNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcPrivateNetworkResult>; /** * A collection of arguments for invoking getVpcPrivateNetwork. */ export interface GetVpcPrivateNetworkOutputArgs { /** * Name of the private network. One of `name` and `privateNetworkId` should be specified. */ name?: pulumi.Input<string>; /** * ID of the private network. One of `name` and `privateNetworkId` should be specified. */ privateNetworkId?: pulumi.Input<string>; }