All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.storage.kotlin.LocalUserArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin

import com.pulumi.azure.storage.LocalUserArgs.builder
import com.pulumi.azure.storage.kotlin.inputs.LocalUserPermissionScopeArgs
import com.pulumi.azure.storage.kotlin.inputs.LocalUserPermissionScopeArgsBuilder
import com.pulumi.azure.storage.kotlin.inputs.LocalUserSshAuthorizedKeyArgs
import com.pulumi.azure.storage.kotlin.inputs.LocalUserSshAuthorizedKeyArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Manages a Storage Account Local User.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-rg",
 *     location: "WestEurope",
 * });
 * const exampleAccount = new azure.storage.Account("example", {
 *     name: "example-account",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     accountKind: "StorageV2",
 *     accountTier: "Standard",
 *     accountReplicationType: "LRS",
 *     isHnsEnabled: true,
 * });
 * const exampleContainer = new azure.storage.Container("example", {
 *     name: "example-container",
 *     storageAccountName: exampleAccount.name,
 * });
 * const exampleLocalUser = new azure.storage.LocalUser("example", {
 *     name: "user1",
 *     storageAccountId: exampleAccount.id,
 *     sshKeyEnabled: true,
 *     sshPasswordEnabled: true,
 *     homeDirectory: "example_path",
 *     sshAuthorizedKeys: [
 *         {
 *             description: "key1",
 *             key: firstPublicKey,
 *         },
 *         {
 *             description: "key2",
 *             key: secondPublicKey,
 *         },
 *     ],
 *     permissionScopes: [{
 *         permissions: {
 *             read: true,
 *             create: true,
 *         },
 *         service: "blob",
 *         resourceName: exampleContainer.name,
 *     }],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="example-rg",
 *     location="WestEurope")
 * example_account = azure.storage.Account("example",
 *     name="example-account",
 *     resource_group_name=example.name,
 *     location=example.location,
 *     account_kind="StorageV2",
 *     account_tier="Standard",
 *     account_replication_type="LRS",
 *     is_hns_enabled=True)
 * example_container = azure.storage.Container("example",
 *     name="example-container",
 *     storage_account_name=example_account.name)
 * example_local_user = azure.storage.LocalUser("example",
 *     name="user1",
 *     storage_account_id=example_account.id,
 *     ssh_key_enabled=True,
 *     ssh_password_enabled=True,
 *     home_directory="example_path",
 *     ssh_authorized_keys=[
 *         azure.storage.LocalUserSshAuthorizedKeyArgs(
 *             description="key1",
 *             key=first_public_key,
 *         ),
 *         azure.storage.LocalUserSshAuthorizedKeyArgs(
 *             description="key2",
 *             key=second_public_key,
 *         ),
 *     ],
 *     permission_scopes=[azure.storage.LocalUserPermissionScopeArgs(
 *         permissions=azure.storage.LocalUserPermissionScopePermissionsArgs(
 *             read=True,
 *             create=True,
 *         ),
 *         service="blob",
 *         resource_name=example_container.name,
 *     )])
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "example-rg",
 *         Location = "WestEurope",
 *     });
 *     var exampleAccount = new Azure.Storage.Account("example", new()
 *     {
 *         Name = "example-account",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *         AccountKind = "StorageV2",
 *         AccountTier = "Standard",
 *         AccountReplicationType = "LRS",
 *         IsHnsEnabled = true,
 *     });
 *     var exampleContainer = new Azure.Storage.Container("example", new()
 *     {
 *         Name = "example-container",
 *         StorageAccountName = exampleAccount.Name,
 *     });
 *     var exampleLocalUser = new Azure.Storage.LocalUser("example", new()
 *     {
 *         Name = "user1",
 *         StorageAccountId = exampleAccount.Id,
 *         SshKeyEnabled = true,
 *         SshPasswordEnabled = true,
 *         HomeDirectory = "example_path",
 *         SshAuthorizedKeys = new[]
 *         {
 *             new Azure.Storage.Inputs.LocalUserSshAuthorizedKeyArgs
 *             {
 *                 Description = "key1",
 *                 Key = firstPublicKey,
 *             },
 *             new Azure.Storage.Inputs.LocalUserSshAuthorizedKeyArgs
 *             {
 *                 Description = "key2",
 *                 Key = secondPublicKey,
 *             },
 *         },
 *         PermissionScopes = new[]
 *         {
 *             new Azure.Storage.Inputs.LocalUserPermissionScopeArgs
 *             {
 *                 Permissions = new Azure.Storage.Inputs.LocalUserPermissionScopePermissionsArgs
 *                 {
 *                     Read = true,
 *                     Create = true,
 *                 },
 *                 Service = "blob",
 *                 ResourceName = exampleContainer.Name,
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("example-rg"),
 * 			Location: pulumi.String("WestEurope"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
 * 			Name:                   pulumi.String("example-account"),
 * 			ResourceGroupName:      example.Name,
 * 			Location:               example.Location,
 * 			AccountKind:            pulumi.String("StorageV2"),
 * 			AccountTier:            pulumi.String("Standard"),
 * 			AccountReplicationType: pulumi.String("LRS"),
 * 			IsHnsEnabled:           pulumi.Bool(true),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
 * 			Name:               pulumi.String("example-container"),
 * 			StorageAccountName: exampleAccount.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = storage.NewLocalUser(ctx, "example", &storage.LocalUserArgs{
 * 			Name:               pulumi.String("user1"),
 * 			StorageAccountId:   exampleAccount.ID(),
 * 			SshKeyEnabled:      pulumi.Bool(true),
 * 			SshPasswordEnabled: pulumi.Bool(true),
 * 			HomeDirectory:      pulumi.String("example_path"),
 * 			SshAuthorizedKeys: storage.LocalUserSshAuthorizedKeyArray{
 * 				&storage.LocalUserSshAuthorizedKeyArgs{
 * 					Description: pulumi.String("key1"),
 * 					Key:         pulumi.Any(firstPublicKey),
 * 				},
 * 				&storage.LocalUserSshAuthorizedKeyArgs{
 * 					Description: pulumi.String("key2"),
 * 					Key:         pulumi.Any(secondPublicKey),
 * 				},
 * 			},
 * 			PermissionScopes: storage.LocalUserPermissionScopeArray{
 * 				&storage.LocalUserPermissionScopeArgs{
 * 					Permissions: &storage.LocalUserPermissionScopePermissionsArgs{
 * 						Read:   pulumi.Bool(true),
 * 						Create: pulumi.Bool(true),
 * 					},
 * 					Service:      pulumi.String("blob"),
 * 					ResourceName: exampleContainer.Name,
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.storage.Account;
 * import com.pulumi.azure.storage.AccountArgs;
 * import com.pulumi.azure.storage.Container;
 * import com.pulumi.azure.storage.ContainerArgs;
 * import com.pulumi.azure.storage.LocalUser;
 * import com.pulumi.azure.storage.LocalUserArgs;
 * import com.pulumi.azure.storage.inputs.LocalUserSshAuthorizedKeyArgs;
 * import com.pulumi.azure.storage.inputs.LocalUserPermissionScopeArgs;
 * import com.pulumi.azure.storage.inputs.LocalUserPermissionScopePermissionsArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("example-rg")
 *             .location("WestEurope")
 *             .build());
 *         var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
 *             .name("example-account")
 *             .resourceGroupName(example.name())
 *             .location(example.location())
 *             .accountKind("StorageV2")
 *             .accountTier("Standard")
 *             .accountReplicationType("LRS")
 *             .isHnsEnabled(true)
 *             .build());
 *         var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
 *             .name("example-container")
 *             .storageAccountName(exampleAccount.name())
 *             .build());
 *         var exampleLocalUser = new LocalUser("exampleLocalUser", LocalUserArgs.builder()
 *             .name("user1")
 *             .storageAccountId(exampleAccount.id())
 *             .sshKeyEnabled(true)
 *             .sshPasswordEnabled(true)
 *             .homeDirectory("example_path")
 *             .sshAuthorizedKeys(
 *                 LocalUserSshAuthorizedKeyArgs.builder()
 *                     .description("key1")
 *                     .key(firstPublicKey)
 *                     .build(),
 *                 LocalUserSshAuthorizedKeyArgs.builder()
 *                     .description("key2")
 *                     .key(secondPublicKey)
 *                     .build())
 *             .permissionScopes(LocalUserPermissionScopeArgs.builder()
 *                 .permissions(LocalUserPermissionScopePermissionsArgs.builder()
 *                     .read(true)
 *                     .create(true)
 *                     .build())
 *                 .service("blob")
 *                 .resourceName(exampleContainer.name())
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: example-rg
 *       location: WestEurope
 *   exampleAccount:
 *     type: azure:storage:Account
 *     name: example
 *     properties:
 *       name: example-account
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *       accountKind: StorageV2
 *       accountTier: Standard
 *       accountReplicationType: LRS
 *       isHnsEnabled: true
 *   exampleContainer:
 *     type: azure:storage:Container
 *     name: example
 *     properties:
 *       name: example-container
 *       storageAccountName: ${exampleAccount.name}
 *   exampleLocalUser:
 *     type: azure:storage:LocalUser
 *     name: example
 *     properties:
 *       name: user1
 *       storageAccountId: ${exampleAccount.id}
 *       sshKeyEnabled: true
 *       sshPasswordEnabled: true
 *       homeDirectory: example_path
 *       sshAuthorizedKeys:
 *         - description: key1
 *           key: ${firstPublicKey}
 *         - description: key2
 *           key: ${secondPublicKey}
 *       permissionScopes:
 *         - permissions:
 *             read: true
 *             create: true
 *           service: blob
 *           resourceName: ${exampleContainer.name}
 * ```
 * 
 * ## Import
 * Storage Account Local Users can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:storage/localUser:LocalUser example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Storage/storageAccounts/storageAccount1/localUsers/user1
 * ```
 * @property homeDirectory The home directory of the Storage Account Local User.
 * @property name The name which should be used for this Storage Account Local User. Changing this forces a new Storage Account Local User to be created.
 * @property permissionScopes One or more `permission_scope` blocks as defined below.
 * @property sshAuthorizedKeys One or more `ssh_authorized_key` blocks as defined below.
 * @property sshKeyEnabled Specifies whether SSH Key Authentication is enabled. Defaults to `false`.
 * @property sshPasswordEnabled Specifies whether SSH Password Authentication is enabled. Defaults to `false`.
 * @property storageAccountId The ID of the Storage Account that this Storage Account Local User resides in. Changing this forces a new Storage Account Local User to be created.
 */
public data class LocalUserArgs(
    public val homeDirectory: Output? = null,
    public val name: Output? = null,
    public val permissionScopes: Output>? = null,
    public val sshAuthorizedKeys: Output>? = null,
    public val sshKeyEnabled: Output? = null,
    public val sshPasswordEnabled: Output? = null,
    public val storageAccountId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.LocalUserArgs =
        com.pulumi.azure.storage.LocalUserArgs.builder()
            .homeDirectory(homeDirectory?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .permissionScopes(
                permissionScopes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .sshAuthorizedKeys(
                sshAuthorizedKeys?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .sshKeyEnabled(sshKeyEnabled?.applyValue({ args0 -> args0 }))
            .sshPasswordEnabled(sshPasswordEnabled?.applyValue({ args0 -> args0 }))
            .storageAccountId(storageAccountId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LocalUserArgs].
 */
@PulumiTagMarker
public class LocalUserArgsBuilder internal constructor() {
    private var homeDirectory: Output? = null

    private var name: Output? = null

    private var permissionScopes: Output>? = null

    private var sshAuthorizedKeys: Output>? = null

    private var sshKeyEnabled: Output? = null

    private var sshPasswordEnabled: Output? = null

    private var storageAccountId: Output? = null

    /**
     * @param value The home directory of the Storage Account Local User.
     */
    @JvmName("awtaayqymsdheetm")
    public suspend fun homeDirectory(`value`: Output) {
        this.homeDirectory = value
    }

    /**
     * @param value The name which should be used for this Storage Account Local User. Changing this forces a new Storage Account Local User to be created.
     */
    @JvmName("teiiqhdxbpaevwvi")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value One or more `permission_scope` blocks as defined below.
     */
    @JvmName("fvygotmcwkxeqjbb")
    public suspend fun permissionScopes(`value`: Output>) {
        this.permissionScopes = value
    }

    @JvmName("ooxwljdjmtwtoljx")
    public suspend fun permissionScopes(vararg values: Output) {
        this.permissionScopes = Output.all(values.asList())
    }

    /**
     * @param values One or more `permission_scope` blocks as defined below.
     */
    @JvmName("bqtgcbboxqiufrjf")
    public suspend fun permissionScopes(values: List>) {
        this.permissionScopes = Output.all(values)
    }

    /**
     * @param value One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("rsgjuxprpovxvrie")
    public suspend fun sshAuthorizedKeys(`value`: Output>) {
        this.sshAuthorizedKeys = value
    }

    @JvmName("qdjyudwjocdynsdj")
    public suspend fun sshAuthorizedKeys(vararg values: Output) {
        this.sshAuthorizedKeys = Output.all(values.asList())
    }

    /**
     * @param values One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("ldvhtvkbocqtqyxf")
    public suspend fun sshAuthorizedKeys(values: List>) {
        this.sshAuthorizedKeys = Output.all(values)
    }

    /**
     * @param value Specifies whether SSH Key Authentication is enabled. Defaults to `false`.
     */
    @JvmName("nuqvetxexjglbdjt")
    public suspend fun sshKeyEnabled(`value`: Output) {
        this.sshKeyEnabled = value
    }

    /**
     * @param value Specifies whether SSH Password Authentication is enabled. Defaults to `false`.
     */
    @JvmName("oqtdlnakhupgalkn")
    public suspend fun sshPasswordEnabled(`value`: Output) {
        this.sshPasswordEnabled = value
    }

    /**
     * @param value The ID of the Storage Account that this Storage Account Local User resides in. Changing this forces a new Storage Account Local User to be created.
     */
    @JvmName("fpseoyeraufdrocy")
    public suspend fun storageAccountId(`value`: Output) {
        this.storageAccountId = value
    }

    /**
     * @param value The home directory of the Storage Account Local User.
     */
    @JvmName("aybvjugquyvspxny")
    public suspend fun homeDirectory(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.homeDirectory = mapped
    }

    /**
     * @param value The name which should be used for this Storage Account Local User. Changing this forces a new Storage Account Local User to be created.
     */
    @JvmName("vanacnridlwiybhw")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value One or more `permission_scope` blocks as defined below.
     */
    @JvmName("orbijwvupltlpjbv")
    public suspend fun permissionScopes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.permissionScopes = mapped
    }

    /**
     * @param argument One or more `permission_scope` blocks as defined below.
     */
    @JvmName("axyyynueprtubbbc")
    public suspend
    fun permissionScopes(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            LocalUserPermissionScopeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.permissionScopes = mapped
    }

    /**
     * @param argument One or more `permission_scope` blocks as defined below.
     */
    @JvmName("lvospxeflyywfelv")
    public suspend fun permissionScopes(
        vararg
        argument: suspend LocalUserPermissionScopeArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            LocalUserPermissionScopeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.permissionScopes = mapped
    }

    /**
     * @param argument One or more `permission_scope` blocks as defined below.
     */
    @JvmName("yyxebobpofrxstjn")
    public suspend
    fun permissionScopes(argument: suspend LocalUserPermissionScopeArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            LocalUserPermissionScopeArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.permissionScopes = mapped
    }

    /**
     * @param values One or more `permission_scope` blocks as defined below.
     */
    @JvmName("yyyjlsrspwqncsti")
    public suspend fun permissionScopes(vararg values: LocalUserPermissionScopeArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.permissionScopes = mapped
    }

    /**
     * @param value One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("tshihdihcynnhtye")
    public suspend fun sshAuthorizedKeys(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshAuthorizedKeys = mapped
    }

    /**
     * @param argument One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("osjjanxgxxdacchp")
    public suspend
    fun sshAuthorizedKeys(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            LocalUserSshAuthorizedKeyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sshAuthorizedKeys = mapped
    }

    /**
     * @param argument One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("niyasqpcvsuntqak")
    public suspend fun sshAuthorizedKeys(
        vararg
        argument: suspend LocalUserSshAuthorizedKeyArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            LocalUserSshAuthorizedKeyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sshAuthorizedKeys = mapped
    }

    /**
     * @param argument One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("dmhnpuvlresurlhm")
    public suspend
    fun sshAuthorizedKeys(argument: suspend LocalUserSshAuthorizedKeyArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            LocalUserSshAuthorizedKeyArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sshAuthorizedKeys = mapped
    }

    /**
     * @param values One or more `ssh_authorized_key` blocks as defined below.
     */
    @JvmName("mmfoayyrxlmvukob")
    public suspend fun sshAuthorizedKeys(vararg values: LocalUserSshAuthorizedKeyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sshAuthorizedKeys = mapped
    }

    /**
     * @param value Specifies whether SSH Key Authentication is enabled. Defaults to `false`.
     */
    @JvmName("sxmaxdklcrcdrmej")
    public suspend fun sshKeyEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshKeyEnabled = mapped
    }

    /**
     * @param value Specifies whether SSH Password Authentication is enabled. Defaults to `false`.
     */
    @JvmName("sellteupqfpbvxis")
    public suspend fun sshPasswordEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshPasswordEnabled = mapped
    }

    /**
     * @param value The ID of the Storage Account that this Storage Account Local User resides in. Changing this forces a new Storage Account Local User to be created.
     */
    @JvmName("cwupuhqakudtvodn")
    public suspend fun storageAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountId = mapped
    }

    internal fun build(): LocalUserArgs = LocalUserArgs(
        homeDirectory = homeDirectory,
        name = name,
        permissionScopes = permissionScopes,
        sshAuthorizedKeys = sshAuthorizedKeys,
        sshKeyEnabled = sshKeyEnabled,
        sshPasswordEnabled = sshPasswordEnabled,
        storageAccountId = storageAccountId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy