@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
145 lines (144 loc) • 4.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway VPC Public Gateway IP.
* For more information, see [the documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#ips-268151).
*
* ## Example
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@lbrlabs/pulumi-scaleway";
*
* const main = new scaleway.VpcPublicGatewayIp("main", {reverse: "tf.example.com"});
* const tfA = new scaleway.DomainRecord("tfA", {
* data: main.address,
* dnsZone: "example.com",
* priority: 1,
* ttl: 3600,
* type: "A",
* });
* ```
*
* ## Import
*
* Public gateway can be imported using the `{zone}/{id}`, e.g. bash
*
* ```sh
* $ pulumi import scaleway:index/vpcPublicGatewayIp:VpcPublicGatewayIp main fr-par-1/11111111-1111-1111-1111-111111111111
* ```
*/
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.
*/
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>;
}