UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

101 lines (100 loc) 3.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a resource to manage cr endpoint * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const _default = new volcengine.cr.Endpoint("default", { * enabled: true, * registry: "acc-test-cr", * }); * ``` * * ## Import * * CR endpoints can be imported using the endpoint:registryName, e.g. * * ```sh * $ pulumi import volcengine:cr/endpoint:Endpoint default endpoint:cr-basic * ``` */ export declare class Endpoint extends pulumi.CustomResource { /** * Get an existing Endpoint 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?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint; /** * Returns true if the given object is an instance of Endpoint. 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 Endpoint; /** * The list of acl policies. */ readonly aclPolicies: pulumi.Output<outputs.cr.EndpointAclPolicy[]>; /** * Whether enable public endpoint. */ readonly enabled: pulumi.Output<boolean | undefined>; /** * The CrRegistry name. */ readonly registry: pulumi.Output<string>; /** * The status of public endpoint. */ readonly status: pulumi.Output<string>; /** * Create a Endpoint 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: EndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Endpoint resources. */ export interface EndpointState { /** * The list of acl policies. */ aclPolicies?: pulumi.Input<pulumi.Input<inputs.cr.EndpointAclPolicy>[]>; /** * Whether enable public endpoint. */ enabled?: pulumi.Input<boolean>; /** * The CrRegistry name. */ registry?: pulumi.Input<string>; /** * The status of public endpoint. */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a Endpoint resource. */ export interface EndpointArgs { /** * Whether enable public endpoint. */ enabled?: pulumi.Input<boolean>; /** * The CrRegistry name. */ registry: pulumi.Input<string>; }