@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
84 lines • 3.4 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 "@pulumiverse/scaleway";
*
* const main = new scaleway.network.PublicGatewayDhcp("main", {subnet: "192.168.0.0/24"});
* const dhcpById = scaleway.network.getPublicGatewayDhcpOutput({
* dhcpId: main.id,
* });
* ```
*/
/** @deprecated scaleway.index/getvpcpublicgatewaydhcp.getVpcPublicGatewayDhcp has been deprecated in favor of scaleway.network/getpublicgatewaydhcp.getPublicGatewayDhcp */
export declare function getVpcPublicGatewayDhcp(args: GetVpcPublicGatewayDhcpArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPublicGatewayDhcpResult>;
/**
* A collection of arguments for invoking getVpcPublicGatewayDhcp.
*/
export interface GetVpcPublicGatewayDhcpArgs {
dhcpId: string;
}
/**
* A collection of values returned by getVpcPublicGatewayDhcp.
*/
export interface GetVpcPublicGatewayDhcpResult {
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 "@pulumiverse/scaleway";
*
* const main = new scaleway.network.PublicGatewayDhcp("main", {subnet: "192.168.0.0/24"});
* const dhcpById = scaleway.network.getPublicGatewayDhcpOutput({
* dhcpId: main.id,
* });
* ```
*/
/** @deprecated scaleway.index/getvpcpublicgatewaydhcp.getVpcPublicGatewayDhcp has been deprecated in favor of scaleway.network/getpublicgatewaydhcp.getPublicGatewayDhcp */
export declare function getVpcPublicGatewayDhcpOutput(args: GetVpcPublicGatewayDhcpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcPublicGatewayDhcpResult>;
/**
* A collection of arguments for invoking getVpcPublicGatewayDhcp.
*/
export interface GetVpcPublicGatewayDhcpOutputArgs {
dhcpId: pulumi.Input<string>;
}
//# sourceMappingURL=getVpcPublicGatewayDhcp.d.ts.map