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.
161 lines • 5.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class StorageZone extends pulumi.CustomResource {
/**
* Get an existing StorageZone 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?: StorageZoneState, opts?: pulumi.CustomResourceOptions): StorageZone;
/**
* Returns true if the given object is an instance of StorageZone. 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 StorageZone;
/**
* The file path for a custom 404 error page.
*/
readonly custom404FilePath: pulumi.Output<string | undefined>;
/**
* The date when the zone was last modified.
*/
readonly dateModified: pulumi.Output<string>;
/**
* The hostname for accessing the storage zone.
*/
readonly hostname: pulumi.Output<string>;
/**
* The name of the storage zone.
*/
readonly name: pulumi.Output<string>;
/**
* The password for accessing the storage zone.
*/
readonly password: pulumi.Output<string>;
/**
* The read-only password for accessing the storage zone.
*/
readonly passwordReadonly: pulumi.Output<string>;
/**
* The region where the storage zone is located.
*/
readonly region: pulumi.Output<string>;
/**
* A set of regions for data replication.
*/
readonly replicationRegions: pulumi.Output<string[]>;
/**
* Indicates whether to rewrite 404 errors to 200 status.
*/
readonly rewrite404To200: pulumi.Output<boolean>;
/**
* The ID of the storage zone.
*/
readonly storageZoneId: pulumi.Output<number>;
/**
* Options: `S3`, `Standard`
*/
readonly type: pulumi.Output<string>;
/**
* Options: `Edge`, `Standard`
*/
readonly zoneTier: pulumi.Output<string>;
/**
* Create a StorageZone 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: StorageZoneArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering StorageZone resources.
*/
export interface StorageZoneState {
/**
* The file path for a custom 404 error page.
*/
custom404FilePath?: pulumi.Input<string | undefined>;
/**
* The date when the zone was last modified.
*/
dateModified?: pulumi.Input<string | undefined>;
/**
* The hostname for accessing the storage zone.
*/
hostname?: pulumi.Input<string | undefined>;
/**
* The name of the storage zone.
*/
name?: pulumi.Input<string | undefined>;
/**
* The password for accessing the storage zone.
*/
password?: pulumi.Input<string | undefined>;
/**
* The read-only password for accessing the storage zone.
*/
passwordReadonly?: pulumi.Input<string | undefined>;
/**
* The region where the storage zone is located.
*/
region?: pulumi.Input<string | undefined>;
/**
* A set of regions for data replication.
*/
replicationRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Indicates whether to rewrite 404 errors to 200 status.
*/
rewrite404To200?: pulumi.Input<boolean | undefined>;
/**
* The ID of the storage zone.
*/
storageZoneId?: pulumi.Input<number | undefined>;
/**
* Options: `S3`, `Standard`
*/
type?: pulumi.Input<string | undefined>;
/**
* Options: `Edge`, `Standard`
*/
zoneTier?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a StorageZone resource.
*/
export interface StorageZoneArgs {
/**
* The file path for a custom 404 error page.
*/
custom404FilePath?: pulumi.Input<string | undefined>;
/**
* The name of the storage zone.
*/
name?: pulumi.Input<string | undefined>;
/**
* The region where the storage zone is located.
*/
region: pulumi.Input<string>;
/**
* A set of regions for data replication.
*/
replicationRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Indicates whether to rewrite 404 errors to 200 status.
*/
rewrite404To200?: pulumi.Input<boolean | undefined>;
/**
* Options: `S3`, `Standard`
*/
type?: pulumi.Input<string | undefined>;
/**
* Options: `Edge`, `Standard`
*/
zoneTier: pulumi.Input<string>;
}
//# sourceMappingURL=storageZone.d.ts.map