ArmAppContainersModelFactory.SessionPoolData 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.
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.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.CustomContainerTemplate customContainerTemplate = default, Azure.ResourceManager.AppContainers.Models.TemplateUpdateStatus templateUpdateStatus = default, Uri poolManagementEndpoint = default, Azure.ResourceManager.AppContainers.Models.SessionPoolProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting> managedIdentitySettings = default, Azure.ResourceManager.AppContainers.Models.McpServerSettings mcpServerSettings = default, Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration dynamicPoolLifecycleConfiguration = default, Azure.ResourceManager.AppContainers.Models.SessionNetworkStatus? sessionNetworkStatus = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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.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.CustomContainerTemplate * Azure.ResourceManager.AppContainers.Models.TemplateUpdateStatus * Uri * Nullable<Azure.ResourceManager.AppContainers.Models.SessionPoolProvisioningState> * seq<Azure.ResourceManager.AppContainers.Models.SessionPoolManagedIdentitySetting> * Azure.ResourceManager.AppContainers.Models.McpServerSettings * Azure.ResourceManager.AppContainers.Models.SessionPoolLifecycleConfiguration * Nullable<Azure.ResourceManager.AppContainers.Models.SessionNetworkStatus> * Azure.ResourceManager.Models.ManagedServiceIdentity -> 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 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 customContainerTemplate As CustomContainerTemplate = Nothing, Optional templateUpdateStatus As TemplateUpdateStatus = Nothing, Optional poolManagementEndpoint As Uri = Nothing, Optional provisioningState As Nullable(Of SessionPoolProvisioningState) = Nothing, Optional managedIdentitySettings As IEnumerable(Of SessionPoolManagedIdentitySetting) = Nothing, Optional mcpServerSettings As McpServerSettings = Nothing, Optional dynamicPoolLifecycleConfiguration As SessionPoolLifecycleConfiguration = Nothing, Optional sessionNetworkStatus As Nullable(Of SessionNetworkStatus) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As SessionPoolData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- environmentId
- ResourceIdentifier
Resource ID of the session pool's environment.
- containerType
- Nullable<ContainerType>
The container type of the sessions. You can use your own container to build the session pool, or you can use a predefined container to run workload with specific language.
- poolManagementType
- Nullable<PoolManagementType>
The pool management type of the session pool.
- scaleConfiguration
- SessionPoolScaleConfiguration
The scale configuration of the session pool.
- secrets
- IEnumerable<SessionPoolSecret>
The secrets of the session pool.
- customContainerTemplate
- CustomContainerTemplate
The custom container configuration if the containerType is CustomContainer.
- templateUpdateStatus
- TemplateUpdateStatus
The template status of the session pool, showing active template, or desired template during session pool update. This is only available if the containerType is CustomContainer.
- 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.
- mcpServerSettings
- McpServerSettings
The MCP (Model Context Protocol) server settings of the session pool.
- dynamicPoolLifecycleConfiguration
- SessionPoolLifecycleConfiguration
The lifecycle configuration of a session in the dynamic session pool.
- sessionNetworkStatus
- Nullable<SessionNetworkStatus>
Network status for the sessions.
- identity
- ManagedServiceIdentity
The managed service identities assigned to this resource.
Returns
A new SessionPoolData instance for mocking.