@pulumi/tailscale
Version:
A Pulumi package for creating and managing Tailscale cloud resources.
69 lines (68 loc) • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The dnsNameservers resource allows you to configure DNS nameservers for your Tailscale network. See https://tailscale.com/kb/1054/dns for more information.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as tailscale from "@pulumi/tailscale";
*
* const sampleSearchPaths = new tailscale.DnsSearchPaths("sample_search_paths", {searchPaths: ["example.com"]});
* ```
*
* ## Import
*
* ID doesn't matter.
*
* ```sh
* $ pulumi import tailscale:index/dnsSearchPaths:DnsSearchPaths sample dns_search_paths
* ```
*/
export declare class DnsSearchPaths extends pulumi.CustomResource {
/**
* Get an existing DnsSearchPaths 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?: DnsSearchPathsState, opts?: pulumi.CustomResourceOptions): DnsSearchPaths;
/**
* Returns true if the given object is an instance of DnsSearchPaths. 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 DnsSearchPaths;
/**
* Devices on your network will use these domain suffixes to resolve DNS names.
*/
readonly searchPaths: pulumi.Output<string[]>;
/**
* Create a DnsSearchPaths 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: DnsSearchPathsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DnsSearchPaths resources.
*/
export interface DnsSearchPathsState {
/**
* Devices on your network will use these domain suffixes to resolve DNS names.
*/
searchPaths?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a DnsSearchPaths resource.
*/
export interface DnsSearchPathsArgs {
/**
* Devices on your network will use these domain suffixes to resolve DNS names.
*/
searchPaths: pulumi.Input<pulumi.Input<string>[]>;
}