import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Script resource in Oracle Cloud Infrastructure APM Availability Monitoring service (aka APM Synthetics Service).
 *
 * Gets the configuration of the script identified by the OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testScript = oci.apmsynthetics.getScript({
 *     apmDomainId: testApmDomain.id,
 *     scriptId: testScriptOciApmSyntheticsScript.id,
 * });
 * ```
 */
export declare function getScript(args: GetScriptArgs, opts?: pulumi.InvokeOptions): Promise<GetScriptResult>;
/**
 * A collection of arguments for invoking getScript.
 */
export interface GetScriptArgs {
    /**
     * The APM domain ID the request is intended for.
     */
    apmDomainId: string;
    /**
     * The OCID of the script.
     */
    scriptId: string;
}
/**
 * A collection of values returned by getScript.
 */
export interface GetScriptResult {
    readonly apmDomainId: string;
    /**
     * The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters. The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`. Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false. Examples: With mandatory param name : `<ORAP><ON>param name</ON></ORAP>` With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>` Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format. If the content type is PLAYWRIGHT_TS, then the content should be in TypeScript format.
     */
    readonly content: string;
    /**
     * File name of the uploaded script content.
     */
    readonly contentFileName: string;
    /**
     * Size of the script content.
     */
    readonly contentSizeInBytes: number;
    /**
     * Content type of the script.
     */
    readonly contentType: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * Unique name that can be edited. The name should not contain any confidential information.
     */
    readonly displayName: string;
    /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
     */
    readonly id: string;
    /**
     * Details of the monitor count per state. Example: `{ "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }`
     */
    readonly monitorStatusCountMaps: outputs.ApmSynthetics.GetScriptMonitorStatusCountMap[];
    /**
     * List of script parameters. Example: `[{"scriptParameter": {"paramName": "userid", "paramValue":"testuser", "isSecret": false}, "isOverwritten": false}]`
     */
    readonly parameters: outputs.ApmSynthetics.GetScriptParameter[];
    readonly scriptId: string;
    /**
     * The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
     */
    readonly timeCreated: string;
    /**
     * The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
     */
    readonly timeUpdated: string;
    /**
     * The time the script was uploaded.
     */
    readonly timeUploaded: string;
}
/**
 * This data source provides details about a specific Script resource in Oracle Cloud Infrastructure APM Availability Monitoring service (aka APM Synthetics Service).
 *
 * Gets the configuration of the script identified by the OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testScript = oci.apmsynthetics.getScript({
 *     apmDomainId: testApmDomain.id,
 *     scriptId: testScriptOciApmSyntheticsScript.id,
 * });
 * ```
 */
export declare function getScriptOutput(args: GetScriptOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScriptResult>;
/**
 * A collection of arguments for invoking getScript.
 */
export interface GetScriptOutputArgs {
    /**
     * The APM domain ID the request is intended for.
     */
    apmDomainId: pulumi.Input<string>;
    /**
     * The OCID of the script.
     */
    scriptId: pulumi.Input<string>;
}
//# sourceMappingURL=getScript.d.ts.map