import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a NetApp Account. * * > **Note:** Azure allows only one active directory can be joined to a single subscription at a time for NetApp Account. * * ## NetApp Account Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const current = azure.core.getClientConfig({}); * const exampleUserAssignedIdentity = new azure.authorization.UserAssignedIdentity("example", { * name: "anf-user-assigned-identity", * location: example.location, * resourceGroupName: example.name, * }); * const exampleAccount = new azure.netapp.Account("example", { * name: "netappaccount", * location: example.location, * resourceGroupName: example.name, * activeDirectory: { * username: "aduser", * password: "aduserpwd", * smbServerName: "SMBSERVER", * dnsServers: ["1.2.3.4"], * domain: "westcentralus.com", * organizationalUnit: "OU=FirstLevel", * }, * identity: { * type: "UserAssigned", * identityIds: [exampleUserAssignedIdentity.id], * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.NetApp` - 2025-12-01 * * ## Import * * NetApp Accounts can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:netapp/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1 * ``` * * > **Note:** When importing a NetApp account, the `active_directory.password` and `active_directory.server_root_ca_certificate` values *cannot* be retrieved from the Azure API and will need to be redeclared within the resource. */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account 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?: AccountState, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. 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 Account; /** * A `activeDirectory` block as defined below. */ readonly activeDirectory: pulumi.Output; /** * The `identity` block where it is used when customer managed keys based encryption will be enabled as defined below. */ readonly identity: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the NetApp Account. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Account 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: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Account resources. */ export interface AccountState { /** * A `activeDirectory` block as defined below. */ activeDirectory?: pulumi.Input; /** * The `identity` block where it is used when customer managed keys based encryption will be enabled as defined below. */ identity?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the NetApp Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * A `activeDirectory` block as defined below. */ activeDirectory?: pulumi.Input; /** * The `identity` block where it is used when customer managed keys based encryption will be enabled as defined below. */ identity?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the NetApp Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }