import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.synthetics.getPrivateLocation({ * accountId: "123456", * name: "My private location", * }); * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [example.then(example => example.id)]}); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.synthetics.getPrivateLocation({ * accountId: "123456", * name: "My private location", * }); * const foo = new newrelic.synthetics.StepMonitor("foo", {locationPrivates: [{ * guid: example.then(example => example.id), * }]}); * ``` */ export declare function getPrivateLocation(args: GetPrivateLocationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPrivateLocation. */ export interface GetPrivateLocationArgs { /** * The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration. */ accountId?: string; /** * The key of the private location. */ keys?: string[]; /** * The name of the Synthetics monitor private location. */ name: string; } /** * A collection of values returned by getPrivateLocation. */ export interface GetPrivateLocationResult { readonly accountId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The key of the private location. */ readonly keys: string[]; readonly name: string; } /** * Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.synthetics.getPrivateLocation({ * accountId: "123456", * name: "My private location", * }); * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [example.then(example => example.id)]}); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.synthetics.getPrivateLocation({ * accountId: "123456", * name: "My private location", * }); * const foo = new newrelic.synthetics.StepMonitor("foo", {locationPrivates: [{ * guid: example.then(example => example.id), * }]}); * ``` */ export declare function getPrivateLocationOutput(args: GetPrivateLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPrivateLocation. */ export interface GetPrivateLocationOutputArgs { /** * The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration. */ accountId?: pulumi.Input; /** * The key of the private location. */ keys?: pulumi.Input[] | undefined>; /** * The name of the Synthetics monitor private location. */ name: pulumi.Input; } //# sourceMappingURL=getPrivateLocation.d.ts.map