UNPKG

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.

138 lines 5.64 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ComputeContainerApp extends pulumi.CustomResource { /** * Get an existing ComputeContainerApp 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?: ComputeContainerAppState, opts?: pulumi.CustomResourceOptions): ComputeContainerApp; /** * Returns true if the given object is an instance of ComputeContainerApp. 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 ComputeContainerApp; /** * The maximum number of instances that will be provisioned per active region. */ readonly autoscalingMax: pulumi.Output<number>; /** * The minimum number of instances that will be provisioned per active region. */ readonly autoscalingMin: pulumi.Output<number>; /** * Defines a container for the application. */ readonly containers: pulumi.Output<outputs.ComputeContainerAppContainer[] | undefined>; /** * The name of the application. */ readonly name: pulumi.Output<string>; /** * The regions that will be dynamically provisionable based on the user latency. */ readonly regionsAlloweds: pulumi.Output<string[]>; /** * The maximum amount of regions to be deployed at any given time. */ readonly regionsMaxAllowed: pulumi.Output<number | undefined>; /** * The regions that will be statically provisioned and will always be running and available to users. */ readonly regionsRequireds: pulumi.Output<string[]>; readonly version: pulumi.Output<number>; /** * Defines a persistent volume to be used by the application. */ readonly volumes: pulumi.Output<outputs.ComputeContainerAppVolume[] | undefined>; /** * Create a ComputeContainerApp 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: ComputeContainerAppArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ComputeContainerApp resources. */ export interface ComputeContainerAppState { /** * The maximum number of instances that will be provisioned per active region. */ autoscalingMax?: pulumi.Input<number | undefined>; /** * The minimum number of instances that will be provisioned per active region. */ autoscalingMin?: pulumi.Input<number | undefined>; /** * Defines a container for the application. */ containers?: pulumi.Input<pulumi.Input<inputs.ComputeContainerAppContainer>[] | undefined>; /** * The name of the application. */ name?: pulumi.Input<string | undefined>; /** * The regions that will be dynamically provisionable based on the user latency. */ regionsAlloweds?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * The maximum amount of regions to be deployed at any given time. */ regionsMaxAllowed?: pulumi.Input<number | undefined>; /** * The regions that will be statically provisioned and will always be running and available to users. */ regionsRequireds?: pulumi.Input<pulumi.Input<string>[] | undefined>; version?: pulumi.Input<number | undefined>; /** * Defines a persistent volume to be used by the application. */ volumes?: pulumi.Input<pulumi.Input<inputs.ComputeContainerAppVolume>[] | undefined>; } /** * The set of arguments for constructing a ComputeContainerApp resource. */ export interface ComputeContainerAppArgs { /** * The maximum number of instances that will be provisioned per active region. */ autoscalingMax?: pulumi.Input<number | undefined>; /** * The minimum number of instances that will be provisioned per active region. */ autoscalingMin?: pulumi.Input<number | undefined>; /** * Defines a container for the application. */ containers?: pulumi.Input<pulumi.Input<inputs.ComputeContainerAppContainer>[] | undefined>; /** * The name of the application. */ name?: pulumi.Input<string | undefined>; /** * The regions that will be dynamically provisionable based on the user latency. */ regionsAlloweds: pulumi.Input<pulumi.Input<string>[]>; /** * The maximum amount of regions to be deployed at any given time. */ regionsMaxAllowed?: pulumi.Input<number | undefined>; /** * The regions that will be statically provisioned and will always be running and available to users. */ regionsRequireds: pulumi.Input<pulumi.Input<string>[]>; version?: pulumi.Input<number | undefined>; /** * Defines a persistent volume to be used by the application. */ volumes?: pulumi.Input<pulumi.Input<inputs.ComputeContainerAppVolume>[] | undefined>; } //# sourceMappingURL=computeContainerApp.d.ts.map