@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
118 lines (117 loc) • 3.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cdn shared configs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cdn.getSharedConfigs({
* configName: "tf-test",
* configType: "allow_ip_access_rule",
* projectName: "default",
* });
* ```
*/
/** @deprecated volcengine.cdn.SharedConfigs has been deprecated in favor of volcengine.cdn.getSharedConfigs */
export declare function sharedConfigs(args?: SharedConfigsArgs, opts?: pulumi.InvokeOptions): Promise<SharedConfigsResult>;
/**
* A collection of arguments for invoking SharedConfigs.
*/
export interface SharedConfigsArgs {
/**
* The name of the shared config.
*/
configName?: string;
/**
* The type of the shared config.
*/
configType?: string;
/**
* The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time.
*/
configTypeLists?: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The name of the project.
*/
projectName?: string;
}
/**
* A collection of values returned by SharedConfigs.
*/
export interface SharedConfigsResult {
/**
* The collection of query.
*/
readonly configDatas: outputs.cdn.SharedConfigsConfigData[];
/**
* The name of the config.
*/
readonly configName?: string;
/**
* The type of the config.
*/
readonly configType?: string;
readonly configTypeLists?: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The name of the project.
*/
readonly projectName?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cdn shared configs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cdn.getSharedConfigs({
* configName: "tf-test",
* configType: "allow_ip_access_rule",
* projectName: "default",
* });
* ```
*/
/** @deprecated volcengine.cdn.SharedConfigs has been deprecated in favor of volcengine.cdn.getSharedConfigs */
export declare function sharedConfigsOutput(args?: SharedConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SharedConfigsResult>;
/**
* A collection of arguments for invoking SharedConfigs.
*/
export interface SharedConfigsOutputArgs {
/**
* The name of the shared config.
*/
configName?: pulumi.Input<string>;
/**
* The type of the shared config.
*/
configType?: pulumi.Input<string>;
/**
* The config type list. The parameter value can be a combination of available values for ConfigType. ConfigType and ConfigTypeList cannot be specified at the same time.
*/
configTypeLists?: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The name of the project.
*/
projectName?: pulumi.Input<string>;
}