UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

151 lines (150 loc) 5.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.network.PublicGatewayIp("main", {reverse: "tf.example.com"}); * const tfA = new scaleway.domain.Record("tf_A", { * dnsZone: "example.com", * name: "tf", * type: "A", * data: main.address, * ttl: 3600, * priority: 1, * }); * ``` * * ## Import * * Public Gateway IPs can be imported using `{zone}/{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/vpcPublicGatewayIp:VpcPublicGatewayIp main fr-par-1/11111111-1111-1111-1111-111111111111 * ``` * * @deprecated scaleway.index/vpcpublicgatewayip.VpcPublicGatewayIp has been deprecated in favor of scaleway.network/publicgatewayip.PublicGatewayIp */ export declare class VpcPublicGatewayIp extends pulumi.CustomResource { /** * Get an existing VpcPublicGatewayIp resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcPublicGatewayIpState, opts?: pulumi.CustomResourceOptions): VpcPublicGatewayIp; /** * Returns true if the given object is an instance of VpcPublicGatewayIp. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcPublicGatewayIp; /** * The IP address itself. */ readonly address: pulumi.Output<string>; /** * The date and time of the creation of the Public Gateway IP. */ readonly createdAt: pulumi.Output<string>; /** * The Organization ID the Public Gateway IP is associated with. */ readonly organizationId: pulumi.Output<string>; /** * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ readonly projectId: pulumi.Output<string>; /** * The reverse domain name for the IP address */ readonly reverse: pulumi.Output<string>; /** * The tags associated with the Public Gateway IP. */ readonly tags: pulumi.Output<string[] | undefined>; /** * The date and time of the last update of the Public Gateway IP. */ readonly updatedAt: pulumi.Output<string>; /** * `zone`) The zone in which the Public Gateway IP should be created. */ readonly zone: pulumi.Output<string>; /** * Create a VpcPublicGatewayIp resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ /** @deprecated scaleway.index/vpcpublicgatewayip.VpcPublicGatewayIp has been deprecated in favor of scaleway.network/publicgatewayip.PublicGatewayIp */ constructor(name: string, args?: VpcPublicGatewayIpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcPublicGatewayIp resources. */ export interface VpcPublicGatewayIpState { /** * The IP address itself. */ address?: pulumi.Input<string>; /** * The date and time of the creation of the Public Gateway IP. */ createdAt?: pulumi.Input<string>; /** * The Organization ID the Public Gateway IP is associated with. */ organizationId?: pulumi.Input<string>; /** * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ projectId?: pulumi.Input<string>; /** * The reverse domain name for the IP address */ reverse?: pulumi.Input<string>; /** * The tags associated with the Public Gateway IP. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * The date and time of the last update of the Public Gateway IP. */ updatedAt?: pulumi.Input<string>; /** * `zone`) The zone in which the Public Gateway IP should be created. */ zone?: pulumi.Input<string>; } /** * The set of arguments for constructing a VpcPublicGatewayIp resource. */ export interface VpcPublicGatewayIpArgs { /** * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ projectId?: pulumi.Input<string>; /** * The reverse domain name for the IP address */ reverse?: pulumi.Input<string>; /** * The tags associated with the Public Gateway IP. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * `zone`) The zone in which the Public Gateway IP should be created. */ zone?: pulumi.Input<string>; }