@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
109 lines • 4.28 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:index/vpcPublicGatewayIpReverseDns:VpcPublicGatewayIpReverseDns reverse fr-par-1/11111111-1111-1111-1111-111111111111
* ```
*
* @deprecated scaleway.index/vpcpublicgatewayipreversedns.VpcPublicGatewayIpReverseDns has been deprecated in favor of scaleway.network/publicgatewayipreversedns.PublicGatewayIpReverseDns
*/
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 | undefined>;
/**
* 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.
*/
/** @deprecated scaleway.index/vpcpublicgatewayipreversedns.VpcPublicGatewayIpReverseDns has been deprecated in favor of scaleway.network/publicgatewayipreversedns.PublicGatewayIpReverseDns */
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 | 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 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 | undefined>;
}
//# sourceMappingURL=vpcPublicGatewayIpReverseDns.d.ts.map