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

LocationMode Class

Specifies the location the request should be sent to. This mode only applies for RA-GRS accounts which allow secondary read access. All other account types must use PRIMARY.

Inheritance
builtins.object
LocationMode

Constructor

LocationMode()

Attributes

PRIMARY

Requests should be sent to the primary location.

PRIMARY = 'primary'

SECONDARY

Requests should be sent to the secondary location, if possible.

SECONDARY = 'secondary'