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

ArmAppServiceModelFactory.StorageMigrationContent 方法

定义

初始化 StorageMigrationContent 的新实例。

public static Azure.ResourceManager.AppService.Models.StorageMigrationContent StorageMigrationContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string azurefilesConnectionString = default, string azurefilesShare = default, bool? switchSiteAfterMigration = default, bool? blockWriteAccessToSite = default, string kind = default);
static member StorageMigrationContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> * Nullable<bool> * string -> Azure.ResourceManager.AppService.Models.StorageMigrationContent
Public Shared Function StorageMigrationContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional azurefilesConnectionString As String = Nothing, Optional azurefilesShare As String = Nothing, Optional switchSiteAfterMigration As Nullable(Of Boolean) = Nothing, Optional blockWriteAccessToSite As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As StorageMigrationContent

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

azurefilesConnectionString
String

AzureFiles 连接字符串。

azurefilesShare
String

AzureFiles 共享。

switchSiteAfterMigration
Nullable<Boolean>

<如果应切换应用,则为代码 true/code>;否则为 <false<>/code>。<>

blockWriteAccessToSite
Nullable<Boolean>

<如果应用在复制操作期间应为只读,则为代码 true/code>;否则为 <false<>/code>。<>

kind
String

资源类型。

返回

用于模拟的新 StorageMigrationContent 实例。

适用于