import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to create and manage New Relic sub accounts. * * ## Example Usage * * ##### Create Account * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = new newrelic.AccountManagement("foo", {name: "Test Account Name"}); * ``` * * ## Import * * Accounts can be imported using the `id`, e.g. * * ```sh * $ pulumi import newrelic:index/accountManagement:AccountManagement foo * ``` */ export declare class AccountManagement extends pulumi.CustomResource { /** * Get an existing AccountManagement 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?: AccountManagementState, opts?: pulumi.CustomResourceOptions): AccountManagement; /** * Returns true if the given object is an instance of AccountManagement. 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 AccountManagement; /** * The name of the Account. * * > **NOTE** Starting v3.95.0 of the New Relic Terraform Provider, the `region` argument on `newrelic.AccountManagement` is deprecated and will be removed in a future major release.

Every New Relic organization is now tied to a specific region, and any sub-account you create is automatically placed in the region of the organization that owns your API key. The `regionCode` field on the underlying `accountManagementCreateAccount` mutation has been deprecated upstream, and this provider no longer forwards it to the API.

Setting `region` in your configuration is still accepted for backward compatibility, but it has no effect on where the account is created. Please stop setting it in new configurations, and remove it from existing ones when it's convenient. */ readonly name: pulumi.Output; /** * DEPRECATED. The `region` argument is no longer meaningful and has no effect on where the account is created. * * @deprecated `region` is deprecated. New Relic organizations are single-region - the account is created in the region of the organization tied to your API key. Leave this argument unset. */ readonly region: pulumi.Output; /** * Status of the account - active or canceled */ readonly status: pulumi.Output; /** * Create a AccountManagement 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?: AccountManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountManagement resources. */ export interface AccountManagementState { /** * The name of the Account. * * > **NOTE** Starting v3.95.0 of the New Relic Terraform Provider, the `region` argument on `newrelic.AccountManagement` is deprecated and will be removed in a future major release.

Every New Relic organization is now tied to a specific region, and any sub-account you create is automatically placed in the region of the organization that owns your API key. The `regionCode` field on the underlying `accountManagementCreateAccount` mutation has been deprecated upstream, and this provider no longer forwards it to the API.

Setting `region` in your configuration is still accepted for backward compatibility, but it has no effect on where the account is created. Please stop setting it in new configurations, and remove it from existing ones when it's convenient. */ name?: pulumi.Input; /** * DEPRECATED. The `region` argument is no longer meaningful and has no effect on where the account is created. * * @deprecated `region` is deprecated. New Relic organizations are single-region - the account is created in the region of the organization tied to your API key. Leave this argument unset. */ region?: pulumi.Input; /** * Status of the account - active or canceled */ status?: pulumi.Input; } /** * The set of arguments for constructing a AccountManagement resource. */ export interface AccountManagementArgs { /** * The name of the Account. * * > **NOTE** Starting v3.95.0 of the New Relic Terraform Provider, the `region` argument on `newrelic.AccountManagement` is deprecated and will be removed in a future major release.

Every New Relic organization is now tied to a specific region, and any sub-account you create is automatically placed in the region of the organization that owns your API key. The `regionCode` field on the underlying `accountManagementCreateAccount` mutation has been deprecated upstream, and this provider no longer forwards it to the API.

Setting `region` in your configuration is still accepted for backward compatibility, but it has no effect on where the account is created. Please stop setting it in new configurations, and remove it from existing ones when it's convenient. */ name?: pulumi.Input; /** * DEPRECATED. The `region` argument is no longer meaningful and has no effect on where the account is created. * * @deprecated `region` is deprecated. New Relic organizations are single-region - the account is created in the region of the organization tied to your API key. Leave this argument unset. */ region?: pulumi.Input; } //# sourceMappingURL=accountManagement.d.ts.map