Share via


ArmStorageModelFactory.StorageAccountLocalUserData Method

Definition

Initializes a new instance of StorageAccountLocalUserData.

public static Azure.ResourceManager.Storage.StorageAccountLocalUserData StorageAccountLocalUserData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StoragePermissionScope> permissionScopes = default, string homeDirectory = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageSshPublicKey> sshAuthorizedKeys = default, string sid = default, bool? hasSharedKey = default, bool? hasSshKey = default, bool? hasSshPassword = default, int? userId = default, int? groupId = default, bool? isAclAuthorizationAllowed = default, System.Collections.Generic.IEnumerable<int> extendedGroups = default, bool? isNfsV3Enabled = default);
static member StorageAccountLocalUserData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Storage.Models.StoragePermissionScope> * string * seq<Azure.ResourceManager.Storage.Models.StorageSshPublicKey> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * seq<int> * Nullable<bool> -> Azure.ResourceManager.Storage.StorageAccountLocalUserData
Public Shared Function StorageAccountLocalUserData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional permissionScopes As IEnumerable(Of StoragePermissionScope) = Nothing, Optional homeDirectory As String = Nothing, Optional sshAuthorizedKeys As IEnumerable(Of StorageSshPublicKey) = Nothing, Optional sid As String = Nothing, Optional hasSharedKey As Nullable(Of Boolean) = Nothing, Optional hasSshKey As Nullable(Of Boolean) = Nothing, Optional hasSshPassword As Nullable(Of Boolean) = Nothing, Optional userId As Nullable(Of Integer) = Nothing, Optional groupId As Nullable(Of Integer) = Nothing, Optional isAclAuthorizationAllowed As Nullable(Of Boolean) = Nothing, Optional extendedGroups As IEnumerable(Of Integer) = Nothing, Optional isNfsV3Enabled As Nullable(Of Boolean) = Nothing) As StorageAccountLocalUserData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

permissionScopes
IEnumerable<StoragePermissionScope>

The permission scopes of the local user.

homeDirectory
String

Optional, local user home directory.

sshAuthorizedKeys
IEnumerable<StorageSshPublicKey>

Optional, local user ssh authorized keys for SFTP.

sid
String

A unique Security Identifier that is generated by the server.

hasSharedKey
Nullable<Boolean>

Indicates whether shared key exists. Set it to false to remove existing shared key.

hasSshKey
Nullable<Boolean>

Indicates whether ssh key exists. Set it to false to remove existing SSH key.

hasSshPassword
Nullable<Boolean>

Indicates whether ssh password exists. Set it to false to remove existing SSH password.

userId
Nullable<Int32>

A unique Identifier that is generated by the server.

groupId
Nullable<Int32>

An identifier for associating a group of users.

isAclAuthorizationAllowed
Nullable<Boolean>

Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization.

extendedGroups
IEnumerable<Int32>

Supplementary group membership. Only applicable for local users enabled for NFSv3 access.

isNfsV3Enabled
Nullable<Boolean>

Indicates if the local user is enabled for access with NFSv3 protocol.

Returns

A new StorageAccountLocalUserData instance for mocking.

Applies to