import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to link an Azure account to New Relic. * * ## Prerequisite * * Some configuration is required in Azure for the New Relic Azure cloud integrations to be able to pull data. * * To start receiving Azure data with New Relic Azure integrations, connect your Azure account to New Relic infrastructure monitoring. If you don't have one already, create a New Relic account. It's free, forever. * * Setup is required in Azure for this resource to work properly. You can find instructions on how to set up Azure on [our documentation](https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/get-started/activate-azure-integrations/). * * ## Example Usage * * You can also use the full example, including the Azure set up, found in our guides. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = new newrelic.cloud.AzureLinkAccount("foo", { * accountId: "The New Relic account ID where you want to link the Azure account", * applicationId: "ID of the application", * clientSecret: "Secret value of client's Azure account", * subscriptionId: "Subscription ID of Azure", * tenantId: "Tenant ID of the Azure", * name: "Name of the linked account", * }); * ``` * * ## Import * * Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic * * ```sh * $ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo * * ``` */ export declare class AzureLinkAccount extends pulumi.CustomResource { /** * Get an existing AzureLinkAccount 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?: AzureLinkAccountState, opts?: pulumi.CustomResourceOptions): AzureLinkAccount; /** * Returns true if the given object is an instance of AzureLinkAccount. 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 AzureLinkAccount; /** * Account ID of the New Relic. */ readonly accountId: pulumi.Output; /** * Application ID of the App. */ readonly applicationId: pulumi.Output; /** * Secret Value of the client. */ readonly clientSecret: pulumi.Output; /** * The name of the application in New Relic APM. */ readonly name: pulumi.Output; /** * Subscription ID of the Azure cloud account. */ readonly subscriptionId: pulumi.Output; /** * Tenant ID of the Azure cloud account. */ readonly tenantId: pulumi.Output; /** * Create a AzureLinkAccount 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: AzureLinkAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureLinkAccount resources. */ export interface AzureLinkAccountState { /** * Account ID of the New Relic. */ accountId?: pulumi.Input; /** * Application ID of the App. */ applicationId?: pulumi.Input; /** * Secret Value of the client. */ clientSecret?: pulumi.Input; /** * The name of the application in New Relic APM. */ name?: pulumi.Input; /** * Subscription ID of the Azure cloud account. */ subscriptionId?: pulumi.Input; /** * Tenant ID of the Azure cloud account. */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a AzureLinkAccount resource. */ export interface AzureLinkAccountArgs { /** * Account ID of the New Relic. */ accountId?: pulumi.Input; /** * Application ID of the App. */ applicationId: pulumi.Input; /** * Secret Value of the client. */ clientSecret: pulumi.Input; /** * The name of the application in New Relic APM. */ name?: pulumi.Input; /** * Subscription ID of the Azure cloud account. */ subscriptionId: pulumi.Input; /** * Tenant ID of the Azure cloud account. */ tenantId: pulumi.Input; } //# sourceMappingURL=azureLinkAccount.d.ts.map