Condividi tramite


ArmAppContainersModelFactory.SessionPoolData Method

Definition

Initializes a new instance of SessionPoolData.

public static Azure.ResourceManager.AppContainers.SessionPoolData SessionPoolData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.Core.ResourceIdentifier environmentId = default, Azure.ResourceManager.AppContainers.Models.ContainerType? containerType = default, Azure.ResourceManager.AppContainers.Models.PoolManagementType? poolManagementType = default, int? nodeCount = default, Azure.ResourceManager.AppContainers.Models.SessionPoolScaleConfiguration scaleConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.SessionPoolSecret> secrets = default, Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration dynamicPoolLifecycleConfiguration = default, Azure.ResourceManager.AppContainers.Models.CustomContainerTemplate customContainerTemplate = default, Azure.ResourceManager.AppContainers.Models.SessionNetworkStatus? sessionNetworkStatus = default, Uri poolManagementEndpoint = default, Azure.ResourceManager.AppContainers.Models.SessionPoolProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting> managedIdentitySettings = default);
static member SessionPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerType> * Nullable<Azure.ResourceManager.AppContainers.Models.PoolManagementType> * Nullable<int> * Azure.ResourceManager.AppContainers.Models.SessionPoolScaleConfiguration * seq<Azure.ResourceManager.AppContainers.Models.SessionPoolSecret> * Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration * Azure.ResourceManager.AppContainers.Models.CustomContainerTemplate * Nullable<Azure.ResourceManager.AppContainers.Models.SessionNetworkStatus> * Uri * Nullable<Azure.ResourceManager.AppContainers.Models.SessionPoolProvisioningState> * seq<Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting> -> Azure.ResourceManager.AppContainers.SessionPoolData
Public Shared Function SessionPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional environmentId As ResourceIdentifier = Nothing, Optional containerType As Nullable(Of ContainerType) = Nothing, Optional poolManagementType As Nullable(Of PoolManagementType) = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional scaleConfiguration As SessionPoolScaleConfiguration = Nothing, Optional secrets As IEnumerable(Of SessionPoolSecret) = Nothing, Optional dynamicPoolLifecycleConfiguration As SessionPoolLifecycleConfiguration = Nothing, Optional customContainerTemplate As CustomContainerTemplate = Nothing, Optional sessionNetworkStatus As Nullable(Of SessionNetworkStatus) = Nothing, Optional poolManagementEndpoint As Uri = Nothing, Optional provisioningState As Nullable(Of SessionPoolProvisioningState) = Nothing, Optional managedIdentitySettings As IEnumerable(Of SessionPoolManagedIdentitySetting) = Nothing) As SessionPoolData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.

environmentId
ResourceIdentifier

Resource ID of the session pool's environment.

containerType
Nullable<ContainerType>

The container type of the sessions.

poolManagementType
Nullable<PoolManagementType>

The pool management type of the session pool.

nodeCount
Nullable<Int32>

The number of nodes the session pool is using.

scaleConfiguration
SessionPoolScaleConfiguration

The scale configuration of the session pool.

secrets
IEnumerable<SessionPoolSecret>

The secrets of the session pool.

dynamicPoolLifecycleConfiguration
SessionPoolLifecycleConfiguration

The pool configuration if the poolManagementType is dynamic.

customContainerTemplate
CustomContainerTemplate

The custom container configuration if the containerType is CustomContainer.

sessionNetworkStatus
Nullable<SessionNetworkStatus>

The network configuration of the sessions in the session pool.

poolManagementEndpoint
Uri

The endpoint to manage the pool.

provisioningState
Nullable<SessionPoolProvisioningState>

Provisioning state of the session pool.

managedIdentitySettings
IEnumerable<SessionPoolManagedIdentitySetting>

Optional settings for a Managed Identity that is assigned to the Session pool.

Returns

A new SessionPoolData instance for mocking.

Applies to