import * as pulumi from "@pulumi/pulumi"; /** * The GTM instance is the core resource in Cloud Scheduling GTM for hosting scheduling domain names, routing policies, and health check configurations. After creating a GTM instance, you can use it to configure global traffic scheduling, failover, and health check capabilities for your business domain name * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const gTMGTMDemo = new volcenginecc.gtm.Gtm("GTMGTMDemo", { * domain: "www.example4.com", * accessMode: "cname", * cname: "gtm-cname.example4.com.bdns-gtm-pressure.com", * projectName: "default", * remark: "gtm test", * specName: "ultimate", * ttl: 600, * policyType: "perf", * alarmId: "71xxxx26d79-2b08-4033-b025-71xxxx26d79", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:gtm/gtm:Gtm example "gtm_id" * ``` */ export declare class Gtm extends pulumi.CustomResource { /** * Get an existing Gtm 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, state?: GtmState, opts?: pulumi.CustomResourceOptions): Gtm; /** * Returns true if the given object is an instance of Gtm. 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 Gtm; /** * Access method for the GTM instance. `cname` means a scheduling domain name is generated and you configure CNAME at your DNS provider; `domain` means Cloud DNS directly resolves the business domain name to the target address */ readonly accessMode: pulumi.Output; /** * Alarm rule ID associated with the GTM instance */ readonly alarmId: pulumi.Output; /** * Scheduling domain name of the GTM instance */ readonly cname: pulumi.Output; /** * Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard */ readonly createTime: pulumi.Output; /** * Domain name of the GTM instance, such as `www.example.com` */ readonly domain: pulumi.Output; /** * UUID of the GTM instance */ readonly gtmId: pulumi.Output; /** * Account that last operated the GTM instance */ readonly lastOperator: pulumi.Output; /** * Account that created the GTM instance */ readonly owner: pulumi.Output; /** * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy */ readonly policyType: pulumi.Output; /** * Project name to which the GTM instance belongs */ readonly projectName: pulumi.Output; /** * Remark information for the GTM instance */ readonly remark: pulumi.Output; /** * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition */ readonly specName: pulumi.Output; /** * Current lifecycle status of the GTM instance, such as `init`: indicates the GTM instance has been successfully created but not yet configured. `configuringAddress`: indicates basic rule configuration is complete but target address configuration is not yet finished. `editing`: indicates both basic configuration and target address are completed but the instance is not yet enabled. `running`: indicates the instance is officially enabled */ readonly state: pulumi.Output; /** * Expiration time of the DNS record, in seconds */ readonly ttl: pulumi.Output; /** * Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard */ readonly updateTime: pulumi.Output; /** * This parameter has no practical significance and can be ignored */ readonly zoneType: pulumi.Output; /** * Create a Gtm 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: GtmArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Gtm resources. */ export interface GtmState { /** * Access method for the GTM instance. `cname` means a scheduling domain name is generated and you configure CNAME at your DNS provider; `domain` means Cloud DNS directly resolves the business domain name to the target address */ accessMode?: pulumi.Input; /** * Alarm rule ID associated with the GTM instance */ alarmId?: pulumi.Input; /** * Scheduling domain name of the GTM instance */ cname?: pulumi.Input; /** * Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard */ createTime?: pulumi.Input; /** * Domain name of the GTM instance, such as `www.example.com` */ domain?: pulumi.Input; /** * UUID of the GTM instance */ gtmId?: pulumi.Input; /** * Account that last operated the GTM instance */ lastOperator?: pulumi.Input; /** * Account that created the GTM instance */ owner?: pulumi.Input; /** * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy */ policyType?: pulumi.Input; /** * Project name to which the GTM instance belongs */ projectName?: pulumi.Input; /** * Remark information for the GTM instance */ remark?: pulumi.Input; /** * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition */ specName?: pulumi.Input; /** * Current lifecycle status of the GTM instance, such as `init`: indicates the GTM instance has been successfully created but not yet configured. `configuringAddress`: indicates basic rule configuration is complete but target address configuration is not yet finished. `editing`: indicates both basic configuration and target address are completed but the instance is not yet enabled. `running`: indicates the instance is officially enabled */ state?: pulumi.Input; /** * Expiration time of the DNS record, in seconds */ ttl?: pulumi.Input; /** * Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard */ updateTime?: pulumi.Input; /** * This parameter has no practical significance and can be ignored */ zoneType?: pulumi.Input; } /** * The set of arguments for constructing a Gtm resource. */ export interface GtmArgs { /** * Access method for the GTM instance. `cname` means a scheduling domain name is generated and you configure CNAME at your DNS provider; `domain` means Cloud DNS directly resolves the business domain name to the target address */ accessMode: pulumi.Input; /** * Alarm rule ID associated with the GTM instance */ alarmId?: pulumi.Input; /** * Scheduling domain name of the GTM instance */ cname?: pulumi.Input; /** * Domain name of the GTM instance, such as `www.example.com` */ domain: pulumi.Input; /** * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy */ policyType?: pulumi.Input; /** * Project name to which the GTM instance belongs */ projectName?: pulumi.Input; /** * Remark information for the GTM instance */ remark?: pulumi.Input; /** * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition */ specName?: pulumi.Input; /** * Expiration time of the DNS record, in seconds */ ttl?: pulumi.Input; }