ArmAppContainersModelFactory.ContainerAppIdentitySettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional settings for a Managed Identity that is assigned to the Container App.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettings ContainerAppIdentitySettings(string identity = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettingsLifeCycle? lifecycle = default);
static member ContainerAppIdentitySettings : string * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettingsLifeCycle> -> Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettings
Public Shared Function ContainerAppIdentitySettings (Optional identity As String = Nothing, Optional lifecycle As Nullable(Of ContainerAppIdentitySettingsLifeCycle) = Nothing) As ContainerAppIdentitySettings
Parameters
- identity
- String
The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
- lifecycle
- Nullable<ContainerAppIdentitySettingsLifeCycle>
Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
Returns
A new ContainerAppIdentitySettings instance for mocking.