ArmAppContainersModelFactory.SessionPoolManagedIdentitySetting 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 Session pool.
public static Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting SessionPoolManagedIdentitySetting(string identity = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettingsLifeCycle? lifecycle = default);
static member SessionPoolManagedIdentitySetting : string * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettingsLifeCycle> -> Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting
Public Shared Function SessionPoolManagedIdentitySetting (Optional identity As String = Nothing, Optional lifecycle As Nullable(Of ContainerAppIdentitySettingsLifeCycle) = Nothing) As SessionPoolManagedIdentitySetting
Parameters
- identity
- String
The resource ID of a user-assigned managed identity that is assigned to the Session Pool, or 'system' for system-assigned identity.
- lifecycle
- Nullable<ContainerAppIdentitySettingsLifeCycle>
Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
Returns
A new SessionPoolManagedIdentitySetting instance for mocking.