UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

116 lines 3.63 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Public Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.network.PublicGateway("main", { * name: "demo", * type: "VPC-GW-S", * zone: "nl-ams-1", * }); * const pgTestByName = scaleway.network.getPublicGatewayOutput({ * name: main.name, * zone: "nl-ams-1", * }); * const pgTestById = scaleway.network.getPublicGatewayOutput({ * publicGatewayId: main.id, * }); * ``` */ /** @deprecated scaleway.index/getvpcpublicgateway.getVpcPublicGateway has been deprecated in favor of scaleway.network/getpublicgateway.getPublicGateway */ export declare function getVpcPublicGateway(args?: GetVpcPublicGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPublicGatewayResult>; /** * A collection of arguments for invoking getVpcPublicGateway. */ export interface GetVpcPublicGatewayArgs { /** * Exact name of the Public Gateway. */ name?: string; /** * The ID of the Project the Public Gateway is associated with. */ projectId?: string; publicGatewayId?: string; /** * `zone`) The Public Gateway's zone. */ zone?: string; } /** * A collection of values returned by getVpcPublicGateway. */ export interface GetVpcPublicGatewayResult { readonly allowedIpRanges: string[]; readonly bandwidth: number; readonly bastionEnabled: boolean; readonly bastionPort: number; readonly createdAt: string; readonly enableSmtp: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipId: string; readonly moveToIpam: boolean; readonly name?: string; readonly organizationId: string; readonly projectId?: string; readonly publicGatewayId?: string; readonly refreshSshKeys: string; readonly status: string; readonly tags: string[]; readonly type: string; readonly updatedAt: string; readonly upstreamDnsServers: string[]; readonly zone?: string; } /** * Gets information about a Public Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.network.PublicGateway("main", { * name: "demo", * type: "VPC-GW-S", * zone: "nl-ams-1", * }); * const pgTestByName = scaleway.network.getPublicGatewayOutput({ * name: main.name, * zone: "nl-ams-1", * }); * const pgTestById = scaleway.network.getPublicGatewayOutput({ * publicGatewayId: main.id, * }); * ``` */ /** @deprecated scaleway.index/getvpcpublicgateway.getVpcPublicGateway has been deprecated in favor of scaleway.network/getpublicgateway.getPublicGateway */ export declare function getVpcPublicGatewayOutput(args?: GetVpcPublicGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcPublicGatewayResult>; /** * A collection of arguments for invoking getVpcPublicGateway. */ export interface GetVpcPublicGatewayOutputArgs { /** * Exact name of the Public Gateway. */ name?: pulumi.Input<string | undefined>; /** * The ID of the Project the Public Gateway is associated with. */ projectId?: pulumi.Input<string | undefined>; publicGatewayId?: pulumi.Input<string | undefined>; /** * `zone`) The Public Gateway's zone. */ zone?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getVpcPublicGateway.d.ts.map