你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmStorageMoverModelFactory.SmbMountEndpointProperties 方法

定义

初始化 SmbMountEndpointProperties 的新实例。

public static Azure.ResourceManager.StorageMover.Models.SmbMountEndpointProperties SmbMountEndpointProperties (string description = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default, string host = default, string shareName = default, Azure.ResourceManager.StorageMover.Models.AzureKeyVaultSmbCredentials credentials = default);
static member SmbMountEndpointProperties : string * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> * string * string * Azure.ResourceManager.StorageMover.Models.AzureKeyVaultSmbCredentials -> Azure.ResourceManager.StorageMover.Models.SmbMountEndpointProperties
Public Shared Function SmbMountEndpointProperties (Optional description As String = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing, Optional host As String = Nothing, Optional shareName As String = Nothing, Optional credentials As AzureKeyVaultSmbCredentials = Nothing) As SmbMountEndpointProperties

参数

description
String

终结点的说明。

provisioningState
Nullable<StorageMoverProvisioningState>

此资源的预配状态。

host
String

导出文件系统的服务器的主机名或 IP 地址。

shareName
String

要从服务器导出的 SMB 共享的名称。

credentials
AzureKeyVaultSmbCredentials

Azure 密钥保管库机密 URI,用于存储访问 SMB 共享所需的凭据。

返回

用于模拟的新 SmbMountEndpointProperties 实例。

适用于