@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
78 lines (77 loc) • 2.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls host group rules
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHostGroupRules({
* hostGroupId: "59989043-5422-4440-a981-63d241563fc0",
* });
* ```
*/
/** @deprecated volcengine.tls.HostGroupRules has been deprecated in favor of volcengine.tls.getHostGroupRules */
export declare function hostGroupRules(args: HostGroupRulesArgs, opts?: pulumi.InvokeOptions): Promise<HostGroupRulesResult>;
/**
* A collection of arguments for invoking HostGroupRules.
*/
export interface HostGroupRulesArgs {
/**
* The id of host group.
*/
hostGroupId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by HostGroupRules.
*/
export interface HostGroupRulesResult {
readonly hostGroupId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The collection of rule info.
*/
readonly ruleInfos: outputs.tls.HostGroupRulesRuleInfo[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls host group rules
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHostGroupRules({
* hostGroupId: "59989043-5422-4440-a981-63d241563fc0",
* });
* ```
*/
/** @deprecated volcengine.tls.HostGroupRules has been deprecated in favor of volcengine.tls.getHostGroupRules */
export declare function hostGroupRulesOutput(args: HostGroupRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HostGroupRulesResult>;
/**
* A collection of arguments for invoking HostGroupRules.
*/
export interface HostGroupRulesOutputArgs {
/**
* The id of host group.
*/
hostGroupId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}