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

SnapshotRecoverySource Class

Specifies the web app that snapshot contents will be retrieved from.

Constructor

SnapshotRecoverySource(*, ___location: str | None = None, id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
___location
str

Geographical ___location of the source web app, e.g. SouthEastAsia, SouthCentralUS.

Default value: None
id
str

ARM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

Default value: None

Variables

Name Description
___location
str

Geographical ___location of the source web app, e.g. SouthEastAsia, SouthCentralUS.

id
str

ARM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.