@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
105 lines (104 loc) • 3.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Manages Scaleway VPC Public Gateways IPs reverse DNS.
* 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 mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp", {});
* const tfA = new scaleway.DomainRecord("tfA", {
* dnsZone: "example.com",
* type: "A",
* data: mainVpcPublicGatewayIp.address,
* ttl: 3600,
* priority: 1,
* });
* const mainVpcPublicGatewayIpReverseDns = new scaleway.VpcPublicGatewayIpReverseDns("mainVpcPublicGatewayIpReverseDns", {
* gatewayIpId: mainVpcPublicGatewayIp.id,
* reverse: "tf.example.com",
* });
* ```
*
* ## Import
*
* Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. bash
*
* ```sh
* $ pulumi import scaleway:index/vpcPublicGatewayIpReverseDns:VpcPublicGatewayIpReverseDns main fr-par-1/11111111-1111-1111-1111-111111111111
* ```
*/
export declare class VpcPublicGatewayIpReverseDns extends pulumi.CustomResource {
/**
* Get an existing VpcPublicGatewayIpReverseDns 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?: VpcPublicGatewayIpReverseDnsState, opts?: pulumi.CustomResourceOptions): VpcPublicGatewayIpReverseDns;
/**
* Returns true if the given object is an instance of VpcPublicGatewayIpReverseDns. 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 VpcPublicGatewayIpReverseDns;
/**
* The public gateway IP ID
*/
readonly gatewayIpId: pulumi.Output<string>;
/**
* The reverse domain name for this IP address
*/
readonly reverse: pulumi.Output<string>;
/**
* `zone`) The zone in which the IP should be reserved.
*/
readonly zone: pulumi.Output<string>;
/**
* Create a VpcPublicGatewayIpReverseDns 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: VpcPublicGatewayIpReverseDnsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering VpcPublicGatewayIpReverseDns resources.
*/
export interface VpcPublicGatewayIpReverseDnsState {
/**
* The public gateway IP ID
*/
gatewayIpId?: pulumi.Input<string>;
/**
* The reverse domain name for this IP address
*/
reverse?: pulumi.Input<string>;
/**
* `zone`) The zone in which the IP should be reserved.
*/
zone?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a VpcPublicGatewayIpReverseDns resource.
*/
export interface VpcPublicGatewayIpReverseDnsArgs {
/**
* The public gateway IP ID
*/
gatewayIpId: pulumi.Input<string>;
/**
* The reverse domain name for this IP address
*/
reverse: pulumi.Input<string>;
/**
* `zone`) The zone in which the IP should be reserved.
*/
zone?: pulumi.Input<string>;
}