@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
106 lines • 3.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS.
* 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", {});
* const tfA = new scaleway.domain.Record("tf_A", {
* dnsZone: "example.com",
* name: "tf",
* type: "A",
* data: main.address,
* ttl: 3600,
* priority: 1,
* });
* const mainPublicGatewayIpReverseDns = new scaleway.network.PublicGatewayIpReverseDns("main", {
* gatewayIpId: main.id,
* reverse: "tf.example.com",
* });
* ```
*
* ## Import
*
* Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g.
*
* ```sh
* $ pulumi import scaleway:network/publicGatewayIpReverseDns:PublicGatewayIpReverseDns reverse fr-par-1/11111111-1111-1111-1111-111111111111
* ```
*/
export declare class PublicGatewayIpReverseDns extends pulumi.CustomResource {
/**
* Get an existing PublicGatewayIpReverseDns 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?: PublicGatewayIpReverseDnsState, opts?: pulumi.CustomResourceOptions): PublicGatewayIpReverseDns;
/**
* Returns true if the given object is an instance of PublicGatewayIpReverseDns. 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 PublicGatewayIpReverseDns;
/**
* 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 | undefined>;
/**
* Create a PublicGatewayIpReverseDns 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: PublicGatewayIpReverseDnsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PublicGatewayIpReverseDns resources.
*/
export interface PublicGatewayIpReverseDnsState {
/**
* The Public Gateway IP ID
*/
gatewayIpId?: pulumi.Input<string | undefined>;
/**
* The reverse domain name for this IP address
*/
reverse?: pulumi.Input<string | undefined>;
/**
* `zone`) The zone in which the IP should be reserved.
*/
zone?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a PublicGatewayIpReverseDns resource.
*/
export interface PublicGatewayIpReverseDnsArgs {
/**
* 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 | undefined>;
}
//# sourceMappingURL=publicGatewayIpReverseDns.d.ts.map