import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a callback configuration resource within HuaweiCloud.
 *
 * > Only one callback configuration can be created for an ingestion domain name.
 *
 * ## Example Usage
 *
 * ## Import
 *
 * The record callback resource can be imported using the `id`, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Live/recordCallback:RecordCallback test <id>
 * ```
 *
 *  Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`key`. It is generally recommended running `terraform plan` after importing a resource. You can then decide if changes should be applied to the resource, or the resource definition should be updated to align with the resource. Also, you can ignore changes as below. hcl resource "huaweicloud_live_record_callback" "test" {
 *
 *  ...
 *
 *  lifecycle {
 *
 *  ignore_changes = [
 *
 *  key,
 *
 *  ]
 *
 *  } }
 */
export declare class RecordCallback extends pulumi.CustomResource {
    /**
     * Get an existing RecordCallback 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?: RecordCallbackState, opts?: pulumi.CustomResourceOptions): RecordCallback;
    /**
     * Returns true if the given object is an instance of RecordCallback.  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 RecordCallback;
    /**
     * Specifies the ingest domain name.
     * Changing this parameter will create a new resource.
     */
    readonly domainName: pulumi.Output<string>;
    /**
     * Specifies the callback key, which is used for authentication. This parameter is configured
     * to protect user data security. The value can only contain letters and digits.
     * The length cannot be less than `32` characters.
     */
    readonly key: pulumi.Output<string>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * Specifies the sign type.
     * The valid values are as follows:
     * + **HMACSHA256**
     * + **MD5**
     */
    readonly signType: pulumi.Output<string>;
    /**
     * Specifies the types of recording notifications.
     * The valid values are as follows:
     * + **RECORD_NEW_FILE_START**: Recording started.
     * + **RECORD_FILE_COMPLETE**: Recording file generated.
     * + **RECORD_OVER**: Recording completed.
     * + **RECORD_FAILED**: Recording failed.
     */
    readonly types: pulumi.Output<string[]>;
    /**
     * Specifies the callback URL for sending recording notifications, which must start with
     * `http://` or `https://`, and cannot contain message headers or parameters.
     */
    readonly url: pulumi.Output<string>;
    /**
     * Create a RecordCallback 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: RecordCallbackArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RecordCallback resources.
 */
export interface RecordCallbackState {
    /**
     * Specifies the ingest domain name.
     * Changing this parameter will create a new resource.
     */
    domainName?: pulumi.Input<string>;
    /**
     * Specifies the callback key, which is used for authentication. This parameter is configured
     * to protect user data security. The value can only contain letters and digits.
     * The length cannot be less than `32` characters.
     */
    key?: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the sign type.
     * The valid values are as follows:
     * + **HMACSHA256**
     * + **MD5**
     */
    signType?: pulumi.Input<string>;
    /**
     * Specifies the types of recording notifications.
     * The valid values are as follows:
     * + **RECORD_NEW_FILE_START**: Recording started.
     * + **RECORD_FILE_COMPLETE**: Recording file generated.
     * + **RECORD_OVER**: Recording completed.
     * + **RECORD_FAILED**: Recording failed.
     */
    types?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Specifies the callback URL for sending recording notifications, which must start with
     * `http://` or `https://`, and cannot contain message headers or parameters.
     */
    url?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a RecordCallback resource.
 */
export interface RecordCallbackArgs {
    /**
     * Specifies the ingest domain name.
     * Changing this parameter will create a new resource.
     */
    domainName: pulumi.Input<string>;
    /**
     * Specifies the callback key, which is used for authentication. This parameter is configured
     * to protect user data security. The value can only contain letters and digits.
     * The length cannot be less than `32` characters.
     */
    key?: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the sign type.
     * The valid values are as follows:
     * + **HMACSHA256**
     * + **MD5**
     */
    signType?: pulumi.Input<string>;
    /**
     * Specifies the types of recording notifications.
     * The valid values are as follows:
     * + **RECORD_NEW_FILE_START**: Recording started.
     * + **RECORD_FILE_COMPLETE**: Recording file generated.
     * + **RECORD_OVER**: Recording completed.
     * + **RECORD_FAILED**: Recording failed.
     */
    types: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Specifies the callback URL for sending recording notifications, which must start with
     * `http://` or `https://`, and cannot contain message headers or parameters.
     */
    url: pulumi.Input<string>;
}
