azure-native.app.ContainerAppsSessionPool
Explore with Pulumi AI
Container App session pool.
Uses Azure REST API version 2025-02-02-preview. In version 2.x of the Azure Native provider, it used API version 2024-02-02-preview.
Other available API versions: 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. 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 for details.
Example Usage
Create or Update Session Pool with lifecycle OnContainerExit Timed
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerAppsSessionPool = new AzureNative.App.ContainerAppsSessionPool("containerAppsSessionPool", new()
{
ContainerType = AzureNative.App.ContainerType.CustomContainer,
CustomContainerTemplate = new AzureNative.App.Inputs.CustomContainerTemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.SessionContainerArgs
{
Args = new[]
{
"-c",
"while true; do echo hello; sleep 10;done",
},
Command = new[]
{
"/bin/sh",
},
Image = "repo/testcontainer:v4",
Name = "testinitcontainer",
Resources = new AzureNative.App.Inputs.SessionContainerResourcesArgs
{
Cpu = 0.25,
Memory = "0.5Gi",
},
},
},
Ingress = new AzureNative.App.Inputs.SessionIngressArgs
{
TargetPort = 80,
},
RegistryCredentials = new AzureNative.App.Inputs.SessionRegistryCredentialsArgs
{
Identity = "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
Server = "test.azurecr.io",
},
},
DynamicPoolConfiguration = new AzureNative.App.Inputs.DynamicPoolConfigurationArgs
{
LifecycleConfiguration = new AzureNative.App.Inputs.LifecycleConfigurationArgs
{
LifecycleType = AzureNative.App.LifecycleType.OnContainerExit,
MaxAlivePeriodInSeconds = 86400,
},
},
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
{
Type = AzureNative.App.ManagedServiceIdentityType.SystemAssigned,
},
Location = "East US",
ManagedIdentitySettings = new[]
{
new AzureNative.App.Inputs.ManagedIdentitySettingArgs
{
Identity = "system",
Lifecycle = AzureNative.App.IdentitySettingsLifeCycle.Main,
},
},
PoolManagementType = AzureNative.App.PoolManagementType.Dynamic,
ResourceGroupName = "rg",
ScaleConfiguration = new AzureNative.App.Inputs.ScaleConfigurationArgs
{
MaxConcurrentSessions = 500,
ReadySessionInstances = 100,
},
SessionNetworkConfiguration = new AzureNative.App.Inputs.SessionNetworkConfigurationArgs
{
Status = AzureNative.App.SessionNetworkStatus.EgressEnabled,
},
SessionPoolName = "testsessionpool",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerAppsSessionPool(ctx, "containerAppsSessionPool", &app.ContainerAppsSessionPoolArgs{
ContainerType: pulumi.String(app.ContainerTypeCustomContainer),
CustomContainerTemplate: &app.CustomContainerTemplateArgs{
Containers: app.SessionContainerArray{
&app.SessionContainerArgs{
Args: pulumi.StringArray{
pulumi.String("-c"),
pulumi.String("while true; do echo hello; sleep 10;done"),
},
Command: pulumi.StringArray{
pulumi.String("/bin/sh"),
},
Image: pulumi.String("repo/testcontainer:v4"),
Name: pulumi.String("testinitcontainer"),
Resources: &app.SessionContainerResourcesArgs{
Cpu: pulumi.Float64(0.25),
Memory: pulumi.String("0.5Gi"),
},
},
},
Ingress: &app.SessionIngressArgs{
TargetPort: pulumi.Int(80),
},
RegistryCredentials: &app.SessionRegistryCredentialsArgs{
Identity: pulumi.String("/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP"),
Server: pulumi.String("test.azurecr.io"),
},
},
DynamicPoolConfiguration: &app.DynamicPoolConfigurationArgs{
LifecycleConfiguration: &app.LifecycleConfigurationArgs{
LifecycleType: pulumi.String(app.LifecycleTypeOnContainerExit),
MaxAlivePeriodInSeconds: pulumi.Int(86400),
},
},
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Identity: &app.ManagedServiceIdentityArgs{
Type: pulumi.String(app.ManagedServiceIdentityTypeSystemAssigned),
},
Location: pulumi.String("East US"),
ManagedIdentitySettings: app.ManagedIdentitySettingArray{
&app.ManagedIdentitySettingArgs{
Identity: pulumi.String("system"),
Lifecycle: pulumi.String(app.IdentitySettingsLifeCycleMain),
},
},
PoolManagementType: pulumi.String(app.PoolManagementTypeDynamic),
ResourceGroupName: pulumi.String("rg"),
ScaleConfiguration: &app.ScaleConfigurationArgs{
MaxConcurrentSessions: pulumi.Int(500),
ReadySessionInstances: pulumi.Int(100),
},
SessionNetworkConfiguration: &app.SessionNetworkConfigurationArgs{
Status: pulumi.String(app.SessionNetworkStatusEgressEnabled),
},
SessionPoolName: pulumi.String("testsessionpool"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerAppsSessionPool;
import com.pulumi.azurenative.app.ContainerAppsSessionPoolArgs;
import com.pulumi.azurenative.app.inputs.CustomContainerTemplateArgs;
import com.pulumi.azurenative.app.inputs.SessionIngressArgs;
import com.pulumi.azurenative.app.inputs.SessionRegistryCredentialsArgs;
import com.pulumi.azurenative.app.inputs.DynamicPoolConfigurationArgs;
import com.pulumi.azurenative.app.inputs.LifecycleConfigurationArgs;
import com.pulumi.azurenative.app.inputs.ManagedServiceIdentityArgs;
import com.pulumi.azurenative.app.inputs.ManagedIdentitySettingArgs;
import com.pulumi.azurenative.app.inputs.ScaleConfigurationArgs;
import com.pulumi.azurenative.app.inputs.SessionNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerAppsSessionPool = new ContainerAppsSessionPool("containerAppsSessionPool", ContainerAppsSessionPoolArgs.builder()
.containerType("CustomContainer")
.customContainerTemplate(CustomContainerTemplateArgs.builder()
.containers(SessionContainerArgs.builder()
.args(
"-c",
"while true; do echo hello; sleep 10;done")
.command("/bin/sh")
.image("repo/testcontainer:v4")
.name("testinitcontainer")
.resources(SessionContainerResourcesArgs.builder()
.cpu(0.25)
.memory("0.5Gi")
.build())
.build())
.ingress(SessionIngressArgs.builder()
.targetPort(80)
.build())
.registryCredentials(SessionRegistryCredentialsArgs.builder()
.identity("/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP")
.server("test.azurecr.io")
.build())
.build())
.dynamicPoolConfiguration(DynamicPoolConfigurationArgs.builder()
.lifecycleConfiguration(LifecycleConfigurationArgs.builder()
.lifecycleType("OnContainerExit")
.maxAlivePeriodInSeconds(86400)
.build())
.build())
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.identity(ManagedServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("East US")
.managedIdentitySettings(ManagedIdentitySettingArgs.builder()
.identity("system")
.lifecycle("Main")
.build())
.poolManagementType("Dynamic")
.resourceGroupName("rg")
.scaleConfiguration(ScaleConfigurationArgs.builder()
.maxConcurrentSessions(500)
.readySessionInstances(100)
.build())
.sessionNetworkConfiguration(SessionNetworkConfigurationArgs.builder()
.status("EgressEnabled")
.build())
.sessionPoolName("testsessionpool")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerAppsSessionPool = new azure_native.app.ContainerAppsSessionPool("containerAppsSessionPool", {
containerType: azure_native.app.ContainerType.CustomContainer,
customContainerTemplate: {
containers: [{
args: [
"-c",
"while true; do echo hello; sleep 10;done",
],
command: ["/bin/sh"],
image: "repo/testcontainer:v4",
name: "testinitcontainer",
resources: {
cpu: 0.25,
memory: "0.5Gi",
},
}],
ingress: {
targetPort: 80,
},
registryCredentials: {
identity: "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
server: "test.azurecr.io",
},
},
dynamicPoolConfiguration: {
lifecycleConfiguration: {
lifecycleType: azure_native.app.LifecycleType.OnContainerExit,
maxAlivePeriodInSeconds: 86400,
},
},
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
identity: {
type: azure_native.app.ManagedServiceIdentityType.SystemAssigned,
},
location: "East US",
managedIdentitySettings: [{
identity: "system",
lifecycle: azure_native.app.IdentitySettingsLifeCycle.Main,
}],
poolManagementType: azure_native.app.PoolManagementType.Dynamic,
resourceGroupName: "rg",
scaleConfiguration: {
maxConcurrentSessions: 500,
readySessionInstances: 100,
},
sessionNetworkConfiguration: {
status: azure_native.app.SessionNetworkStatus.EgressEnabled,
},
sessionPoolName: "testsessionpool",
});
import pulumi
import pulumi_azure_native as azure_native
container_apps_session_pool = azure_native.app.ContainerAppsSessionPool("containerAppsSessionPool",
container_type=azure_native.app.ContainerType.CUSTOM_CONTAINER,
custom_container_template={
"containers": [{
"args": [
"-c",
"while true; do echo hello; sleep 10;done",
],
"command": ["/bin/sh"],
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi",
},
}],
"ingress": {
"target_port": 80,
},
"registry_credentials": {
"identity": "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
"server": "test.azurecr.io",
},
},
dynamic_pool_configuration={
"lifecycle_configuration": {
"lifecycle_type": azure_native.app.LifecycleType.ON_CONTAINER_EXIT,
"max_alive_period_in_seconds": 86400,
},
},
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
identity={
"type": azure_native.app.ManagedServiceIdentityType.SYSTEM_ASSIGNED,
},
location="East US",
managed_identity_settings=[{
"identity": "system",
"lifecycle": azure_native.app.IdentitySettingsLifeCycle.MAIN,
}],
pool_management_type=azure_native.app.PoolManagementType.DYNAMIC,
resource_group_name="rg",
scale_configuration={
"max_concurrent_sessions": 500,
"ready_session_instances": 100,
},
session_network_configuration={
"status": azure_native.app.SessionNetworkStatus.EGRESS_ENABLED,
},
session_pool_name="testsessionpool")
resources:
containerAppsSessionPool:
type: azure-native:app:ContainerAppsSessionPool
properties:
containerType: CustomContainer
customContainerTemplate:
containers:
- args:
- -c
- while true; do echo hello; sleep 10;done
command:
- /bin/sh
image: repo/testcontainer:v4
name: testinitcontainer
resources:
cpu: 0.25
memory: 0.5Gi
ingress:
targetPort: 80
registryCredentials:
identity: /subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP
server: test.azurecr.io
dynamicPoolConfiguration:
lifecycleConfiguration:
lifecycleType: OnContainerExit
maxAlivePeriodInSeconds: 86400
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
identity:
type: SystemAssigned
location: East US
managedIdentitySettings:
- identity: system
lifecycle: Main
poolManagementType: Dynamic
resourceGroupName: rg
scaleConfiguration:
maxConcurrentSessions: 500
readySessionInstances: 100
sessionNetworkConfiguration:
status: EgressEnabled
sessionPoolName: testsessionpool
Create or Update Session Pool with lifecycle type Timed
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var containerAppsSessionPool = new AzureNative.App.ContainerAppsSessionPool("containerAppsSessionPool", new()
{
ContainerType = AzureNative.App.ContainerType.CustomContainer,
CustomContainerTemplate = new AzureNative.App.Inputs.CustomContainerTemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.SessionContainerArgs
{
Args = new[]
{
"-c",
"while true; do echo hello; sleep 10;done",
},
Command = new[]
{
"/bin/sh",
},
Image = "repo/testcontainer:v4",
Name = "testinitcontainer",
Resources = new AzureNative.App.Inputs.SessionContainerResourcesArgs
{
Cpu = 0.25,
Memory = "0.5Gi",
},
},
},
Ingress = new AzureNative.App.Inputs.SessionIngressArgs
{
TargetPort = 80,
},
RegistryCredentials = new AzureNative.App.Inputs.SessionRegistryCredentialsArgs
{
Identity = "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
Server = "test.azurecr.io",
},
},
DynamicPoolConfiguration = new AzureNative.App.Inputs.DynamicPoolConfigurationArgs
{
LifecycleConfiguration = new AzureNative.App.Inputs.LifecycleConfigurationArgs
{
CooldownPeriodInSeconds = 600,
LifecycleType = AzureNative.App.LifecycleType.Timed,
},
},
EnvironmentId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
{
Type = AzureNative.App.ManagedServiceIdentityType.SystemAssigned,
},
Location = "East US",
ManagedIdentitySettings = new[]
{
new AzureNative.App.Inputs.ManagedIdentitySettingArgs
{
Identity = "system",
Lifecycle = AzureNative.App.IdentitySettingsLifeCycle.Main,
},
},
PoolManagementType = AzureNative.App.PoolManagementType.Dynamic,
ResourceGroupName = "rg",
ScaleConfiguration = new AzureNative.App.Inputs.ScaleConfigurationArgs
{
MaxConcurrentSessions = 500,
ReadySessionInstances = 100,
},
SessionNetworkConfiguration = new AzureNative.App.Inputs.SessionNetworkConfigurationArgs
{
Status = AzureNative.App.SessionNetworkStatus.EgressEnabled,
},
SessionPoolName = "testsessionpool",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewContainerAppsSessionPool(ctx, "containerAppsSessionPool", &app.ContainerAppsSessionPoolArgs{
ContainerType: pulumi.String(app.ContainerTypeCustomContainer),
CustomContainerTemplate: &app.CustomContainerTemplateArgs{
Containers: app.SessionContainerArray{
&app.SessionContainerArgs{
Args: pulumi.StringArray{
pulumi.String("-c"),
pulumi.String("while true; do echo hello; sleep 10;done"),
},
Command: pulumi.StringArray{
pulumi.String("/bin/sh"),
},
Image: pulumi.String("repo/testcontainer:v4"),
Name: pulumi.String("testinitcontainer"),
Resources: &app.SessionContainerResourcesArgs{
Cpu: pulumi.Float64(0.25),
Memory: pulumi.String("0.5Gi"),
},
},
},
Ingress: &app.SessionIngressArgs{
TargetPort: pulumi.Int(80),
},
RegistryCredentials: &app.SessionRegistryCredentialsArgs{
Identity: pulumi.String("/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP"),
Server: pulumi.String("test.azurecr.io"),
},
},
DynamicPoolConfiguration: &app.DynamicPoolConfigurationArgs{
LifecycleConfiguration: &app.LifecycleConfigurationArgs{
CooldownPeriodInSeconds: pulumi.Int(600),
LifecycleType: pulumi.String(app.LifecycleTypeTimed),
},
},
EnvironmentId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube"),
Identity: &app.ManagedServiceIdentityArgs{
Type: pulumi.String(app.ManagedServiceIdentityTypeSystemAssigned),
},
Location: pulumi.String("East US"),
ManagedIdentitySettings: app.ManagedIdentitySettingArray{
&app.ManagedIdentitySettingArgs{
Identity: pulumi.String("system"),
Lifecycle: pulumi.String(app.IdentitySettingsLifeCycleMain),
},
},
PoolManagementType: pulumi.String(app.PoolManagementTypeDynamic),
ResourceGroupName: pulumi.String("rg"),
ScaleConfiguration: &app.ScaleConfigurationArgs{
MaxConcurrentSessions: pulumi.Int(500),
ReadySessionInstances: pulumi.Int(100),
},
SessionNetworkConfiguration: &app.SessionNetworkConfigurationArgs{
Status: pulumi.String(app.SessionNetworkStatusEgressEnabled),
},
SessionPoolName: pulumi.String("testsessionpool"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.ContainerAppsSessionPool;
import com.pulumi.azurenative.app.ContainerAppsSessionPoolArgs;
import com.pulumi.azurenative.app.inputs.CustomContainerTemplateArgs;
import com.pulumi.azurenative.app.inputs.SessionIngressArgs;
import com.pulumi.azurenative.app.inputs.SessionRegistryCredentialsArgs;
import com.pulumi.azurenative.app.inputs.DynamicPoolConfigurationArgs;
import com.pulumi.azurenative.app.inputs.LifecycleConfigurationArgs;
import com.pulumi.azurenative.app.inputs.ManagedServiceIdentityArgs;
import com.pulumi.azurenative.app.inputs.ManagedIdentitySettingArgs;
import com.pulumi.azurenative.app.inputs.ScaleConfigurationArgs;
import com.pulumi.azurenative.app.inputs.SessionNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var containerAppsSessionPool = new ContainerAppsSessionPool("containerAppsSessionPool", ContainerAppsSessionPoolArgs.builder()
.containerType("CustomContainer")
.customContainerTemplate(CustomContainerTemplateArgs.builder()
.containers(SessionContainerArgs.builder()
.args(
"-c",
"while true; do echo hello; sleep 10;done")
.command("/bin/sh")
.image("repo/testcontainer:v4")
.name("testinitcontainer")
.resources(SessionContainerResourcesArgs.builder()
.cpu(0.25)
.memory("0.5Gi")
.build())
.build())
.ingress(SessionIngressArgs.builder()
.targetPort(80)
.build())
.registryCredentials(SessionRegistryCredentialsArgs.builder()
.identity("/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP")
.server("test.azurecr.io")
.build())
.build())
.dynamicPoolConfiguration(DynamicPoolConfigurationArgs.builder()
.lifecycleConfiguration(LifecycleConfigurationArgs.builder()
.cooldownPeriodInSeconds(600)
.lifecycleType("Timed")
.build())
.build())
.environmentId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.identity(ManagedServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("East US")
.managedIdentitySettings(ManagedIdentitySettingArgs.builder()
.identity("system")
.lifecycle("Main")
.build())
.poolManagementType("Dynamic")
.resourceGroupName("rg")
.scaleConfiguration(ScaleConfigurationArgs.builder()
.maxConcurrentSessions(500)
.readySessionInstances(100)
.build())
.sessionNetworkConfiguration(SessionNetworkConfigurationArgs.builder()
.status("EgressEnabled")
.build())
.sessionPoolName("testsessionpool")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const containerAppsSessionPool = new azure_native.app.ContainerAppsSessionPool("containerAppsSessionPool", {
containerType: azure_native.app.ContainerType.CustomContainer,
customContainerTemplate: {
containers: [{
args: [
"-c",
"while true; do echo hello; sleep 10;done",
],
command: ["/bin/sh"],
image: "repo/testcontainer:v4",
name: "testinitcontainer",
resources: {
cpu: 0.25,
memory: "0.5Gi",
},
}],
ingress: {
targetPort: 80,
},
registryCredentials: {
identity: "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
server: "test.azurecr.io",
},
},
dynamicPoolConfiguration: {
lifecycleConfiguration: {
cooldownPeriodInSeconds: 600,
lifecycleType: azure_native.app.LifecycleType.Timed,
},
},
environmentId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
identity: {
type: azure_native.app.ManagedServiceIdentityType.SystemAssigned,
},
location: "East US",
managedIdentitySettings: [{
identity: "system",
lifecycle: azure_native.app.IdentitySettingsLifeCycle.Main,
}],
poolManagementType: azure_native.app.PoolManagementType.Dynamic,
resourceGroupName: "rg",
scaleConfiguration: {
maxConcurrentSessions: 500,
readySessionInstances: 100,
},
sessionNetworkConfiguration: {
status: azure_native.app.SessionNetworkStatus.EgressEnabled,
},
sessionPoolName: "testsessionpool",
});
import pulumi
import pulumi_azure_native as azure_native
container_apps_session_pool = azure_native.app.ContainerAppsSessionPool("containerAppsSessionPool",
container_type=azure_native.app.ContainerType.CUSTOM_CONTAINER,
custom_container_template={
"containers": [{
"args": [
"-c",
"while true; do echo hello; sleep 10;done",
],
"command": ["/bin/sh"],
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi",
},
}],
"ingress": {
"target_port": 80,
},
"registry_credentials": {
"identity": "/subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP",
"server": "test.azurecr.io",
},
},
dynamic_pool_configuration={
"lifecycle_configuration": {
"cooldown_period_in_seconds": 600,
"lifecycle_type": azure_native.app.LifecycleType.TIMED,
},
},
environment_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
identity={
"type": azure_native.app.ManagedServiceIdentityType.SYSTEM_ASSIGNED,
},
location="East US",
managed_identity_settings=[{
"identity": "system",
"lifecycle": azure_native.app.IdentitySettingsLifeCycle.MAIN,
}],
pool_management_type=azure_native.app.PoolManagementType.DYNAMIC,
resource_group_name="rg",
scale_configuration={
"max_concurrent_sessions": 500,
"ready_session_instances": 100,
},
session_network_configuration={
"status": azure_native.app.SessionNetworkStatus.EGRESS_ENABLED,
},
session_pool_name="testsessionpool")
resources:
containerAppsSessionPool:
type: azure-native:app:ContainerAppsSessionPool
properties:
containerType: CustomContainer
customContainerTemplate:
containers:
- args:
- -c
- while true; do echo hello; sleep 10;done
command:
- /bin/sh
image: repo/testcontainer:v4
name: testinitcontainer
resources:
cpu: 0.25
memory: 0.5Gi
ingress:
targetPort: 80
registryCredentials:
identity: /subscriptions/7a497526-bb8d-4816-9795-db1418a1f977/resourcegroups/test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testSP
server: test.azurecr.io
dynamicPoolConfiguration:
lifecycleConfiguration:
cooldownPeriodInSeconds: 600
lifecycleType: Timed
environmentId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube
identity:
type: SystemAssigned
location: East US
managedIdentitySettings:
- identity: system
lifecycle: Main
poolManagementType: Dynamic
resourceGroupName: rg
scaleConfiguration:
maxConcurrentSessions: 500
readySessionInstances: 100
sessionNetworkConfiguration:
status: EgressEnabled
sessionPoolName: testsessionpool
Create ContainerAppsSessionPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerAppsSessionPool(name: string, args: ContainerAppsSessionPoolArgs, opts?: CustomResourceOptions);
@overload
def ContainerAppsSessionPool(resource_name: str,
args: ContainerAppsSessionPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerAppsSessionPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
managed_identity_settings: Optional[Sequence[ManagedIdentitySettingArgs]] = None,
dynamic_pool_configuration: Optional[DynamicPoolConfigurationArgs] = None,
environment_id: Optional[str] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
location: Optional[str] = None,
container_type: Optional[Union[str, ContainerType]] = None,
pool_management_type: Optional[Union[str, PoolManagementType]] = None,
custom_container_template: Optional[CustomContainerTemplateArgs] = None,
scale_configuration: Optional[ScaleConfigurationArgs] = None,
secrets: Optional[Sequence[SessionPoolSecretArgs]] = None,
session_network_configuration: Optional[SessionNetworkConfigurationArgs] = None,
session_pool_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewContainerAppsSessionPool(ctx *Context, name string, args ContainerAppsSessionPoolArgs, opts ...ResourceOption) (*ContainerAppsSessionPool, error)
public ContainerAppsSessionPool(string name, ContainerAppsSessionPoolArgs args, CustomResourceOptions? opts = null)
public ContainerAppsSessionPool(String name, ContainerAppsSessionPoolArgs args)
public ContainerAppsSessionPool(String name, ContainerAppsSessionPoolArgs args, CustomResourceOptions options)
type: azure-native:app:ContainerAppsSessionPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContainerAppsSessionPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerAppsSessionPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerAppsSessionPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerAppsSessionPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerAppsSessionPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var containerAppsSessionPoolResource = new AzureNative.App.ContainerAppsSessionPool("containerAppsSessionPoolResource", new()
{
ResourceGroupName = "string",
ManagedIdentitySettings = new[]
{
new AzureNative.App.Inputs.ManagedIdentitySettingArgs
{
Identity = "string",
Lifecycle = "string",
},
},
DynamicPoolConfiguration = new AzureNative.App.Inputs.DynamicPoolConfigurationArgs
{
LifecycleConfiguration = new AzureNative.App.Inputs.LifecycleConfigurationArgs
{
CooldownPeriodInSeconds = 0,
LifecycleType = "string",
MaxAlivePeriodInSeconds = 0,
},
},
EnvironmentId = "string",
Identity = new AzureNative.App.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
ContainerType = "string",
PoolManagementType = "string",
CustomContainerTemplate = new AzureNative.App.Inputs.CustomContainerTemplateArgs
{
Containers = new[]
{
new AzureNative.App.Inputs.SessionContainerArgs
{
Args = new[]
{
"string",
},
Command = new[]
{
"string",
},
Env = new[]
{
new AzureNative.App.Inputs.EnvironmentVarArgs
{
Name = "string",
SecretRef = "string",
Value = "string",
},
},
Image = "string",
Name = "string",
Probes = new[]
{
new AzureNative.App.Inputs.SessionProbeArgs
{
FailureThreshold = 0,
HttpGet = new AzureNative.App.Inputs.SessionProbeHttpGetArgs
{
Port = 0,
Host = "string",
HttpHeaders = new[]
{
new AzureNative.App.Inputs.SessionProbeHttpHeadersArgs
{
Name = "string",
Value = "string",
},
},
Path = "string",
Scheme = "string",
},
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TcpSocket = new AzureNative.App.Inputs.SessionProbeTcpSocketArgs
{
Port = 0,
Host = "string",
},
TerminationGracePeriodSeconds = 0,
TimeoutSeconds = 0,
Type = "string",
},
},
Resources = new AzureNative.App.Inputs.SessionContainerResourcesArgs
{
Cpu = 0,
Memory = "string",
},
},
},
Ingress = new AzureNative.App.Inputs.SessionIngressArgs
{
TargetPort = 0,
},
RegistryCredentials = new AzureNative.App.Inputs.SessionRegistryCredentialsArgs
{
Identity = "string",
PasswordSecretRef = "string",
Server = "string",
Username = "string",
},
},
ScaleConfiguration = new AzureNative.App.Inputs.ScaleConfigurationArgs
{
MaxConcurrentSessions = 0,
ReadySessionInstances = 0,
},
Secrets = new[]
{
new AzureNative.App.Inputs.SessionPoolSecretArgs
{
Name = "string",
Value = "string",
},
},
SessionNetworkConfiguration = new AzureNative.App.Inputs.SessionNetworkConfigurationArgs
{
Status = "string",
},
SessionPoolName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := app.NewContainerAppsSessionPool(ctx, "containerAppsSessionPoolResource", &app.ContainerAppsSessionPoolArgs{
ResourceGroupName: pulumi.String("string"),
ManagedIdentitySettings: app.ManagedIdentitySettingArray{
&app.ManagedIdentitySettingArgs{
Identity: pulumi.String("string"),
Lifecycle: pulumi.String("string"),
},
},
DynamicPoolConfiguration: &app.DynamicPoolConfigurationArgs{
LifecycleConfiguration: &app.LifecycleConfigurationArgs{
CooldownPeriodInSeconds: pulumi.Int(0),
LifecycleType: pulumi.String("string"),
MaxAlivePeriodInSeconds: pulumi.Int(0),
},
},
EnvironmentId: pulumi.String("string"),
Identity: &app.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
ContainerType: pulumi.String("string"),
PoolManagementType: pulumi.String("string"),
CustomContainerTemplate: &app.CustomContainerTemplateArgs{
Containers: app.SessionContainerArray{
&app.SessionContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.StringArray{
pulumi.String("string"),
},
Env: app.EnvironmentVarArray{
&app.EnvironmentVarArgs{
Name: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
Name: pulumi.String("string"),
Probes: app.SessionProbeArray{
&app.SessionProbeArgs{
FailureThreshold: pulumi.Int(0),
HttpGet: &app.SessionProbeHttpGetArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
HttpHeaders: app.SessionProbeHttpHeadersArray{
&app.SessionProbeHttpHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Scheme: pulumi.String("string"),
},
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TcpSocket: &app.SessionProbeTcpSocketArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
},
TerminationGracePeriodSeconds: pulumi.Float64(0),
TimeoutSeconds: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
Resources: &app.SessionContainerResourcesArgs{
Cpu: pulumi.Float64(0),
Memory: pulumi.String("string"),
},
},
},
Ingress: &app.SessionIngressArgs{
TargetPort: pulumi.Int(0),
},
RegistryCredentials: &app.SessionRegistryCredentialsArgs{
Identity: pulumi.String("string"),
PasswordSecretRef: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
ScaleConfiguration: &app.ScaleConfigurationArgs{
MaxConcurrentSessions: pulumi.Int(0),
ReadySessionInstances: pulumi.Int(0),
},
Secrets: app.SessionPoolSecretArray{
&app.SessionPoolSecretArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
SessionNetworkConfiguration: &app.SessionNetworkConfigurationArgs{
Status: pulumi.String("string"),
},
SessionPoolName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var containerAppsSessionPoolResource = new ContainerAppsSessionPool("containerAppsSessionPoolResource", ContainerAppsSessionPoolArgs.builder()
.resourceGroupName("string")
.managedIdentitySettings(ManagedIdentitySettingArgs.builder()
.identity("string")
.lifecycle("string")
.build())
.dynamicPoolConfiguration(DynamicPoolConfigurationArgs.builder()
.lifecycleConfiguration(LifecycleConfigurationArgs.builder()
.cooldownPeriodInSeconds(0)
.lifecycleType("string")
.maxAlivePeriodInSeconds(0)
.build())
.build())
.environmentId("string")
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.location("string")
.containerType("string")
.poolManagementType("string")
.customContainerTemplate(CustomContainerTemplateArgs.builder()
.containers(SessionContainerArgs.builder()
.args("string")
.command("string")
.env(EnvironmentVarArgs.builder()
.name("string")
.secretRef("string")
.value("string")
.build())
.image("string")
.name("string")
.probes(SessionProbeArgs.builder()
.failureThreshold(0)
.httpGet(SessionProbeHttpGetArgs.builder()
.port(0)
.host("string")
.httpHeaders(SessionProbeHttpHeadersArgs.builder()
.name("string")
.value("string")
.build())
.path("string")
.scheme("string")
.build())
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.tcpSocket(SessionProbeTcpSocketArgs.builder()
.port(0)
.host("string")
.build())
.terminationGracePeriodSeconds(0.0)
.timeoutSeconds(0)
.type("string")
.build())
.resources(SessionContainerResourcesArgs.builder()
.cpu(0.0)
.memory("string")
.build())
.build())
.ingress(SessionIngressArgs.builder()
.targetPort(0)
.build())
.registryCredentials(SessionRegistryCredentialsArgs.builder()
.identity("string")
.passwordSecretRef("string")
.server("string")
.username("string")
.build())
.build())
.scaleConfiguration(ScaleConfigurationArgs.builder()
.maxConcurrentSessions(0)
.readySessionInstances(0)
.build())
.secrets(SessionPoolSecretArgs.builder()
.name("string")
.value("string")
.build())
.sessionNetworkConfiguration(SessionNetworkConfigurationArgs.builder()
.status("string")
.build())
.sessionPoolName("string")
.tags(Map.of("string", "string"))
.build());
container_apps_session_pool_resource = azure_native.app.ContainerAppsSessionPool("containerAppsSessionPoolResource",
resource_group_name="string",
managed_identity_settings=[{
"identity": "string",
"lifecycle": "string",
}],
dynamic_pool_configuration={
"lifecycle_configuration": {
"cooldown_period_in_seconds": 0,
"lifecycle_type": "string",
"max_alive_period_in_seconds": 0,
},
},
environment_id="string",
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
location="string",
container_type="string",
pool_management_type="string",
custom_container_template={
"containers": [{
"args": ["string"],
"command": ["string"],
"env": [{
"name": "string",
"secret_ref": "string",
"value": "string",
}],
"image": "string",
"name": "string",
"probes": [{
"failure_threshold": 0,
"http_get": {
"port": 0,
"host": "string",
"http_headers": [{
"name": "string",
"value": "string",
}],
"path": "string",
"scheme": "string",
},
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"tcp_socket": {
"port": 0,
"host": "string",
},
"termination_grace_period_seconds": 0,
"timeout_seconds": 0,
"type": "string",
}],
"resources": {
"cpu": 0,
"memory": "string",
},
}],
"ingress": {
"target_port": 0,
},
"registry_credentials": {
"identity": "string",
"password_secret_ref": "string",
"server": "string",
"username": "string",
},
},
scale_configuration={
"max_concurrent_sessions": 0,
"ready_session_instances": 0,
},
secrets=[{
"name": "string",
"value": "string",
}],
session_network_configuration={
"status": "string",
},
session_pool_name="string",
tags={
"string": "string",
})
const containerAppsSessionPoolResource = new azure_native.app.ContainerAppsSessionPool("containerAppsSessionPoolResource", {
resourceGroupName: "string",
managedIdentitySettings: [{
identity: "string",
lifecycle: "string",
}],
dynamicPoolConfiguration: {
lifecycleConfiguration: {
cooldownPeriodInSeconds: 0,
lifecycleType: "string",
maxAlivePeriodInSeconds: 0,
},
},
environmentId: "string",
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
location: "string",
containerType: "string",
poolManagementType: "string",
customContainerTemplate: {
containers: [{
args: ["string"],
command: ["string"],
env: [{
name: "string",
secretRef: "string",
value: "string",
}],
image: "string",
name: "string",
probes: [{
failureThreshold: 0,
httpGet: {
port: 0,
host: "string",
httpHeaders: [{
name: "string",
value: "string",
}],
path: "string",
scheme: "string",
},
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
tcpSocket: {
port: 0,
host: "string",
},
terminationGracePeriodSeconds: 0,
timeoutSeconds: 0,
type: "string",
}],
resources: {
cpu: 0,
memory: "string",
},
}],
ingress: {
targetPort: 0,
},
registryCredentials: {
identity: "string",
passwordSecretRef: "string",
server: "string",
username: "string",
},
},
scaleConfiguration: {
maxConcurrentSessions: 0,
readySessionInstances: 0,
},
secrets: [{
name: "string",
value: "string",
}],
sessionNetworkConfiguration: {
status: "string",
},
sessionPoolName: "string",
tags: {
string: "string",
},
});
type: azure-native:app:ContainerAppsSessionPool
properties:
containerType: string
customContainerTemplate:
containers:
- args:
- string
command:
- string
env:
- name: string
secretRef: string
value: string
image: string
name: string
probes:
- failureThreshold: 0
httpGet:
host: string
httpHeaders:
- name: string
value: string
path: string
port: 0
scheme: string
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
tcpSocket:
host: string
port: 0
terminationGracePeriodSeconds: 0
timeoutSeconds: 0
type: string
resources:
cpu: 0
memory: string
ingress:
targetPort: 0
registryCredentials:
identity: string
passwordSecretRef: string
server: string
username: string
dynamicPoolConfiguration:
lifecycleConfiguration:
cooldownPeriodInSeconds: 0
lifecycleType: string
maxAlivePeriodInSeconds: 0
environmentId: string
identity:
type: string
userAssignedIdentities:
- string
location: string
managedIdentitySettings:
- identity: string
lifecycle: string
poolManagementType: string
resourceGroupName: string
scaleConfiguration:
maxConcurrentSessions: 0
readySessionInstances: 0
secrets:
- name: string
value: string
sessionNetworkConfiguration:
status: string
sessionPoolName: string
tags:
string: string
ContainerAppsSessionPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ContainerAppsSessionPool resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Container
Type string | Pulumi.Azure Native. App. Container Type - The container type of the sessions.
- Custom
Container Pulumi.Template Azure Native. App. Inputs. Custom Container Template - The custom container configuration if the containerType is CustomContainer.
- Dynamic
Pool Pulumi.Configuration Azure Native. App. Inputs. Dynamic Pool Configuration - The pool configuration if the poolManagementType is dynamic.
- Environment
Id string - Resource ID of the session pool's environment.
- Identity
Pulumi.
Azure Native. App. Inputs. Managed Service Identity - Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- Location string
- The geo-location where the resource lives
- Managed
Identity List<Pulumi.Settings Azure Native. App. Inputs. Managed Identity Setting> - Optional settings for a Managed Identity that is assigned to the Session pool.
- Pool
Management string | Pulumi.Type Azure Native. App. Pool Management Type - The pool management type of the session pool.
- Scale
Configuration Pulumi.Azure Native. App. Inputs. Scale Configuration - The scale configuration of the session pool.
- Secrets
List<Pulumi.
Azure Native. App. Inputs. Session Pool Secret> - The secrets of the session pool.
- Session
Network Pulumi.Configuration Azure Native. App. Inputs. Session Network Configuration - The network configuration of the sessions in the session pool.
- Session
Pool stringName - Name of the session pool.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Container
Type string | ContainerType - The container type of the sessions.
- Custom
Container CustomTemplate Container Template Args - The custom container configuration if the containerType is CustomContainer.
- Dynamic
Pool DynamicConfiguration Pool Configuration Args - The pool configuration if the poolManagementType is dynamic.
- Environment
Id string - Resource ID of the session pool's environment.
- Identity
Managed
Service Identity Args - Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- Location string
- The geo-location where the resource lives
- Managed
Identity []ManagedSettings Identity Setting Args - Optional settings for a Managed Identity that is assigned to the Session pool.
- Pool
Management string | PoolType Management Type - The pool management type of the session pool.
- Scale
Configuration ScaleConfiguration Args - The scale configuration of the session pool.
- Secrets
[]Session
Pool Secret Args - The secrets of the session pool.
- Session
Network SessionConfiguration Network Configuration Args - The network configuration of the sessions in the session pool.
- Session
Pool stringName - Name of the session pool.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- container
Type String | ContainerType - The container type of the sessions.
- custom
Container CustomTemplate Container Template - The custom container configuration if the containerType is CustomContainer.
- dynamic
Pool DynamicConfiguration Pool Configuration - The pool configuration if the poolManagementType is dynamic.
- environment
Id String - Resource ID of the session pool's environment.
- identity
Managed
Service Identity - Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- location String
- The geo-location where the resource lives
- managed
Identity List<ManagedSettings Identity Setting> - Optional settings for a Managed Identity that is assigned to the Session pool.
- pool
Management String | PoolType Management Type - The pool management type of the session pool.
- scale
Configuration ScaleConfiguration - The scale configuration of the session pool.
- secrets
List<Session
Pool Secret> - The secrets of the session pool.
- session
Network SessionConfiguration Network Configuration - The network configuration of the sessions in the session pool.
- session
Pool StringName - Name of the session pool.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- container
Type string | ContainerType - The container type of the sessions.
- custom
Container CustomTemplate Container Template - The custom container configuration if the containerType is CustomContainer.
- dynamic
Pool DynamicConfiguration Pool Configuration - The pool configuration if the poolManagementType is dynamic.
- environment
Id string - Resource ID of the session pool's environment.
- identity
Managed
Service Identity - Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- location string
- The geo-location where the resource lives
- managed
Identity ManagedSettings Identity Setting[] - Optional settings for a Managed Identity that is assigned to the Session pool.
- pool
Management string | PoolType Management Type - The pool management type of the session pool.
- scale
Configuration ScaleConfiguration - The scale configuration of the session pool.
- secrets
Session
Pool Secret[] - The secrets of the session pool.
- session
Network SessionConfiguration Network Configuration - The network configuration of the sessions in the session pool.
- session
Pool stringName - Name of the session pool.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- container_
type str | ContainerType - The container type of the sessions.
- custom_
container_ Customtemplate Container Template Args - The custom container configuration if the containerType is CustomContainer.
- dynamic_
pool_ Dynamicconfiguration Pool Configuration Args - The pool configuration if the poolManagementType is dynamic.
- environment_
id str - Resource ID of the session pool's environment.
- identity
Managed
Service Identity Args - Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- location str
- The geo-location where the resource lives
- managed_
identity_ Sequence[Managedsettings Identity Setting Args] - Optional settings for a Managed Identity that is assigned to the Session pool.
- pool_
management_ str | Pooltype Management Type - The pool management type of the session pool.
- scale_
configuration ScaleConfiguration Args - The scale configuration of the session pool.
- secrets
Sequence[Session
Pool Secret Args] - The secrets of the session pool.
- session_
network_ Sessionconfiguration Network Configuration Args - The network configuration of the sessions in the session pool.
- session_
pool_ strname - Name of the session pool.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- container
Type String | "CustomContainer" | "Python LTS" - The container type of the sessions.
- custom
Container Property MapTemplate - The custom container configuration if the containerType is CustomContainer.
- dynamic
Pool Property MapConfiguration - The pool configuration if the poolManagementType is dynamic.
- environment
Id String - Resource ID of the session pool's environment.
- identity Property Map
- Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
- location String
- The geo-location where the resource lives
- managed
Identity List<Property Map>Settings - Optional settings for a Managed Identity that is assigned to the Session pool.
- pool
Management String | "Manual" | "Dynamic"Type - The pool management type of the session pool.
- scale
Configuration Property Map - The scale configuration of the session pool.
- secrets List<Property Map>
- The secrets of the session pool.
- session
Network Property MapConfiguration - The network configuration of the sessions in the session pool.
- session
Pool StringName - Name of the session pool.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerAppsSessionPool resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Node
Count int - The number of nodes the session pool is using.
- Pool
Management stringEndpoint - The endpoint to manage the pool.
- Provisioning
State string - Provisioning state of the session pool.
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Node
Count int - The number of nodes the session pool is using.
- Pool
Management stringEndpoint - The endpoint to manage the pool.
- Provisioning
State string - Provisioning state of the session pool.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- node
Count Integer - The number of nodes the session pool is using.
- pool
Management StringEndpoint - The endpoint to manage the pool.
- provisioning
State String - Provisioning state of the session pool.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- node
Count number - The number of nodes the session pool is using.
- pool
Management stringEndpoint - The endpoint to manage the pool.
- provisioning
State string - Provisioning state of the session pool.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- node_
count int - The number of nodes the session pool is using.
- pool_
management_ strendpoint - The endpoint to manage the pool.
- provisioning_
state str - Provisioning state of the session pool.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- node
Count Number - The number of nodes the session pool is using.
- pool
Management StringEndpoint - The endpoint to manage the pool.
- provisioning
State String - Provisioning state of the session pool.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ContainerType, ContainerTypeArgs
- Custom
Container - CustomContainer
- Python
LTS - PythonLTS
- Container
Type Custom Container - CustomContainer
- Container
Type Python LTS - PythonLTS
- Custom
Container - CustomContainer
- Python
LTS - PythonLTS
- Custom
Container - CustomContainer
- Python
LTS - PythonLTS
- CUSTOM_CONTAINER
- CustomContainer
- PYTHON_LTS
- PythonLTS
- "Custom
Container" - CustomContainer
- "Python
LTS" - PythonLTS
CustomContainerTemplate, CustomContainerTemplateArgs
- Containers
List<Pulumi.
Azure Native. App. Inputs. Session Container> - List of container definitions for the sessions of the session pool.
- Ingress
Pulumi.
Azure Native. App. Inputs. Session Ingress - Session pool ingress configuration.
- Registry
Credentials Pulumi.Azure Native. App. Inputs. Session Registry Credentials - Private container registry credentials for containers used by the sessions of the session pool.
- Containers
[]Session
Container - List of container definitions for the sessions of the session pool.
- Ingress
Session
Ingress - Session pool ingress configuration.
- Registry
Credentials SessionRegistry Credentials - Private container registry credentials for containers used by the sessions of the session pool.
- containers
List<Session
Container> - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress - Session pool ingress configuration.
- registry
Credentials SessionRegistry Credentials - Private container registry credentials for containers used by the sessions of the session pool.
- containers
Session
Container[] - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress - Session pool ingress configuration.
- registry
Credentials SessionRegistry Credentials - Private container registry credentials for containers used by the sessions of the session pool.
- containers
Sequence[Session
Container] - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress - Session pool ingress configuration.
- registry_
credentials SessionRegistry Credentials - Private container registry credentials for containers used by the sessions of the session pool.
- containers List<Property Map>
- List of container definitions for the sessions of the session pool.
- ingress Property Map
- Session pool ingress configuration.
- registry
Credentials Property Map - Private container registry credentials for containers used by the sessions of the session pool.
CustomContainerTemplateResponse, CustomContainerTemplateResponseArgs
- Containers
List<Pulumi.
Azure Native. App. Inputs. Session Container Response> - List of container definitions for the sessions of the session pool.
- Ingress
Pulumi.
Azure Native. App. Inputs. Session Ingress Response - Session pool ingress configuration.
- Registry
Credentials Pulumi.Azure Native. App. Inputs. Session Registry Credentials Response - Private container registry credentials for containers used by the sessions of the session pool.
- Containers
[]Session
Container Response - List of container definitions for the sessions of the session pool.
- Ingress
Session
Ingress Response - Session pool ingress configuration.
- Registry
Credentials SessionRegistry Credentials Response - Private container registry credentials for containers used by the sessions of the session pool.
- containers
List<Session
Container Response> - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress Response - Session pool ingress configuration.
- registry
Credentials SessionRegistry Credentials Response - Private container registry credentials for containers used by the sessions of the session pool.
- containers
Session
Container Response[] - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress Response - Session pool ingress configuration.
- registry
Credentials SessionRegistry Credentials Response - Private container registry credentials for containers used by the sessions of the session pool.
- containers
Sequence[Session
Container Response] - List of container definitions for the sessions of the session pool.
- ingress
Session
Ingress Response - Session pool ingress configuration.
- registry_
credentials SessionRegistry Credentials Response - Private container registry credentials for containers used by the sessions of the session pool.
- containers List<Property Map>
- List of container definitions for the sessions of the session pool.
- ingress Property Map
- Session pool ingress configuration.
- registry
Credentials Property Map - Private container registry credentials for containers used by the sessions of the session pool.
DynamicPoolConfiguration, DynamicPoolConfigurationArgs
- Lifecycle
Configuration Pulumi.Azure Native. App. Inputs. Lifecycle Configuration - The lifecycle configuration of a session in the dynamic session pool
- Lifecycle
Configuration LifecycleConfiguration - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration LifecycleConfiguration - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration LifecycleConfiguration - The lifecycle configuration of a session in the dynamic session pool
- lifecycle_
configuration LifecycleConfiguration - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration Property Map - The lifecycle configuration of a session in the dynamic session pool
DynamicPoolConfigurationResponse, DynamicPoolConfigurationResponseArgs
- Lifecycle
Configuration Pulumi.Azure Native. App. Inputs. Lifecycle Configuration Response - The lifecycle configuration of a session in the dynamic session pool
- Lifecycle
Configuration LifecycleConfiguration Response - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration LifecycleConfiguration Response - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration LifecycleConfiguration Response - The lifecycle configuration of a session in the dynamic session pool
- lifecycle_
configuration LifecycleConfiguration Response - The lifecycle configuration of a session in the dynamic session pool
- lifecycle
Configuration Property Map - The lifecycle configuration of a session in the dynamic session pool
EnvironmentVar, EnvironmentVarArgs
- name str
- Environment variable name.
- secret_
ref str - Name of the Container App secret from which to pull the environment variable value.
- value str
- Non-secret environment variable value.
EnvironmentVarResponse, EnvironmentVarResponseArgs
- name str
- Environment variable name.
- secret_
ref str - Name of the Container App secret from which to pull the environment variable value.
- value str
- Non-secret environment variable value.
IdentitySettingsLifeCycle, IdentitySettingsLifeCycleArgs
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- Identity
Settings Life Cycle Init - Init
- Identity
Settings Life Cycle Main - Main
- Identity
Settings Life Cycle None - None
- Identity
Settings Life Cycle All - All
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- Init
- Init
- Main
- Main
- None
- None
- All
- All
- INIT
- Init
- MAIN
- Main
- NONE
- None
- ALL
- All
- "Init"
- Init
- "Main"
- Main
- "None"
- None
- "All"
- All
LifecycleConfiguration, LifecycleConfigurationArgs
- Cooldown
Period intIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- Lifecycle
Type string | Pulumi.Azure Native. App. Lifecycle Type - The lifecycle type of the session pool.
- Max
Alive intPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- Cooldown
Period intIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- Lifecycle
Type string | LifecycleType - The lifecycle type of the session pool.
- Max
Alive intPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period IntegerIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type String | LifecycleType - The lifecycle type of the session pool.
- max
Alive IntegerPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period numberIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type string | LifecycleType - The lifecycle type of the session pool.
- max
Alive numberPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown_
period_ intin_ seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle_
type str | LifecycleType - The lifecycle type of the session pool.
- max_
alive_ intperiod_ in_ seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period NumberIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type String | "Timed" | "OnContainer Exit" - The lifecycle type of the session pool.
- max
Alive NumberPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
LifecycleConfigurationResponse, LifecycleConfigurationResponseArgs
- Cooldown
Period intIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- Lifecycle
Type string - The lifecycle type of the session pool.
- Max
Alive intPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- Cooldown
Period intIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- Lifecycle
Type string - The lifecycle type of the session pool.
- Max
Alive intPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period IntegerIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type String - The lifecycle type of the session pool.
- max
Alive IntegerPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period numberIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type string - The lifecycle type of the session pool.
- max
Alive numberPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown_
period_ intin_ seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle_
type str - The lifecycle type of the session pool.
- max_
alive_ intperiod_ in_ seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
- cooldown
Period NumberIn Seconds - The cooldown period of a session in seconds when the lifecycle type is 'Timed'.
- lifecycle
Type String - The lifecycle type of the session pool.
- max
Alive NumberPeriod In Seconds - The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.
LifecycleType, LifecycleTypeArgs
- Timed
- Timed
- On
Container Exit - OnContainerExit
- Lifecycle
Type Timed - Timed
- Lifecycle
Type On Container Exit - OnContainerExit
- Timed
- Timed
- On
Container Exit - OnContainerExit
- Timed
- Timed
- On
Container Exit - OnContainerExit
- TIMED
- Timed
- ON_CONTAINER_EXIT
- OnContainerExit
- "Timed"
- Timed
- "On
Container Exit" - OnContainerExit
ManagedIdentitySetting, ManagedIdentitySettingArgs
- 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
string | Pulumi.
Azure Native. App. Identity Settings Life Cycle - Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
- 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
string | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
- 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
String | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
- 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
string | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
- identity str
- The resource ID of a user-assigned managed identity that is assigned to the Session Pool, or 'system' for system-assigned identity.
- lifecycle
str | Identity
Settings Life Cycle - Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
- 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 String | "Init" | "Main" | "None" | "All"
- Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available.
ManagedIdentitySettingResponse, ManagedIdentitySettingResponseArgs
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. App. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. App. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
PoolManagementType, PoolManagementTypeArgs
- Manual
- Manual
- Dynamic
- Dynamic
- Pool
Management Type Manual - Manual
- Pool
Management Type Dynamic - Dynamic
- Manual
- Manual
- Dynamic
- Dynamic
- Manual
- Manual
- Dynamic
- Dynamic
- MANUAL
- Manual
- DYNAMIC
- Dynamic
- "Manual"
- Manual
- "Dynamic"
- Dynamic
ScaleConfiguration, ScaleConfigurationArgs
- Max
Concurrent intSessions - The maximum count of sessions at the same time.
- Ready
Session intInstances - The minimum count of ready session instances.
- Max
Concurrent intSessions - The maximum count of sessions at the same time.
- Ready
Session intInstances - The minimum count of ready session instances.
- max
Concurrent IntegerSessions - The maximum count of sessions at the same time.
- ready
Session IntegerInstances - The minimum count of ready session instances.
- max
Concurrent numberSessions - The maximum count of sessions at the same time.
- ready
Session numberInstances - The minimum count of ready session instances.
- max_
concurrent_ intsessions - The maximum count of sessions at the same time.
- ready_
session_ intinstances - The minimum count of ready session instances.
- max
Concurrent NumberSessions - The maximum count of sessions at the same time.
- ready
Session NumberInstances - The minimum count of ready session instances.
ScaleConfigurationResponse, ScaleConfigurationResponseArgs
- Max
Concurrent intSessions - The maximum count of sessions at the same time.
- Ready
Session intInstances - The minimum count of ready session instances.
- Max
Concurrent intSessions - The maximum count of sessions at the same time.
- Ready
Session intInstances - The minimum count of ready session instances.
- max
Concurrent IntegerSessions - The maximum count of sessions at the same time.
- ready
Session IntegerInstances - The minimum count of ready session instances.
- max
Concurrent numberSessions - The maximum count of sessions at the same time.
- ready
Session numberInstances - The minimum count of ready session instances.
- max_
concurrent_ intsessions - The maximum count of sessions at the same time.
- ready_
session_ intinstances - The minimum count of ready session instances.
- max
Concurrent NumberSessions - The maximum count of sessions at the same time.
- ready
Session NumberInstances - The minimum count of ready session instances.
Scheme, SchemeArgs
- HTTP
- HTTP
- HTTPS
- HTTPS
- Scheme
HTTP - HTTP
- Scheme
HTTPS - HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
SessionContainer, SessionContainerArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var> - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Probes
List<Pulumi.
Azure Native. App. Inputs. Session Probe> - List of probes for the container.
- Resources
Pulumi.
Azure Native. App. Inputs. Session Container Resources - Container resource requirements.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Probes
[]Session
Probe - List of probes for the container.
- Resources
Session
Container Resources - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env
List<Environment
Var> - Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- probes
List<Session
Probe> - List of probes for the container.
- resources
Session
Container Resources - Container resource requirements.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var[] - Container environment variables.
- image string
- Container image tag.
- name string
- Custom container name.
- probes
Session
Probe[] - List of probes for the container.
- resources
Session
Container Resources - Container resource requirements.
- args Sequence[str]
- Container start command arguments.
- command Sequence[str]
- Container start command.
- env
Sequence[Environment
Var] - Container environment variables.
- image str
- Container image tag.
- name str
- Custom container name.
- probes
Sequence[Session
Probe] - List of probes for the container.
- resources
Session
Container Resources - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- probes List<Property Map>
- List of probes for the container.
- resources Property Map
- Container resource requirements.
SessionContainerResources, SessionContainerResourcesArgs
SessionContainerResourcesResponse, SessionContainerResourcesResponseArgs
SessionContainerResponse, SessionContainerResponseArgs
- Args List<string>
- Container start command arguments.
- Command List<string>
- Container start command.
- Env
List<Pulumi.
Azure Native. App. Inputs. Environment Var Response> - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Probes
List<Pulumi.
Azure Native. App. Inputs. Session Probe Response> - List of probes for the container.
- Resources
Pulumi.
Azure Native. App. Inputs. Session Container Resources Response - Container resource requirements.
- Args []string
- Container start command arguments.
- Command []string
- Container start command.
- Env
[]Environment
Var Response - Container environment variables.
- Image string
- Container image tag.
- Name string
- Custom container name.
- Probes
[]Session
Probe Response - List of probes for the container.
- Resources
Session
Container Resources Response - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env
List<Environment
Var Response> - Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- probes
List<Session
Probe Response> - List of probes for the container.
- resources
Session
Container Resources Response - Container resource requirements.
- args string[]
- Container start command arguments.
- command string[]
- Container start command.
- env
Environment
Var Response[] - Container environment variables.
- image string
- Container image tag.
- name string
- Custom container name.
- probes
Session
Probe Response[] - List of probes for the container.
- resources
Session
Container Resources Response - Container resource requirements.
- args Sequence[str]
- Container start command arguments.
- command Sequence[str]
- Container start command.
- env
Sequence[Environment
Var Response] - Container environment variables.
- image str
- Container image tag.
- name str
- Custom container name.
- probes
Sequence[Session
Probe Response] - List of probes for the container.
- resources
Session
Container Resources Response - Container resource requirements.
- args List<String>
- Container start command arguments.
- command List<String>
- Container start command.
- env List<Property Map>
- Container environment variables.
- image String
- Container image tag.
- name String
- Custom container name.
- probes List<Property Map>
- List of probes for the container.
- resources Property Map
- Container resource requirements.
SessionIngress, SessionIngressArgs
- Target
Port int - Target port in containers for traffic from ingress
- Target
Port int - Target port in containers for traffic from ingress
- target
Port Integer - Target port in containers for traffic from ingress
- target
Port number - Target port in containers for traffic from ingress
- target_
port int - Target port in containers for traffic from ingress
- target
Port Number - Target port in containers for traffic from ingress
SessionIngressResponse, SessionIngressResponseArgs
- Target
Port int - Target port in containers for traffic from ingress
- Target
Port int - Target port in containers for traffic from ingress
- target
Port Integer - Target port in containers for traffic from ingress
- target
Port number - Target port in containers for traffic from ingress
- target_
port int - Target port in containers for traffic from ingress
- target
Port Number - Target port in containers for traffic from ingress
SessionNetworkConfiguration, SessionNetworkConfigurationArgs
- Status
string | Pulumi.
Azure Native. App. Session Network Status - Network status for the sessions.
- Status
string | Session
Network Status - Network status for the sessions.
- status
String | Session
Network Status - Network status for the sessions.
- status
string | Session
Network Status - Network status for the sessions.
- status
str | Session
Network Status - Network status for the sessions.
- status
String | "Egress
Enabled" | "Egress Disabled" - Network status for the sessions.
SessionNetworkConfigurationResponse, SessionNetworkConfigurationResponseArgs
- Status string
- Network status for the sessions.
- Status string
- Network status for the sessions.
- status String
- Network status for the sessions.
- status string
- Network status for the sessions.
- status str
- Network status for the sessions.
- status String
- Network status for the sessions.
SessionNetworkStatus, SessionNetworkStatusArgs
- Egress
Enabled - EgressEnabled
- Egress
Disabled - EgressDisabled
- Session
Network Status Egress Enabled - EgressEnabled
- Session
Network Status Egress Disabled - EgressDisabled
- Egress
Enabled - EgressEnabled
- Egress
Disabled - EgressDisabled
- Egress
Enabled - EgressEnabled
- Egress
Disabled - EgressDisabled
- EGRESS_ENABLED
- EgressEnabled
- EGRESS_DISABLED
- EgressDisabled
- "Egress
Enabled" - EgressEnabled
- "Egress
Disabled" - EgressDisabled
SessionPoolSecret, SessionPoolSecretArgs
SessionPoolSecretResponse, SessionPoolSecretResponseArgs
- Name string
- Secret Name.
- Name string
- Secret Name.
- name String
- Secret Name.
- name string
- Secret Name.
- name str
- Secret Name.
- name String
- Secret Name.
SessionProbe, SessionProbeArgs
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get Pulumi.Azure Native. App. Inputs. Session Probe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket Pulumi.Azure Native. App. Inputs. Session Probe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type
string | Pulumi.
Azure Native. App. Session Probe Type - Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get SessionProbe Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket SessionProbe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace float64Period Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type
string | Session
Probe Type - Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get SessionProbe Http Get - HTTPGet specifies the http request to perform.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Integer - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket SessionProbe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type
String | Session
Probe Type - Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get SessionProbe Http Get - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket SessionProbe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace numberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type
string | Session
Probe Type - Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http_
get SessionProbe Http Get - HTTPGet specifies the http request to perform.
- initial_
delay_ intseconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success_
threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp_
socket SessionProbe Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type
str | Session
Probe Type - Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get Property Map - HTTPGet specifies the http request to perform.
- initial
Delay NumberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket Property Map - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String | "Liveness" | "Startup"
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
SessionProbeHttpGet, SessionProbeHttpGetArgs
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers List<Pulumi.Azure Native. App. Inputs. Session Probe Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme
string | Pulumi.
Azure Native. App. Scheme - Scheme to use for connecting to the host. Defaults to HTTP.
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers []SessionProbe Http Headers - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Integer
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<SessionProbe Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers SessionProbe Http Headers[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server.
- scheme string | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host str
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http_
headers Sequence[SessionProbe Http Headers] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server.
- scheme str | Scheme
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String | "HTTP" | "HTTPS"
- Scheme to use for connecting to the host. Defaults to HTTP.
SessionProbeHttpHeaders, SessionProbeHttpHeadersArgs
SessionProbeResponse, SessionProbeResponseArgs
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get Pulumi.Azure Native. App. Inputs. Session Probe Response Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket Pulumi.Azure Native. App. Inputs. Session Probe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace doublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type string
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- Http
Get SessionProbe Response Http Get - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- Tcp
Socket SessionProbe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- Termination
Grace float64Period Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- Type string
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold Integer - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get SessionProbe Response Http Get - HTTPGet specifies the http request to perform.
- initial
Delay IntegerSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Integer - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Integer - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket SessionProbe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace DoublePeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Integer - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get SessionProbe Response Http Get - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket SessionProbe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace numberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type string
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure_
threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http_
get SessionProbe Response Http Get - HTTPGet specifies the http request to perform.
- initial_
delay_ intseconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period_
seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success_
threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp_
socket SessionProbe Response Tcp Socket - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination_
grace_ floatperiod_ seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout_
seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type str
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
- failure
Threshold Number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
- http
Get Property Map - HTTPGet specifies the http request to perform.
- initial
Delay NumberSeconds - Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
- period
Seconds Number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
- success
Threshold Number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
- tcp
Socket Property Map - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
- termination
Grace NumberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
- timeout
Seconds Number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- type String
- Denotes the type of probe. Can be Liveness or Startup, Readiness probe is not supported in sessions. Type must be unique for each probe within the context of a list of probes (SessionProbes).
SessionProbeResponseHttpGet, SessionProbeResponseHttpGetArgs
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers List<Pulumi.Azure Native. App. Inputs. Session Probe Response Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- Port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- Http
Headers []SessionProbe Response Http Headers - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Integer
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<SessionProbe Response Http Headers> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String
- Scheme to use for connecting to the host. Defaults to HTTP.
- port number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host string
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers SessionProbe Response Http Headers[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server.
- scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port int
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host str
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http_
headers Sequence[SessionProbe Response Http Headers] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server.
- scheme str
- Scheme to use for connecting to the host. Defaults to HTTP.
- port Number
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host String
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- http
Headers List<Property Map> - Custom headers to set in the request. HTTP allows repeated headers.
- path String
- Path to access on the HTTP server.
- scheme String
- Scheme to use for connecting to the host. Defaults to HTTP.
SessionProbeResponseHttpHeaders, SessionProbeResponseHttpHeadersArgs
SessionProbeResponseTcpSocket, SessionProbeResponseTcpSocketArgs
SessionProbeTcpSocket, SessionProbeTcpSocketArgs
SessionProbeType, SessionProbeTypeArgs
- Liveness
- Liveness
- Startup
- Startup
- Session
Probe Type Liveness - Liveness
- Session
Probe Type Startup - Startup
- Liveness
- Liveness
- Startup
- Startup
- Liveness
- Liveness
- Startup
- Startup
- LIVENESS
- Liveness
- STARTUP
- Startup
- "Liveness"
- Liveness
- "Startup"
- Startup
SessionRegistryCredentials, SessionRegistryCredentialsArgs
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the secret that contains the registry login password
- Server string
- Container registry server.
- Username string
- Container registry username.
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the secret that contains the registry login password
- Server string
- Container registry server.
- Username string
- Container registry username.
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the secret that contains the registry login password
- server String
- Container registry server.
- username String
- Container registry username.
- identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret stringRef - The name of the secret that contains the registry login password
- server string
- Container registry server.
- username string
- Container registry username.
- identity str
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password_
secret_ strref - The name of the secret that contains the registry login password
- server str
- Container registry server.
- username str
- Container registry username.
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the secret that contains the registry login password
- server String
- Container registry server.
- username String
- Container registry username.
SessionRegistryCredentialsResponse, SessionRegistryCredentialsResponseArgs
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the secret that contains the registry login password
- Server string
- Container registry server.
- Username string
- Container registry username.
- Identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- Password
Secret stringRef - The name of the secret that contains the registry login password
- Server string
- Container registry server.
- Username string
- Container registry username.
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the secret that contains the registry login password
- server String
- Container registry server.
- username String
- Container registry username.
- identity string
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret stringRef - The name of the secret that contains the registry login password
- server string
- Container registry server.
- username string
- Container registry username.
- identity str
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password_
secret_ strref - The name of the secret that contains the registry login password
- server str
- Container registry server.
- username str
- Container registry username.
- identity String
- A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
- password
Secret StringRef - The name of the secret that contains the registry login password
- server String
- Container registry server.
- username String
- Container registry username.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:app:ContainerAppsSessionPool testsessionpool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/sessionPools/{sessionPoolName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0