pulumi-bunnynet
Version:
A Pulumi provider for managing Bunny.net CDN and edge computing resources, dynamically bridged from the Terraform Bunnynet provider with support for pull zones, storage, DNS, compute containers, and video streaming.
77 lines • 2.57 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class DnsScript extends pulumi.CustomResource {
/**
* Get an existing DnsScript 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?: DnsScriptState, opts?: pulumi.CustomResourceOptions): DnsScript;
/**
* Returns true if the given object is an instance of DnsScript. 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 DnsScript;
/**
* The code of the script.
*/
readonly content: pulumi.Output<string>;
/**
* The ID of the script.
*/
readonly dnsScriptId: pulumi.Output<number>;
/**
* The name of the script.
*/
readonly name: pulumi.Output<string>;
/**
* The current release identifier for the script.
*/
readonly release: pulumi.Output<string>;
/**
* Create a DnsScript 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: DnsScriptArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DnsScript resources.
*/
export interface DnsScriptState {
/**
* The code of the script.
*/
content?: pulumi.Input<string | undefined>;
/**
* The ID of the script.
*/
dnsScriptId?: pulumi.Input<number | undefined>;
/**
* The name of the script.
*/
name?: pulumi.Input<string | undefined>;
/**
* The current release identifier for the script.
*/
release?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a DnsScript resource.
*/
export interface DnsScriptArgs {
/**
* The code of the script.
*/
content: pulumi.Input<string>;
/**
* The name of the script.
*/
name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=dnsScript.d.ts.map