Compartir a través de


ArmStorageModelFactory.StorageAccountLocalUserData Método

Definición

Inicializa una nueva instancia de 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);
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> -> 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) As StorageAccountLocalUserData

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

permissionScopes
IEnumerable<StoragePermissionScope>

Ámbitos de permiso del usuario local.

homeDirectory
String

Opcional, directorio principal del usuario local.

sshAuthorizedKeys
IEnumerable<StorageSshPublicKey>

Opcional, las claves autorizadas ssh de usuario local para SFTP.

sid
String

Identificador de seguridad único generado por el servidor.

hasSharedKey
Nullable<Boolean>

Indica si existe una clave compartida. Establézcalo en false para quitar la clave compartida existente.

hasSshKey
Nullable<Boolean>

Indica si existe una clave ssh. Establézcalo en false para quitar la clave SSH existente.

hasSshPassword
Nullable<Boolean>

Indica si existe una contraseña ssh. Establézcalo en false para quitar la contraseña SSH existente.

Devoluciones

StorageAccountLocalUserData Nueva instancia para simular.

Se aplica a