@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
84 lines (83 loc) • 3.07 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
* In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
* For more information, please refer to the dedicated guide.
*
* Gets information about a Public Gateway DHCP configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.network.PublicGatewayDhcp("main", {subnet: "192.168.0.0/24"});
* const dhcpById = scaleway.network.getPublicGatewayDhcpOutput({
* dhcpId: main.id,
* });
* ```
*/
export declare function getPublicGatewayDhcp(args: GetPublicGatewayDhcpArgs, opts?: pulumi.InvokeOptions): Promise<GetPublicGatewayDhcpResult>;
/**
* A collection of arguments for invoking getPublicGatewayDhcp.
*/
export interface GetPublicGatewayDhcpArgs {
dhcpId: string;
}
/**
* A collection of values returned by getPublicGatewayDhcp.
*/
export interface GetPublicGatewayDhcpResult {
readonly address: string;
readonly createdAt: string;
readonly dhcpId: string;
readonly dnsLocalName: string;
readonly dnsSearches: string[];
readonly dnsServersOverrides: string[];
readonly enableDynamic: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly organizationId: string;
readonly poolHigh: string;
readonly poolLow: string;
readonly projectId: string;
readonly pushDefaultRoute: boolean;
readonly pushDnsServer: boolean;
readonly rebindTimer: number;
readonly renewTimer: number;
readonly subnet: string;
readonly updatedAt: string;
readonly validLifetime: number;
readonly zone: string;
}
/**
* > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
* In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
* For more information, please refer to the dedicated guide.
*
* Gets information about a Public Gateway DHCP configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.network.PublicGatewayDhcp("main", {subnet: "192.168.0.0/24"});
* const dhcpById = scaleway.network.getPublicGatewayDhcpOutput({
* dhcpId: main.id,
* });
* ```
*/
export declare function getPublicGatewayDhcpOutput(args: GetPublicGatewayDhcpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPublicGatewayDhcpResult>;
/**
* A collection of arguments for invoking getPublicGatewayDhcp.
*/
export interface GetPublicGatewayDhcpOutputArgs {
dhcpId: pulumi.Input<string>;
}