UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

83 lines (82 loc) 2.79 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage tls rule bound host group * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.tls.RuleBoundHostGroup("foo", { * hostGroupId: "e45643c1-8ab8-4d99-94c6-ddcc7eefbd2b", * ruleId: "048dc010-6bb1-4189-858a-281d654d6686", * }); * ``` * * ## Import * * TlsRuleBoundHostGroup can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:tls/ruleBoundHostGroup:RuleBoundHostGroup default rule_id:host_group_id * ``` */ export declare class RuleBoundHostGroup extends pulumi.CustomResource { /** * Get an existing RuleBoundHostGroup 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?: RuleBoundHostGroupState, opts?: pulumi.CustomResourceOptions): RuleBoundHostGroup; /** * Returns true if the given object is an instance of RuleBoundHostGroup. 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 RuleBoundHostGroup; /** * The ID of the host group. */ readonly hostGroupId: pulumi.Output<string>; /** * The ID of the rule. */ readonly ruleId: pulumi.Output<string>; /** * Create a RuleBoundHostGroup 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: RuleBoundHostGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuleBoundHostGroup resources. */ export interface RuleBoundHostGroupState { /** * The ID of the host group. */ hostGroupId?: pulumi.Input<string>; /** * The ID of the rule. */ ruleId?: pulumi.Input<string>; } /** * The set of arguments for constructing a RuleBoundHostGroup resource. */ export interface RuleBoundHostGroupArgs { /** * The ID of the host group. */ hostGroupId: pulumi.Input<string>; /** * The ID of the rule. */ ruleId: pulumi.Input<string>; }