@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Container App session pool.
*
* Uses Azure REST API version 2025-01-01.
*
* Other available API versions: 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContainerAppsSessionPool(args: GetContainerAppsSessionPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerAppsSessionPoolResult>;
export interface GetContainerAppsSessionPoolArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Name of the session pool.
*/
sessionPoolName: string;
}
/**
* Container App session pool.
*/
export interface GetContainerAppsSessionPoolResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The container type of the sessions.
*/
readonly containerType?: string;
/**
* The custom container configuration if the containerType is CustomContainer.
*/
readonly customContainerTemplate?: outputs.app.CustomContainerTemplateResponse;
/**
* The pool configuration if the poolManagementType is dynamic.
*/
readonly dynamicPoolConfiguration?: outputs.app.DynamicPoolConfigurationResponse;
/**
* Resource ID of the session pool's environment.
*/
readonly environmentId?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
*/
readonly identity?: outputs.app.ManagedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Optional settings for a Managed Identity that is assigned to the Session pool.
*/
readonly managedIdentitySettings?: outputs.app.ManagedIdentitySettingResponse[];
/**
* The name of the resource
*/
readonly name: string;
/**
* The number of nodes the session pool is using.
*/
readonly nodeCount: number;
/**
* The endpoint to manage the pool.
*/
readonly poolManagementEndpoint: string;
/**
* The pool management type of the session pool.
*/
readonly poolManagementType?: string;
/**
* Provisioning state of the session pool.
*/
readonly provisioningState: string;
/**
* The scale configuration of the session pool.
*/
readonly scaleConfiguration?: outputs.app.ScaleConfigurationResponse;
/**
* The secrets of the session pool.
*/
readonly secrets?: outputs.app.SessionPoolSecretResponse[];
/**
* The network configuration of the sessions in the session pool.
*/
readonly sessionNetworkConfiguration?: outputs.app.SessionNetworkConfigurationResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.app.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Container App session pool.
*
* Uses Azure REST API version 2025-01-01.
*
* Other available API versions: 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContainerAppsSessionPoolOutput(args: GetContainerAppsSessionPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerAppsSessionPoolResult>;
export interface GetContainerAppsSessionPoolOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the session pool.
*/
sessionPoolName: pulumi.Input<string>;
}