UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

72 lines (71 loc) 2.8 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage tls account * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * // 示例1:使用资源方式获取和管理 TLS 账号 * // 资源创建会自动激活 TLS 账号(如果未激活) * const example = new volcengine.tls.Account("example", {}); * export const accountResourceArchVersion = example.archVersion; * export const accountResourceStatus = example.status; * ``` * * ## Import * * The TlsAccount is not support import. */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account 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?: AccountState, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. 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 Account; /** * The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture). */ readonly archVersion: pulumi.Output<string>; /** * The status of the log service. Valid values: Activated (already activated), NonActivated (not activated). */ readonly status: pulumi.Output<string>; /** * Create a Account 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?: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Account resources. */ export interface AccountState { /** * The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture). */ archVersion?: pulumi.Input<string>; /** * The status of the log service. Valid values: Activated (already activated), NonActivated (not activated). */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { }