import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::CDN::ShareConfig */ export declare function getShareConfig(args: GetShareConfigArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getShareConfig. */ export interface GetShareConfigArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getShareConfig. */ export interface GetShareConfigResult { /** * Specifies the configuration for an IP allowlist, where ConfigType is allow*ip*access*rule. */ readonly allowIpAccessRule: outputs.cdn.GetShareConfigAllowIpAccessRule; /** * Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allow*referer*access*rule. */ readonly allowRefererAccessRule: outputs.cdn.GetShareConfigAllowRefererAccessRule; /** * Specifies the configuration for a common list, where ConfigType is common*match*list. */ readonly commonMatchList: outputs.cdn.GetShareConfigCommonMatchList; /** * Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account. */ readonly configName: string; /** * This parameter specifies the type of global configuration. Available values are: deny*ip*access*rule: indicates an IP denylist. allow*ip*access*rule: indicates an IP allowlist. deny*referer*access*rule: indicates a Referer denylist. allow*referer*access*rule: indicates a Referer allowlist. common*match*list: indicates a common list. */ readonly configType: string; /** * Specifies the configuration for an IP denylist, where ConfigType is deny*ip*access*rule. */ readonly denyIpAccessRule: outputs.cdn.GetShareConfigDenyIpAccessRule; /** * Indicates a configuration for a Referer denylist. The corresponding ConfigType is deny*referer*access*rule. */ readonly denyRefererAccessRule: outputs.cdn.GetShareConfigDenyRefererAccessRule; /** * Indicates the number of accelerated domains associated with this global configuration. */ readonly domainCount: number; /** * Uniquely identifies the resource. */ readonly id: string; /** * Specifies the project name to which the global configuration belongs. */ readonly project: string; /** * Specifies the HTML code for the custom error page. */ readonly ruleContent: string; /** * Indicates the last modification time of this global configuration, in Unix timestamp. */ readonly updatedTime: number; } /** * Data Source schema for Volcengine::CDN::ShareConfig */ export declare function getShareConfigOutput(args: GetShareConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getShareConfig. */ export interface GetShareConfigOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }