Partilhar via


ArmStorageModelFactory.StorageAccountLocalUserData Método

Definição

Inicializa uma nova instância 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

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

permissionScopes
IEnumerable<StoragePermissionScope>

Os escopos de permissão do usuário local.

homeDirectory
String

Diretório inicial do usuário local opcional.

sshAuthorizedKeys
IEnumerable<StorageSshPublicKey>

Opcional, o usuário local ssh chaves autorizadas para SFTP.

sid
String

Um identificador de segurança exclusivo gerado pelo servidor.

hasSharedKey
Nullable<Boolean>

Indica se a chave compartilhada existe. Defina-o como false para remover a chave compartilhada existente.

hasSshKey
Nullable<Boolean>

Indica se a chave ssh existe. Defina-a como false para remover a chave SSH existente.

hasSshPassword
Nullable<Boolean>

Indica se a senha ssh existe. Defina-a como false para remover a senha SSH existente.

Retornos

Uma nova StorageAccountLocalUserData instância para zombar.

Aplica-se a