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

CloningInfo interface

克隆作所需的信息。

属性

appSettingsOverrides

克隆应用的应用程序设置替代。 如果指定,这些设置将覆盖从源应用克隆的设置。 否则,源应用的应用程序设置将保留。

cloneCustomHostNames

true 从源应用克隆自定义主机名;否则,false

cloneSourceControl

true 从源应用克隆源代码管理;否则,false

configureLoadBalancing

true 为源应用和目标应用配置负载均衡。

correlationId

克隆作的相关 ID。 此 ID 将多个克隆作关联在一起,以使用相同的快照。

hostingEnvironment

应用服务环境。

overwrite

true 覆盖目标应用;否则,false

sourceWebAppId

源应用的 ARM 资源 ID。 应用资源 ID 的格式为 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} 用于生产槽位和 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} 用于其他槽。

sourceWebAppLocation

源应用的位置,例如:美国西部或北欧

trafficManagerProfileId

要使用的流量管理器配置文件的 ARM 资源 ID(如果存在)。 流量管理器资源 ID 的格式为 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}。

trafficManagerProfileName

要创建的流量管理器配置文件的名称。 仅当流量管理器配置文件尚不存在时,才需要这样做。

属性详细信息

appSettingsOverrides

克隆应用的应用程序设置替代。 如果指定,这些设置将覆盖从源应用克隆的设置。 否则,源应用的应用程序设置将保留。

appSettingsOverrides?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

cloneCustomHostNames

true 从源应用克隆自定义主机名;否则,false

cloneCustomHostNames?: boolean

属性值

boolean

cloneSourceControl

true 从源应用克隆源代码管理;否则,false

cloneSourceControl?: boolean

属性值

boolean

configureLoadBalancing

true 为源应用和目标应用配置负载均衡。

configureLoadBalancing?: boolean

属性值

boolean

correlationId

克隆作的相关 ID。 此 ID 将多个克隆作关联在一起,以使用相同的快照。

correlationId?: string

属性值

string

hostingEnvironment

应用服务环境。

hostingEnvironment?: string

属性值

string

overwrite

true 覆盖目标应用;否则,false

overwrite?: boolean

属性值

boolean

sourceWebAppId

源应用的 ARM 资源 ID。 应用资源 ID 的格式为 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} 用于生产槽位和 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} 用于其他槽。

sourceWebAppId: string

属性值

string

sourceWebAppLocation

源应用的位置,例如:美国西部或北欧

sourceWebAppLocation?: string

属性值

string

trafficManagerProfileId

要使用的流量管理器配置文件的 ARM 资源 ID(如果存在)。 流量管理器资源 ID 的格式为 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}。

trafficManagerProfileId?: string

属性值

string

trafficManagerProfileName

要创建的流量管理器配置文件的名称。 仅当流量管理器配置文件尚不存在时,才需要这样做。

trafficManagerProfileName?: string

属性值

string