We recommend using Azure Native.
azure.containerapp.App
Explore with Pulumi AI
Manages a Container App.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
name: "acctest-01",
location: example.location,
resourceGroupName: example.name,
sku: "PerGB2018",
retentionInDays: 30,
});
const exampleEnvironment = new azure.containerapp.Environment("example", {
name: "Example-Environment",
location: example.location,
resourceGroupName: example.name,
logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
});
const exampleApp = new azure.containerapp.App("example", {
name: "example-app",
containerAppEnvironmentId: exampleEnvironment.id,
resourceGroupName: example.name,
revisionMode: "Single",
template: {
containers: [{
name: "examplecontainerapp",
image: "mcr.microsoft.com/k8se/quickstart:latest",
cpu: 0.25,
memory: "0.5Gi",
}],
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
name="acctest-01",
location=example.location,
resource_group_name=example.name,
sku="PerGB2018",
retention_in_days=30)
example_environment = azure.containerapp.Environment("example",
name="Example-Environment",
location=example.location,
resource_group_name=example.name,
log_analytics_workspace_id=example_analytics_workspace.id)
example_app = azure.containerapp.App("example",
name="example-app",
container_app_environment_id=example_environment.id,
resource_group_name=example.name,
revision_mode="Single",
template={
"containers": [{
"name": "examplecontainerapp",
"image": "mcr.microsoft.com/k8se/quickstart:latest",
"cpu": 0.25,
"memory": "0.5Gi",
}],
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerapp"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/operationalinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
Name: pulumi.String("acctest-01"),
Location: example.Location,
ResourceGroupName: example.Name,
Sku: pulumi.String("PerGB2018"),
RetentionInDays: pulumi.Int(30),
})
if err != nil {
return err
}
exampleEnvironment, err := containerapp.NewEnvironment(ctx, "example", &containerapp.EnvironmentArgs{
Name: pulumi.String("Example-Environment"),
Location: example.Location,
ResourceGroupName: example.Name,
LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
})
if err != nil {
return err
}
_, err = containerapp.NewApp(ctx, "example", &containerapp.AppArgs{
Name: pulumi.String("example-app"),
ContainerAppEnvironmentId: exampleEnvironment.ID(),
ResourceGroupName: example.Name,
RevisionMode: pulumi.String("Single"),
Template: &containerapp.AppTemplateArgs{
Containers: containerapp.AppTemplateContainerArray{
&containerapp.AppTemplateContainerArgs{
Name: pulumi.String("examplecontainerapp"),
Image: pulumi.String("mcr.microsoft.com/k8se/quickstart:latest"),
Cpu: pulumi.Float64(0.25),
Memory: pulumi.String("0.5Gi"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
{
Name = "acctest-01",
Location = example.Location,
ResourceGroupName = example.Name,
Sku = "PerGB2018",
RetentionInDays = 30,
});
var exampleEnvironment = new Azure.ContainerApp.Environment("example", new()
{
Name = "Example-Environment",
Location = example.Location,
ResourceGroupName = example.Name,
LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
});
var exampleApp = new Azure.ContainerApp.App("example", new()
{
Name = "example-app",
ContainerAppEnvironmentId = exampleEnvironment.Id,
ResourceGroupName = example.Name,
RevisionMode = "Single",
Template = new Azure.ContainerApp.Inputs.AppTemplateArgs
{
Containers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerArgs
{
Name = "examplecontainerapp",
Image = "mcr.microsoft.com/k8se/quickstart:latest",
Cpu = 0.25,
Memory = "0.5Gi",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
import com.pulumi.azure.containerapp.Environment;
import com.pulumi.azure.containerapp.EnvironmentArgs;
import com.pulumi.azure.containerapp.App;
import com.pulumi.azure.containerapp.AppArgs;
import com.pulumi.azure.containerapp.inputs.AppTemplateArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
.name("acctest-01")
.location(example.location())
.resourceGroupName(example.name())
.sku("PerGB2018")
.retentionInDays(30)
.build());
var exampleEnvironment = new Environment("exampleEnvironment", EnvironmentArgs.builder()
.name("Example-Environment")
.location(example.location())
.resourceGroupName(example.name())
.logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
.build());
var exampleApp = new App("exampleApp", AppArgs.builder()
.name("example-app")
.containerAppEnvironmentId(exampleEnvironment.id())
.resourceGroupName(example.name())
.revisionMode("Single")
.template(AppTemplateArgs.builder()
.containers(AppTemplateContainerArgs.builder()
.name("examplecontainerapp")
.image("mcr.microsoft.com/k8se/quickstart:latest")
.cpu(0.25)
.memory("0.5Gi")
.build())
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleAnalyticsWorkspace:
type: azure:operationalinsights:AnalyticsWorkspace
name: example
properties:
name: acctest-01
location: ${example.location}
resourceGroupName: ${example.name}
sku: PerGB2018
retentionInDays: 30
exampleEnvironment:
type: azure:containerapp:Environment
name: example
properties:
name: Example-Environment
location: ${example.location}
resourceGroupName: ${example.name}
logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
exampleApp:
type: azure:containerapp:App
name: example
properties:
name: example-app
containerAppEnvironmentId: ${exampleEnvironment.id}
resourceGroupName: ${example.name}
revisionMode: Single
template:
containers:
- name: examplecontainerapp
image: mcr.microsoft.com/k8se/quickstart:latest
cpu: 0.25
memory: 0.5Gi
Create App Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
args: AppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_app_environment_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
revision_mode: Optional[str] = None,
template: Optional[AppTemplateArgs] = None,
dapr: Optional[AppDaprArgs] = None,
identity: Optional[AppIdentityArgs] = None,
ingress: Optional[AppIngressArgs] = None,
name: Optional[str] = None,
registries: Optional[Sequence[AppRegistryArgs]] = None,
secrets: Optional[Sequence[AppSecretArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
workload_profile_name: Optional[str] = None)
func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs args, CustomResourceOptions? opts = null)
type: azure:containerapp:App
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 AppArgs
- 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 AppArgs
- 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 AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- 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 appResource = new Azure.ContainerApp.App("appResource", new()
{
ContainerAppEnvironmentId = "string",
ResourceGroupName = "string",
RevisionMode = "string",
Template = new Azure.ContainerApp.Inputs.AppTemplateArgs
{
Containers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerArgs
{
Cpu = 0,
Image = "string",
Memory = "string",
Name = "string",
Args = new[]
{
"string",
},
Commands = new[]
{
"string",
},
Envs = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerEnvArgs
{
Name = "string",
SecretName = "string",
Value = "string",
},
},
EphemeralStorage = "string",
LivenessProbes = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerLivenessProbeArgs
{
Port = 0,
Transport = "string",
FailureCountThreshold = 0,
Headers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerLivenessProbeHeaderArgs
{
Name = "string",
Value = "string",
},
},
Host = "string",
InitialDelay = 0,
IntervalSeconds = 0,
Path = "string",
TerminationGracePeriodSeconds = 0,
Timeout = 0,
},
},
ReadinessProbes = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerReadinessProbeArgs
{
Port = 0,
Transport = "string",
FailureCountThreshold = 0,
Headers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerReadinessProbeHeaderArgs
{
Name = "string",
Value = "string",
},
},
Host = "string",
IntervalSeconds = 0,
Path = "string",
SuccessCountThreshold = 0,
Timeout = 0,
},
},
StartupProbes = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerStartupProbeArgs
{
Port = 0,
Transport = "string",
FailureCountThreshold = 0,
Headers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerStartupProbeHeaderArgs
{
Name = "string",
Value = "string",
},
},
Host = "string",
IntervalSeconds = 0,
Path = "string",
TerminationGracePeriodSeconds = 0,
Timeout = 0,
},
},
VolumeMounts = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateContainerVolumeMountArgs
{
Name = "string",
Path = "string",
},
},
},
},
AzureQueueScaleRules = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateAzureQueueScaleRuleArgs
{
Authentications = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs
{
SecretName = "string",
TriggerParameter = "string",
},
},
Name = "string",
QueueLength = 0,
QueueName = "string",
},
},
CustomScaleRules = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateCustomScaleRuleArgs
{
CustomRuleType = "string",
Metadata =
{
{ "string", "string" },
},
Name = "string",
Authentications = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateCustomScaleRuleAuthenticationArgs
{
SecretName = "string",
TriggerParameter = "string",
},
},
},
},
HttpScaleRules = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateHttpScaleRuleArgs
{
ConcurrentRequests = "string",
Name = "string",
Authentications = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateHttpScaleRuleAuthenticationArgs
{
SecretName = "string",
TriggerParameter = "string",
},
},
},
},
InitContainers = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateInitContainerArgs
{
Image = "string",
Name = "string",
Args = new[]
{
"string",
},
Commands = new[]
{
"string",
},
Cpu = 0,
Envs = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateInitContainerEnvArgs
{
Name = "string",
SecretName = "string",
Value = "string",
},
},
EphemeralStorage = "string",
Memory = "string",
VolumeMounts = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateInitContainerVolumeMountArgs
{
Name = "string",
Path = "string",
},
},
},
},
MaxReplicas = 0,
MinReplicas = 0,
RevisionSuffix = "string",
TcpScaleRules = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateTcpScaleRuleArgs
{
ConcurrentRequests = "string",
Name = "string",
Authentications = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateTcpScaleRuleAuthenticationArgs
{
SecretName = "string",
TriggerParameter = "string",
},
},
},
},
Volumes = new[]
{
new Azure.ContainerApp.Inputs.AppTemplateVolumeArgs
{
Name = "string",
StorageName = "string",
StorageType = "string",
},
},
},
Dapr = new Azure.ContainerApp.Inputs.AppDaprArgs
{
AppId = "string",
AppPort = 0,
AppProtocol = "string",
},
Identity = new Azure.ContainerApp.Inputs.AppIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Ingress = new Azure.ContainerApp.Inputs.AppIngressArgs
{
TargetPort = 0,
TrafficWeights = new[]
{
new Azure.ContainerApp.Inputs.AppIngressTrafficWeightArgs
{
Percentage = 0,
Label = "string",
LatestRevision = false,
RevisionSuffix = "string",
},
},
AllowInsecureConnections = false,
CustomDomains = new[]
{
new Azure.ContainerApp.Inputs.AppIngressCustomDomainArgs
{
CertificateBindingType = "string",
CertificateId = "string",
Name = "string",
},
},
ExposedPort = 0,
ExternalEnabled = false,
Fqdn = "string",
IpSecurityRestrictions = new[]
{
new Azure.ContainerApp.Inputs.AppIngressIpSecurityRestrictionArgs
{
Action = "string",
IpAddressRange = "string",
Name = "string",
Description = "string",
},
},
Transport = "string",
},
Name = "string",
Registries = new[]
{
new Azure.ContainerApp.Inputs.AppRegistryArgs
{
Server = "string",
Identity = "string",
PasswordSecretName = "string",
Username = "string",
},
},
Secrets = new[]
{
new Azure.ContainerApp.Inputs.AppSecretArgs
{
Name = "string",
Identity = "string",
KeyVaultSecretId = "string",
Value = "string",
},
},
Tags =
{
{ "string", "string" },
},
WorkloadProfileName = "string",
});
example, err := containerapp.NewApp(ctx, "appResource", &containerapp.AppArgs{
ContainerAppEnvironmentId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
RevisionMode: pulumi.String("string"),
Template: &containerapp.AppTemplateArgs{
Containers: containerapp.AppTemplateContainerArray{
&containerapp.AppTemplateContainerArgs{
Cpu: pulumi.Float64(0),
Image: pulumi.String("string"),
Memory: pulumi.String("string"),
Name: pulumi.String("string"),
Args: pulumi.StringArray{
pulumi.String("string"),
},
Commands: pulumi.StringArray{
pulumi.String("string"),
},
Envs: containerapp.AppTemplateContainerEnvArray{
&containerapp.AppTemplateContainerEnvArgs{
Name: pulumi.String("string"),
SecretName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
EphemeralStorage: pulumi.String("string"),
LivenessProbes: containerapp.AppTemplateContainerLivenessProbeArray{
&containerapp.AppTemplateContainerLivenessProbeArgs{
Port: pulumi.Int(0),
Transport: pulumi.String("string"),
FailureCountThreshold: pulumi.Int(0),
Headers: containerapp.AppTemplateContainerLivenessProbeHeaderArray{
&containerapp.AppTemplateContainerLivenessProbeHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Host: pulumi.String("string"),
InitialDelay: pulumi.Int(0),
IntervalSeconds: pulumi.Int(0),
Path: pulumi.String("string"),
TerminationGracePeriodSeconds: pulumi.Int(0),
Timeout: pulumi.Int(0),
},
},
ReadinessProbes: containerapp.AppTemplateContainerReadinessProbeArray{
&containerapp.AppTemplateContainerReadinessProbeArgs{
Port: pulumi.Int(0),
Transport: pulumi.String("string"),
FailureCountThreshold: pulumi.Int(0),
Headers: containerapp.AppTemplateContainerReadinessProbeHeaderArray{
&containerapp.AppTemplateContainerReadinessProbeHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Host: pulumi.String("string"),
IntervalSeconds: pulumi.Int(0),
Path: pulumi.String("string"),
SuccessCountThreshold: pulumi.Int(0),
Timeout: pulumi.Int(0),
},
},
StartupProbes: containerapp.AppTemplateContainerStartupProbeArray{
&containerapp.AppTemplateContainerStartupProbeArgs{
Port: pulumi.Int(0),
Transport: pulumi.String("string"),
FailureCountThreshold: pulumi.Int(0),
Headers: containerapp.AppTemplateContainerStartupProbeHeaderArray{
&containerapp.AppTemplateContainerStartupProbeHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Host: pulumi.String("string"),
IntervalSeconds: pulumi.Int(0),
Path: pulumi.String("string"),
TerminationGracePeriodSeconds: pulumi.Int(0),
Timeout: pulumi.Int(0),
},
},
VolumeMounts: containerapp.AppTemplateContainerVolumeMountArray{
&containerapp.AppTemplateContainerVolumeMountArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
},
},
AzureQueueScaleRules: containerapp.AppTemplateAzureQueueScaleRuleArray{
&containerapp.AppTemplateAzureQueueScaleRuleArgs{
Authentications: containerapp.AppTemplateAzureQueueScaleRuleAuthenticationArray{
&containerapp.AppTemplateAzureQueueScaleRuleAuthenticationArgs{
SecretName: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
QueueLength: pulumi.Int(0),
QueueName: pulumi.String("string"),
},
},
CustomScaleRules: containerapp.AppTemplateCustomScaleRuleArray{
&containerapp.AppTemplateCustomScaleRuleArgs{
CustomRuleType: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Authentications: containerapp.AppTemplateCustomScaleRuleAuthenticationArray{
&containerapp.AppTemplateCustomScaleRuleAuthenticationArgs{
SecretName: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
},
},
HttpScaleRules: containerapp.AppTemplateHttpScaleRuleArray{
&containerapp.AppTemplateHttpScaleRuleArgs{
ConcurrentRequests: pulumi.String("string"),
Name: pulumi.String("string"),
Authentications: containerapp.AppTemplateHttpScaleRuleAuthenticationArray{
&containerapp.AppTemplateHttpScaleRuleAuthenticationArgs{
SecretName: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
},
},
InitContainers: containerapp.AppTemplateInitContainerArray{
&containerapp.AppTemplateInitContainerArgs{
Image: pulumi.String("string"),
Name: pulumi.String("string"),
Args: pulumi.StringArray{
pulumi.String("string"),
},
Commands: pulumi.StringArray{
pulumi.String("string"),
},
Cpu: pulumi.Float64(0),
Envs: containerapp.AppTemplateInitContainerEnvArray{
&containerapp.AppTemplateInitContainerEnvArgs{
Name: pulumi.String("string"),
SecretName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
EphemeralStorage: pulumi.String("string"),
Memory: pulumi.String("string"),
VolumeMounts: containerapp.AppTemplateInitContainerVolumeMountArray{
&containerapp.AppTemplateInitContainerVolumeMountArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
},
},
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
RevisionSuffix: pulumi.String("string"),
TcpScaleRules: containerapp.AppTemplateTcpScaleRuleArray{
&containerapp.AppTemplateTcpScaleRuleArgs{
ConcurrentRequests: pulumi.String("string"),
Name: pulumi.String("string"),
Authentications: containerapp.AppTemplateTcpScaleRuleAuthenticationArray{
&containerapp.AppTemplateTcpScaleRuleAuthenticationArgs{
SecretName: pulumi.String("string"),
TriggerParameter: pulumi.String("string"),
},
},
},
},
Volumes: containerapp.AppTemplateVolumeArray{
&containerapp.AppTemplateVolumeArgs{
Name: pulumi.String("string"),
StorageName: pulumi.String("string"),
StorageType: pulumi.String("string"),
},
},
},
Dapr: &containerapp.AppDaprArgs{
AppId: pulumi.String("string"),
AppPort: pulumi.Int(0),
AppProtocol: pulumi.String("string"),
},
Identity: &containerapp.AppIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Ingress: &containerapp.AppIngressArgs{
TargetPort: pulumi.Int(0),
TrafficWeights: containerapp.AppIngressTrafficWeightArray{
&containerapp.AppIngressTrafficWeightArgs{
Percentage: pulumi.Int(0),
Label: pulumi.String("string"),
LatestRevision: pulumi.Bool(false),
RevisionSuffix: pulumi.String("string"),
},
},
AllowInsecureConnections: pulumi.Bool(false),
CustomDomains: containerapp.AppIngressCustomDomainArray{
&containerapp.AppIngressCustomDomainArgs{
CertificateBindingType: pulumi.String("string"),
CertificateId: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
ExposedPort: pulumi.Int(0),
ExternalEnabled: pulumi.Bool(false),
Fqdn: pulumi.String("string"),
IpSecurityRestrictions: containerapp.AppIngressIpSecurityRestrictionArray{
&containerapp.AppIngressIpSecurityRestrictionArgs{
Action: pulumi.String("string"),
IpAddressRange: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
Transport: pulumi.String("string"),
},
Name: pulumi.String("string"),
Registries: containerapp.AppRegistryArray{
&containerapp.AppRegistryArgs{
Server: pulumi.String("string"),
Identity: pulumi.String("string"),
PasswordSecretName: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Secrets: containerapp.AppSecretArray{
&containerapp.AppSecretArgs{
Name: pulumi.String("string"),
Identity: pulumi.String("string"),
KeyVaultSecretId: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WorkloadProfileName: pulumi.String("string"),
})
var appResource = new App("appResource", AppArgs.builder()
.containerAppEnvironmentId("string")
.resourceGroupName("string")
.revisionMode("string")
.template(AppTemplateArgs.builder()
.containers(AppTemplateContainerArgs.builder()
.cpu(0)
.image("string")
.memory("string")
.name("string")
.args("string")
.commands("string")
.envs(AppTemplateContainerEnvArgs.builder()
.name("string")
.secretName("string")
.value("string")
.build())
.ephemeralStorage("string")
.livenessProbes(AppTemplateContainerLivenessProbeArgs.builder()
.port(0)
.transport("string")
.failureCountThreshold(0)
.headers(AppTemplateContainerLivenessProbeHeaderArgs.builder()
.name("string")
.value("string")
.build())
.host("string")
.initialDelay(0)
.intervalSeconds(0)
.path("string")
.terminationGracePeriodSeconds(0)
.timeout(0)
.build())
.readinessProbes(AppTemplateContainerReadinessProbeArgs.builder()
.port(0)
.transport("string")
.failureCountThreshold(0)
.headers(AppTemplateContainerReadinessProbeHeaderArgs.builder()
.name("string")
.value("string")
.build())
.host("string")
.intervalSeconds(0)
.path("string")
.successCountThreshold(0)
.timeout(0)
.build())
.startupProbes(AppTemplateContainerStartupProbeArgs.builder()
.port(0)
.transport("string")
.failureCountThreshold(0)
.headers(AppTemplateContainerStartupProbeHeaderArgs.builder()
.name("string")
.value("string")
.build())
.host("string")
.intervalSeconds(0)
.path("string")
.terminationGracePeriodSeconds(0)
.timeout(0)
.build())
.volumeMounts(AppTemplateContainerVolumeMountArgs.builder()
.name("string")
.path("string")
.build())
.build())
.azureQueueScaleRules(AppTemplateAzureQueueScaleRuleArgs.builder()
.authentications(AppTemplateAzureQueueScaleRuleAuthenticationArgs.builder()
.secretName("string")
.triggerParameter("string")
.build())
.name("string")
.queueLength(0)
.queueName("string")
.build())
.customScaleRules(AppTemplateCustomScaleRuleArgs.builder()
.customRuleType("string")
.metadata(Map.of("string", "string"))
.name("string")
.authentications(AppTemplateCustomScaleRuleAuthenticationArgs.builder()
.secretName("string")
.triggerParameter("string")
.build())
.build())
.httpScaleRules(AppTemplateHttpScaleRuleArgs.builder()
.concurrentRequests("string")
.name("string")
.authentications(AppTemplateHttpScaleRuleAuthenticationArgs.builder()
.secretName("string")
.triggerParameter("string")
.build())
.build())
.initContainers(AppTemplateInitContainerArgs.builder()
.image("string")
.name("string")
.args("string")
.commands("string")
.cpu(0)
.envs(AppTemplateInitContainerEnvArgs.builder()
.name("string")
.secretName("string")
.value("string")
.build())
.ephemeralStorage("string")
.memory("string")
.volumeMounts(AppTemplateInitContainerVolumeMountArgs.builder()
.name("string")
.path("string")
.build())
.build())
.maxReplicas(0)
.minReplicas(0)
.revisionSuffix("string")
.tcpScaleRules(AppTemplateTcpScaleRuleArgs.builder()
.concurrentRequests("string")
.name("string")
.authentications(AppTemplateTcpScaleRuleAuthenticationArgs.builder()
.secretName("string")
.triggerParameter("string")
.build())
.build())
.volumes(AppTemplateVolumeArgs.builder()
.name("string")
.storageName("string")
.storageType("string")
.build())
.build())
.dapr(AppDaprArgs.builder()
.appId("string")
.appPort(0)
.appProtocol("string")
.build())
.identity(AppIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.ingress(AppIngressArgs.builder()
.targetPort(0)
.trafficWeights(AppIngressTrafficWeightArgs.builder()
.percentage(0)
.label("string")
.latestRevision(false)
.revisionSuffix("string")
.build())
.allowInsecureConnections(false)
.customDomains(AppIngressCustomDomainArgs.builder()
.certificateBindingType("string")
.certificateId("string")
.name("string")
.build())
.exposedPort(0)
.externalEnabled(false)
.fqdn("string")
.ipSecurityRestrictions(AppIngressIpSecurityRestrictionArgs.builder()
.action("string")
.ipAddressRange("string")
.name("string")
.description("string")
.build())
.transport("string")
.build())
.name("string")
.registries(AppRegistryArgs.builder()
.server("string")
.identity("string")
.passwordSecretName("string")
.username("string")
.build())
.secrets(AppSecretArgs.builder()
.name("string")
.identity("string")
.keyVaultSecretId("string")
.value("string")
.build())
.tags(Map.of("string", "string"))
.workloadProfileName("string")
.build());
app_resource = azure.containerapp.App("appResource",
container_app_environment_id="string",
resource_group_name="string",
revision_mode="string",
template={
"containers": [{
"cpu": 0,
"image": "string",
"memory": "string",
"name": "string",
"args": ["string"],
"commands": ["string"],
"envs": [{
"name": "string",
"secretName": "string",
"value": "string",
}],
"ephemeralStorage": "string",
"livenessProbes": [{
"port": 0,
"transport": "string",
"failureCountThreshold": 0,
"headers": [{
"name": "string",
"value": "string",
}],
"host": "string",
"initialDelay": 0,
"intervalSeconds": 0,
"path": "string",
"terminationGracePeriodSeconds": 0,
"timeout": 0,
}],
"readinessProbes": [{
"port": 0,
"transport": "string",
"failureCountThreshold": 0,
"headers": [{
"name": "string",
"value": "string",
}],
"host": "string",
"intervalSeconds": 0,
"path": "string",
"successCountThreshold": 0,
"timeout": 0,
}],
"startupProbes": [{
"port": 0,
"transport": "string",
"failureCountThreshold": 0,
"headers": [{
"name": "string",
"value": "string",
}],
"host": "string",
"intervalSeconds": 0,
"path": "string",
"terminationGracePeriodSeconds": 0,
"timeout": 0,
}],
"volumeMounts": [{
"name": "string",
"path": "string",
}],
}],
"azureQueueScaleRules": [{
"authentications": [{
"secretName": "string",
"triggerParameter": "string",
}],
"name": "string",
"queueLength": 0,
"queueName": "string",
}],
"customScaleRules": [{
"customRuleType": "string",
"metadata": {
"string": "string",
},
"name": "string",
"authentications": [{
"secretName": "string",
"triggerParameter": "string",
}],
}],
"httpScaleRules": [{
"concurrentRequests": "string",
"name": "string",
"authentications": [{
"secretName": "string",
"triggerParameter": "string",
}],
}],
"initContainers": [{
"image": "string",
"name": "string",
"args": ["string"],
"commands": ["string"],
"cpu": 0,
"envs": [{
"name": "string",
"secretName": "string",
"value": "string",
}],
"ephemeralStorage": "string",
"memory": "string",
"volumeMounts": [{
"name": "string",
"path": "string",
}],
}],
"maxReplicas": 0,
"minReplicas": 0,
"revisionSuffix": "string",
"tcpScaleRules": [{
"concurrentRequests": "string",
"name": "string",
"authentications": [{
"secretName": "string",
"triggerParameter": "string",
}],
}],
"volumes": [{
"name": "string",
"storageName": "string",
"storageType": "string",
}],
},
dapr={
"appId": "string",
"appPort": 0,
"appProtocol": "string",
},
identity={
"type": "string",
"identityIds": ["string"],
"principalId": "string",
"tenantId": "string",
},
ingress={
"targetPort": 0,
"trafficWeights": [{
"percentage": 0,
"label": "string",
"latestRevision": False,
"revisionSuffix": "string",
}],
"allowInsecureConnections": False,
"customDomains": [{
"certificateBindingType": "string",
"certificateId": "string",
"name": "string",
}],
"exposedPort": 0,
"externalEnabled": False,
"fqdn": "string",
"ipSecurityRestrictions": [{
"action": "string",
"ipAddressRange": "string",
"name": "string",
"description": "string",
}],
"transport": "string",
},
name="string",
registries=[{
"server": "string",
"identity": "string",
"passwordSecretName": "string",
"username": "string",
}],
secrets=[{
"name": "string",
"identity": "string",
"keyVaultSecretId": "string",
"value": "string",
}],
tags={
"string": "string",
},
workload_profile_name="string")
const appResource = new azure.containerapp.App("appResource", {
containerAppEnvironmentId: "string",
resourceGroupName: "string",
revisionMode: "string",
template: {
containers: [{
cpu: 0,
image: "string",
memory: "string",
name: "string",
args: ["string"],
commands: ["string"],
envs: [{
name: "string",
secretName: "string",
value: "string",
}],
ephemeralStorage: "string",
livenessProbes: [{
port: 0,
transport: "string",
failureCountThreshold: 0,
headers: [{
name: "string",
value: "string",
}],
host: "string",
initialDelay: 0,
intervalSeconds: 0,
path: "string",
terminationGracePeriodSeconds: 0,
timeout: 0,
}],
readinessProbes: [{
port: 0,
transport: "string",
failureCountThreshold: 0,
headers: [{
name: "string",
value: "string",
}],
host: "string",
intervalSeconds: 0,
path: "string",
successCountThreshold: 0,
timeout: 0,
}],
startupProbes: [{
port: 0,
transport: "string",
failureCountThreshold: 0,
headers: [{
name: "string",
value: "string",
}],
host: "string",
intervalSeconds: 0,
path: "string",
terminationGracePeriodSeconds: 0,
timeout: 0,
}],
volumeMounts: [{
name: "string",
path: "string",
}],
}],
azureQueueScaleRules: [{
authentications: [{
secretName: "string",
triggerParameter: "string",
}],
name: "string",
queueLength: 0,
queueName: "string",
}],
customScaleRules: [{
customRuleType: "string",
metadata: {
string: "string",
},
name: "string",
authentications: [{
secretName: "string",
triggerParameter: "string",
}],
}],
httpScaleRules: [{
concurrentRequests: "string",
name: "string",
authentications: [{
secretName: "string",
triggerParameter: "string",
}],
}],
initContainers: [{
image: "string",
name: "string",
args: ["string"],
commands: ["string"],
cpu: 0,
envs: [{
name: "string",
secretName: "string",
value: "string",
}],
ephemeralStorage: "string",
memory: "string",
volumeMounts: [{
name: "string",
path: "string",
}],
}],
maxReplicas: 0,
minReplicas: 0,
revisionSuffix: "string",
tcpScaleRules: [{
concurrentRequests: "string",
name: "string",
authentications: [{
secretName: "string",
triggerParameter: "string",
}],
}],
volumes: [{
name: "string",
storageName: "string",
storageType: "string",
}],
},
dapr: {
appId: "string",
appPort: 0,
appProtocol: "string",
},
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
ingress: {
targetPort: 0,
trafficWeights: [{
percentage: 0,
label: "string",
latestRevision: false,
revisionSuffix: "string",
}],
allowInsecureConnections: false,
customDomains: [{
certificateBindingType: "string",
certificateId: "string",
name: "string",
}],
exposedPort: 0,
externalEnabled: false,
fqdn: "string",
ipSecurityRestrictions: [{
action: "string",
ipAddressRange: "string",
name: "string",
description: "string",
}],
transport: "string",
},
name: "string",
registries: [{
server: "string",
identity: "string",
passwordSecretName: "string",
username: "string",
}],
secrets: [{
name: "string",
identity: "string",
keyVaultSecretId: "string",
value: "string",
}],
tags: {
string: "string",
},
workloadProfileName: "string",
});
type: azure:containerapp:App
properties:
containerAppEnvironmentId: string
dapr:
appId: string
appPort: 0
appProtocol: string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
ingress:
allowInsecureConnections: false
customDomains:
- certificateBindingType: string
certificateId: string
name: string
exposedPort: 0
externalEnabled: false
fqdn: string
ipSecurityRestrictions:
- action: string
description: string
ipAddressRange: string
name: string
targetPort: 0
trafficWeights:
- label: string
latestRevision: false
percentage: 0
revisionSuffix: string
transport: string
name: string
registries:
- identity: string
passwordSecretName: string
server: string
username: string
resourceGroupName: string
revisionMode: string
secrets:
- identity: string
keyVaultSecretId: string
name: string
value: string
tags:
string: string
template:
azureQueueScaleRules:
- authentications:
- secretName: string
triggerParameter: string
name: string
queueLength: 0
queueName: string
containers:
- args:
- string
commands:
- string
cpu: 0
envs:
- name: string
secretName: string
value: string
ephemeralStorage: string
image: string
livenessProbes:
- failureCountThreshold: 0
headers:
- name: string
value: string
host: string
initialDelay: 0
intervalSeconds: 0
path: string
port: 0
terminationGracePeriodSeconds: 0
timeout: 0
transport: string
memory: string
name: string
readinessProbes:
- failureCountThreshold: 0
headers:
- name: string
value: string
host: string
intervalSeconds: 0
path: string
port: 0
successCountThreshold: 0
timeout: 0
transport: string
startupProbes:
- failureCountThreshold: 0
headers:
- name: string
value: string
host: string
intervalSeconds: 0
path: string
port: 0
terminationGracePeriodSeconds: 0
timeout: 0
transport: string
volumeMounts:
- name: string
path: string
customScaleRules:
- authentications:
- secretName: string
triggerParameter: string
customRuleType: string
metadata:
string: string
name: string
httpScaleRules:
- authentications:
- secretName: string
triggerParameter: string
concurrentRequests: string
name: string
initContainers:
- args:
- string
commands:
- string
cpu: 0
envs:
- name: string
secretName: string
value: string
ephemeralStorage: string
image: string
memory: string
name: string
volumeMounts:
- name: string
path: string
maxReplicas: 0
minReplicas: 0
revisionSuffix: string
tcpScaleRules:
- authentications:
- secretName: string
triggerParameter: string
concurrentRequests: string
name: string
volumes:
- name: string
storageName: string
storageType: string
workloadProfileName: string
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The App resource accepts the following input properties:
- Container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- Revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - Template
App
Template - A
template
block as detailed below. - Dapr
App
Dapr - A
dapr
block as detailed below. - Identity
App
Identity - An
identity
block as detailed below. - Ingress
App
Ingress - An
ingress
block as detailed below. - Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Registries
List<App
Registry> - A
registry
block as detailed below. - Secrets
List<App
Secret> - One or more
secret
block as detailed below. - Dictionary<string, string>
- A mapping of tags to assign to the Container App.
- Workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- Container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- Revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - Template
App
Template Args - A
template
block as detailed below. - Dapr
App
Dapr Args - A
dapr
block as detailed below. - Identity
App
Identity Args - An
identity
block as detailed below. - Ingress
App
Ingress Args - An
ingress
block as detailed below. - Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Registries
[]App
Registry Args - A
registry
block as detailed below. - Secrets
[]App
Secret Args - One or more
secret
block as detailed below. - map[string]string
- A mapping of tags to assign to the Container App.
- Workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App StringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode String - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - template
App
Template - A
template
block as detailed below. - dapr
App
Dapr - A
dapr
block as detailed below. - identity
App
Identity - An
identity
block as detailed below. - ingress
App
Ingress - An
ingress
block as detailed below. - name String
- The name for this Container App. Changing this forces a new resource to be created.
- registries
List<App
Registry> - A
registry
block as detailed below. - secrets
List<App
Secret> - One or more
secret
block as detailed below. - Map<String,String>
- A mapping of tags to assign to the Container App.
- workload
Profile StringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - template
App
Template - A
template
block as detailed below. - dapr
App
Dapr - A
dapr
block as detailed below. - identity
App
Identity - An
identity
block as detailed below. - ingress
App
Ingress - An
ingress
block as detailed below. - name string
- The name for this Container App. Changing this forces a new resource to be created.
- registries
App
Registry[] - A
registry
block as detailed below. - secrets
App
Secret[] - One or more
secret
block as detailed below. - {[key: string]: string}
- A mapping of tags to assign to the Container App.
- workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container_
app_ strenvironment_ id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision_
mode str - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - template
App
Template Args - A
template
block as detailed below. - dapr
App
Dapr Args - A
dapr
block as detailed below. - identity
App
Identity Args - An
identity
block as detailed below. - ingress
App
Ingress Args - An
ingress
block as detailed below. - name str
- The name for this Container App. Changing this forces a new resource to be created.
- registries
Sequence[App
Registry Args] - A
registry
block as detailed below. - secrets
Sequence[App
Secret Args] - One or more
secret
block as detailed below. - Mapping[str, str]
- A mapping of tags to assign to the Container App.
- workload_
profile_ strname The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App StringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode String - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - template Property Map
- A
template
block as detailed below. - dapr Property Map
- A
dapr
block as detailed below. - identity Property Map
- An
identity
block as detailed below. - ingress Property Map
- An
ingress
block as detailed below. - name String
- The name for this Container App. Changing this forces a new resource to be created.
- registries List<Property Map>
- A
registry
block as detailed below. - secrets List<Property Map>
- One or more
secret
block as detailed below. - Map<String>
- A mapping of tags to assign to the Container App.
- workload
Profile StringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- Custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- Latest
Revision stringName - The name of the latest Container Revision.
- Location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- Outbound
Ip List<string>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- Custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- Latest
Revision stringName - The name of the latest Container Revision.
- Location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- Outbound
Ip []stringAddresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- custom
Domain StringVerification Id - The ID of the Custom Domain Verification for this Container App.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision StringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision StringName - The name of the latest Container Revision.
- location String
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- outbound
Ip List<String>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision stringName - The name of the latest Container Revision.
- location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- outbound
Ip string[]Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- custom_
domain_ strverification_ id - The ID of the Custom Domain Verification for this Container App.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
revision_ strfqdn - The FQDN of the Latest Revision of the Container App.
- latest_
revision_ strname - The name of the latest Container Revision.
- location str
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- outbound_
ip_ Sequence[str]addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- custom
Domain StringVerification Id - The ID of the Custom Domain Verification for this Container App.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision StringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision StringName - The name of the latest Container Revision.
- location String
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- outbound
Ip List<String>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
Look up Existing App Resource
Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
container_app_environment_id: Optional[str] = None,
custom_domain_verification_id: Optional[str] = None,
dapr: Optional[AppDaprArgs] = None,
identity: Optional[AppIdentityArgs] = None,
ingress: Optional[AppIngressArgs] = None,
latest_revision_fqdn: Optional[str] = None,
latest_revision_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
outbound_ip_addresses: Optional[Sequence[str]] = None,
registries: Optional[Sequence[AppRegistryArgs]] = None,
resource_group_name: Optional[str] = None,
revision_mode: Optional[str] = None,
secrets: Optional[Sequence[AppSecretArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[AppTemplateArgs] = None,
workload_profile_name: Optional[str] = None) -> App
func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- Custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- Dapr
App
Dapr - A
dapr
block as detailed below. - Identity
App
Identity - An
identity
block as detailed below. - Ingress
App
Ingress - An
ingress
block as detailed below. - Latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- Latest
Revision stringName - The name of the latest Container Revision.
- Location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Outbound
Ip List<string>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- Registries
List<App
Registry> - A
registry
block as detailed below. - Resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- Revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - Secrets
List<App
Secret> - One or more
secret
block as detailed below. - Dictionary<string, string>
- A mapping of tags to assign to the Container App.
- Template
App
Template - A
template
block as detailed below. - Workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- Container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- Custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- Dapr
App
Dapr Args - A
dapr
block as detailed below. - Identity
App
Identity Args - An
identity
block as detailed below. - Ingress
App
Ingress Args - An
ingress
block as detailed below. - Latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- Latest
Revision stringName - The name of the latest Container Revision.
- Location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Outbound
Ip []stringAddresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- Registries
[]App
Registry Args - A
registry
block as detailed below. - Resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- Revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - Secrets
[]App
Secret Args - One or more
secret
block as detailed below. - map[string]string
- A mapping of tags to assign to the Container App.
- Template
App
Template Args - A
template
block as detailed below. - Workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App StringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- custom
Domain StringVerification Id - The ID of the Custom Domain Verification for this Container App.
- dapr
App
Dapr - A
dapr
block as detailed below. - identity
App
Identity - An
identity
block as detailed below. - ingress
App
Ingress - An
ingress
block as detailed below. - latest
Revision StringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision StringName - The name of the latest Container Revision.
- location String
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- outbound
Ip List<String>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
List<App
Registry> - A
registry
block as detailed below. - resource
Group StringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode String - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - secrets
List<App
Secret> - One or more
secret
block as detailed below. - Map<String,String>
- A mapping of tags to assign to the Container App.
- template
App
Template - A
template
block as detailed below. - workload
Profile StringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App stringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- custom
Domain stringVerification Id - The ID of the Custom Domain Verification for this Container App.
- dapr
App
Dapr - A
dapr
block as detailed below. - identity
App
Identity - An
identity
block as detailed below. - ingress
App
Ingress - An
ingress
block as detailed below. - latest
Revision stringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision stringName - The name of the latest Container Revision.
- location string
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- name string
- The name for this Container App. Changing this forces a new resource to be created.
- outbound
Ip string[]Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
App
Registry[] - A
registry
block as detailed below. - resource
Group stringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode string - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - secrets
App
Secret[] - One or more
secret
block as detailed below. - {[key: string]: string}
- A mapping of tags to assign to the Container App.
- template
App
Template - A
template
block as detailed below. - workload
Profile stringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container_
app_ strenvironment_ id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- custom_
domain_ strverification_ id - The ID of the Custom Domain Verification for this Container App.
- dapr
App
Dapr Args - A
dapr
block as detailed below. - identity
App
Identity Args - An
identity
block as detailed below. - ingress
App
Ingress Args - An
ingress
block as detailed below. - latest_
revision_ strfqdn - The FQDN of the Latest Revision of the Container App.
- latest_
revision_ strname - The name of the latest Container Revision.
- location str
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- name str
- The name for this Container App. Changing this forces a new resource to be created.
- outbound_
ip_ Sequence[str]addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries
Sequence[App
Registry Args] - A
registry
block as detailed below. - resource_
group_ strname - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision_
mode str - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - secrets
Sequence[App
Secret Args] - One or more
secret
block as detailed below. - Mapping[str, str]
- A mapping of tags to assign to the Container App.
- template
App
Template Args - A
template
block as detailed below. - workload_
profile_ strname The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
- container
App StringEnvironment Id - The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
- custom
Domain StringVerification Id - The ID of the Custom Domain Verification for this Container App.
- dapr Property Map
- A
dapr
block as detailed below. - identity Property Map
- An
identity
block as detailed below. - ingress Property Map
- An
ingress
block as detailed below. - latest
Revision StringFqdn - The FQDN of the Latest Revision of the Container App.
- latest
Revision StringName - The name of the latest Container Revision.
- location String
- The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- outbound
Ip List<String>Addresses - A list of the Public IP Addresses which the Container App uses for outbound network access.
- registries List<Property Map>
- A
registry
block as detailed below. - resource
Group StringName - The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
- revision
Mode String - The revisions operational mode for the Container App. Possible values include
Single
andMultiple
. InSingle
mode, a single revision is in operation at any given time. InMultiple
mode, more than one revision can be active at a time and can be configured with load distribution via thetraffic_weight
block in theingress
configuration. - secrets List<Property Map>
- One or more
secret
block as detailed below. - Map<String>
- A mapping of tags to assign to the Container App.
- template Property Map
- A
template
block as detailed below. - workload
Profile StringName The name of the Workload Profile in the Container App Environment to place this Container App.
Note: Omit this value to use the default
Consumption
Workload Profile.
Supporting Types
AppDapr, AppDaprArgs
- App
Id string - The Dapr Application Identifier.
- App
Port int - The port which the application is listening on. This is the same as the
ingress
port. - App
Protocol string - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
- App
Id string - The Dapr Application Identifier.
- App
Port int - The port which the application is listening on. This is the same as the
ingress
port. - App
Protocol string - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
- app
Id String - The Dapr Application Identifier.
- app
Port Integer - The port which the application is listening on. This is the same as the
ingress
port. - app
Protocol String - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
- app
Id string - The Dapr Application Identifier.
- app
Port number - The port which the application is listening on. This is the same as the
ingress
port. - app
Protocol string - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
- app_
id str - The Dapr Application Identifier.
- app_
port int - The port which the application is listening on. This is the same as the
ingress
port. - app_
protocol str - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
- app
Id String - The Dapr Application Identifier.
- app
Port Number - The port which the application is listening on. This is the same as the
ingress
port. - app
Protocol String - The protocol for the app. Possible values include
http
andgrpc
. Defaults tohttp
.
AppIdentity, AppIdentityArgs
- Type string
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - Identity
Ids List<string> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - Principal
Id string - Tenant
Id string
- Type string
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - Identity
Ids []string - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - Principal
Id string - Tenant
Id string
- type String
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - principal
Id String - tenant
Id String
- type string
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - identity
Ids string[] - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - principal
Id string - tenant
Id string
- type str
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - identity_
ids Sequence[str] - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - principal_
id str - tenant_
id str
- type String
- The type of managed identity to assign. Possible values are
SystemAssigned
,UserAssigned
, andSystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> - A list of one or more Resource IDs for User Assigned Managed identities to assign. Required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
. - principal
Id String - tenant
Id String
AppIngress, AppIngressArgs
- Target
Port int - The target port on the container for the Ingress traffic.
- Traffic
Weights List<AppIngress Traffic Weight> - One or more
traffic_weight
blocks as detailed below. - Allow
Insecure boolConnections - Should this ingress allow insecure connections?
- Custom
Domains List<AppIngress Custom Domain> - One or more
custom_domain
block as detailed below. - Exposed
Port int The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- External
Enabled bool - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - Fqdn string
- The FQDN of the ingress.
- Ip
Security List<AppRestrictions Ingress Ip Security Restriction> - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - Transport string
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
- Target
Port int - The target port on the container for the Ingress traffic.
- Traffic
Weights []AppIngress Traffic Weight - One or more
traffic_weight
blocks as detailed below. - Allow
Insecure boolConnections - Should this ingress allow insecure connections?
- Custom
Domains []AppIngress Custom Domain - One or more
custom_domain
block as detailed below. - Exposed
Port int The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- External
Enabled bool - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - Fqdn string
- The FQDN of the ingress.
- Ip
Security []AppRestrictions Ingress Ip Security Restriction - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - Transport string
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
- target
Port Integer - The target port on the container for the Ingress traffic.
- traffic
Weights List<AppIngress Traffic Weight> - One or more
traffic_weight
blocks as detailed below. - allow
Insecure BooleanConnections - Should this ingress allow insecure connections?
- custom
Domains List<AppIngress Custom Domain> - One or more
custom_domain
block as detailed below. - exposed
Port Integer The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- external
Enabled Boolean - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - fqdn String
- The FQDN of the ingress.
- ip
Security List<AppRestrictions Ingress Ip Security Restriction> - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - transport String
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
- target
Port number - The target port on the container for the Ingress traffic.
- traffic
Weights AppIngress Traffic Weight[] - One or more
traffic_weight
blocks as detailed below. - allow
Insecure booleanConnections - Should this ingress allow insecure connections?
- custom
Domains AppIngress Custom Domain[] - One or more
custom_domain
block as detailed below. - exposed
Port number The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- external
Enabled boolean - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - fqdn string
- The FQDN of the ingress.
- ip
Security AppRestrictions Ingress Ip Security Restriction[] - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - transport string
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
- target_
port int - The target port on the container for the Ingress traffic.
- traffic_
weights Sequence[AppIngress Traffic Weight] - One or more
traffic_weight
blocks as detailed below. - allow_
insecure_ boolconnections - Should this ingress allow insecure connections?
- custom_
domains Sequence[AppIngress Custom Domain] - One or more
custom_domain
block as detailed below. - exposed_
port int The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- external_
enabled bool - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - fqdn str
- The FQDN of the ingress.
- ip_
security_ Sequence[Apprestrictions Ingress Ip Security Restriction] - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - transport str
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
- target
Port Number - The target port on the container for the Ingress traffic.
- traffic
Weights List<Property Map> - One or more
traffic_weight
blocks as detailed below. - allow
Insecure BooleanConnections - Should this ingress allow insecure connections?
- custom
Domains List<Property Map> - One or more
custom_domain
block as detailed below. - exposed
Port Number The exposed port on the container for the Ingress traffic.
Note:
exposed_port
can only be specified whentransport
is set totcp
.- external
Enabled Boolean - Are connections to this Ingress from outside the Container App Environment enabled? Defaults to
false
. - fqdn String
- The FQDN of the ingress.
- ip
Security List<Property Map>Restrictions - One or more
ip_security_restriction
blocks for IP-filtering rules as defined below. - transport String
- The transport method for the Ingress. Possible values are
auto
,http
,http2
andtcp
. Defaults toauto
.
AppIngressCustomDomain, AppIngressCustomDomainArgs
- Certificate
Binding stringType - The Binding type.
- Certificate
Id string - The ID of the Container App Environment Certificate.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- Certificate
Binding stringType - The Binding type.
- Certificate
Id string - The ID of the Container App Environment Certificate.
- Name string
- The name for this Container App. Changing this forces a new resource to be created.
- certificate
Binding StringType - The Binding type.
- certificate
Id String - The ID of the Container App Environment Certificate.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
- certificate
Binding stringType - The Binding type.
- certificate
Id string - The ID of the Container App Environment Certificate.
- name string
- The name for this Container App. Changing this forces a new resource to be created.
- certificate_
binding_ strtype - The Binding type.
- certificate_
id str - The ID of the Container App Environment Certificate.
- name str
- The name for this Container App. Changing this forces a new resource to be created.
- certificate
Binding StringType - The Binding type.
- certificate
Id String - The ID of the Container App Environment Certificate.
- name String
- The name for this Container App. Changing this forces a new resource to be created.
AppIngressIpSecurityRestriction, AppIngressIpSecurityRestrictionArgs
- Action string
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- Ip
Address stringRange - The incoming IP address or range of IP addresses (in CIDR notation).
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app.
- Action string
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- Ip
Address stringRange - The incoming IP address or range of IP addresses (in CIDR notation).
- Name string
- Name for the IP restriction rule.
- Description string
- Describe the IP restriction rule that is being sent to the container-app.
- action String
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- ip
Address StringRange - The incoming IP address or range of IP addresses (in CIDR notation).
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app.
- action string
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- ip
Address stringRange - The incoming IP address or range of IP addresses (in CIDR notation).
- name string
- Name for the IP restriction rule.
- description string
- Describe the IP restriction rule that is being sent to the container-app.
- action str
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- ip_
address_ strrange - The incoming IP address or range of IP addresses (in CIDR notation).
- name str
- Name for the IP restriction rule.
- description str
- Describe the IP restriction rule that is being sent to the container-app.
- action String
The IP-filter action.
Allow
orDeny
.NOTE: The
action
types in an allip_security_restriction
blocks must be the same for theingress
, mixingAllow
andDeny
rules is not currently supported by the service.- ip
Address StringRange - The incoming IP address or range of IP addresses (in CIDR notation).
- name String
- Name for the IP restriction rule.
- description String
- Describe the IP restriction rule that is being sent to the container-app.
AppIngressTrafficWeight, AppIngressTrafficWeightArgs
- Percentage int
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- Label string
- The label to apply to the revision as a name prefix for routing traffic.
- Latest
Revision bool - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - Revision
Suffix string The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
- Percentage int
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- Label string
- The label to apply to the revision as a name prefix for routing traffic.
- Latest
Revision bool - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - Revision
Suffix string The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
- percentage Integer
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- label String
- The label to apply to the revision as a name prefix for routing traffic.
- latest
Revision Boolean - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - revision
Suffix String The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
- percentage number
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- label string
- The label to apply to the revision as a name prefix for routing traffic.
- latest
Revision boolean - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - revision
Suffix string The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
- percentage int
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- label str
- The label to apply to the revision as a name prefix for routing traffic.
- latest_
revision bool - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - revision_
suffix str The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
- percentage Number
The percentage of traffic which should be sent this revision.
Note: The cumulative values for
weight
must equal 100 exactly and explicitly, no default weights are assumed.- label String
- The label to apply to the revision as a name prefix for routing traffic.
- latest
Revision Boolean - This traffic Weight applies to the latest stable Container Revision. At most only one
traffic_weight
block can have thelatest_revision
set totrue
. - revision
Suffix String The suffix string to which this
traffic_weight
applies.Note:
latest_revision
conflicts withrevision_suffix
, which means you shall either setlatest_revision
totrue
or specifyrevision_suffix
. Especially for creation, there shall only be onetraffic_weight
, with thelatest_revision
set totrue
, and leave therevision_suffix
empty.
AppRegistry, AppRegistryArgs
- Server string
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- Identity string
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- Password
Secret stringName - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - Username string
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
- Server string
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- Identity string
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- Password
Secret stringName - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - Username string
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
- server String
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- identity String
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- password
Secret StringName - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - username String
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
- server string
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- identity string
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- password
Secret stringName - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - username string
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
- server str
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- identity str
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- password_
secret_ strname - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - username str
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
- server String
The hostname for the Container Registry.
The authentication details must also be supplied,
identity
andusername
/password_secret_name
are mutually exclusive.- identity String
Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
Note: The Resource ID must be of a User Assigned Managed identity defined in an
identity
block.- password
Secret StringName - The name of the Secret Reference containing the password value for this user on the Container Registry,
username
must also be supplied. - username String
- The username to use for this Container Registry,
password_secret_name
must also be supplied..
AppSecret, AppSecretArgs
- Name string
- The secret name.
- Identity string
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- Key
Vault stringSecret Id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- Value string
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
- Name string
- The secret name.
- Identity string
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- Key
Vault stringSecret Id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- Value string
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
- name String
- The secret name.
- identity String
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- key
Vault StringSecret Id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- value String
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
- name string
- The secret name.
- identity string
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- key
Vault stringSecret Id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- value string
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
- name str
- The secret name.
- identity str
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- key_
vault_ strsecret_ id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- value str
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
- name String
- The secret name.
- identity String
The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or
System
for the System Assigned Identity.!> Note:
identity
must be used together withkey_vault_secret_id
- key
Vault StringSecret Id The ID of a Key Vault secret. This can be a versioned or version-less ID.
!> Note: When using
key_vault_secret_id
,ignore_changes
should be used to ignore any changes tovalue
.- value String
The value for this secret.
!> Note:
value
will be ignored ifkey_vault_secret_id
andidentity
are provided.
AppTemplate, AppTemplateArgs
- Containers
List<App
Template Container> - One or more
container
blocks as detailed below. - Azure
Queue List<AppScale Rules Template Azure Queue Scale Rule> - One or more
azure_queue_scale_rule
blocks as defined below. - Custom
Scale List<AppRules Template Custom Scale Rule> - One or more
custom_scale_rule
blocks as defined below. - Http
Scale List<AppRules Template Http Scale Rule> - One or more
http_scale_rule
blocks as defined below. - Init
Containers List<AppTemplate Init Container> - The definition of an init container that is part of the group as documented in the
init_container
block below. - Max
Replicas int - The maximum number of replicas for this container.
- Min
Replicas int - The minimum number of replicas for this container.
- Revision
Suffix string - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- Tcp
Scale List<AppRules Template Tcp Scale Rule> - One or more
tcp_scale_rule
blocks as defined below. - Volumes
List<App
Template Volume> - A
volume
block as detailed below.
- Containers
[]App
Template Container - One or more
container
blocks as detailed below. - Azure
Queue []AppScale Rules Template Azure Queue Scale Rule - One or more
azure_queue_scale_rule
blocks as defined below. - Custom
Scale []AppRules Template Custom Scale Rule - One or more
custom_scale_rule
blocks as defined below. - Http
Scale []AppRules Template Http Scale Rule - One or more
http_scale_rule
blocks as defined below. - Init
Containers []AppTemplate Init Container - The definition of an init container that is part of the group as documented in the
init_container
block below. - Max
Replicas int - The maximum number of replicas for this container.
- Min
Replicas int - The minimum number of replicas for this container.
- Revision
Suffix string - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- Tcp
Scale []AppRules Template Tcp Scale Rule - One or more
tcp_scale_rule
blocks as defined below. - Volumes
[]App
Template Volume - A
volume
block as detailed below.
- containers
List<App
Template Container> - One or more
container
blocks as detailed below. - azure
Queue List<AppScale Rules Template Azure Queue Scale Rule> - One or more
azure_queue_scale_rule
blocks as defined below. - custom
Scale List<AppRules Template Custom Scale Rule> - One or more
custom_scale_rule
blocks as defined below. - http
Scale List<AppRules Template Http Scale Rule> - One or more
http_scale_rule
blocks as defined below. - init
Containers List<AppTemplate Init Container> - The definition of an init container that is part of the group as documented in the
init_container
block below. - max
Replicas Integer - The maximum number of replicas for this container.
- min
Replicas Integer - The minimum number of replicas for this container.
- revision
Suffix String - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- tcp
Scale List<AppRules Template Tcp Scale Rule> - One or more
tcp_scale_rule
blocks as defined below. - volumes
List<App
Template Volume> - A
volume
block as detailed below.
- containers
App
Template Container[] - One or more
container
blocks as detailed below. - azure
Queue AppScale Rules Template Azure Queue Scale Rule[] - One or more
azure_queue_scale_rule
blocks as defined below. - custom
Scale AppRules Template Custom Scale Rule[] - One or more
custom_scale_rule
blocks as defined below. - http
Scale AppRules Template Http Scale Rule[] - One or more
http_scale_rule
blocks as defined below. - init
Containers AppTemplate Init Container[] - The definition of an init container that is part of the group as documented in the
init_container
block below. - max
Replicas number - The maximum number of replicas for this container.
- min
Replicas number - The minimum number of replicas for this container.
- revision
Suffix string - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- tcp
Scale AppRules Template Tcp Scale Rule[] - One or more
tcp_scale_rule
blocks as defined below. - volumes
App
Template Volume[] - A
volume
block as detailed below.
- containers
Sequence[App
Template Container] - One or more
container
blocks as detailed below. - azure_
queue_ Sequence[Appscale_ rules Template Azure Queue Scale Rule] - One or more
azure_queue_scale_rule
blocks as defined below. - custom_
scale_ Sequence[Apprules Template Custom Scale Rule] - One or more
custom_scale_rule
blocks as defined below. - http_
scale_ Sequence[Apprules Template Http Scale Rule] - One or more
http_scale_rule
blocks as defined below. - init_
containers Sequence[AppTemplate Init Container] - The definition of an init container that is part of the group as documented in the
init_container
block below. - max_
replicas int - The maximum number of replicas for this container.
- min_
replicas int - The minimum number of replicas for this container.
- revision_
suffix str - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- tcp_
scale_ Sequence[Apprules Template Tcp Scale Rule] - One or more
tcp_scale_rule
blocks as defined below. - volumes
Sequence[App
Template Volume] - A
volume
block as detailed below.
- containers List<Property Map>
- One or more
container
blocks as detailed below. - azure
Queue List<Property Map>Scale Rules - One or more
azure_queue_scale_rule
blocks as defined below. - custom
Scale List<Property Map>Rules - One or more
custom_scale_rule
blocks as defined below. - http
Scale List<Property Map>Rules - One or more
http_scale_rule
blocks as defined below. - init
Containers List<Property Map> - The definition of an init container that is part of the group as documented in the
init_container
block below. - max
Replicas Number - The maximum number of replicas for this container.
- min
Replicas Number - The minimum number of replicas for this container.
- revision
Suffix String - The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one.
- tcp
Scale List<Property Map>Rules - One or more
tcp_scale_rule
blocks as defined below. - volumes List<Property Map>
- A
volume
block as detailed below.
AppTemplateAzureQueueScaleRule, AppTemplateAzureQueueScaleRuleArgs
- Authentications
List<App
Template Azure Queue Scale Rule Authentication> - One or more
authentication
blocks as defined below. - Name string
- The name of the Scaling Rule
- Queue
Length int - The value of the length of the queue to trigger scaling actions.
- Queue
Name string - The name of the Azure Queue
- Authentications
[]App
Template Azure Queue Scale Rule Authentication - One or more
authentication
blocks as defined below. - Name string
- The name of the Scaling Rule
- Queue
Length int - The value of the length of the queue to trigger scaling actions.
- Queue
Name string - The name of the Azure Queue
- authentications
List<App
Template Azure Queue Scale Rule Authentication> - One or more
authentication
blocks as defined below. - name String
- The name of the Scaling Rule
- queue
Length Integer - The value of the length of the queue to trigger scaling actions.
- queue
Name String - The name of the Azure Queue
- authentications
App
Template Azure Queue Scale Rule Authentication[] - One or more
authentication
blocks as defined below. - name string
- The name of the Scaling Rule
- queue
Length number - The value of the length of the queue to trigger scaling actions.
- queue
Name string - The name of the Azure Queue
- authentications
Sequence[App
Template Azure Queue Scale Rule Authentication] - One or more
authentication
blocks as defined below. - name str
- The name of the Scaling Rule
- queue_
length int - The value of the length of the queue to trigger scaling actions.
- queue_
name str - The name of the Azure Queue
- authentications List<Property Map>
- One or more
authentication
blocks as defined below. - name String
- The name of the Scaling Rule
- queue
Length Number - The value of the length of the queue to trigger scaling actions.
- queue
Name String - The name of the Azure Queue
AppTemplateAzureQueueScaleRuleAuthentication, AppTemplateAzureQueueScaleRuleAuthenticationArgs
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret_
name str - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger_
parameter str - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
AppTemplateContainer, AppTemplateContainerArgs
- Cpu double
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- Image string
- The image to use to create the container.
- Memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- Name string
- The name of the container
- Args List<string>
- A list of extra arguments to pass to the container.
- Commands List<string>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- Envs
List<App
Template Container Env> - One or more
env
blocks as detailed below. - Ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- Liveness
Probes List<AppTemplate Container Liveness Probe> - A
liveness_probe
block as detailed below. - Readiness
Probes List<AppTemplate Container Readiness Probe> - A
readiness_probe
block as detailed below. - Startup
Probes List<AppTemplate Container Startup Probe> - A
startup_probe
block as detailed below. - Volume
Mounts List<AppTemplate Container Volume Mount> - A
volume_mounts
block as detailed below.
- Cpu float64
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- Image string
- The image to use to create the container.
- Memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- Name string
- The name of the container
- Args []string
- A list of extra arguments to pass to the container.
- Commands []string
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- Envs
[]App
Template Container Env - One or more
env
blocks as detailed below. - Ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- Liveness
Probes []AppTemplate Container Liveness Probe - A
liveness_probe
block as detailed below. - Readiness
Probes []AppTemplate Container Readiness Probe - A
readiness_probe
block as detailed below. - Startup
Probes []AppTemplate Container Startup Probe - A
startup_probe
block as detailed below. - Volume
Mounts []AppTemplate Container Volume Mount - A
volume_mounts
block as detailed below.
- cpu Double
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- image String
- The image to use to create the container.
- memory String
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- name String
- The name of the container
- args List<String>
- A list of extra arguments to pass to the container.
- commands List<String>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- envs
List<App
Template Container Env> - One or more
env
blocks as detailed below. - ephemeral
Storage String The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- liveness
Probes List<AppTemplate Container Liveness Probe> - A
liveness_probe
block as detailed below. - readiness
Probes List<AppTemplate Container Readiness Probe> - A
readiness_probe
block as detailed below. - startup
Probes List<AppTemplate Container Startup Probe> - A
startup_probe
block as detailed below. - volume
Mounts List<AppTemplate Container Volume Mount> - A
volume_mounts
block as detailed below.
- cpu number
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- image string
- The image to use to create the container.
- memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- name string
- The name of the container
- args string[]
- A list of extra arguments to pass to the container.
- commands string[]
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- envs
App
Template Container Env[] - One or more
env
blocks as detailed below. - ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- liveness
Probes AppTemplate Container Liveness Probe[] - A
liveness_probe
block as detailed below. - readiness
Probes AppTemplate Container Readiness Probe[] - A
readiness_probe
block as detailed below. - startup
Probes AppTemplate Container Startup Probe[] - A
startup_probe
block as detailed below. - volume
Mounts AppTemplate Container Volume Mount[] - A
volume_mounts
block as detailed below.
- cpu float
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- image str
- The image to use to create the container.
- memory str
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- name str
- The name of the container
- args Sequence[str]
- A list of extra arguments to pass to the container.
- commands Sequence[str]
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- envs
Sequence[App
Template Container Env] - One or more
env
blocks as detailed below. - ephemeral_
storage str The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- liveness_
probes Sequence[AppTemplate Container Liveness Probe] - A
liveness_probe
block as detailed below. - readiness_
probes Sequence[AppTemplate Container Readiness Probe] - A
readiness_probe
block as detailed below. - startup_
probes Sequence[AppTemplate Container Startup Probe] - A
startup_probe
block as detailed below. - volume_
mounts Sequence[AppTemplate Container Volume Mount] - A
volume_mounts
block as detailed below.
- cpu Number
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- image String
- The image to use to create the container.
- memory String
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- name String
- The name of the container
- args List<String>
- A list of extra arguments to pass to the container.
- commands List<String>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- envs List<Property Map>
- One or more
env
blocks as detailed below. - ephemeral
Storage String The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- liveness
Probes List<Property Map> - A
liveness_probe
block as detailed below. - readiness
Probes List<Property Map> - A
readiness_probe
block as detailed below. - startup
Probes List<Property Map> - A
startup_probe
block as detailed below. - volume
Mounts List<Property Map> - A
volume_mounts
block as detailed below.
AppTemplateContainerEnv, AppTemplateContainerEnvArgs
- Name string
- The name of the environment variable for the container.
- Secret
Name string - The name of the secret that contains the value for this environment variable.
- Value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- Name string
- The name of the environment variable for the container.
- Secret
Name string - The name of the secret that contains the value for this environment variable.
- Value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name String
- The name of the environment variable for the container.
- secret
Name String - The name of the secret that contains the value for this environment variable.
- value String
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name string
- The name of the environment variable for the container.
- secret
Name string - The name of the secret that contains the value for this environment variable.
- value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name str
- The name of the environment variable for the container.
- secret_
name str - The name of the secret that contains the value for this environment variable.
- value str
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name String
- The name of the environment variable for the container.
- secret
Name String - The name of the secret that contains the value for this environment variable.
- value String
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
AppTemplateContainerLivenessProbe, AppTemplateContainerLivenessProbeArgs
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
List<App
Template Container Liveness Probe Header> - A
header
block as detailed below. - Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Initial
Delay int - The time in seconds to wait after the container has started before the probe is started.
- Interval
Seconds int - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - Path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - Termination
Grace intPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
[]App
Template Container Liveness Probe Header - A
header
block as detailed below. - Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Initial
Delay int - The time in seconds to wait after the container has started before the probe is started.
- Interval
Seconds int - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - Path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - Termination
Grace intPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Integer
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count IntegerThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
List<App
Template Container Liveness Probe Header> - A
header
block as detailed below. - host String
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - initial
Delay Integer - The time in seconds to wait after the container has started before the probe is started.
- interval
Seconds Integer - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - path String
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace IntegerPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout Integer
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port number
- The port number on which to connect. Possible values are between
1
and65535
. - transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count numberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
App
Template Container Liveness Probe Header[] - A
header
block as detailed below. - host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - initial
Delay number - The time in seconds to wait after the container has started before the probe is started.
- interval
Seconds number - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace numberPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port int
- The port number on which to connect. Possible values are between
1
and65535
. - transport str
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure_
count_ intthreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
Sequence[App
Template Container Liveness Probe Header] - A
header
block as detailed below. - host str
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - initial_
delay int - The time in seconds to wait after the container has started before the probe is started.
- interval_
seconds int - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - path str
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination_
grace_ intperiod_ seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Number
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count NumberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers List<Property Map>
- A
header
block as detailed below. - host String
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - initial
Delay Number - The time in seconds to wait after the container has started before the probe is started.
- interval
Seconds Number - How often, in seconds, the probe should run. Possible values are in the range
1
-240
. Defaults to10
. - path String
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace NumberPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout Number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
AppTemplateContainerLivenessProbeHeader, AppTemplateContainerLivenessProbeHeaderArgs
AppTemplateContainerReadinessProbe, AppTemplateContainerReadinessProbeArgs
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
List<App
Template Container Readiness Probe Header> - A
header
block as detailed below. - Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Interval
Seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- Path string
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - Success
Count intThreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
[]App
Template Container Readiness Probe Header - A
header
block as detailed below. - Host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Interval
Seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- Path string
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - Success
Count intThreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Integer
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count IntegerThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
List<App
Template Container Readiness Probe Header> - A
header
block as detailed below. - host String
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds Integer - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path String
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - success
Count IntegerThreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - timeout Integer
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port number
- The port number on which to connect. Possible values are between
1
and65535
. - transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count numberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
App
Template Container Readiness Probe Header[] - A
header
block as detailed below. - host string
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds number - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path string
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - success
Count numberThreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - timeout number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port int
- The port number on which to connect. Possible values are between
1
and65535
. - transport str
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure_
count_ intthreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
Sequence[App
Template Container Readiness Probe Header] - A
header
block as detailed below. - host str
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval_
seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path str
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - success_
count_ intthreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Number
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count NumberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers List<Property Map>
- A
header
block as detailed below. - host String
- The probe hostname. Defaults to the pod IP address. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds Number - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path String
- The URI to use for http type probes. Not valid for
TCP
type probes. Defaults to/
. - success
Count NumberThreshold - The number of consecutive successful responses required to consider this probe as successful. Possible values are between
1
and10
. Defaults to3
. - timeout Number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
AppTemplateContainerReadinessProbeHeader, AppTemplateContainerReadinessProbeHeaderArgs
AppTemplateContainerStartupProbe, AppTemplateContainerStartupProbeArgs
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
List<App
Template Container Startup Probe Header> - A
header
block as detailed below. - Host string
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Interval
Seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- Path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - Termination
Grace intPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- Port int
- The port number on which to connect. Possible values are between
1
and65535
. - Transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - Failure
Count intThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - Headers
[]App
Template Container Startup Probe Header - A
header
block as detailed below. - Host string
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - Interval
Seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- Path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - Termination
Grace intPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- Timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Integer
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count IntegerThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
List<App
Template Container Startup Probe Header> - A
header
block as detailed below. - host String
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds Integer - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path String
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace IntegerPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout Integer
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port number
- The port number on which to connect. Possible values are between
1
and65535
. - transport string
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count numberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
App
Template Container Startup Probe Header[] - A
header
block as detailed below. - host string
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds number - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path string
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace numberPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port int
- The port number on which to connect. Possible values are between
1
and65535
. - transport str
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure_
count_ intthreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers
Sequence[App
Template Container Startup Probe Header] - A
header
block as detailed below. - host str
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval_
seconds int - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path str
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination_
grace_ intperiod_ seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout int
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
- port Number
- The port number on which to connect. Possible values are between
1
and65535
. - transport String
- Type of probe. Possible values are
TCP
,HTTP
, andHTTPS
. - failure
Count NumberThreshold - The number of consecutive failures required to consider this probe as failed. Possible values are between
1
and10
. Defaults to3
. - headers List<Property Map>
- A
header
block as detailed below. - host String
- The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for
Host
inheaders
can be used to override this forHTTP
andHTTPS
type probes. - interval
Seconds Number - How often, in seconds, the probe should run. Possible values are between
1
and240
. Defaults to10
- path String
- The URI to use with the
host
for http type probes. Not valid forTCP
type probes. Defaults to/
. - termination
Grace NumberPeriod Seconds - The time in seconds after the container is sent the termination signal before the process if forcibly killed.
- timeout Number
- Time in seconds after which the probe times out. Possible values are in the range
1
-240
. Defaults to1
.
AppTemplateContainerStartupProbeHeader, AppTemplateContainerStartupProbeHeaderArgs
AppTemplateContainerVolumeMount, AppTemplateContainerVolumeMountArgs
AppTemplateCustomScaleRule, AppTemplateCustomScaleRuleArgs
- Custom
Rule stringType - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - Metadata Dictionary<string, string>
- A map of string key-value pairs to configure the Custom Scale Rule.
- Name string
- The name of the Scaling Rule
- Authentications
List<App
Template Custom Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- Custom
Rule stringType - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - Metadata map[string]string
- A map of string key-value pairs to configure the Custom Scale Rule.
- Name string
- The name of the Scaling Rule
- Authentications
[]App
Template Custom Scale Rule Authentication - Zero or more
authentication
blocks as defined below.
- custom
Rule StringType - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - metadata Map<String,String>
- A map of string key-value pairs to configure the Custom Scale Rule.
- name String
- The name of the Scaling Rule
- authentications
List<App
Template Custom Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- custom
Rule stringType - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - metadata {[key: string]: string}
- A map of string key-value pairs to configure the Custom Scale Rule.
- name string
- The name of the Scaling Rule
- authentications
App
Template Custom Scale Rule Authentication[] - Zero or more
authentication
blocks as defined below.
- custom_
rule_ strtype - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - metadata Mapping[str, str]
- A map of string key-value pairs to configure the Custom Scale Rule.
- name str
- The name of the Scaling Rule
- authentications
Sequence[App
Template Custom Scale Rule Authentication] - Zero or more
authentication
blocks as defined below.
- custom
Rule StringType - The Custom rule type. Possible values include:
activemq
,artemis-queue
,kafka
,pulsar
,aws-cloudwatch
,aws-dynamodb
,aws-dynamodb-streams
,aws-kinesis-stream
,aws-sqs-queue
,azure-app-insights
,azure-blob
,azure-data-explorer
,azure-eventhub
,azure-log-analytics
,azure-monitor
,azure-pipelines
,azure-servicebus
,azure-queue
,cassandra
,cpu
,cron
,datadog
,elasticsearch
,external
,external-push
,gcp-stackdriver
,gcp-storage
,gcp-pubsub
,graphite
,http
,huawei-cloudeye
,ibmmq
,influxdb
,kubernetes-workload
,liiklus
,memory
,metrics-api
,mongodb
,mssql
,mysql
,nats-jetstream
,stan
,tcp
,new-relic
,openstack-metric
,openstack-swift
,postgresql
,predictkube
,prometheus
,rabbitmq
,redis
,redis-cluster
,redis-sentinel
,redis-streams
,redis-cluster-streams
,redis-sentinel-streams
,selenium-grid
,solace-event-queue
, andgithub-runner
. - metadata Map<String>
- A map of string key-value pairs to configure the Custom Scale Rule.
- name String
- The name of the Scaling Rule
- authentications List<Property Map>
- Zero or more
authentication
blocks as defined below.
AppTemplateCustomScaleRuleAuthentication, AppTemplateCustomScaleRuleAuthenticationArgs
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret_
name str - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger_
parameter str - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
AppTemplateHttpScaleRule, AppTemplateHttpScaleRuleArgs
- Concurrent
Requests string - The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
List<App
Template Http Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- Concurrent
Requests string - The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
[]App
Template Http Scale Rule Authentication - Zero or more
authentication
blocks as defined below.
- concurrent
Requests String - The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications
List<App
Template Http Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- concurrent
Requests string - The number of concurrent requests to trigger scaling.
- name string
- The name of the Scaling Rule
- authentications
App
Template Http Scale Rule Authentication[] - Zero or more
authentication
blocks as defined below.
- concurrent_
requests str - The number of concurrent requests to trigger scaling.
- name str
- The name of the Scaling Rule
- authentications
Sequence[App
Template Http Scale Rule Authentication] - Zero or more
authentication
blocks as defined below.
- concurrent
Requests String - The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications List<Property Map>
- Zero or more
authentication
blocks as defined below.
AppTemplateHttpScaleRuleAuthentication, AppTemplateHttpScaleRuleAuthenticationArgs
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret_
name str - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger_
parameter str - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
AppTemplateInitContainer, AppTemplateInitContainerArgs
- Image string
- The image to use to create the container.
- Name string
- The name of the container
- Args List<string>
- A list of extra arguments to pass to the container.
- Commands List<string>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- Cpu double
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- Envs
List<App
Template Init Container Env> - One or more
env
blocks as detailed below. - Ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- Memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- Volume
Mounts List<AppTemplate Init Container Volume Mount> - A
volume_mounts
block as detailed below.
- Image string
- The image to use to create the container.
- Name string
- The name of the container
- Args []string
- A list of extra arguments to pass to the container.
- Commands []string
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- Cpu float64
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- Envs
[]App
Template Init Container Env - One or more
env
blocks as detailed below. - Ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- Memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- Volume
Mounts []AppTemplate Init Container Volume Mount - A
volume_mounts
block as detailed below.
- image String
- The image to use to create the container.
- name String
- The name of the container
- args List<String>
- A list of extra arguments to pass to the container.
- commands List<String>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- cpu Double
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- envs
List<App
Template Init Container Env> - One or more
env
blocks as detailed below. - ephemeral
Storage String The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- memory String
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- volume
Mounts List<AppTemplate Init Container Volume Mount> - A
volume_mounts
block as detailed below.
- image string
- The image to use to create the container.
- name string
- The name of the container
- args string[]
- A list of extra arguments to pass to the container.
- commands string[]
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- cpu number
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- envs
App
Template Init Container Env[] - One or more
env
blocks as detailed below. - ephemeral
Storage string The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- memory string
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- volume
Mounts AppTemplate Init Container Volume Mount[] - A
volume_mounts
block as detailed below.
- image str
- The image to use to create the container.
- name str
- The name of the container
- args Sequence[str]
- A list of extra arguments to pass to the container.
- commands Sequence[str]
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- cpu float
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- envs
Sequence[App
Template Init Container Env] - One or more
env
blocks as detailed below. - ephemeral_
storage str The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- memory str
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- volume_
mounts Sequence[AppTemplate Init Container Volume Mount] - A
volume_mounts
block as detailed below.
- image String
- The image to use to create the container.
- name String
- The name of the container
- args List<String>
- A list of extra arguments to pass to the container.
- commands List<String>
- A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
- cpu Number
The amount of vCPU to allocate to the container. Possible values include
0.25
,0.5
,0.75
,1.0
,1.25
,1.5
,1.75
, and2.0
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.0
/2.0
or0.5
/1.0
- envs List<Property Map>
- One or more
env
blocks as detailed below. - ephemeral
Storage String The amount of ephemeral storage available to the Container App.
NOTE:
ephemeral_storage
is currently in preview and not configurable at this time.- memory String
The amount of memory to allocate to the container. Possible values are
0.5Gi
,1Gi
,1.5Gi
,2Gi
,2.5Gi
,3Gi
,3.5Gi
and4Gi
. When there's a workload profile specified, there's no such constraint.NOTE:
cpu
andmemory
must be specified in0.25'/'0.5Gi
combination increments. e.g.1.25
/2.5Gi
or0.75
/1.5Gi
- volume
Mounts List<Property Map> - A
volume_mounts
block as detailed below.
AppTemplateInitContainerEnv, AppTemplateInitContainerEnvArgs
- Name string
- The name of the environment variable for the container.
- Secret
Name string - The name of the secret that contains the value for this environment variable.
- Value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- Name string
- The name of the environment variable for the container.
- Secret
Name string - The name of the secret that contains the value for this environment variable.
- Value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name String
- The name of the environment variable for the container.
- secret
Name String - The name of the secret that contains the value for this environment variable.
- value String
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name string
- The name of the environment variable for the container.
- secret
Name string - The name of the secret that contains the value for this environment variable.
- value string
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name str
- The name of the environment variable for the container.
- secret_
name str - The name of the secret that contains the value for this environment variable.
- value str
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
- name String
- The name of the environment variable for the container.
- secret
Name String - The name of the secret that contains the value for this environment variable.
- value String
The value for this environment variable.
NOTE: This value is ignored if
secret_name
is used
AppTemplateInitContainerVolumeMount, AppTemplateInitContainerVolumeMountArgs
AppTemplateTcpScaleRule, AppTemplateTcpScaleRuleArgs
- Concurrent
Requests string - The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
List<App
Template Tcp Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- Concurrent
Requests string - The number of concurrent requests to trigger scaling.
- Name string
- The name of the Scaling Rule
- Authentications
[]App
Template Tcp Scale Rule Authentication - Zero or more
authentication
blocks as defined below.
- concurrent
Requests String - The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications
List<App
Template Tcp Scale Rule Authentication> - Zero or more
authentication
blocks as defined below.
- concurrent
Requests string - The number of concurrent requests to trigger scaling.
- name string
- The name of the Scaling Rule
- authentications
App
Template Tcp Scale Rule Authentication[] - Zero or more
authentication
blocks as defined below.
- concurrent_
requests str - The number of concurrent requests to trigger scaling.
- name str
- The name of the Scaling Rule
- authentications
Sequence[App
Template Tcp Scale Rule Authentication] - Zero or more
authentication
blocks as defined below.
- concurrent
Requests String - The number of concurrent requests to trigger scaling.
- name String
- The name of the Scaling Rule
- authentications List<Property Map>
- Zero or more
authentication
blocks as defined below.
AppTemplateTcpScaleRuleAuthentication, AppTemplateTcpScaleRuleAuthenticationArgs
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- Secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- Trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name string - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter string - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret_
name str - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger_
parameter str - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
- secret
Name String - The name of the Container App Secret to use for this Scale Rule Authentication.
- trigger
Parameter String - The Trigger Parameter name to use the supply the value retrieved from the
secret_name
.
AppTemplateVolume, AppTemplateVolumeArgs
- Name string
- The name of the volume.
- Storage
Name string - The name of the
AzureFile
storage. - Storage
Type string - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
- Name string
- The name of the volume.
- Storage
Name string - The name of the
AzureFile
storage. - Storage
Type string - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
- name String
- The name of the volume.
- storage
Name String - The name of the
AzureFile
storage. - storage
Type String - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
- name string
- The name of the volume.
- storage
Name string - The name of the
AzureFile
storage. - storage
Type string - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
- name str
- The name of the volume.
- storage_
name str - The name of the
AzureFile
storage. - storage_
type str - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
- name String
- The name of the volume.
- storage
Name String - The name of the
AzureFile
storage. - storage
Type String - The type of storage volume. Possible values are
AzureFile
,EmptyDir
andSecret
. Defaults toEmptyDir
.
Import
A Container App can be imported using the resource id
, e.g.
$ pulumi import azure:containerapp/app:App example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/containerApps/myContainerApp"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.