@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
85 lines (84 loc) • 2.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Edge Services plans.
*
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.EdgeServicesPlan("main", {name: "starter"});
* ```
*
* ## Import
*
* Plans can be imported using `{project_id}/{plan_name}`, e.g.
*
* bash
*
* ```sh
* $ pulumi import scaleway:index/edgeServicesPlan:EdgeServicesPlan main 11111111-1111-1111-1111-111111111111/starter
* ```
*/
export declare class EdgeServicesPlan extends pulumi.CustomResource {
/**
* Get an existing EdgeServicesPlan 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?: EdgeServicesPlanState, opts?: pulumi.CustomResourceOptions): EdgeServicesPlan;
/**
* Returns true if the given object is an instance of EdgeServicesPlan. 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 EdgeServicesPlan;
/**
* The name of the plan.
*/
readonly name: pulumi.Output<string>;
/**
* `projectId`) The ID of the project the plan is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* Create a EdgeServicesPlan 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?: EdgeServicesPlanArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EdgeServicesPlan resources.
*/
export interface EdgeServicesPlanState {
/**
* The name of the plan.
*/
name?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the plan is associated with.
*/
projectId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a EdgeServicesPlan resource.
*/
export interface EdgeServicesPlanArgs {
/**
* The name of the plan.
*/
name?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the plan is associated with.
*/
projectId?: pulumi.Input<string>;
}