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

IdentitySettings Class

Optional settings for a Managed Identity that is assigned to the Container App.

Constructor

IdentitySettings()

Variables

Name Description
identity
str

The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity. Required.

lifecycle
Union[str, <xref:"IdentitySettingsLifeCycle">]

Use to select the lifecycle stages of a Container App during which the Managed Identity should be available. Known values are: "None", "Main", "Init", and "All".

Attributes

identity

The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity. Required.

identity: Required[str]

lifecycle

Use to select the lifecycle stages of a Container App during which the Managed Identity should be available. Known values are: "None", "Main", "Init", and "All".

lifecycle: str | IdentitySettingsLifeCycle