@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
101 lines (100 loc) • 3.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a dhcp entries. For further information please check the
* API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6)
*/
export declare function getVpcPublicGatewayDhcpReservation(args?: GetVpcPublicGatewayDhcpReservationArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPublicGatewayDhcpReservationResult>;
/**
* A collection of arguments for invoking getVpcPublicGatewayDhcpReservation.
*/
export interface GetVpcPublicGatewayDhcpReservationArgs {
/**
* The ID of the owning GatewayNetwork
*/
gatewayNetworkId?: string;
/**
* The MAC address of the reservation to retrieve
*/
macAddress?: string;
/**
* The ID of the Reservation to retrieve
*/
reservationId?: string;
/**
* Boolean to wait for macAddress to exist in dhcp
*/
waitForDhcp?: boolean;
/**
* `zone`) The zone in which
* the image exists.
*/
zone?: string;
}
/**
* A collection of values returned by getVpcPublicGatewayDhcpReservation.
*/
export interface GetVpcPublicGatewayDhcpReservationResult {
/**
* The date and time of the creation of the public gateway DHCP config.
*/
readonly createdAt: string;
/**
* The ID of the owning GatewayNetwork.
*/
readonly gatewayNetworkId?: string;
/**
* The Hostname of the client machine.
*/
readonly hostname: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The IP address to give to the machine (IP address).
*/
readonly ipAddress: string;
readonly macAddress?: string;
readonly reservationId?: string;
/**
* The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease.
*/
readonly type: string;
/**
* The date and time of the last update of the public gateway DHCP config.
*/
readonly updatedAt: string;
readonly waitForDhcp?: boolean;
readonly zone?: string;
}
/**
* Gets information about a dhcp entries. For further information please check the
* API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6)
*/
export declare function getVpcPublicGatewayDhcpReservationOutput(args?: GetVpcPublicGatewayDhcpReservationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcPublicGatewayDhcpReservationResult>;
/**
* A collection of arguments for invoking getVpcPublicGatewayDhcpReservation.
*/
export interface GetVpcPublicGatewayDhcpReservationOutputArgs {
/**
* The ID of the owning GatewayNetwork
*/
gatewayNetworkId?: pulumi.Input<string>;
/**
* The MAC address of the reservation to retrieve
*/
macAddress?: pulumi.Input<string>;
/**
* The ID of the Reservation to retrieve
*/
reservationId?: pulumi.Input<string>;
/**
* Boolean to wait for macAddress to exist in dhcp
*/
waitForDhcp?: pulumi.Input<boolean>;
/**
* `zone`) The zone in which
* the image exists.
*/
zone?: pulumi.Input<string>;
}