# StorageAccountLocalUserProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Storage](/reference/api/typescript/aspire.hosting.azure.provisioning.storage.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the StorageAccountLocalUser Azure Provisioning model.

## Definition

```typescript
interface StorageAccountLocalUserProxy {
  extendedGroups: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfInt32Proxy;
  groupId: BicepValueProxy | number;
  hasSharedKey: BicepValueProxy | boolean;
  hasSshKey: BicepValueProxy | boolean;
  hasSshPassword: BicepValueProxy | boolean;
  homeDirectory: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  isAclAuthorizationAllowed: BicepValueProxy | boolean;
  isNfsV3Enabled: BicepValueProxy | boolean;
  name: BicepValueProxy | string;
  parent: StorageAccountProxy;
  permissionScopes: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStoragePermissionScopeProxy;
  readonly sid: BicepValueProxy | string;
  sshAuthorizedKeys: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageSshPublicKeyProxy;
  readonly systemData: StorageSystemDataProxy;
  readonly userId: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearGroupId(): void;
  clearHasSharedKey(): void;
  clearHasSshKey(): void;
  clearHasSshPassword(): void;
  clearHomeDirectory(): void;
  clearIsAclAuthorizationAllowed(): void;
  clearIsNfsV3Enabled(): void;
  clearName(): void;
  getKeys(): LocalUserKeysProxy;
}
```

## Properties

- `extendedGroups`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfInt32Proxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofint32proxy.md) `get - set` -- Gets or sets the ExtendedGroups provisioning property.
- `groupId`: `BicepValueProxy | number` `get - set` -- Gets or sets the GroupId provisioning property.
- `hasSharedKey`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the HasSharedKey provisioning property.
- `hasSshKey`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the HasSshKey provisioning property.
- `hasSshPassword`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the HasSshPassword provisioning property.
- `homeDirectory`: `BicepValueProxy | string` `get - set` -- Gets or sets the HomeDirectory provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isAclAuthorizationAllowed`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsAclAuthorizationAllowed provisioning property.
- `isNfsV3Enabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsNfsV3Enabled provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [StorageAccountProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `permissionScopes`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStoragePermissionScopeProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofstoragepermissionscopeproxy.md) `get - set` -- Gets or sets the PermissionScopes provisioning property.
- `sid`: `BicepValueProxy | string` `get` -- Gets the Sid provisioning property.
- `sshAuthorizedKeys`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageSshPublicKeyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofstoragesshpublickeyproxy.md) `get - set` -- Gets or sets the SshAuthorizedKeys provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `userId`: `BicepValueProxy | number` `get` -- Gets the UserId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearGroupId](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/cleargroupid.md) -- `method` -- Clears the GroupId provisioning property.
    ```typescript
  clearGroupId(): void
  ```
- [clearHasSharedKey](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearhassharedkey.md) -- `method` -- Clears the HasSharedKey provisioning property.
    ```typescript
  clearHasSharedKey(): void
  ```
- [clearHasSshKey](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearhassshkey.md) -- `method` -- Clears the HasSshKey provisioning property.
    ```typescript
  clearHasSshKey(): void
  ```
- [clearHasSshPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearhassshpassword.md) -- `method` -- Clears the HasSshPassword provisioning property.
    ```typescript
  clearHasSshPassword(): void
  ```
- [clearHomeDirectory](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearhomedirectory.md) -- `method` -- Clears the HomeDirectory provisioning property.
    ```typescript
  clearHomeDirectory(): void
  ```
- [clearIsAclAuthorizationAllowed](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearisaclauthorizationallowed.md) -- `method` -- Clears the IsAclAuthorizationAllowed provisioning property.
    ```typescript
  clearIsAclAuthorizationAllowed(): void
  ```
- [clearIsNfsV3Enabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearisnfsv3enabled.md) -- `method` -- Clears the IsNfsV3Enabled provisioning property.
    ```typescript
  clearIsNfsV3Enabled(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [getKeys](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountlocaluserproxy/getkeys.md) -- `method` -- Invokes GetKeys on the StorageAccountLocalUser provisioning model.
    ```typescript
  getKeys(): LocalUserKeysProxy
  ```
