@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
128 lines (127 loc) • 3.55 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* DnsProxy data source
*/
export declare function getDnsProxy(args: GetDnsProxyArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsProxyResult>;
/**
* A collection of arguments for invoking getDnsProxy.
*/
export interface GetDnsProxyArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: string;
/**
* UUID of the resource
*/
id: string;
/**
* DNS proxy name
*/
name?: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: string;
}
/**
* A collection of values returned by getDnsProxy.
*/
export interface GetDnsProxyResult {
/**
* Cache
*/
readonly cache: outputs.GetDnsProxyCache;
/**
* Default
*/
readonly default: outputs.GetDnsProxyDefault;
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* DNS proxy rules
*/
readonly domainServers: outputs.GetDnsProxyDomainServer[];
/**
* Enable DNS proxy?
*/
readonly enabled: boolean;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Interfaces on which to enable DNS proxy service
*/
readonly interfaces: string[];
/**
* DNS proxy name
*/
readonly name: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
/**
* Static entries
*/
readonly staticEntries: outputs.GetDnsProxyStaticEntry[];
/**
* Tcp queries
*/
readonly tcpQueries: outputs.GetDnsProxyTcpQueries;
readonly tfid: string;
/**
* Udp queries
*/
readonly udpQueries: outputs.GetDnsProxyUdpQueries;
}
/**
* DnsProxy data source
*/
export declare function getDnsProxyOutput(args: GetDnsProxyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsProxyResult>;
/**
* A collection of arguments for invoking getDnsProxy.
*/
export interface GetDnsProxyOutputArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: pulumi.Input<string>;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* DNS proxy name
*/
name?: pulumi.Input<string>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}