1. Packages
  2. Azure Native v2
  3. API Docs
  4. containerinstance
  5. ContainerGroup
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.containerinstance.ContainerGroup

Explore with Pulumi AI

A container group. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2021-03-01.

Other available API versions: 2021-03-01, 2021-07-01, 2023-02-01-preview, 2024-05-01-preview, 2024-09-01-preview, 2024-10-01-preview, 2024-11-01-preview.

Example Usage

ConfidentialContainerGroup

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var containerGroup = new AzureNative.ContainerInstance.ContainerGroup("containerGroup", new()
    {
        ConfidentialComputeProperties = new AzureNative.ContainerInstance.Inputs.ConfidentialComputePropertiesArgs
        {
            CcePolicy = "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
        },
        ContainerGroupName = "demo1",
        Containers = new[]
        {
            new AzureNative.ContainerInstance.Inputs.ContainerArgs
            {
                Command = new() { },
                EnvironmentVariables = new() { },
                Image = "confiimage",
                Name = "accdemo",
                Ports = new[]
                {
                    new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
                    {
                        Port = 8000,
                    },
                },
                Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
                {
                    Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
                    {
                        Cpu = 1,
                        MemoryInGB = 1.5,
                    },
                },
                SecurityContext = new AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionArgs
                {
                    Capabilities = new AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionArgs
                    {
                        Add = new[]
                        {
                            "CAP_NET_ADMIN",
                        },
                    },
                    Privileged = false,
                },
            },
        },
        ImageRegistryCredentials = new[] {},
        IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
        {
            Ports = new[]
            {
                new AzureNative.ContainerInstance.Inputs.PortArgs
                {
                    Port = 8000,
                    Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
                },
            },
            Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Public,
        },
        Location = "westeurope",
        OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
        ResourceGroupName = "demo",
        Sku = AzureNative.ContainerInstance.ContainerGroupSku.Confidential,
    });

});
Copy
package main

import (
	containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerinstance.NewContainerGroup(ctx, "containerGroup", &containerinstance.ContainerGroupArgs{
			ConfidentialComputeProperties: &containerinstance.ConfidentialComputePropertiesArgs{
				CcePolicy: pulumi.String("eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"),
			},
			ContainerGroupName: pulumi.String("demo1"),
			Containers: containerinstance.ContainerArray{
				&containerinstance.ContainerArgs{
					Command:              pulumi.StringArray{},
					EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
					Image:                pulumi.String("confiimage"),
					Name:                 pulumi.String("accdemo"),
					Ports: containerinstance.ContainerPortArray{
						&containerinstance.ContainerPortArgs{
							Port: pulumi.Int(8000),
						},
					},
					Resources: &containerinstance.ResourceRequirementsArgs{
						Requests: &containerinstance.ResourceRequestsArgs{
							Cpu:        pulumi.Float64(1),
							MemoryInGB: pulumi.Float64(1.5),
						},
					},
					SecurityContext: &containerinstance.SecurityContextDefinitionArgs{
						Capabilities: &containerinstance.SecurityContextCapabilitiesDefinitionArgs{
							Add: pulumi.StringArray{
								pulumi.String("CAP_NET_ADMIN"),
							},
						},
						Privileged: pulumi.Bool(false),
					},
				},
			},
			ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
			IpAddress: &containerinstance.IpAddressArgs{
				Ports: containerinstance.PortArray{
					&containerinstance.PortArgs{
						Port:     pulumi.Int(8000),
						Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
					},
				},
				Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePublic),
			},
			Location:          pulumi.String("westeurope"),
			OsType:            pulumi.String(containerinstance.OperatingSystemTypesLinux),
			ResourceGroupName: pulumi.String("demo"),
			Sku:               pulumi.String(containerinstance.ContainerGroupSkuConfidential),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerinstance.ContainerGroup;
import com.pulumi.azurenative.containerinstance.ContainerGroupArgs;
import com.pulumi.azurenative.containerinstance.inputs.ConfidentialComputePropertiesArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.SecurityContextDefinitionArgs;
import com.pulumi.azurenative.containerinstance.inputs.SecurityContextCapabilitiesDefinitionArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
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 containerGroup = new ContainerGroup("containerGroup", ContainerGroupArgs.builder()
            .confidentialComputeProperties(ConfidentialComputePropertiesArgs.builder()
                .ccePolicy("eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19")
                .build())
            .containerGroupName("demo1")
            .containers(ContainerArgs.builder()
                .command()
                .environmentVariables()
                .image("confiimage")
                .name("accdemo")
                .ports(ContainerPortArgs.builder()
                    .port(8000)
                    .build())
                .resources(ResourceRequirementsArgs.builder()
                    .requests(ResourceRequestsArgs.builder()
                        .cpu(1)
                        .memoryInGB(1.5)
                        .build())
                    .build())
                .securityContext(SecurityContextDefinitionArgs.builder()
                    .capabilities(SecurityContextCapabilitiesDefinitionArgs.builder()
                        .add("CAP_NET_ADMIN")
                        .build())
                    .privileged(false)
                    .build())
                .build())
            .imageRegistryCredentials()
            .ipAddress(IpAddressArgs.builder()
                .ports(PortArgs.builder()
                    .port(8000)
                    .protocol("TCP")
                    .build())
                .type("Public")
                .build())
            .location("westeurope")
            .osType("Linux")
            .resourceGroupName("demo")
            .sku("Confidential")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const containerGroup = new azure_native.containerinstance.ContainerGroup("containerGroup", {
    confidentialComputeProperties: {
        ccePolicy: "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
    },
    containerGroupName: "demo1",
    containers: [{
        command: [],
        environmentVariables: [],
        image: "confiimage",
        name: "accdemo",
        ports: [{
            port: 8000,
        }],
        resources: {
            requests: {
                cpu: 1,
                memoryInGB: 1.5,
            },
        },
        securityContext: {
            capabilities: {
                add: ["CAP_NET_ADMIN"],
            },
            privileged: false,
        },
    }],
    imageRegistryCredentials: [],
    ipAddress: {
        ports: [{
            port: 8000,
            protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
        }],
        type: azure_native.containerinstance.ContainerGroupIpAddressType.Public,
    },
    location: "westeurope",
    osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
    resourceGroupName: "demo",
    sku: azure_native.containerinstance.ContainerGroupSku.Confidential,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

container_group = azure_native.containerinstance.ContainerGroup("containerGroup",
    confidential_compute_properties={
        "cce_policy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
    },
    container_group_name="demo1",
    containers=[{
        "command": [],
        "environment_variables": [],
        "image": "confiimage",
        "name": "accdemo",
        "ports": [{
            "port": 8000,
        }],
        "resources": {
            "requests": {
                "cpu": 1,
                "memory_in_gb": 1.5,
            },
        },
        "security_context": {
            "capabilities": {
                "add": ["CAP_NET_ADMIN"],
            },
            "privileged": False,
        },
    }],
    image_registry_credentials=[],
    ip_address={
        "ports": [{
            "port": 8000,
            "protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
        }],
        "type": azure_native.containerinstance.ContainerGroupIpAddressType.PUBLIC,
    },
    location="westeurope",
    os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
    resource_group_name="demo",
    sku=azure_native.containerinstance.ContainerGroupSku.CONFIDENTIAL)
Copy
resources:
  containerGroup:
    type: azure-native:containerinstance:ContainerGroup
    properties:
      confidentialComputeProperties:
        ccePolicy: eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19
      containerGroupName: demo1
      containers:
        - command: []
          environmentVariables: []
          image: confiimage
          name: accdemo
          ports:
            - port: 8000
          resources:
            requests:
              cpu: 1
              memoryInGB: 1.5
          securityContext:
            capabilities:
              add:
                - CAP_NET_ADMIN
            privileged: false
      imageRegistryCredentials: []
      ipAddress:
        ports:
          - port: 8000
            protocol: TCP
        type: Public
      location: westeurope
      osType: Linux
      resourceGroupName: demo
      sku: Confidential
Copy

ContainerGroupCreateWithExtensions

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var containerGroup = new AzureNative.ContainerInstance.ContainerGroup("containerGroup", new()
    {
        ContainerGroupName = "demo1",
        Containers = new[]
        {
            new AzureNative.ContainerInstance.Inputs.ContainerArgs
            {
                Command = new() { },
                EnvironmentVariables = new() { },
                Image = "nginx",
                Name = "demo1",
                Ports = new[]
                {
                    new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
                    {
                        Port = 80,
                    },
                },
                Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
                {
                    Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
                    {
                        Cpu = 1,
                        MemoryInGB = 1.5,
                    },
                },
            },
        },
        Extensions = new[]
        {
            new AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpecArgs
            {
                ExtensionType = "kube-proxy",
                Name = "kube-proxy",
                ProtectedSettings = new Dictionary<string, object?>
                {
                    ["kubeConfig"] = "<kubeconfig encoded string>",
                },
                Settings = new Dictionary<string, object?>
                {
                    ["clusterCidr"] = "10.240.0.0/16",
                    ["kubeVersion"] = "v1.9.10",
                },
                Version = "1.0",
            },
            new AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpecArgs
            {
                ExtensionType = "realtime-metrics",
                Name = "vk-realtime-metrics",
                Version = "1.0",
            },
        },
        ImageRegistryCredentials = new[] {},
        IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
        {
            Ports = new[]
            {
                new AzureNative.ContainerInstance.Inputs.PortArgs
                {
                    Port = 80,
                    Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
                },
            },
            Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Private,
        },
        Location = "eastus2",
        OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
        ResourceGroupName = "demo",
        SubnetIds = new[]
        {
            new AzureNative.ContainerInstance.Inputs.ContainerGroupSubnetIdArgs
            {
                Id = "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet",
            },
        },
    });

});
Copy
package main

import (
	containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerinstance.NewContainerGroup(ctx, "containerGroup", &containerinstance.ContainerGroupArgs{
			ContainerGroupName: pulumi.String("demo1"),
			Containers: containerinstance.ContainerArray{
				&containerinstance.ContainerArgs{
					Command:              pulumi.StringArray{},
					EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
					Image:                pulumi.String("nginx"),
					Name:                 pulumi.String("demo1"),
					Ports: containerinstance.ContainerPortArray{
						&containerinstance.ContainerPortArgs{
							Port: pulumi.Int(80),
						},
					},
					Resources: &containerinstance.ResourceRequirementsArgs{
						Requests: &containerinstance.ResourceRequestsArgs{
							Cpu:        pulumi.Float64(1),
							MemoryInGB: pulumi.Float64(1.5),
						},
					},
				},
			},
			Extensions: containerinstance.DeploymentExtensionSpecArray{
				&containerinstance.DeploymentExtensionSpecArgs{
					ExtensionType: pulumi.String("kube-proxy"),
					Name:          pulumi.String("kube-proxy"),
					ProtectedSettings: pulumi.Any(map[string]interface{}{
						"kubeConfig": "<kubeconfig encoded string>",
					}),
					Settings: pulumi.Any(map[string]interface{}{
						"clusterCidr": "10.240.0.0/16",
						"kubeVersion": "v1.9.10",
					}),
					Version: pulumi.String("1.0"),
				},
				&containerinstance.DeploymentExtensionSpecArgs{
					ExtensionType: pulumi.String("realtime-metrics"),
					Name:          pulumi.String("vk-realtime-metrics"),
					Version:       pulumi.String("1.0"),
				},
			},
			ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
			IpAddress: &containerinstance.IpAddressArgs{
				Ports: containerinstance.PortArray{
					&containerinstance.PortArgs{
						Port:     pulumi.Int(80),
						Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
					},
				},
				Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePrivate),
			},
			Location:          pulumi.String("eastus2"),
			OsType:            pulumi.String(containerinstance.OperatingSystemTypesLinux),
			ResourceGroupName: pulumi.String("demo"),
			SubnetIds: containerinstance.ContainerGroupSubnetIdArray{
				&containerinstance.ContainerGroupSubnetIdArgs{
					Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerinstance.ContainerGroup;
import com.pulumi.azurenative.containerinstance.ContainerGroupArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.DeploymentExtensionSpecArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerGroupSubnetIdArgs;
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 containerGroup = new ContainerGroup("containerGroup", ContainerGroupArgs.builder()
            .containerGroupName("demo1")
            .containers(ContainerArgs.builder()
                .command()
                .environmentVariables()
                .image("nginx")
                .name("demo1")
                .ports(ContainerPortArgs.builder()
                    .port(80)
                    .build())
                .resources(ResourceRequirementsArgs.builder()
                    .requests(ResourceRequestsArgs.builder()
                        .cpu(1)
                        .memoryInGB(1.5)
                        .build())
                    .build())
                .build())
            .extensions(            
                DeploymentExtensionSpecArgs.builder()
                    .extensionType("kube-proxy")
                    .name("kube-proxy")
                    .protectedSettings(Map.of("kubeConfig", "<kubeconfig encoded string>"))
                    .settings(Map.ofEntries(
                        Map.entry("clusterCidr", "10.240.0.0/16"),
                        Map.entry("kubeVersion", "v1.9.10")
                    ))
                    .version("1.0")
                    .build(),
                DeploymentExtensionSpecArgs.builder()
                    .extensionType("realtime-metrics")
                    .name("vk-realtime-metrics")
                    .version("1.0")
                    .build())
            .imageRegistryCredentials()
            .ipAddress(IpAddressArgs.builder()
                .ports(PortArgs.builder()
                    .port(80)
                    .protocol("TCP")
                    .build())
                .type("Private")
                .build())
            .location("eastus2")
            .osType("Linux")
            .resourceGroupName("demo")
            .subnetIds(ContainerGroupSubnetIdArgs.builder()
                .id("/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const containerGroup = new azure_native.containerinstance.ContainerGroup("containerGroup", {
    containerGroupName: "demo1",
    containers: [{
        command: [],
        environmentVariables: [],
        image: "nginx",
        name: "demo1",
        ports: [{
            port: 80,
        }],
        resources: {
            requests: {
                cpu: 1,
                memoryInGB: 1.5,
            },
        },
    }],
    extensions: [
        {
            extensionType: "kube-proxy",
            name: "kube-proxy",
            protectedSettings: {
                kubeConfig: "<kubeconfig encoded string>",
            },
            settings: {
                clusterCidr: "10.240.0.0/16",
                kubeVersion: "v1.9.10",
            },
            version: "1.0",
        },
        {
            extensionType: "realtime-metrics",
            name: "vk-realtime-metrics",
            version: "1.0",
        },
    ],
    imageRegistryCredentials: [],
    ipAddress: {
        ports: [{
            port: 80,
            protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
        }],
        type: azure_native.containerinstance.ContainerGroupIpAddressType.Private,
    },
    location: "eastus2",
    osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
    resourceGroupName: "demo",
    subnetIds: [{
        id: "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet",
    }],
});
Copy
import pulumi
import pulumi_azure_native as azure_native

container_group = azure_native.containerinstance.ContainerGroup("containerGroup",
    container_group_name="demo1",
    containers=[{
        "command": [],
        "environment_variables": [],
        "image": "nginx",
        "name": "demo1",
        "ports": [{
            "port": 80,
        }],
        "resources": {
            "requests": {
                "cpu": 1,
                "memory_in_gb": 1.5,
            },
        },
    }],
    extensions=[
        {
            "extension_type": "kube-proxy",
            "name": "kube-proxy",
            "protected_settings": {
                "kubeConfig": "<kubeconfig encoded string>",
            },
            "settings": {
                "clusterCidr": "10.240.0.0/16",
                "kubeVersion": "v1.9.10",
            },
            "version": "1.0",
        },
        {
            "extension_type": "realtime-metrics",
            "name": "vk-realtime-metrics",
            "version": "1.0",
        },
    ],
    image_registry_credentials=[],
    ip_address={
        "ports": [{
            "port": 80,
            "protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
        }],
        "type": azure_native.containerinstance.ContainerGroupIpAddressType.PRIVATE,
    },
    location="eastus2",
    os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
    resource_group_name="demo",
    subnet_ids=[{
        "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet",
    }])
Copy
resources:
  containerGroup:
    type: azure-native:containerinstance:ContainerGroup
    properties:
      containerGroupName: demo1
      containers:
        - command: []
          environmentVariables: []
          image: nginx
          name: demo1
          ports:
            - port: 80
          resources:
            requests:
              cpu: 1
              memoryInGB: 1.5
      extensions:
        - extensionType: kube-proxy
          name: kube-proxy
          protectedSettings:
            kubeConfig: <kubeconfig encoded string>
          settings:
            clusterCidr: 10.240.0.0/16
            kubeVersion: v1.9.10
          version: '1.0'
        - extensionType: realtime-metrics
          name: vk-realtime-metrics
          version: '1.0'
      imageRegistryCredentials: []
      ipAddress:
        ports:
          - port: 80
            protocol: TCP
        type: Private
      location: eastus2
      osType: Linux
      resourceGroupName: demo
      subnetIds:
        - id: /subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet
Copy

ContainerGroupsCreateWithPriority

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var containerGroup = new AzureNative.ContainerInstance.ContainerGroup("containerGroup", new()
    {
        ContainerGroupName = "demo1",
        Containers = new[]
        {
            new AzureNative.ContainerInstance.Inputs.ContainerArgs
            {
                Command = new[]
                {
                    "/bin/sh",
                    "-c",
                    "sleep 10",
                },
                Image = "alpine:latest",
                Name = "test-container-001",
                Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
                {
                    Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
                    {
                        Cpu = 1,
                        MemoryInGB = 1,
                    },
                },
            },
        },
        Location = "eastus",
        OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
        Priority = AzureNative.ContainerInstance.ContainerGroupPriority.Spot,
        ResourceGroupName = "demo",
        RestartPolicy = AzureNative.ContainerInstance.ContainerGroupRestartPolicy.Never,
        Sku = AzureNative.ContainerInstance.ContainerGroupSku.Standard,
    });

});
Copy
package main

import (
	containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerinstance.NewContainerGroup(ctx, "containerGroup", &containerinstance.ContainerGroupArgs{
			ContainerGroupName: pulumi.String("demo1"),
			Containers: containerinstance.ContainerArray{
				&containerinstance.ContainerArgs{
					Command: pulumi.StringArray{
						pulumi.String("/bin/sh"),
						pulumi.String("-c"),
						pulumi.String("sleep 10"),
					},
					Image: pulumi.String("alpine:latest"),
					Name:  pulumi.String("test-container-001"),
					Resources: &containerinstance.ResourceRequirementsArgs{
						Requests: &containerinstance.ResourceRequestsArgs{
							Cpu:        pulumi.Float64(1),
							MemoryInGB: pulumi.Float64(1),
						},
					},
				},
			},
			Location:          pulumi.String("eastus"),
			OsType:            pulumi.String(containerinstance.OperatingSystemTypesLinux),
			Priority:          pulumi.String(containerinstance.ContainerGroupPrioritySpot),
			ResourceGroupName: pulumi.String("demo"),
			RestartPolicy:     pulumi.String(containerinstance.ContainerGroupRestartPolicyNever),
			Sku:               pulumi.String(containerinstance.ContainerGroupSkuStandard),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerinstance.ContainerGroup;
import com.pulumi.azurenative.containerinstance.ContainerGroupArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
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 containerGroup = new ContainerGroup("containerGroup", ContainerGroupArgs.builder()
            .containerGroupName("demo1")
            .containers(ContainerArgs.builder()
                .command(                
                    "/bin/sh",
                    "-c",
                    "sleep 10")
                .image("alpine:latest")
                .name("test-container-001")
                .resources(ResourceRequirementsArgs.builder()
                    .requests(ResourceRequestsArgs.builder()
                        .cpu(1)
                        .memoryInGB(1)
                        .build())
                    .build())
                .build())
            .location("eastus")
            .osType("Linux")
            .priority("Spot")
            .resourceGroupName("demo")
            .restartPolicy("Never")
            .sku("Standard")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const containerGroup = new azure_native.containerinstance.ContainerGroup("containerGroup", {
    containerGroupName: "demo1",
    containers: [{
        command: [
            "/bin/sh",
            "-c",
            "sleep 10",
        ],
        image: "alpine:latest",
        name: "test-container-001",
        resources: {
            requests: {
                cpu: 1,
                memoryInGB: 1,
            },
        },
    }],
    location: "eastus",
    osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
    priority: azure_native.containerinstance.ContainerGroupPriority.Spot,
    resourceGroupName: "demo",
    restartPolicy: azure_native.containerinstance.ContainerGroupRestartPolicy.Never,
    sku: azure_native.containerinstance.ContainerGroupSku.Standard,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

container_group = azure_native.containerinstance.ContainerGroup("containerGroup",
    container_group_name="demo1",
    containers=[{
        "command": [
            "/bin/sh",
            "-c",
            "sleep 10",
        ],
        "image": "alpine:latest",
        "name": "test-container-001",
        "resources": {
            "requests": {
                "cpu": 1,
                "memory_in_gb": 1,
            },
        },
    }],
    location="eastus",
    os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
    priority=azure_native.containerinstance.ContainerGroupPriority.SPOT,
    resource_group_name="demo",
    restart_policy=azure_native.containerinstance.ContainerGroupRestartPolicy.NEVER,
    sku=azure_native.containerinstance.ContainerGroupSku.STANDARD)
Copy
resources:
  containerGroup:
    type: azure-native:containerinstance:ContainerGroup
    properties:
      containerGroupName: demo1
      containers:
        - command:
            - /bin/sh
            - -c
            - sleep 10
          image: alpine:latest
          name: test-container-001
          resources:
            requests:
              cpu: 1
              memoryInGB: 1
      location: eastus
      osType: Linux
      priority: Spot
      resourceGroupName: demo
      restartPolicy: Never
      sku: Standard
Copy

Create ContainerGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ContainerGroup(name: string, args: ContainerGroupArgs, opts?: CustomResourceOptions);
@overload
def ContainerGroup(resource_name: str,
                   args: ContainerGroupArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def ContainerGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   os_type: Optional[Union[str, OperatingSystemTypes]] = None,
                   resource_group_name: Optional[str] = None,
                   containers: Optional[Sequence[ContainerArgs]] = None,
                   ip_address: Optional[IpAddressArgs] = None,
                   diagnostics: Optional[ContainerGroupDiagnosticsArgs] = None,
                   encryption_properties: Optional[EncryptionPropertiesArgs] = None,
                   extensions: Optional[Sequence[DeploymentExtensionSpecArgs]] = None,
                   identity: Optional[ContainerGroupIdentityArgs] = None,
                   image_registry_credentials: Optional[Sequence[ImageRegistryCredentialArgs]] = None,
                   init_containers: Optional[Sequence[InitContainerDefinitionArgs]] = None,
                   confidential_compute_properties: Optional[ConfidentialComputePropertiesArgs] = None,
                   location: Optional[str] = None,
                   dns_config: Optional[DnsConfigurationArgs] = None,
                   priority: Optional[Union[str, ContainerGroupPriority]] = None,
                   container_group_name: Optional[str] = None,
                   restart_policy: Optional[Union[str, ContainerGroupRestartPolicy]] = None,
                   sku: Optional[Union[str, ContainerGroupSku]] = None,
                   subnet_ids: Optional[Sequence[ContainerGroupSubnetIdArgs]] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   volumes: Optional[Sequence[VolumeArgs]] = None,
                   zones: Optional[Sequence[str]] = None)
func NewContainerGroup(ctx *Context, name string, args ContainerGroupArgs, opts ...ResourceOption) (*ContainerGroup, error)
public ContainerGroup(string name, ContainerGroupArgs args, CustomResourceOptions? opts = null)
public ContainerGroup(String name, ContainerGroupArgs args)
public ContainerGroup(String name, ContainerGroupArgs args, CustomResourceOptions options)
type: azure-native:containerinstance:ContainerGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ContainerGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ContainerGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ContainerGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ContainerGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ContainerGroupArgs
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 containerGroupResource = new AzureNative.Containerinstance.ContainerGroup("containerGroupResource", new()
{
    OsType = "string",
    ResourceGroupName = "string",
    Containers = new[]
    {
        
        {
            { "name", "string" },
            { "command", new[]
            {
                "string",
            } },
            { "configMap", 
            {
                { "keyValuePairs", 
                {
                    { "string", "string" },
                } },
            } },
            { "environmentVariables", new[]
            {
                
                {
                    { "name", "string" },
                    { "secureValue", "string" },
                    { "secureValueReference", "string" },
                    { "value", "string" },
                },
            } },
            { "image", "string" },
            { "livenessProbe", 
            {
                { "exec", 
                {
                    { "command", new[]
                    {
                        "string",
                    } },
                } },
                { "failureThreshold", 0 },
                { "httpGet", 
                {
                    { "port", 0 },
                    { "httpHeaders", new[]
                    {
                        
                        {
                            { "name", "string" },
                            { "value", "string" },
                        },
                    } },
                    { "path", "string" },
                    { "scheme", "string" },
                } },
                { "initialDelaySeconds", 0 },
                { "periodSeconds", 0 },
                { "successThreshold", 0 },
                { "timeoutSeconds", 0 },
            } },
            { "ports", new[]
            {
                
                {
                    { "port", 0 },
                    { "protocol", "string" },
                },
            } },
            { "readinessProbe", 
            {
                { "exec", 
                {
                    { "command", new[]
                    {
                        "string",
                    } },
                } },
                { "failureThreshold", 0 },
                { "httpGet", 
                {
                    { "port", 0 },
                    { "httpHeaders", new[]
                    {
                        
                        {
                            { "name", "string" },
                            { "value", "string" },
                        },
                    } },
                    { "path", "string" },
                    { "scheme", "string" },
                } },
                { "initialDelaySeconds", 0 },
                { "periodSeconds", 0 },
                { "successThreshold", 0 },
                { "timeoutSeconds", 0 },
            } },
            { "resources", 
            {
                { "requests", 
                {
                    { "cpu", 0 },
                    { "memoryInGB", 0 },
                    { "gpu", 
                    {
                        { "count", 0 },
                        { "sku", "string" },
                    } },
                } },
                { "limits", 
                {
                    { "cpu", 0 },
                    { "gpu", 
                    {
                        { "count", 0 },
                        { "sku", "string" },
                    } },
                    { "memoryInGB", 0 },
                } },
            } },
            { "securityContext", 
            {
                { "allowPrivilegeEscalation", false },
                { "capabilities", 
                {
                    { "add", new[]
                    {
                        "string",
                    } },
                    { "drop", new[]
                    {
                        "string",
                    } },
                } },
                { "privileged", false },
                { "runAsGroup", 0 },
                { "runAsUser", 0 },
                { "seccompProfile", "string" },
            } },
            { "volumeMounts", new[]
            {
                
                {
                    { "mountPath", "string" },
                    { "name", "string" },
                    { "readOnly", false },
                },
            } },
        },
    },
    IpAddress = 
    {
        { "ports", new[]
        {
            
            {
                { "port", 0 },
                { "protocol", "string" },
            },
        } },
        { "type", "string" },
        { "autoGeneratedDomainNameLabelScope", "string" },
        { "dnsNameLabel", "string" },
        { "ip", "string" },
    },
    Diagnostics = 
    {
        { "logAnalytics", 
        {
            { "workspaceId", "string" },
            { "workspaceKey", "string" },
            { "logType", "string" },
            { "metadata", 
            {
                { "string", "string" },
            } },
            { "workspaceResourceId", "string" },
        } },
    },
    EncryptionProperties = 
    {
        { "keyName", "string" },
        { "keyVersion", "string" },
        { "vaultBaseUrl", "string" },
        { "identity", "string" },
    },
    Extensions = new[]
    {
        
        {
            { "extensionType", "string" },
            { "name", "string" },
            { "version", "string" },
            { "protectedSettings", "any" },
            { "settings", "any" },
        },
    },
    Identity = 
    {
        { "type", "SystemAssigned" },
        { "userAssignedIdentities", new[]
        {
            "string",
        } },
    },
    ImageRegistryCredentials = new[]
    {
        
        {
            { "server", "string" },
            { "identity", "string" },
            { "identityUrl", "string" },
            { "password", "string" },
            { "passwordReference", "string" },
            { "username", "string" },
        },
    },
    InitContainers = new[]
    {
        
        {
            { "name", "string" },
            { "command", new[]
            {
                "string",
            } },
            { "environmentVariables", new[]
            {
                
                {
                    { "name", "string" },
                    { "secureValue", "string" },
                    { "secureValueReference", "string" },
                    { "value", "string" },
                },
            } },
            { "image", "string" },
            { "securityContext", 
            {
                { "allowPrivilegeEscalation", false },
                { "capabilities", 
                {
                    { "add", new[]
                    {
                        "string",
                    } },
                    { "drop", new[]
                    {
                        "string",
                    } },
                } },
                { "privileged", false },
                { "runAsGroup", 0 },
                { "runAsUser", 0 },
                { "seccompProfile", "string" },
            } },
            { "volumeMounts", new[]
            {
                
                {
                    { "mountPath", "string" },
                    { "name", "string" },
                    { "readOnly", false },
                },
            } },
        },
    },
    ConfidentialComputeProperties = 
    {
        { "ccePolicy", "string" },
    },
    Location = "string",
    DnsConfig = 
    {
        { "nameServers", new[]
        {
            "string",
        } },
        { "options", "string" },
        { "searchDomains", "string" },
    },
    Priority = "string",
    ContainerGroupName = "string",
    RestartPolicy = "string",
    Sku = "string",
    SubnetIds = new[]
    {
        
        {
            { "id", "string" },
            { "name", "string" },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Volumes = new[]
    {
        
        {
            { "name", "string" },
            { "azureFile", 
            {
                { "shareName", "string" },
                { "storageAccountName", "string" },
                { "readOnly", false },
                { "storageAccountKey", "string" },
                { "storageAccountKeyReference", "string" },
            } },
            { "emptyDir", "any" },
            { "gitRepo", 
            {
                { "repository", "string" },
                { "directory", "string" },
                { "revision", "string" },
            } },
            { "secret", 
            {
                { "string", "string" },
            } },
            { "secretReference", 
            {
                { "string", "string" },
            } },
        },
    },
    Zones = new[]
    {
        "string",
    },
});
Copy
example, err := containerinstance.NewContainerGroup(ctx, "containerGroupResource", &containerinstance.ContainerGroupArgs{
	OsType:            "string",
	ResourceGroupName: "string",
	Containers: []map[string]interface{}{
		map[string]interface{}{
			"name": "string",
			"command": []string{
				"string",
			},
			"configMap": map[string]interface{}{
				"keyValuePairs": map[string]interface{}{
					"string": "string",
				},
			},
			"environmentVariables": []map[string]interface{}{
				map[string]interface{}{
					"name":                 "string",
					"secureValue":          "string",
					"secureValueReference": "string",
					"value":                "string",
				},
			},
			"image": "string",
			"livenessProbe": map[string]interface{}{
				"exec": map[string]interface{}{
					"command": []string{
						"string",
					},
				},
				"failureThreshold": 0,
				"httpGet": map[string]interface{}{
					"port": 0,
					"httpHeaders": []map[string]interface{}{
						map[string]interface{}{
							"name":  "string",
							"value": "string",
						},
					},
					"path":   "string",
					"scheme": "string",
				},
				"initialDelaySeconds": 0,
				"periodSeconds":       0,
				"successThreshold":    0,
				"timeoutSeconds":      0,
			},
			"ports": []map[string]interface{}{
				map[string]interface{}{
					"port":     0,
					"protocol": "string",
				},
			},
			"readinessProbe": map[string]interface{}{
				"exec": map[string]interface{}{
					"command": []string{
						"string",
					},
				},
				"failureThreshold": 0,
				"httpGet": map[string]interface{}{
					"port": 0,
					"httpHeaders": []map[string]interface{}{
						map[string]interface{}{
							"name":  "string",
							"value": "string",
						},
					},
					"path":   "string",
					"scheme": "string",
				},
				"initialDelaySeconds": 0,
				"periodSeconds":       0,
				"successThreshold":    0,
				"timeoutSeconds":      0,
			},
			"resources": map[string]interface{}{
				"requests": map[string]interface{}{
					"cpu":        0,
					"memoryInGB": 0,
					"gpu": map[string]interface{}{
						"count": 0,
						"sku":   "string",
					},
				},
				"limits": map[string]interface{}{
					"cpu": 0,
					"gpu": map[string]interface{}{
						"count": 0,
						"sku":   "string",
					},
					"memoryInGB": 0,
				},
			},
			"securityContext": map[string]interface{}{
				"allowPrivilegeEscalation": false,
				"capabilities": map[string]interface{}{
					"add": []string{
						"string",
					},
					"drop": []string{
						"string",
					},
				},
				"privileged":     false,
				"runAsGroup":     0,
				"runAsUser":      0,
				"seccompProfile": "string",
			},
			"volumeMounts": []map[string]interface{}{
				map[string]interface{}{
					"mountPath": "string",
					"name":      "string",
					"readOnly":  false,
				},
			},
		},
	},
	IpAddress: map[string]interface{}{
		"ports": []map[string]interface{}{
			map[string]interface{}{
				"port":     0,
				"protocol": "string",
			},
		},
		"type":                              "string",
		"autoGeneratedDomainNameLabelScope": "string",
		"dnsNameLabel":                      "string",
		"ip":                                "string",
	},
	Diagnostics: map[string]interface{}{
		"logAnalytics": map[string]interface{}{
			"workspaceId":  "string",
			"workspaceKey": "string",
			"logType":      "string",
			"metadata": map[string]interface{}{
				"string": "string",
			},
			"workspaceResourceId": "string",
		},
	},
	EncryptionProperties: map[string]interface{}{
		"keyName":      "string",
		"keyVersion":   "string",
		"vaultBaseUrl": "string",
		"identity":     "string",
	},
	Extensions: []map[string]interface{}{
		map[string]interface{}{
			"extensionType":     "string",
			"name":              "string",
			"version":           "string",
			"protectedSettings": "any",
			"settings":          "any",
		},
	},
	Identity: map[string]interface{}{
		"type": "SystemAssigned",
		"userAssignedIdentities": []string{
			"string",
		},
	},
	ImageRegistryCredentials: []map[string]interface{}{
		map[string]interface{}{
			"server":            "string",
			"identity":          "string",
			"identityUrl":       "string",
			"password":          "string",
			"passwordReference": "string",
			"username":          "string",
		},
	},
	InitContainers: []map[string]interface{}{
		map[string]interface{}{
			"name": "string",
			"command": []string{
				"string",
			},
			"environmentVariables": []map[string]interface{}{
				map[string]interface{}{
					"name":                 "string",
					"secureValue":          "string",
					"secureValueReference": "string",
					"value":                "string",
				},
			},
			"image": "string",
			"securityContext": map[string]interface{}{
				"allowPrivilegeEscalation": false,
				"capabilities": map[string]interface{}{
					"add": []string{
						"string",
					},
					"drop": []string{
						"string",
					},
				},
				"privileged":     false,
				"runAsGroup":     0,
				"runAsUser":      0,
				"seccompProfile": "string",
			},
			"volumeMounts": []map[string]interface{}{
				map[string]interface{}{
					"mountPath": "string",
					"name":      "string",
					"readOnly":  false,
				},
			},
		},
	},
	ConfidentialComputeProperties: map[string]interface{}{
		"ccePolicy": "string",
	},
	Location: "string",
	DnsConfig: map[string]interface{}{
		"nameServers": []string{
			"string",
		},
		"options":       "string",
		"searchDomains": "string",
	},
	Priority:           "string",
	ContainerGroupName: "string",
	RestartPolicy:      "string",
	Sku:                "string",
	SubnetIds: []map[string]interface{}{
		map[string]interface{}{
			"id":   "string",
			"name": "string",
		},
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	Volumes: []map[string]interface{}{
		map[string]interface{}{
			"name": "string",
			"azureFile": map[string]interface{}{
				"shareName":                  "string",
				"storageAccountName":         "string",
				"readOnly":                   false,
				"storageAccountKey":          "string",
				"storageAccountKeyReference": "string",
			},
			"emptyDir": "any",
			"gitRepo": map[string]interface{}{
				"repository": "string",
				"directory":  "string",
				"revision":   "string",
			},
			"secret": map[string]interface{}{
				"string": "string",
			},
			"secretReference": map[string]interface{}{
				"string": "string",
			},
		},
	},
	Zones: []string{
		"string",
	},
})
Copy
var containerGroupResource = new ContainerGroup("containerGroupResource", ContainerGroupArgs.builder()
    .osType("string")
    .resourceGroupName("string")
    .containers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .ipAddress(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .diagnostics(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .encryptionProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .extensions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .imageRegistryCredentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .initContainers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .confidentialComputeProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .dnsConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .priority("string")
    .containerGroupName("string")
    .restartPolicy("string")
    .sku("string")
    .subnetIds(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .volumes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .zones("string")
    .build());
Copy
container_group_resource = azure_native.containerinstance.ContainerGroup("containerGroupResource",
    os_type=string,
    resource_group_name=string,
    containers=[{
        name: string,
        command: [string],
        configMap: {
            keyValuePairs: {
                string: string,
            },
        },
        environmentVariables: [{
            name: string,
            secureValue: string,
            secureValueReference: string,
            value: string,
        }],
        image: string,
        livenessProbe: {
            exec: {
                command: [string],
            },
            failureThreshold: 0,
            httpGet: {
                port: 0,
                httpHeaders: [{
                    name: string,
                    value: string,
                }],
                path: string,
                scheme: string,
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            timeoutSeconds: 0,
        },
        ports: [{
            port: 0,
            protocol: string,
        }],
        readinessProbe: {
            exec: {
                command: [string],
            },
            failureThreshold: 0,
            httpGet: {
                port: 0,
                httpHeaders: [{
                    name: string,
                    value: string,
                }],
                path: string,
                scheme: string,
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            timeoutSeconds: 0,
        },
        resources: {
            requests: {
                cpu: 0,
                memoryInGB: 0,
                gpu: {
                    count: 0,
                    sku: string,
                },
            },
            limits: {
                cpu: 0,
                gpu: {
                    count: 0,
                    sku: string,
                },
                memoryInGB: 0,
            },
        },
        securityContext: {
            allowPrivilegeEscalation: False,
            capabilities: {
                add: [string],
                drop: [string],
            },
            privileged: False,
            runAsGroup: 0,
            runAsUser: 0,
            seccompProfile: string,
        },
        volumeMounts: [{
            mountPath: string,
            name: string,
            readOnly: False,
        }],
    }],
    ip_address={
        ports: [{
            port: 0,
            protocol: string,
        }],
        type: string,
        autoGeneratedDomainNameLabelScope: string,
        dnsNameLabel: string,
        ip: string,
    },
    diagnostics={
        logAnalytics: {
            workspaceId: string,
            workspaceKey: string,
            logType: string,
            metadata: {
                string: string,
            },
            workspaceResourceId: string,
        },
    },
    encryption_properties={
        keyName: string,
        keyVersion: string,
        vaultBaseUrl: string,
        identity: string,
    },
    extensions=[{
        extensionType: string,
        name: string,
        version: string,
        protectedSettings: any,
        settings: any,
    }],
    identity={
        type: SystemAssigned,
        userAssignedIdentities: [string],
    },
    image_registry_credentials=[{
        server: string,
        identity: string,
        identityUrl: string,
        password: string,
        passwordReference: string,
        username: string,
    }],
    init_containers=[{
        name: string,
        command: [string],
        environmentVariables: [{
            name: string,
            secureValue: string,
            secureValueReference: string,
            value: string,
        }],
        image: string,
        securityContext: {
            allowPrivilegeEscalation: False,
            capabilities: {
                add: [string],
                drop: [string],
            },
            privileged: False,
            runAsGroup: 0,
            runAsUser: 0,
            seccompProfile: string,
        },
        volumeMounts: [{
            mountPath: string,
            name: string,
            readOnly: False,
        }],
    }],
    confidential_compute_properties={
        ccePolicy: string,
    },
    location=string,
    dns_config={
        nameServers: [string],
        options: string,
        searchDomains: string,
    },
    priority=string,
    container_group_name=string,
    restart_policy=string,
    sku=string,
    subnet_ids=[{
        id: string,
        name: string,
    }],
    tags={
        string: string,
    },
    volumes=[{
        name: string,
        azureFile: {
            shareName: string,
            storageAccountName: string,
            readOnly: False,
            storageAccountKey: string,
            storageAccountKeyReference: string,
        },
        emptyDir: any,
        gitRepo: {
            repository: string,
            directory: string,
            revision: string,
        },
        secret: {
            string: string,
        },
        secretReference: {
            string: string,
        },
    }],
    zones=[string])
Copy
const containerGroupResource = new azure_native.containerinstance.ContainerGroup("containerGroupResource", {
    osType: "string",
    resourceGroupName: "string",
    containers: [{
        name: "string",
        command: ["string"],
        configMap: {
            keyValuePairs: {
                string: "string",
            },
        },
        environmentVariables: [{
            name: "string",
            secureValue: "string",
            secureValueReference: "string",
            value: "string",
        }],
        image: "string",
        livenessProbe: {
            exec: {
                command: ["string"],
            },
            failureThreshold: 0,
            httpGet: {
                port: 0,
                httpHeaders: [{
                    name: "string",
                    value: "string",
                }],
                path: "string",
                scheme: "string",
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            timeoutSeconds: 0,
        },
        ports: [{
            port: 0,
            protocol: "string",
        }],
        readinessProbe: {
            exec: {
                command: ["string"],
            },
            failureThreshold: 0,
            httpGet: {
                port: 0,
                httpHeaders: [{
                    name: "string",
                    value: "string",
                }],
                path: "string",
                scheme: "string",
            },
            initialDelaySeconds: 0,
            periodSeconds: 0,
            successThreshold: 0,
            timeoutSeconds: 0,
        },
        resources: {
            requests: {
                cpu: 0,
                memoryInGB: 0,
                gpu: {
                    count: 0,
                    sku: "string",
                },
            },
            limits: {
                cpu: 0,
                gpu: {
                    count: 0,
                    sku: "string",
                },
                memoryInGB: 0,
            },
        },
        securityContext: {
            allowPrivilegeEscalation: false,
            capabilities: {
                add: ["string"],
                drop: ["string"],
            },
            privileged: false,
            runAsGroup: 0,
            runAsUser: 0,
            seccompProfile: "string",
        },
        volumeMounts: [{
            mountPath: "string",
            name: "string",
            readOnly: false,
        }],
    }],
    ipAddress: {
        ports: [{
            port: 0,
            protocol: "string",
        }],
        type: "string",
        autoGeneratedDomainNameLabelScope: "string",
        dnsNameLabel: "string",
        ip: "string",
    },
    diagnostics: {
        logAnalytics: {
            workspaceId: "string",
            workspaceKey: "string",
            logType: "string",
            metadata: {
                string: "string",
            },
            workspaceResourceId: "string",
        },
    },
    encryptionProperties: {
        keyName: "string",
        keyVersion: "string",
        vaultBaseUrl: "string",
        identity: "string",
    },
    extensions: [{
        extensionType: "string",
        name: "string",
        version: "string",
        protectedSettings: "any",
        settings: "any",
    }],
    identity: {
        type: "SystemAssigned",
        userAssignedIdentities: ["string"],
    },
    imageRegistryCredentials: [{
        server: "string",
        identity: "string",
        identityUrl: "string",
        password: "string",
        passwordReference: "string",
        username: "string",
    }],
    initContainers: [{
        name: "string",
        command: ["string"],
        environmentVariables: [{
            name: "string",
            secureValue: "string",
            secureValueReference: "string",
            value: "string",
        }],
        image: "string",
        securityContext: {
            allowPrivilegeEscalation: false,
            capabilities: {
                add: ["string"],
                drop: ["string"],
            },
            privileged: false,
            runAsGroup: 0,
            runAsUser: 0,
            seccompProfile: "string",
        },
        volumeMounts: [{
            mountPath: "string",
            name: "string",
            readOnly: false,
        }],
    }],
    confidentialComputeProperties: {
        ccePolicy: "string",
    },
    location: "string",
    dnsConfig: {
        nameServers: ["string"],
        options: "string",
        searchDomains: "string",
    },
    priority: "string",
    containerGroupName: "string",
    restartPolicy: "string",
    sku: "string",
    subnetIds: [{
        id: "string",
        name: "string",
    }],
    tags: {
        string: "string",
    },
    volumes: [{
        name: "string",
        azureFile: {
            shareName: "string",
            storageAccountName: "string",
            readOnly: false,
            storageAccountKey: "string",
            storageAccountKeyReference: "string",
        },
        emptyDir: "any",
        gitRepo: {
            repository: "string",
            directory: "string",
            revision: "string",
        },
        secret: {
            string: "string",
        },
        secretReference: {
            string: "string",
        },
    }],
    zones: ["string"],
});
Copy
type: azure-native:containerinstance:ContainerGroup
properties:
    confidentialComputeProperties:
        ccePolicy: string
    containerGroupName: string
    containers:
        - command:
            - string
          configMap:
            keyValuePairs:
                string: string
          environmentVariables:
            - name: string
              secureValue: string
              secureValueReference: string
              value: string
          image: string
          livenessProbe:
            exec:
                command:
                    - string
            failureThreshold: 0
            httpGet:
                httpHeaders:
                    - name: string
                      value: string
                path: string
                port: 0
                scheme: string
            initialDelaySeconds: 0
            periodSeconds: 0
            successThreshold: 0
            timeoutSeconds: 0
          name: string
          ports:
            - port: 0
              protocol: string
          readinessProbe:
            exec:
                command:
                    - string
            failureThreshold: 0
            httpGet:
                httpHeaders:
                    - name: string
                      value: string
                path: string
                port: 0
                scheme: string
            initialDelaySeconds: 0
            periodSeconds: 0
            successThreshold: 0
            timeoutSeconds: 0
          resources:
            limits:
                cpu: 0
                gpu:
                    count: 0
                    sku: string
                memoryInGB: 0
            requests:
                cpu: 0
                gpu:
                    count: 0
                    sku: string
                memoryInGB: 0
          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
                add:
                    - string
                drop:
                    - string
            privileged: false
            runAsGroup: 0
            runAsUser: 0
            seccompProfile: string
          volumeMounts:
            - mountPath: string
              name: string
              readOnly: false
    diagnostics:
        logAnalytics:
            logType: string
            metadata:
                string: string
            workspaceId: string
            workspaceKey: string
            workspaceResourceId: string
    dnsConfig:
        nameServers:
            - string
        options: string
        searchDomains: string
    encryptionProperties:
        identity: string
        keyName: string
        keyVersion: string
        vaultBaseUrl: string
    extensions:
        - extensionType: string
          name: string
          protectedSettings: any
          settings: any
          version: string
    identity:
        type: SystemAssigned
        userAssignedIdentities:
            - string
    imageRegistryCredentials:
        - identity: string
          identityUrl: string
          password: string
          passwordReference: string
          server: string
          username: string
    initContainers:
        - command:
            - string
          environmentVariables:
            - name: string
              secureValue: string
              secureValueReference: string
              value: string
          image: string
          name: string
          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
                add:
                    - string
                drop:
                    - string
            privileged: false
            runAsGroup: 0
            runAsUser: 0
            seccompProfile: string
          volumeMounts:
            - mountPath: string
              name: string
              readOnly: false
    ipAddress:
        autoGeneratedDomainNameLabelScope: string
        dnsNameLabel: string
        ip: string
        ports:
            - port: 0
              protocol: string
        type: string
    location: string
    osType: string
    priority: string
    resourceGroupName: string
    restartPolicy: string
    sku: string
    subnetIds:
        - id: string
          name: string
    tags:
        string: string
    volumes:
        - azureFile:
            readOnly: false
            shareName: string
            storageAccountKey: string
            storageAccountKeyReference: string
            storageAccountName: string
          emptyDir: any
          gitRepo:
            directory: string
            repository: string
            revision: string
          name: string
          secret:
            string: string
          secretReference:
            string: string
    zones:
        - string
Copy

ContainerGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ContainerGroup resource accepts the following input properties:

Containers This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.Container>
The containers within the container group.
OsType This property is required. string | Pulumi.AzureNative.ContainerInstance.OperatingSystemTypes
The operating system type required by the containers in the container group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ConfidentialComputeProperties Pulumi.AzureNative.ContainerInstance.Inputs.ConfidentialComputeProperties
The properties for confidential container group
ContainerGroupName Changes to this property will trigger replacement. string
The name of the container group.
Diagnostics Pulumi.AzureNative.ContainerInstance.Inputs.ContainerGroupDiagnostics
The diagnostic information for a container group.
DnsConfig Pulumi.AzureNative.ContainerInstance.Inputs.DnsConfiguration
The DNS config information for a container group.
EncryptionProperties Pulumi.AzureNative.ContainerInstance.Inputs.EncryptionProperties
The encryption properties for a container group.
Extensions List<Pulumi.AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpec>
extensions used by virtual kubelet
Identity Pulumi.AzureNative.ContainerInstance.Inputs.ContainerGroupIdentity
The identity of the container group, if configured.
ImageRegistryCredentials List<Pulumi.AzureNative.ContainerInstance.Inputs.ImageRegistryCredential>
The image registry credentials by which the container group is created from.
InitContainers List<Pulumi.AzureNative.ContainerInstance.Inputs.InitContainerDefinition>
The init containers for a container group.
IpAddress Pulumi.AzureNative.ContainerInstance.Inputs.IpAddress
The IP address type of the container group.
Location string
The resource location.
Priority string | Pulumi.AzureNative.ContainerInstance.ContainerGroupPriority
The priority of the container group.
RestartPolicy string | Pulumi.AzureNative.ContainerInstance.ContainerGroupRestartPolicy
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
Sku string | Pulumi.AzureNative.ContainerInstance.ContainerGroupSku
The SKU for a container group.
SubnetIds List<Pulumi.AzureNative.ContainerInstance.Inputs.ContainerGroupSubnetId>
The subnet resource IDs for a container group.
Tags Dictionary<string, string>
The resource tags.
Volumes List<Pulumi.AzureNative.ContainerInstance.Inputs.Volume>
The list of volumes that can be mounted by containers in this container group.
Zones List<string>
The zones for the container group.
Containers This property is required. []ContainerArgs
The containers within the container group.
OsType This property is required. string | OperatingSystemTypes
The operating system type required by the containers in the container group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ConfidentialComputeProperties ConfidentialComputePropertiesArgs
The properties for confidential container group
ContainerGroupName Changes to this property will trigger replacement. string
The name of the container group.
Diagnostics ContainerGroupDiagnosticsArgs
The diagnostic information for a container group.
DnsConfig DnsConfigurationArgs
The DNS config information for a container group.
EncryptionProperties EncryptionPropertiesArgs
The encryption properties for a container group.
Extensions []DeploymentExtensionSpecArgs
extensions used by virtual kubelet
Identity ContainerGroupIdentityArgs
The identity of the container group, if configured.
ImageRegistryCredentials []ImageRegistryCredentialArgs
The image registry credentials by which the container group is created from.
InitContainers []InitContainerDefinitionArgs
The init containers for a container group.
IpAddress IpAddressArgs
The IP address type of the container group.
Location string
The resource location.
Priority string | ContainerGroupPriority
The priority of the container group.
RestartPolicy string | ContainerGroupRestartPolicy
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
Sku string | ContainerGroupSku
The SKU for a container group.
SubnetIds []ContainerGroupSubnetIdArgs
The subnet resource IDs for a container group.
Tags map[string]string
The resource tags.
Volumes []VolumeArgs
The list of volumes that can be mounted by containers in this container group.
Zones []string
The zones for the container group.
containers This property is required. List<Container>
The containers within the container group.
osType This property is required. String | OperatingSystemTypes
The operating system type required by the containers in the container group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
confidentialComputeProperties ConfidentialComputeProperties
The properties for confidential container group
containerGroupName Changes to this property will trigger replacement. String
The name of the container group.
diagnostics ContainerGroupDiagnostics
The diagnostic information for a container group.
dnsConfig DnsConfiguration
The DNS config information for a container group.
encryptionProperties EncryptionProperties
The encryption properties for a container group.
extensions List<DeploymentExtensionSpec>
extensions used by virtual kubelet
identity ContainerGroupIdentity
The identity of the container group, if configured.
imageRegistryCredentials List<ImageRegistryCredential>
The image registry credentials by which the container group is created from.
initContainers List<InitContainerDefinition>
The init containers for a container group.
ipAddress IpAddress
The IP address type of the container group.
location String
The resource location.
priority String | ContainerGroupPriority
The priority of the container group.
restartPolicy String | ContainerGroupRestartPolicy
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
sku String | ContainerGroupSku
The SKU for a container group.
subnetIds List<ContainerGroupSubnetId>
The subnet resource IDs for a container group.
tags Map<String,String>
The resource tags.
volumes List<Volume>
The list of volumes that can be mounted by containers in this container group.
zones List<String>
The zones for the container group.
containers This property is required. Container[]
The containers within the container group.
osType This property is required. string | OperatingSystemTypes
The operating system type required by the containers in the container group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
confidentialComputeProperties ConfidentialComputeProperties
The properties for confidential container group
containerGroupName Changes to this property will trigger replacement. string
The name of the container group.
diagnostics ContainerGroupDiagnostics
The diagnostic information for a container group.
dnsConfig DnsConfiguration
The DNS config information for a container group.
encryptionProperties EncryptionProperties
The encryption properties for a container group.
extensions DeploymentExtensionSpec[]
extensions used by virtual kubelet
identity ContainerGroupIdentity
The identity of the container group, if configured.
imageRegistryCredentials ImageRegistryCredential[]
The image registry credentials by which the container group is created from.
initContainers InitContainerDefinition[]
The init containers for a container group.
ipAddress IpAddress
The IP address type of the container group.
location string
The resource location.
priority string | ContainerGroupPriority
The priority of the container group.
restartPolicy string | ContainerGroupRestartPolicy
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
sku string | ContainerGroupSku
The SKU for a container group.
subnetIds ContainerGroupSubnetId[]
The subnet resource IDs for a container group.
tags {[key: string]: string}
The resource tags.
volumes Volume[]
The list of volumes that can be mounted by containers in this container group.
zones string[]
The zones for the container group.
containers This property is required. Sequence[ContainerArgs]
The containers within the container group.
os_type This property is required. str | OperatingSystemTypes
The operating system type required by the containers in the container group.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
confidential_compute_properties ConfidentialComputePropertiesArgs
The properties for confidential container group
container_group_name Changes to this property will trigger replacement. str
The name of the container group.
diagnostics ContainerGroupDiagnosticsArgs
The diagnostic information for a container group.
dns_config DnsConfigurationArgs
The DNS config information for a container group.
encryption_properties EncryptionPropertiesArgs
The encryption properties for a container group.
extensions Sequence[DeploymentExtensionSpecArgs]
extensions used by virtual kubelet
identity ContainerGroupIdentityArgs
The identity of the container group, if configured.
image_registry_credentials Sequence[ImageRegistryCredentialArgs]
The image registry credentials by which the container group is created from.
init_containers Sequence[InitContainerDefinitionArgs]
The init containers for a container group.
ip_address IpAddressArgs
The IP address type of the container group.
location str
The resource location.
priority str | ContainerGroupPriority
The priority of the container group.
restart_policy str | ContainerGroupRestartPolicy
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
sku str | ContainerGroupSku
The SKU for a container group.
subnet_ids Sequence[ContainerGroupSubnetIdArgs]
The subnet resource IDs for a container group.
tags Mapping[str, str]
The resource tags.
volumes Sequence[VolumeArgs]
The list of volumes that can be mounted by containers in this container group.
zones Sequence[str]
The zones for the container group.
containers This property is required. List<Property Map>
The containers within the container group.
osType This property is required. String | "Windows" | "Linux"
The operating system type required by the containers in the container group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
confidentialComputeProperties Property Map
The properties for confidential container group
containerGroupName Changes to this property will trigger replacement. String
The name of the container group.
diagnostics Property Map
The diagnostic information for a container group.
dnsConfig Property Map
The DNS config information for a container group.
encryptionProperties Property Map
The encryption properties for a container group.
extensions List<Property Map>
extensions used by virtual kubelet
identity Property Map
The identity of the container group, if configured.
imageRegistryCredentials List<Property Map>
The image registry credentials by which the container group is created from.
initContainers List<Property Map>
The init containers for a container group.
ipAddress Property Map
The IP address type of the container group.
location String
The resource location.
priority String | "Regular" | "Spot"
The priority of the container group.
restartPolicy String | "Always" | "OnFailure" | "Never"
Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
sku String | "Standard" | "Dedicated" | "Confidential"
The SKU for a container group.
subnetIds List<Property Map>
The subnet resource IDs for a container group.
tags Map<String>
The resource tags.
volumes List<Property Map>
The list of volumes that can be mounted by containers in this container group.
zones List<String>
The zones for the container group.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContainerGroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
InstanceView Pulumi.AzureNative.ContainerInstance.Outputs.ContainerGroupPropertiesResponseInstanceView
The instance view of the container group. Only valid in response.
Name string
The resource name.
ProvisioningState string
The provisioning state of the container group. This only appears in the response.
Type string
The resource type.
Id string
The provider-assigned unique ID for this managed resource.
InstanceView ContainerGroupPropertiesResponseInstanceView
The instance view of the container group. Only valid in response.
Name string
The resource name.
ProvisioningState string
The provisioning state of the container group. This only appears in the response.
Type string
The resource type.
id String
The provider-assigned unique ID for this managed resource.
instanceView ContainerGroupPropertiesResponseInstanceView
The instance view of the container group. Only valid in response.
name String
The resource name.
provisioningState String
The provisioning state of the container group. This only appears in the response.
type String
The resource type.
id string
The provider-assigned unique ID for this managed resource.
instanceView ContainerGroupPropertiesResponseInstanceView
The instance view of the container group. Only valid in response.
name string
The resource name.
provisioningState string
The provisioning state of the container group. This only appears in the response.
type string
The resource type.
id str
The provider-assigned unique ID for this managed resource.
instance_view ContainerGroupPropertiesResponseInstanceView
The instance view of the container group. Only valid in response.
name str
The resource name.
provisioning_state str
The provisioning state of the container group. This only appears in the response.
type str
The resource type.
id String
The provider-assigned unique ID for this managed resource.
instanceView Property Map
The instance view of the container group. Only valid in response.
name String
The resource name.
provisioningState String
The provisioning state of the container group. This only appears in the response.
type String
The resource type.

Supporting Types

AzureFileVolume
, AzureFileVolumeArgs

ShareName This property is required. string
The name of the Azure File share to be mounted as a volume.
StorageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
ReadOnly bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
StorageAccountKey string
The storage account access key used to access the Azure File share.
StorageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
ShareName This property is required. string
The name of the Azure File share to be mounted as a volume.
StorageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
ReadOnly bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
StorageAccountKey string
The storage account access key used to access the Azure File share.
StorageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. String
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. String
The name of the storage account that contains the Azure File share.
readOnly Boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey String
The storage account access key used to access the Azure File share.
storageAccountKeyReference String
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. string
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
readOnly boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey string
The storage account access key used to access the Azure File share.
storageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
share_name This property is required. str
The name of the Azure File share to be mounted as a volume.
storage_account_name This property is required. str
The name of the storage account that contains the Azure File share.
read_only bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storage_account_key str
The storage account access key used to access the Azure File share.
storage_account_key_reference str
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. String
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. String
The name of the storage account that contains the Azure File share.
readOnly Boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey String
The storage account access key used to access the Azure File share.
storageAccountKeyReference String
The reference to the storage account access key used to access the Azure File share.

AzureFileVolumeResponse
, AzureFileVolumeResponseArgs

ShareName This property is required. string
The name of the Azure File share to be mounted as a volume.
StorageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
ReadOnly bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
StorageAccountKey string
The storage account access key used to access the Azure File share.
StorageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
ShareName This property is required. string
The name of the Azure File share to be mounted as a volume.
StorageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
ReadOnly bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
StorageAccountKey string
The storage account access key used to access the Azure File share.
StorageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. String
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. String
The name of the storage account that contains the Azure File share.
readOnly Boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey String
The storage account access key used to access the Azure File share.
storageAccountKeyReference String
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. string
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. string
The name of the storage account that contains the Azure File share.
readOnly boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey string
The storage account access key used to access the Azure File share.
storageAccountKeyReference string
The reference to the storage account access key used to access the Azure File share.
share_name This property is required. str
The name of the Azure File share to be mounted as a volume.
storage_account_name This property is required. str
The name of the storage account that contains the Azure File share.
read_only bool
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storage_account_key str
The storage account access key used to access the Azure File share.
storage_account_key_reference str
The reference to the storage account access key used to access the Azure File share.
shareName This property is required. String
The name of the Azure File share to be mounted as a volume.
storageAccountName This property is required. String
The name of the storage account that contains the Azure File share.
readOnly Boolean
The flag indicating whether the Azure File shared mounted as a volume is read-only.
storageAccountKey String
The storage account access key used to access the Azure File share.
storageAccountKeyReference String
The reference to the storage account access key used to access the Azure File share.

ConfidentialComputeProperties
, ConfidentialComputePropertiesArgs

CcePolicy string
The base64 encoded confidential compute enforcement policy
CcePolicy string
The base64 encoded confidential compute enforcement policy
ccePolicy String
The base64 encoded confidential compute enforcement policy
ccePolicy string
The base64 encoded confidential compute enforcement policy
cce_policy str
The base64 encoded confidential compute enforcement policy
ccePolicy String
The base64 encoded confidential compute enforcement policy

ConfidentialComputePropertiesResponse
, ConfidentialComputePropertiesResponseArgs

CcePolicy string
The base64 encoded confidential compute enforcement policy
CcePolicy string
The base64 encoded confidential compute enforcement policy
ccePolicy String
The base64 encoded confidential compute enforcement policy
ccePolicy string
The base64 encoded confidential compute enforcement policy
cce_policy str
The base64 encoded confidential compute enforcement policy
ccePolicy String
The base64 encoded confidential compute enforcement policy

ConfigMap
, ConfigMapArgs

KeyValuePairs Dictionary<string, string>
The key value pairs dictionary in the config map.
KeyValuePairs map[string]string
The key value pairs dictionary in the config map.
keyValuePairs Map<String,String>
The key value pairs dictionary in the config map.
keyValuePairs {[key: string]: string}
The key value pairs dictionary in the config map.
key_value_pairs Mapping[str, str]
The key value pairs dictionary in the config map.
keyValuePairs Map<String>
The key value pairs dictionary in the config map.

ConfigMapResponse
, ConfigMapResponseArgs

KeyValuePairs Dictionary<string, string>
The key value pairs dictionary in the config map.
KeyValuePairs map[string]string
The key value pairs dictionary in the config map.
keyValuePairs Map<String,String>
The key value pairs dictionary in the config map.
keyValuePairs {[key: string]: string}
The key value pairs dictionary in the config map.
key_value_pairs Mapping[str, str]
The key value pairs dictionary in the config map.
keyValuePairs Map<String>
The key value pairs dictionary in the config map.

Container
, ContainerArgs

Name This property is required. string
The user-provided name of the container instance.
Command List<string>
The commands to execute within the container instance in exec form.
ConfigMap Pulumi.AzureNative.ContainerInstance.Inputs.ConfigMap
The config map.
EnvironmentVariables List<Pulumi.AzureNative.ContainerInstance.Inputs.EnvironmentVariable>
The environment variables to set in the container instance.
Image string
The name of the image used to create the container instance.
LivenessProbe Pulumi.AzureNative.ContainerInstance.Inputs.ContainerProbe
The liveness probe.
Ports List<Pulumi.AzureNative.ContainerInstance.Inputs.ContainerPort>
The exposed ports on the container instance.
ReadinessProbe Pulumi.AzureNative.ContainerInstance.Inputs.ContainerProbe
The readiness probe.
Resources Pulumi.AzureNative.ContainerInstance.Inputs.ResourceRequirements
The resource requirements of the container instance.
SecurityContext Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextDefinition
The container security properties.
VolumeMounts List<Pulumi.AzureNative.ContainerInstance.Inputs.VolumeMount>
The volume mounts available to the container instance.
Name This property is required. string
The user-provided name of the container instance.
Command []string
The commands to execute within the container instance in exec form.
ConfigMap ConfigMap
The config map.
EnvironmentVariables []EnvironmentVariable
The environment variables to set in the container instance.
Image string
The name of the image used to create the container instance.
LivenessProbe ContainerProbe
The liveness probe.
Ports []ContainerPort
The exposed ports on the container instance.
ReadinessProbe ContainerProbe
The readiness probe.
Resources ResourceRequirements
The resource requirements of the container instance.
SecurityContext SecurityContextDefinition
The container security properties.
VolumeMounts []VolumeMount
The volume mounts available to the container instance.
name This property is required. String
The user-provided name of the container instance.
command List<String>
The commands to execute within the container instance in exec form.
configMap ConfigMap
The config map.
environmentVariables List<EnvironmentVariable>
The environment variables to set in the container instance.
image String
The name of the image used to create the container instance.
livenessProbe ContainerProbe
The liveness probe.
ports List<ContainerPort>
The exposed ports on the container instance.
readinessProbe ContainerProbe
The readiness probe.
resources ResourceRequirements
The resource requirements of the container instance.
securityContext SecurityContextDefinition
The container security properties.
volumeMounts List<VolumeMount>
The volume mounts available to the container instance.
name This property is required. string
The user-provided name of the container instance.
command string[]
The commands to execute within the container instance in exec form.
configMap ConfigMap
The config map.
environmentVariables EnvironmentVariable[]
The environment variables to set in the container instance.
image string
The name of the image used to create the container instance.
livenessProbe ContainerProbe
The liveness probe.
ports ContainerPort[]
The exposed ports on the container instance.
readinessProbe ContainerProbe
The readiness probe.
resources ResourceRequirements
The resource requirements of the container instance.
securityContext SecurityContextDefinition
The container security properties.
volumeMounts VolumeMount[]
The volume mounts available to the container instance.
name This property is required. str
The user-provided name of the container instance.
command Sequence[str]
The commands to execute within the container instance in exec form.
config_map ConfigMap
The config map.
environment_variables Sequence[EnvironmentVariable]
The environment variables to set in the container instance.
image str
The name of the image used to create the container instance.
liveness_probe ContainerProbe
The liveness probe.
ports Sequence[ContainerPort]
The exposed ports on the container instance.
readiness_probe ContainerProbe
The readiness probe.
resources ResourceRequirements
The resource requirements of the container instance.
security_context SecurityContextDefinition
The container security properties.
volume_mounts Sequence[VolumeMount]
The volume mounts available to the container instance.
name This property is required. String
The user-provided name of the container instance.
command List<String>
The commands to execute within the container instance in exec form.
configMap Property Map
The config map.
environmentVariables List<Property Map>
The environment variables to set in the container instance.
image String
The name of the image used to create the container instance.
livenessProbe Property Map
The liveness probe.
ports List<Property Map>
The exposed ports on the container instance.
readinessProbe Property Map
The readiness probe.
resources Property Map
The resource requirements of the container instance.
securityContext Property Map
The container security properties.
volumeMounts List<Property Map>
The volume mounts available to the container instance.

ContainerExec
, ContainerExecArgs

Command List<string>
The commands to execute within the container.
Command []string
The commands to execute within the container.
command List<String>
The commands to execute within the container.
command string[]
The commands to execute within the container.
command Sequence[str]
The commands to execute within the container.
command List<String>
The commands to execute within the container.

ContainerExecResponse
, ContainerExecResponseArgs

Command List<string>
The commands to execute within the container.
Command []string
The commands to execute within the container.
command List<String>
The commands to execute within the container.
command string[]
The commands to execute within the container.
command Sequence[str]
The commands to execute within the container.
command List<String>
The commands to execute within the container.

ContainerGroupDiagnostics
, ContainerGroupDiagnosticsArgs

LogAnalytics LogAnalytics
Container group log analytics information.
logAnalytics LogAnalytics
Container group log analytics information.
logAnalytics LogAnalytics
Container group log analytics information.
log_analytics LogAnalytics
Container group log analytics information.
logAnalytics Property Map
Container group log analytics information.

ContainerGroupDiagnosticsResponse
, ContainerGroupDiagnosticsResponseArgs

LogAnalytics LogAnalyticsResponse
Container group log analytics information.
logAnalytics LogAnalyticsResponse
Container group log analytics information.
logAnalytics LogAnalyticsResponse
Container group log analytics information.
log_analytics LogAnalyticsResponse
Container group log analytics information.
logAnalytics Property Map
Container group log analytics information.

ContainerGroupIdentity
, ContainerGroupIdentityArgs

Type Pulumi.AzureNative.ContainerInstance.ResourceIdentityType
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
UserAssignedIdentities List<string>
The list of user identities associated with the container group.
Type ResourceIdentityType
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
UserAssignedIdentities []string
The list of user identities associated with the container group.
type ResourceIdentityType
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities List<String>
The list of user identities associated with the container group.
type ResourceIdentityType
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities string[]
The list of user identities associated with the container group.
type ResourceIdentityType
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
user_assigned_identities Sequence[str]
The list of user identities associated with the container group.
type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities List<String>
The list of user identities associated with the container group.

ContainerGroupIdentityResponse
, ContainerGroupIdentityResponseArgs

PrincipalId This property is required. string
The principal id of the container group identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
Type string
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerInstance.Inputs.UserAssignedIdentitiesResponse>
The list of user identities associated with the container group.
PrincipalId This property is required. string
The principal id of the container group identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
Type string
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
UserAssignedIdentities map[string]UserAssignedIdentitiesResponse
The list of user identities associated with the container group.
principalId This property is required. String
The principal id of the container group identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
type String
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities Map<String,UserAssignedIdentitiesResponse>
The list of user identities associated with the container group.
principalId This property is required. string
The principal id of the container group identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
type string
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities {[key: string]: UserAssignedIdentitiesResponse}
The list of user identities associated with the container group.
principal_id This property is required. str
The principal id of the container group identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
type str
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
user_assigned_identities Mapping[str, UserAssignedIdentitiesResponse]
The list of user identities associated with the container group.
principalId This property is required. String
The principal id of the container group identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id associated with the container group. This property will only be provided for a system assigned identity.
type String
The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
userAssignedIdentities Map<Property Map>
The list of user identities associated with the container group.

ContainerGroupIpAddressType
, ContainerGroupIpAddressTypeArgs

Public
Public
Private
Private
ContainerGroupIpAddressTypePublic
Public
ContainerGroupIpAddressTypePrivate
Private
Public
Public
Private
Private
Public
Public
Private
Private
PUBLIC
Public
PRIVATE
Private
"Public"
Public
"Private"
Private

ContainerGroupNetworkProtocol
, ContainerGroupNetworkProtocolArgs

TCP
TCP
UDP
UDP
ContainerGroupNetworkProtocolTCP
TCP
ContainerGroupNetworkProtocolUDP
UDP
TCP
TCP
UDP
UDP
TCP
TCP
UDP
UDP
TCP
TCP
UDP
UDP
"TCP"
TCP
"UDP"
UDP

ContainerGroupPriority
, ContainerGroupPriorityArgs

Regular
Regular
Spot
Spot
ContainerGroupPriorityRegular
Regular
ContainerGroupPrioritySpot
Spot
Regular
Regular
Spot
Spot
Regular
Regular
Spot
Spot
REGULAR
Regular
SPOT
Spot
"Regular"
Regular
"Spot"
Spot

ContainerGroupPropertiesResponseInstanceView
, ContainerGroupPropertiesResponseInstanceViewArgs

Events This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.EventResponse>
The events of this container group.
State This property is required. string
The state of the container group. Only valid in response.
Events This property is required. []EventResponse
The events of this container group.
State This property is required. string
The state of the container group. Only valid in response.
events This property is required. List<EventResponse>
The events of this container group.
state This property is required. String
The state of the container group. Only valid in response.
events This property is required. EventResponse[]
The events of this container group.
state This property is required. string
The state of the container group. Only valid in response.
events This property is required. Sequence[EventResponse]
The events of this container group.
state This property is required. str
The state of the container group. Only valid in response.
events This property is required. List<Property Map>
The events of this container group.
state This property is required. String
The state of the container group. Only valid in response.

ContainerGroupRestartPolicy
, ContainerGroupRestartPolicyArgs

Always
Always
OnFailure
OnFailure
Never
Never
ContainerGroupRestartPolicyAlways
Always
ContainerGroupRestartPolicyOnFailure
OnFailure
ContainerGroupRestartPolicyNever
Never
Always
Always
OnFailure
OnFailure
Never
Never
Always
Always
OnFailure
OnFailure
Never
Never
ALWAYS
Always
ON_FAILURE
OnFailure
NEVER
Never
"Always"
Always
"OnFailure"
OnFailure
"Never"
Never

ContainerGroupSku
, ContainerGroupSkuArgs

Standard
Standard
Dedicated
Dedicated
Confidential
Confidential
ContainerGroupSkuStandard
Standard
ContainerGroupSkuDedicated
Dedicated
ContainerGroupSkuConfidential
Confidential
Standard
Standard
Dedicated
Dedicated
Confidential
Confidential
Standard
Standard
Dedicated
Dedicated
Confidential
Confidential
STANDARD
Standard
DEDICATED
Dedicated
CONFIDENTIAL
Confidential
"Standard"
Standard
"Dedicated"
Dedicated
"Confidential"
Confidential

ContainerGroupSubnetId
, ContainerGroupSubnetIdArgs

Id This property is required. string
Resource ID of virtual network and subnet.
Name string
Friendly name for the subnet.
Id This property is required. string
Resource ID of virtual network and subnet.
Name string
Friendly name for the subnet.
id This property is required. String
Resource ID of virtual network and subnet.
name String
Friendly name for the subnet.
id This property is required. string
Resource ID of virtual network and subnet.
name string
Friendly name for the subnet.
id This property is required. str
Resource ID of virtual network and subnet.
name str
Friendly name for the subnet.
id This property is required. String
Resource ID of virtual network and subnet.
name String
Friendly name for the subnet.

ContainerGroupSubnetIdResponse
, ContainerGroupSubnetIdResponseArgs

Id This property is required. string
Resource ID of virtual network and subnet.
Name string
Friendly name for the subnet.
Id This property is required. string
Resource ID of virtual network and subnet.
Name string
Friendly name for the subnet.
id This property is required. String
Resource ID of virtual network and subnet.
name String
Friendly name for the subnet.
id This property is required. string
Resource ID of virtual network and subnet.
name string
Friendly name for the subnet.
id This property is required. str
Resource ID of virtual network and subnet.
name str
Friendly name for the subnet.
id This property is required. String
Resource ID of virtual network and subnet.
name String
Friendly name for the subnet.

ContainerHttpGet
, ContainerHttpGetArgs

Port This property is required. int
The port number to probe.
HttpHeaders List<Pulumi.AzureNative.ContainerInstance.Inputs.HttpHeader>
The HTTP headers.
Path string
The path to probe.
Scheme string | Pulumi.AzureNative.ContainerInstance.Scheme
The scheme.
Port This property is required. int
The port number to probe.
HttpHeaders []HttpHeader
The HTTP headers.
Path string
The path to probe.
Scheme string | Scheme
The scheme.
port This property is required. Integer
The port number to probe.
httpHeaders List<HttpHeader>
The HTTP headers.
path String
The path to probe.
scheme String | Scheme
The scheme.
port This property is required. number
The port number to probe.
httpHeaders HttpHeader[]
The HTTP headers.
path string
The path to probe.
scheme string | Scheme
The scheme.
port This property is required. int
The port number to probe.
http_headers Sequence[HttpHeader]
The HTTP headers.
path str
The path to probe.
scheme str | Scheme
The scheme.
port This property is required. Number
The port number to probe.
httpHeaders List<Property Map>
The HTTP headers.
path String
The path to probe.
scheme String | "http" | "https"
The scheme.

ContainerHttpGetResponse
, ContainerHttpGetResponseArgs

Port This property is required. int
The port number to probe.
HttpHeaders List<Pulumi.AzureNative.ContainerInstance.Inputs.HttpHeaderResponse>
The HTTP headers.
Path string
The path to probe.
Scheme string
The scheme.
Port This property is required. int
The port number to probe.
HttpHeaders []HttpHeaderResponse
The HTTP headers.
Path string
The path to probe.
Scheme string
The scheme.
port This property is required. Integer
The port number to probe.
httpHeaders List<HttpHeaderResponse>
The HTTP headers.
path String
The path to probe.
scheme String
The scheme.
port This property is required. number
The port number to probe.
httpHeaders HttpHeaderResponse[]
The HTTP headers.
path string
The path to probe.
scheme string
The scheme.
port This property is required. int
The port number to probe.
http_headers Sequence[HttpHeaderResponse]
The HTTP headers.
path str
The path to probe.
scheme str
The scheme.
port This property is required. Number
The port number to probe.
httpHeaders List<Property Map>
The HTTP headers.
path String
The path to probe.
scheme String
The scheme.

ContainerNetworkProtocol
, ContainerNetworkProtocolArgs

TCP
TCP
UDP
UDP
ContainerNetworkProtocolTCP
TCP
ContainerNetworkProtocolUDP
UDP
TCP
TCP
UDP
UDP
TCP
TCP
UDP
UDP
TCP
TCP
UDP
UDP
"TCP"
TCP
"UDP"
UDP

ContainerPort
, ContainerPortArgs

Port This property is required. int
The port number exposed within the container group.
Protocol string | Pulumi.AzureNative.ContainerInstance.ContainerNetworkProtocol
The protocol associated with the port.
Port This property is required. int
The port number exposed within the container group.
Protocol string | ContainerNetworkProtocol
The protocol associated with the port.
port This property is required. Integer
The port number exposed within the container group.
protocol String | ContainerNetworkProtocol
The protocol associated with the port.
port This property is required. number
The port number exposed within the container group.
protocol string | ContainerNetworkProtocol
The protocol associated with the port.
port This property is required. int
The port number exposed within the container group.
protocol str | ContainerNetworkProtocol
The protocol associated with the port.
port This property is required. Number
The port number exposed within the container group.
protocol String | "TCP" | "UDP"
The protocol associated with the port.

ContainerPortResponse
, ContainerPortResponseArgs

Port This property is required. int
The port number exposed within the container group.
Protocol string
The protocol associated with the port.
Port This property is required. int
The port number exposed within the container group.
Protocol string
The protocol associated with the port.
port This property is required. Integer
The port number exposed within the container group.
protocol String
The protocol associated with the port.
port This property is required. number
The port number exposed within the container group.
protocol string
The protocol associated with the port.
port This property is required. int
The port number exposed within the container group.
protocol str
The protocol associated with the port.
port This property is required. Number
The port number exposed within the container group.
protocol String
The protocol associated with the port.

ContainerProbe
, ContainerProbeArgs

Exec Pulumi.AzureNative.ContainerInstance.Inputs.ContainerExec
The execution command to probe
FailureThreshold int
The failure threshold.
HttpGet Pulumi.AzureNative.ContainerInstance.Inputs.ContainerHttpGet
The Http Get settings to probe
InitialDelaySeconds int
The initial delay seconds.
PeriodSeconds int
The period seconds.
SuccessThreshold int
The success threshold.
TimeoutSeconds int
The timeout seconds.
Exec ContainerExec
The execution command to probe
FailureThreshold int
The failure threshold.
HttpGet ContainerHttpGet
The Http Get settings to probe
InitialDelaySeconds int
The initial delay seconds.
PeriodSeconds int
The period seconds.
SuccessThreshold int
The success threshold.
TimeoutSeconds int
The timeout seconds.
exec ContainerExec
The execution command to probe
failureThreshold Integer
The failure threshold.
httpGet ContainerHttpGet
The Http Get settings to probe
initialDelaySeconds Integer
The initial delay seconds.
periodSeconds Integer
The period seconds.
successThreshold Integer
The success threshold.
timeoutSeconds Integer
The timeout seconds.
exec ContainerExec
The execution command to probe
failureThreshold number
The failure threshold.
httpGet ContainerHttpGet
The Http Get settings to probe
initialDelaySeconds number
The initial delay seconds.
periodSeconds number
The period seconds.
successThreshold number
The success threshold.
timeoutSeconds number
The timeout seconds.
exec_ ContainerExec
The execution command to probe
failure_threshold int
The failure threshold.
http_get ContainerHttpGet
The Http Get settings to probe
initial_delay_seconds int
The initial delay seconds.
period_seconds int
The period seconds.
success_threshold int
The success threshold.
timeout_seconds int
The timeout seconds.
exec Property Map
The execution command to probe
failureThreshold Number
The failure threshold.
httpGet Property Map
The Http Get settings to probe
initialDelaySeconds Number
The initial delay seconds.
periodSeconds Number
The period seconds.
successThreshold Number
The success threshold.
timeoutSeconds Number
The timeout seconds.

ContainerProbeResponse
, ContainerProbeResponseArgs

Exec Pulumi.AzureNative.ContainerInstance.Inputs.ContainerExecResponse
The execution command to probe
FailureThreshold int
The failure threshold.
HttpGet Pulumi.AzureNative.ContainerInstance.Inputs.ContainerHttpGetResponse
The Http Get settings to probe
InitialDelaySeconds int
The initial delay seconds.
PeriodSeconds int
The period seconds.
SuccessThreshold int
The success threshold.
TimeoutSeconds int
The timeout seconds.
Exec ContainerExecResponse
The execution command to probe
FailureThreshold int
The failure threshold.
HttpGet ContainerHttpGetResponse
The Http Get settings to probe
InitialDelaySeconds int
The initial delay seconds.
PeriodSeconds int
The period seconds.
SuccessThreshold int
The success threshold.
TimeoutSeconds int
The timeout seconds.
exec ContainerExecResponse
The execution command to probe
failureThreshold Integer
The failure threshold.
httpGet ContainerHttpGetResponse
The Http Get settings to probe
initialDelaySeconds Integer
The initial delay seconds.
periodSeconds Integer
The period seconds.
successThreshold Integer
The success threshold.
timeoutSeconds Integer
The timeout seconds.
exec ContainerExecResponse
The execution command to probe
failureThreshold number
The failure threshold.
httpGet ContainerHttpGetResponse
The Http Get settings to probe
initialDelaySeconds number
The initial delay seconds.
periodSeconds number
The period seconds.
successThreshold number
The success threshold.
timeoutSeconds number
The timeout seconds.
exec_ ContainerExecResponse
The execution command to probe
failure_threshold int
The failure threshold.
http_get ContainerHttpGetResponse
The Http Get settings to probe
initial_delay_seconds int
The initial delay seconds.
period_seconds int
The period seconds.
success_threshold int
The success threshold.
timeout_seconds int
The timeout seconds.
exec Property Map
The execution command to probe
failureThreshold Number
The failure threshold.
httpGet Property Map
The Http Get settings to probe
initialDelaySeconds Number
The initial delay seconds.
periodSeconds Number
The period seconds.
successThreshold Number
The success threshold.
timeoutSeconds Number
The timeout seconds.

ContainerPropertiesResponseInstanceView
, ContainerPropertiesResponseInstanceViewArgs

CurrentState This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ContainerStateResponse
Current container instance state.
Events This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.EventResponse>
The events of the container instance.
PreviousState This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ContainerStateResponse
Previous container instance state.
RestartCount This property is required. int
The number of times that the container instance has been restarted.
CurrentState This property is required. ContainerStateResponse
Current container instance state.
Events This property is required. []EventResponse
The events of the container instance.
PreviousState This property is required. ContainerStateResponse
Previous container instance state.
RestartCount This property is required. int
The number of times that the container instance has been restarted.
currentState This property is required. ContainerStateResponse
Current container instance state.
events This property is required. List<EventResponse>
The events of the container instance.
previousState This property is required. ContainerStateResponse
Previous container instance state.
restartCount This property is required. Integer
The number of times that the container instance has been restarted.
currentState This property is required. ContainerStateResponse
Current container instance state.
events This property is required. EventResponse[]
The events of the container instance.
previousState This property is required. ContainerStateResponse
Previous container instance state.
restartCount This property is required. number
The number of times that the container instance has been restarted.
current_state This property is required. ContainerStateResponse
Current container instance state.
events This property is required. Sequence[EventResponse]
The events of the container instance.
previous_state This property is required. ContainerStateResponse
Previous container instance state.
restart_count This property is required. int
The number of times that the container instance has been restarted.
currentState This property is required. Property Map
Current container instance state.
events This property is required. List<Property Map>
The events of the container instance.
previousState This property is required. Property Map
Previous container instance state.
restartCount This property is required. Number
The number of times that the container instance has been restarted.

ContainerResponse
, ContainerResponseArgs

InstanceView This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ContainerPropertiesResponseInstanceView
The instance view of the container instance. Only valid in response.
Name This property is required. string
The user-provided name of the container instance.
Command List<string>
The commands to execute within the container instance in exec form.
ConfigMap Pulumi.AzureNative.ContainerInstance.Inputs.ConfigMapResponse
The config map.
EnvironmentVariables List<Pulumi.AzureNative.ContainerInstance.Inputs.EnvironmentVariableResponse>
The environment variables to set in the container instance.
Image string
The name of the image used to create the container instance.
LivenessProbe Pulumi.AzureNative.ContainerInstance.Inputs.ContainerProbeResponse
The liveness probe.
Ports List<Pulumi.AzureNative.ContainerInstance.Inputs.ContainerPortResponse>
The exposed ports on the container instance.
ReadinessProbe Pulumi.AzureNative.ContainerInstance.Inputs.ContainerProbeResponse
The readiness probe.
Resources Pulumi.AzureNative.ContainerInstance.Inputs.ResourceRequirementsResponse
The resource requirements of the container instance.
SecurityContext Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionResponse
The container security properties.
VolumeMounts List<Pulumi.AzureNative.ContainerInstance.Inputs.VolumeMountResponse>
The volume mounts available to the container instance.
InstanceView This property is required. ContainerPropertiesResponseInstanceView
The instance view of the container instance. Only valid in response.
Name This property is required. string
The user-provided name of the container instance.
Command []string
The commands to execute within the container instance in exec form.
ConfigMap ConfigMapResponse
The config map.
EnvironmentVariables []EnvironmentVariableResponse
The environment variables to set in the container instance.
Image string
The name of the image used to create the container instance.
LivenessProbe ContainerProbeResponse
The liveness probe.
Ports []ContainerPortResponse
The exposed ports on the container instance.
ReadinessProbe ContainerProbeResponse
The readiness probe.
Resources ResourceRequirementsResponse
The resource requirements of the container instance.
SecurityContext SecurityContextDefinitionResponse
The container security properties.
VolumeMounts []VolumeMountResponse
The volume mounts available to the container instance.
instanceView This property is required. ContainerPropertiesResponseInstanceView
The instance view of the container instance. Only valid in response.
name This property is required. String
The user-provided name of the container instance.
command List<String>
The commands to execute within the container instance in exec form.
configMap ConfigMapResponse
The config map.
environmentVariables List<EnvironmentVariableResponse>
The environment variables to set in the container instance.
image String
The name of the image used to create the container instance.
livenessProbe ContainerProbeResponse
The liveness probe.
ports List<ContainerPortResponse>
The exposed ports on the container instance.
readinessProbe ContainerProbeResponse
The readiness probe.
resources ResourceRequirementsResponse
The resource requirements of the container instance.
securityContext SecurityContextDefinitionResponse
The container security properties.
volumeMounts List<VolumeMountResponse>
The volume mounts available to the container instance.
instanceView This property is required. ContainerPropertiesResponseInstanceView
The instance view of the container instance. Only valid in response.
name This property is required. string
The user-provided name of the container instance.
command string[]
The commands to execute within the container instance in exec form.
configMap ConfigMapResponse
The config map.
environmentVariables EnvironmentVariableResponse[]
The environment variables to set in the container instance.
image string
The name of the image used to create the container instance.
livenessProbe ContainerProbeResponse
The liveness probe.
ports ContainerPortResponse[]
The exposed ports on the container instance.
readinessProbe ContainerProbeResponse
The readiness probe.
resources ResourceRequirementsResponse
The resource requirements of the container instance.
securityContext SecurityContextDefinitionResponse
The container security properties.
volumeMounts VolumeMountResponse[]
The volume mounts available to the container instance.
instance_view This property is required. ContainerPropertiesResponseInstanceView
The instance view of the container instance. Only valid in response.
name This property is required. str
The user-provided name of the container instance.
command Sequence[str]
The commands to execute within the container instance in exec form.
config_map ConfigMapResponse
The config map.
environment_variables Sequence[EnvironmentVariableResponse]
The environment variables to set in the container instance.
image str
The name of the image used to create the container instance.
liveness_probe ContainerProbeResponse
The liveness probe.
ports Sequence[ContainerPortResponse]
The exposed ports on the container instance.
readiness_probe ContainerProbeResponse
The readiness probe.
resources ResourceRequirementsResponse
The resource requirements of the container instance.
security_context SecurityContextDefinitionResponse
The container security properties.
volume_mounts Sequence[VolumeMountResponse]
The volume mounts available to the container instance.
instanceView This property is required. Property Map
The instance view of the container instance. Only valid in response.
name This property is required. String
The user-provided name of the container instance.
command List<String>
The commands to execute within the container instance in exec form.
configMap Property Map
The config map.
environmentVariables List<Property Map>
The environment variables to set in the container instance.
image String
The name of the image used to create the container instance.
livenessProbe Property Map
The liveness probe.
ports List<Property Map>
The exposed ports on the container instance.
readinessProbe Property Map
The readiness probe.
resources Property Map
The resource requirements of the container instance.
securityContext Property Map
The container security properties.
volumeMounts List<Property Map>
The volume mounts available to the container instance.

ContainerStateResponse
, ContainerStateResponseArgs

DetailStatus This property is required. string
The human-readable status of the container instance state.
ExitCode This property is required. int
The container instance exit codes correspond to those from the docker run command.
FinishTime This property is required. string
The date-time when the container instance state finished.
StartTime This property is required. string
The date-time when the container instance state started.
State This property is required. string
The state of the container instance.
DetailStatus This property is required. string
The human-readable status of the container instance state.
ExitCode This property is required. int
The container instance exit codes correspond to those from the docker run command.
FinishTime This property is required. string
The date-time when the container instance state finished.
StartTime This property is required. string
The date-time when the container instance state started.
State This property is required. string
The state of the container instance.
detailStatus This property is required. String
The human-readable status of the container instance state.
exitCode This property is required. Integer
The container instance exit codes correspond to those from the docker run command.
finishTime This property is required. String
The date-time when the container instance state finished.
startTime This property is required. String
The date-time when the container instance state started.
state This property is required. String
The state of the container instance.
detailStatus This property is required. string
The human-readable status of the container instance state.
exitCode This property is required. number
The container instance exit codes correspond to those from the docker run command.
finishTime This property is required. string
The date-time when the container instance state finished.
startTime This property is required. string
The date-time when the container instance state started.
state This property is required. string
The state of the container instance.
detail_status This property is required. str
The human-readable status of the container instance state.
exit_code This property is required. int
The container instance exit codes correspond to those from the docker run command.
finish_time This property is required. str
The date-time when the container instance state finished.
start_time This property is required. str
The date-time when the container instance state started.
state This property is required. str
The state of the container instance.
detailStatus This property is required. String
The human-readable status of the container instance state.
exitCode This property is required. Number
The container instance exit codes correspond to those from the docker run command.
finishTime This property is required. String
The date-time when the container instance state finished.
startTime This property is required. String
The date-time when the container instance state started.
state This property is required. String
The state of the container instance.

DeploymentExtensionSpec
, DeploymentExtensionSpecArgs

ExtensionType This property is required. string
Type of extension to be added.
Name This property is required. string
Name of the extension.
Version This property is required. string
Version of the extension being used.
ProtectedSettings object
Protected settings for the extension.
Settings object
Settings for the extension.
ExtensionType This property is required. string
Type of extension to be added.
Name This property is required. string
Name of the extension.
Version This property is required. string
Version of the extension being used.
ProtectedSettings interface{}
Protected settings for the extension.
Settings interface{}
Settings for the extension.
extensionType This property is required. String
Type of extension to be added.
name This property is required. String
Name of the extension.
version This property is required. String
Version of the extension being used.
protectedSettings Object
Protected settings for the extension.
settings Object
Settings for the extension.
extensionType This property is required. string
Type of extension to be added.
name This property is required. string
Name of the extension.
version This property is required. string
Version of the extension being used.
protectedSettings any
Protected settings for the extension.
settings any
Settings for the extension.
extension_type This property is required. str
Type of extension to be added.
name This property is required. str
Name of the extension.
version This property is required. str
Version of the extension being used.
protected_settings Any
Protected settings for the extension.
settings Any
Settings for the extension.
extensionType This property is required. String
Type of extension to be added.
name This property is required. String
Name of the extension.
version This property is required. String
Version of the extension being used.
protectedSettings Any
Protected settings for the extension.
settings Any
Settings for the extension.

DeploymentExtensionSpecResponse
, DeploymentExtensionSpecResponseArgs

ExtensionType This property is required. string
Type of extension to be added.
Name This property is required. string
Name of the extension.
Version This property is required. string
Version of the extension being used.
ProtectedSettings object
Protected settings for the extension.
Settings object
Settings for the extension.
ExtensionType This property is required. string
Type of extension to be added.
Name This property is required. string
Name of the extension.
Version This property is required. string
Version of the extension being used.
ProtectedSettings interface{}
Protected settings for the extension.
Settings interface{}
Settings for the extension.
extensionType This property is required. String
Type of extension to be added.
name This property is required. String
Name of the extension.
version This property is required. String
Version of the extension being used.
protectedSettings Object
Protected settings for the extension.
settings Object
Settings for the extension.
extensionType This property is required. string
Type of extension to be added.
name This property is required. string
Name of the extension.
version This property is required. string
Version of the extension being used.
protectedSettings any
Protected settings for the extension.
settings any
Settings for the extension.
extension_type This property is required. str
Type of extension to be added.
name This property is required. str
Name of the extension.
version This property is required. str
Version of the extension being used.
protected_settings Any
Protected settings for the extension.
settings Any
Settings for the extension.
extensionType This property is required. String
Type of extension to be added.
name This property is required. String
Name of the extension.
version This property is required. String
Version of the extension being used.
protectedSettings Any
Protected settings for the extension.
settings Any
Settings for the extension.

DnsConfiguration
, DnsConfigurationArgs

NameServers This property is required. List<string>
The DNS servers for the container group.
Options string
The DNS options for the container group.
SearchDomains string
The DNS search domains for hostname lookup in the container group.
NameServers This property is required. []string
The DNS servers for the container group.
Options string
The DNS options for the container group.
SearchDomains string
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. List<String>
The DNS servers for the container group.
options String
The DNS options for the container group.
searchDomains String
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. string[]
The DNS servers for the container group.
options string
The DNS options for the container group.
searchDomains string
The DNS search domains for hostname lookup in the container group.
name_servers This property is required. Sequence[str]
The DNS servers for the container group.
options str
The DNS options for the container group.
search_domains str
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. List<String>
The DNS servers for the container group.
options String
The DNS options for the container group.
searchDomains String
The DNS search domains for hostname lookup in the container group.

DnsConfigurationResponse
, DnsConfigurationResponseArgs

NameServers This property is required. List<string>
The DNS servers for the container group.
Options string
The DNS options for the container group.
SearchDomains string
The DNS search domains for hostname lookup in the container group.
NameServers This property is required. []string
The DNS servers for the container group.
Options string
The DNS options for the container group.
SearchDomains string
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. List<String>
The DNS servers for the container group.
options String
The DNS options for the container group.
searchDomains String
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. string[]
The DNS servers for the container group.
options string
The DNS options for the container group.
searchDomains string
The DNS search domains for hostname lookup in the container group.
name_servers This property is required. Sequence[str]
The DNS servers for the container group.
options str
The DNS options for the container group.
search_domains str
The DNS search domains for hostname lookup in the container group.
nameServers This property is required. List<String>
The DNS servers for the container group.
options String
The DNS options for the container group.
searchDomains String
The DNS search domains for hostname lookup in the container group.

DnsNameLabelReusePolicy
, DnsNameLabelReusePolicyArgs

Unsecure
Unsecure
TenantReuse
TenantReuse
SubscriptionReuse
SubscriptionReuse
ResourceGroupReuse
ResourceGroupReuse
Noreuse
Noreuse
DnsNameLabelReusePolicyUnsecure
Unsecure
DnsNameLabelReusePolicyTenantReuse
TenantReuse
DnsNameLabelReusePolicySubscriptionReuse
SubscriptionReuse
DnsNameLabelReusePolicyResourceGroupReuse
ResourceGroupReuse
DnsNameLabelReusePolicyNoreuse
Noreuse
Unsecure
Unsecure
TenantReuse
TenantReuse
SubscriptionReuse
SubscriptionReuse
ResourceGroupReuse
ResourceGroupReuse
Noreuse
Noreuse
Unsecure
Unsecure
TenantReuse
TenantReuse
SubscriptionReuse
SubscriptionReuse
ResourceGroupReuse
ResourceGroupReuse
Noreuse
Noreuse
UNSECURE
Unsecure
TENANT_REUSE
TenantReuse
SUBSCRIPTION_REUSE
SubscriptionReuse
RESOURCE_GROUP_REUSE
ResourceGroupReuse
NOREUSE
Noreuse
"Unsecure"
Unsecure
"TenantReuse"
TenantReuse
"SubscriptionReuse"
SubscriptionReuse
"ResourceGroupReuse"
ResourceGroupReuse
"Noreuse"
Noreuse

EncryptionProperties
, EncryptionPropertiesArgs

KeyName This property is required. string
The encryption key name.
KeyVersion This property is required. string
The encryption key version.
VaultBaseUrl This property is required. string
The keyvault base url.
Identity string
The keyvault managed identity.
KeyName This property is required. string
The encryption key name.
KeyVersion This property is required. string
The encryption key version.
VaultBaseUrl This property is required. string
The keyvault base url.
Identity string
The keyvault managed identity.
keyName This property is required. String
The encryption key name.
keyVersion This property is required. String
The encryption key version.
vaultBaseUrl This property is required. String
The keyvault base url.
identity String
The keyvault managed identity.
keyName This property is required. string
The encryption key name.
keyVersion This property is required. string
The encryption key version.
vaultBaseUrl This property is required. string
The keyvault base url.
identity string
The keyvault managed identity.
key_name This property is required. str
The encryption key name.
key_version This property is required. str
The encryption key version.
vault_base_url This property is required. str
The keyvault base url.
identity str
The keyvault managed identity.
keyName This property is required. String
The encryption key name.
keyVersion This property is required. String
The encryption key version.
vaultBaseUrl This property is required. String
The keyvault base url.
identity String
The keyvault managed identity.

EncryptionPropertiesResponse
, EncryptionPropertiesResponseArgs

KeyName This property is required. string
The encryption key name.
KeyVersion This property is required. string
The encryption key version.
VaultBaseUrl This property is required. string
The keyvault base url.
Identity string
The keyvault managed identity.
KeyName This property is required. string
The encryption key name.
KeyVersion This property is required. string
The encryption key version.
VaultBaseUrl This property is required. string
The keyvault base url.
Identity string
The keyvault managed identity.
keyName This property is required. String
The encryption key name.
keyVersion This property is required. String
The encryption key version.
vaultBaseUrl This property is required. String
The keyvault base url.
identity String
The keyvault managed identity.
keyName This property is required. string
The encryption key name.
keyVersion This property is required. string
The encryption key version.
vaultBaseUrl This property is required. string
The keyvault base url.
identity string
The keyvault managed identity.
key_name This property is required. str
The encryption key name.
key_version This property is required. str
The encryption key version.
vault_base_url This property is required. str
The keyvault base url.
identity str
The keyvault managed identity.
keyName This property is required. String
The encryption key name.
keyVersion This property is required. String
The encryption key version.
vaultBaseUrl This property is required. String
The keyvault base url.
identity String
The keyvault managed identity.

EnvironmentVariable
, EnvironmentVariableArgs

Name This property is required. string
The name of the environment variable.
SecureValue string
The value of the secure environment variable.
SecureValueReference string
The reference of the secure environment variable.
Value string
The value of the environment variable.
Name This property is required. string
The name of the environment variable.
SecureValue string
The value of the secure environment variable.
SecureValueReference string
The reference of the secure environment variable.
Value string
The value of the environment variable.
name This property is required. String
The name of the environment variable.
secureValue String
The value of the secure environment variable.
secureValueReference String
The reference of the secure environment variable.
value String
The value of the environment variable.
name This property is required. string
The name of the environment variable.
secureValue string
The value of the secure environment variable.
secureValueReference string
The reference of the secure environment variable.
value string
The value of the environment variable.
name This property is required. str
The name of the environment variable.
secure_value str
The value of the secure environment variable.
secure_value_reference str
The reference of the secure environment variable.
value str
The value of the environment variable.
name This property is required. String
The name of the environment variable.
secureValue String
The value of the secure environment variable.
secureValueReference String
The reference of the secure environment variable.
value String
The value of the environment variable.

EnvironmentVariableResponse
, EnvironmentVariableResponseArgs

Name This property is required. string
The name of the environment variable.
SecureValue string
The value of the secure environment variable.
SecureValueReference string
The reference of the secure environment variable.
Value string
The value of the environment variable.
Name This property is required. string
The name of the environment variable.
SecureValue string
The value of the secure environment variable.
SecureValueReference string
The reference of the secure environment variable.
Value string
The value of the environment variable.
name This property is required. String
The name of the environment variable.
secureValue String
The value of the secure environment variable.
secureValueReference String
The reference of the secure environment variable.
value String
The value of the environment variable.
name This property is required. string
The name of the environment variable.
secureValue string
The value of the secure environment variable.
secureValueReference string
The reference of the secure environment variable.
value string
The value of the environment variable.
name This property is required. str
The name of the environment variable.
secure_value str
The value of the secure environment variable.
secure_value_reference str
The reference of the secure environment variable.
value str
The value of the environment variable.
name This property is required. String
The name of the environment variable.
secureValue String
The value of the secure environment variable.
secureValueReference String
The reference of the secure environment variable.
value String
The value of the environment variable.

EventResponse
, EventResponseArgs

Count This property is required. int
The count of the event.
FirstTimestamp This property is required. string
The date-time of the earliest logged event.
LastTimestamp This property is required. string
The date-time of the latest logged event.
Message This property is required. string
The event message.
Name This property is required. string
The event name.
Type This property is required. string
The event type.
Count This property is required. int
The count of the event.
FirstTimestamp This property is required. string
The date-time of the earliest logged event.
LastTimestamp This property is required. string
The date-time of the latest logged event.
Message This property is required. string
The event message.
Name This property is required. string
The event name.
Type This property is required. string
The event type.
count This property is required. Integer
The count of the event.
firstTimestamp This property is required. String
The date-time of the earliest logged event.
lastTimestamp This property is required. String
The date-time of the latest logged event.
message This property is required. String
The event message.
name This property is required. String
The event name.
type This property is required. String
The event type.
count This property is required. number
The count of the event.
firstTimestamp This property is required. string
The date-time of the earliest logged event.
lastTimestamp This property is required. string
The date-time of the latest logged event.
message This property is required. string
The event message.
name This property is required. string
The event name.
type This property is required. string
The event type.
count This property is required. int
The count of the event.
first_timestamp This property is required. str
The date-time of the earliest logged event.
last_timestamp This property is required. str
The date-time of the latest logged event.
message This property is required. str
The event message.
name This property is required. str
The event name.
type This property is required. str
The event type.
count This property is required. Number
The count of the event.
firstTimestamp This property is required. String
The date-time of the earliest logged event.
lastTimestamp This property is required. String
The date-time of the latest logged event.
message This property is required. String
The event message.
name This property is required. String
The event name.
type This property is required. String
The event type.

GitRepoVolume
, GitRepoVolumeArgs

Repository This property is required. string
Repository URL
Directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
Revision string
Commit hash for the specified revision.
Repository This property is required. string
Repository URL
Directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
Revision string
Commit hash for the specified revision.
repository This property is required. String
Repository URL
directory String
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision String
Commit hash for the specified revision.
repository This property is required. string
Repository URL
directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision string
Commit hash for the specified revision.
repository This property is required. str
Repository URL
directory str
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision str
Commit hash for the specified revision.
repository This property is required. String
Repository URL
directory String
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision String
Commit hash for the specified revision.

GitRepoVolumeResponse
, GitRepoVolumeResponseArgs

Repository This property is required. string
Repository URL
Directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
Revision string
Commit hash for the specified revision.
Repository This property is required. string
Repository URL
Directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
Revision string
Commit hash for the specified revision.
repository This property is required. String
Repository URL
directory String
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision String
Commit hash for the specified revision.
repository This property is required. string
Repository URL
directory string
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision string
Commit hash for the specified revision.
repository This property is required. str
Repository URL
directory str
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision str
Commit hash for the specified revision.
repository This property is required. String
Repository URL
directory String
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
revision String
Commit hash for the specified revision.

GpuResource
, GpuResourceArgs

Count This property is required. int
The count of the GPU resource.
Sku This property is required. string | Pulumi.AzureNative.ContainerInstance.GpuSku
The SKU of the GPU resource.
Count This property is required. int
The count of the GPU resource.
Sku This property is required. string | GpuSku
The SKU of the GPU resource.
count This property is required. Integer
The count of the GPU resource.
sku This property is required. String | GpuSku
The SKU of the GPU resource.
count This property is required. number
The count of the GPU resource.
sku This property is required. string | GpuSku
The SKU of the GPU resource.
count This property is required. int
The count of the GPU resource.
sku This property is required. str | GpuSku
The SKU of the GPU resource.
count This property is required. Number
The count of the GPU resource.
sku This property is required. String | "K80" | "P100" | "V100"
The SKU of the GPU resource.

GpuResourceResponse
, GpuResourceResponseArgs

Count This property is required. int
The count of the GPU resource.
Sku This property is required. string
The SKU of the GPU resource.
Count This property is required. int
The count of the GPU resource.
Sku This property is required. string
The SKU of the GPU resource.
count This property is required. Integer
The count of the GPU resource.
sku This property is required. String
The SKU of the GPU resource.
count This property is required. number
The count of the GPU resource.
sku This property is required. string
The SKU of the GPU resource.
count This property is required. int
The count of the GPU resource.
sku This property is required. str
The SKU of the GPU resource.
count This property is required. Number
The count of the GPU resource.
sku This property is required. String
The SKU of the GPU resource.

GpuSku
, GpuSkuArgs

K80
K80
P100
P100
V100
V100
GpuSkuK80
K80
GpuSkuP100
P100
GpuSkuV100
V100
K80
K80
P100
P100
V100
V100
K80
K80
P100
P100
V100
V100
K80
K80
P100
P100
V100
V100
"K80"
K80
"P100"
P100
"V100"
V100

HttpHeader
, HttpHeaderArgs

Name string
The header name.
Value string
The header value.
Name string
The header name.
Value string
The header value.
name String
The header name.
value String
The header value.
name string
The header name.
value string
The header value.
name str
The header name.
value str
The header value.
name String
The header name.
value String
The header value.

HttpHeaderResponse
, HttpHeaderResponseArgs

Name string
The header name.
Value string
The header value.
Name string
The header name.
Value string
The header value.
name String
The header name.
value String
The header value.
name string
The header name.
value string
The header value.
name str
The header name.
value str
The header value.
name String
The header name.
value String
The header value.

ImageRegistryCredential
, ImageRegistryCredentialArgs

Server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
Identity string
The identity for the private registry.
IdentityUrl string
The identity URL for the private registry.
Password string
The password for the private registry.
PasswordReference string
The reference for the private registry password.
Username string
The username for the private registry.
Server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
Identity string
The identity for the private registry.
IdentityUrl string
The identity URL for the private registry.
Password string
The password for the private registry.
PasswordReference string
The reference for the private registry password.
Username string
The username for the private registry.
server This property is required. String
The Docker image registry server without a protocol such as "http" and "https".
identity String
The identity for the private registry.
identityUrl String
The identity URL for the private registry.
password String
The password for the private registry.
passwordReference String
The reference for the private registry password.
username String
The username for the private registry.
server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
identity string
The identity for the private registry.
identityUrl string
The identity URL for the private registry.
password string
The password for the private registry.
passwordReference string
The reference for the private registry password.
username string
The username for the private registry.
server This property is required. str
The Docker image registry server without a protocol such as "http" and "https".
identity str
The identity for the private registry.
identity_url str
The identity URL for the private registry.
password str
The password for the private registry.
password_reference str
The reference for the private registry password.
username str
The username for the private registry.
server This property is required. String
The Docker image registry server without a protocol such as "http" and "https".
identity String
The identity for the private registry.
identityUrl String
The identity URL for the private registry.
password String
The password for the private registry.
passwordReference String
The reference for the private registry password.
username String
The username for the private registry.

ImageRegistryCredentialResponse
, ImageRegistryCredentialResponseArgs

Server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
Identity string
The identity for the private registry.
IdentityUrl string
The identity URL for the private registry.
Password string
The password for the private registry.
PasswordReference string
The reference for the private registry password.
Username string
The username for the private registry.
Server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
Identity string
The identity for the private registry.
IdentityUrl string
The identity URL for the private registry.
Password string
The password for the private registry.
PasswordReference string
The reference for the private registry password.
Username string
The username for the private registry.
server This property is required. String
The Docker image registry server without a protocol such as "http" and "https".
identity String
The identity for the private registry.
identityUrl String
The identity URL for the private registry.
password String
The password for the private registry.
passwordReference String
The reference for the private registry password.
username String
The username for the private registry.
server This property is required. string
The Docker image registry server without a protocol such as "http" and "https".
identity string
The identity for the private registry.
identityUrl string
The identity URL for the private registry.
password string
The password for the private registry.
passwordReference string
The reference for the private registry password.
username string
The username for the private registry.
server This property is required. str
The Docker image registry server without a protocol such as "http" and "https".
identity str
The identity for the private registry.
identity_url str
The identity URL for the private registry.
password str
The password for the private registry.
password_reference str
The reference for the private registry password.
username str
The username for the private registry.
server This property is required. String
The Docker image registry server without a protocol such as "http" and "https".
identity String
The identity for the private registry.
identityUrl String
The identity URL for the private registry.
password String
The password for the private registry.
passwordReference String
The reference for the private registry password.
username String
The username for the private registry.

InitContainerDefinition
, InitContainerDefinitionArgs

Name This property is required. string
The name for the init container.
Command List<string>
The command to execute within the init container in exec form.
EnvironmentVariables List<Pulumi.AzureNative.ContainerInstance.Inputs.EnvironmentVariable>
The environment variables to set in the init container.
Image string
The image of the init container.
SecurityContext Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextDefinition
The container security properties.
VolumeMounts List<Pulumi.AzureNative.ContainerInstance.Inputs.VolumeMount>
The volume mounts available to the init container.
Name This property is required. string
The name for the init container.
Command []string
The command to execute within the init container in exec form.
EnvironmentVariables []EnvironmentVariable
The environment variables to set in the init container.
Image string
The image of the init container.
SecurityContext SecurityContextDefinition
The container security properties.
VolumeMounts []VolumeMount
The volume mounts available to the init container.
name This property is required. String
The name for the init container.
command List<String>
The command to execute within the init container in exec form.
environmentVariables List<EnvironmentVariable>
The environment variables to set in the init container.
image String
The image of the init container.
securityContext SecurityContextDefinition
The container security properties.
volumeMounts List<VolumeMount>
The volume mounts available to the init container.
name This property is required. string
The name for the init container.
command string[]
The command to execute within the init container in exec form.
environmentVariables EnvironmentVariable[]
The environment variables to set in the init container.
image string
The image of the init container.
securityContext SecurityContextDefinition
The container security properties.
volumeMounts VolumeMount[]
The volume mounts available to the init container.
name This property is required. str
The name for the init container.
command Sequence[str]
The command to execute within the init container in exec form.
environment_variables Sequence[EnvironmentVariable]
The environment variables to set in the init container.
image str
The image of the init container.
security_context SecurityContextDefinition
The container security properties.
volume_mounts Sequence[VolumeMount]
The volume mounts available to the init container.
name This property is required. String
The name for the init container.
command List<String>
The command to execute within the init container in exec form.
environmentVariables List<Property Map>
The environment variables to set in the init container.
image String
The image of the init container.
securityContext Property Map
The container security properties.
volumeMounts List<Property Map>
The volume mounts available to the init container.

InitContainerDefinitionResponse
, InitContainerDefinitionResponseArgs

InstanceView This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.InitContainerPropertiesDefinitionResponseInstanceView
The instance view of the init container. Only valid in response.
Name This property is required. string
The name for the init container.
Command List<string>
The command to execute within the init container in exec form.
EnvironmentVariables List<Pulumi.AzureNative.ContainerInstance.Inputs.EnvironmentVariableResponse>
The environment variables to set in the init container.
Image string
The image of the init container.
SecurityContext Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionResponse
The container security properties.
VolumeMounts List<Pulumi.AzureNative.ContainerInstance.Inputs.VolumeMountResponse>
The volume mounts available to the init container.
InstanceView This property is required. InitContainerPropertiesDefinitionResponseInstanceView
The instance view of the init container. Only valid in response.
Name This property is required. string
The name for the init container.
Command []string
The command to execute within the init container in exec form.
EnvironmentVariables []EnvironmentVariableResponse
The environment variables to set in the init container.
Image string
The image of the init container.
SecurityContext SecurityContextDefinitionResponse
The container security properties.
VolumeMounts []VolumeMountResponse
The volume mounts available to the init container.
instanceView This property is required. InitContainerPropertiesDefinitionResponseInstanceView
The instance view of the init container. Only valid in response.
name This property is required. String
The name for the init container.
command List<String>
The command to execute within the init container in exec form.
environmentVariables List<EnvironmentVariableResponse>
The environment variables to set in the init container.
image String
The image of the init container.
securityContext SecurityContextDefinitionResponse
The container security properties.
volumeMounts List<VolumeMountResponse>
The volume mounts available to the init container.
instanceView This property is required. InitContainerPropertiesDefinitionResponseInstanceView
The instance view of the init container. Only valid in response.
name This property is required. string
The name for the init container.
command string[]
The command to execute within the init container in exec form.
environmentVariables EnvironmentVariableResponse[]
The environment variables to set in the init container.
image string
The image of the init container.
securityContext SecurityContextDefinitionResponse
The container security properties.
volumeMounts VolumeMountResponse[]
The volume mounts available to the init container.
instance_view This property is required. InitContainerPropertiesDefinitionResponseInstanceView
The instance view of the init container. Only valid in response.
name This property is required. str
The name for the init container.
command Sequence[str]
The command to execute within the init container in exec form.
environment_variables Sequence[EnvironmentVariableResponse]
The environment variables to set in the init container.
image str
The image of the init container.
security_context SecurityContextDefinitionResponse
The container security properties.
volume_mounts Sequence[VolumeMountResponse]
The volume mounts available to the init container.
instanceView This property is required. Property Map
The instance view of the init container. Only valid in response.
name This property is required. String
The name for the init container.
command List<String>
The command to execute within the init container in exec form.
environmentVariables List<Property Map>
The environment variables to set in the init container.
image String
The image of the init container.
securityContext Property Map
The container security properties.
volumeMounts List<Property Map>
The volume mounts available to the init container.

InitContainerPropertiesDefinitionResponseInstanceView
, InitContainerPropertiesDefinitionResponseInstanceViewArgs

CurrentState This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ContainerStateResponse
The current state of the init container.
Events This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.EventResponse>
The events of the init container.
PreviousState This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ContainerStateResponse
The previous state of the init container.
RestartCount This property is required. int
The number of times that the init container has been restarted.
CurrentState This property is required. ContainerStateResponse
The current state of the init container.
Events This property is required. []EventResponse
The events of the init container.
PreviousState This property is required. ContainerStateResponse
The previous state of the init container.
RestartCount This property is required. int
The number of times that the init container has been restarted.
currentState This property is required. ContainerStateResponse
The current state of the init container.
events This property is required. List<EventResponse>
The events of the init container.
previousState This property is required. ContainerStateResponse
The previous state of the init container.
restartCount This property is required. Integer
The number of times that the init container has been restarted.
currentState This property is required. ContainerStateResponse
The current state of the init container.
events This property is required. EventResponse[]
The events of the init container.
previousState This property is required. ContainerStateResponse
The previous state of the init container.
restartCount This property is required. number
The number of times that the init container has been restarted.
current_state This property is required. ContainerStateResponse
The current state of the init container.
events This property is required. Sequence[EventResponse]
The events of the init container.
previous_state This property is required. ContainerStateResponse
The previous state of the init container.
restart_count This property is required. int
The number of times that the init container has been restarted.
currentState This property is required. Property Map
The current state of the init container.
events This property is required. List<Property Map>
The events of the init container.
previousState This property is required. Property Map
The previous state of the init container.
restartCount This property is required. Number
The number of times that the init container has been restarted.

IpAddress
, IpAddressArgs

Ports This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.Port>
The list of ports exposed on the container group.
Type This property is required. string | Pulumi.AzureNative.ContainerInstance.ContainerGroupIpAddressType
Specifies if the IP is exposed to the public internet or private VNET.
AutoGeneratedDomainNameLabelScope string | Pulumi.AzureNative.ContainerInstance.DnsNameLabelReusePolicy
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
DnsNameLabel string
The Dns name label for the IP.
Ip string
The IP exposed to the public internet.
Ports This property is required. []Port
The list of ports exposed on the container group.
Type This property is required. string | ContainerGroupIpAddressType
Specifies if the IP is exposed to the public internet or private VNET.
AutoGeneratedDomainNameLabelScope string | DnsNameLabelReusePolicy
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
DnsNameLabel string
The Dns name label for the IP.
Ip string
The IP exposed to the public internet.
ports This property is required. List<Port>
The list of ports exposed on the container group.
type This property is required. String | ContainerGroupIpAddressType
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope String | DnsNameLabelReusePolicy
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel String
The Dns name label for the IP.
ip String
The IP exposed to the public internet.
ports This property is required. Port[]
The list of ports exposed on the container group.
type This property is required. string | ContainerGroupIpAddressType
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope string | DnsNameLabelReusePolicy
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel string
The Dns name label for the IP.
ip string
The IP exposed to the public internet.
ports This property is required. Sequence[Port]
The list of ports exposed on the container group.
type This property is required. str | ContainerGroupIpAddressType
Specifies if the IP is exposed to the public internet or private VNET.
auto_generated_domain_name_label_scope str | DnsNameLabelReusePolicy
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dns_name_label str
The Dns name label for the IP.
ip str
The IP exposed to the public internet.
ports This property is required. List<Property Map>
The list of ports exposed on the container group.
type This property is required. String | "Public" | "Private"
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope String | "Unsecure" | "TenantReuse" | "SubscriptionReuse" | "ResourceGroupReuse" | "Noreuse"
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel String
The Dns name label for the IP.
ip String
The IP exposed to the public internet.

IpAddressResponse
, IpAddressResponseArgs

Fqdn This property is required. string
The FQDN for the IP.
Ports This property is required. List<Pulumi.AzureNative.ContainerInstance.Inputs.PortResponse>
The list of ports exposed on the container group.
Type This property is required. string
Specifies if the IP is exposed to the public internet or private VNET.
AutoGeneratedDomainNameLabelScope string
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
DnsNameLabel string
The Dns name label for the IP.
Ip string
The IP exposed to the public internet.
Fqdn This property is required. string
The FQDN for the IP.
Ports This property is required. []PortResponse
The list of ports exposed on the container group.
Type This property is required. string
Specifies if the IP is exposed to the public internet or private VNET.
AutoGeneratedDomainNameLabelScope string
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
DnsNameLabel string
The Dns name label for the IP.
Ip string
The IP exposed to the public internet.
fqdn This property is required. String
The FQDN for the IP.
ports This property is required. List<PortResponse>
The list of ports exposed on the container group.
type This property is required. String
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope String
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel String
The Dns name label for the IP.
ip String
The IP exposed to the public internet.
fqdn This property is required. string
The FQDN for the IP.
ports This property is required. PortResponse[]
The list of ports exposed on the container group.
type This property is required. string
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope string
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel string
The Dns name label for the IP.
ip string
The IP exposed to the public internet.
fqdn This property is required. str
The FQDN for the IP.
ports This property is required. Sequence[PortResponse]
The list of ports exposed on the container group.
type This property is required. str
Specifies if the IP is exposed to the public internet or private VNET.
auto_generated_domain_name_label_scope str
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dns_name_label str
The Dns name label for the IP.
ip str
The IP exposed to the public internet.
fqdn This property is required. String
The FQDN for the IP.
ports This property is required. List<Property Map>
The list of ports exposed on the container group.
type This property is required. String
Specifies if the IP is exposed to the public internet or private VNET.
autoGeneratedDomainNameLabelScope String
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
dnsNameLabel String
The Dns name label for the IP.
ip String
The IP exposed to the public internet.

LogAnalytics
, LogAnalyticsArgs

WorkspaceId This property is required. string
The workspace id for log analytics
WorkspaceKey This property is required. string
The workspace key for log analytics
LogType string | Pulumi.AzureNative.ContainerInstance.LogAnalyticsLogType
The log type to be used.
Metadata Dictionary<string, string>
Metadata for log analytics.
WorkspaceResourceId string
The workspace resource id for log analytics
WorkspaceId This property is required. string
The workspace id for log analytics
WorkspaceKey This property is required. string
The workspace key for log analytics
LogType string | LogAnalyticsLogType
The log type to be used.
Metadata map[string]string
Metadata for log analytics.
WorkspaceResourceId string
The workspace resource id for log analytics
workspaceId This property is required. String
The workspace id for log analytics
workspaceKey This property is required. String
The workspace key for log analytics
logType String | LogAnalyticsLogType
The log type to be used.
metadata Map<String,String>
Metadata for log analytics.
workspaceResourceId String
The workspace resource id for log analytics
workspaceId This property is required. string
The workspace id for log analytics
workspaceKey This property is required. string
The workspace key for log analytics
logType string | LogAnalyticsLogType
The log type to be used.
metadata {[key: string]: string}
Metadata for log analytics.
workspaceResourceId string
The workspace resource id for log analytics
workspace_id This property is required. str
The workspace id for log analytics
workspace_key This property is required. str
The workspace key for log analytics
log_type str | LogAnalyticsLogType
The log type to be used.
metadata Mapping[str, str]
Metadata for log analytics.
workspace_resource_id str
The workspace resource id for log analytics
workspaceId This property is required. String
The workspace id for log analytics
workspaceKey This property is required. String
The workspace key for log analytics
logType String | "ContainerInsights" | "ContainerInstanceLogs"
The log type to be used.
metadata Map<String>
Metadata for log analytics.
workspaceResourceId String
The workspace resource id for log analytics

LogAnalyticsLogType
, LogAnalyticsLogTypeArgs

ContainerInsights
ContainerInsights
ContainerInstanceLogs
ContainerInstanceLogs
LogAnalyticsLogTypeContainerInsights
ContainerInsights
LogAnalyticsLogTypeContainerInstanceLogs
ContainerInstanceLogs
ContainerInsights
ContainerInsights
ContainerInstanceLogs
ContainerInstanceLogs
ContainerInsights
ContainerInsights
ContainerInstanceLogs
ContainerInstanceLogs
CONTAINER_INSIGHTS
ContainerInsights
CONTAINER_INSTANCE_LOGS
ContainerInstanceLogs
"ContainerInsights"
ContainerInsights
"ContainerInstanceLogs"
ContainerInstanceLogs

LogAnalyticsResponse
, LogAnalyticsResponseArgs

WorkspaceId This property is required. string
The workspace id for log analytics
WorkspaceKey This property is required. string
The workspace key for log analytics
LogType string
The log type to be used.
Metadata Dictionary<string, string>
Metadata for log analytics.
WorkspaceResourceId string
The workspace resource id for log analytics
WorkspaceId This property is required. string
The workspace id for log analytics
WorkspaceKey This property is required. string
The workspace key for log analytics
LogType string
The log type to be used.
Metadata map[string]string
Metadata for log analytics.
WorkspaceResourceId string
The workspace resource id for log analytics
workspaceId This property is required. String
The workspace id for log analytics
workspaceKey This property is required. String
The workspace key for log analytics
logType String
The log type to be used.
metadata Map<String,String>
Metadata for log analytics.
workspaceResourceId String
The workspace resource id for log analytics
workspaceId This property is required. string
The workspace id for log analytics
workspaceKey This property is required. string
The workspace key for log analytics
logType string
The log type to be used.
metadata {[key: string]: string}
Metadata for log analytics.
workspaceResourceId string
The workspace resource id for log analytics
workspace_id This property is required. str
The workspace id for log analytics
workspace_key This property is required. str
The workspace key for log analytics
log_type str
The log type to be used.
metadata Mapping[str, str]
Metadata for log analytics.
workspace_resource_id str
The workspace resource id for log analytics
workspaceId This property is required. String
The workspace id for log analytics
workspaceKey This property is required. String
The workspace key for log analytics
logType String
The log type to be used.
metadata Map<String>
Metadata for log analytics.
workspaceResourceId String
The workspace resource id for log analytics

OperatingSystemTypes
, OperatingSystemTypesArgs

Windows
Windows
Linux
Linux
OperatingSystemTypesWindows
Windows
OperatingSystemTypesLinux
Linux
Windows
Windows
Linux
Linux
Windows
Windows
Linux
Linux
WINDOWS
Windows
LINUX
Linux
"Windows"
Windows
"Linux"
Linux

Port
, PortArgs

Port This property is required. int
The port number.
Protocol string | Pulumi.AzureNative.ContainerInstance.ContainerGroupNetworkProtocol
The protocol associated with the port.
Port This property is required. int
The port number.
Protocol string | ContainerGroupNetworkProtocol
The protocol associated with the port.
port This property is required. Integer
The port number.
protocol String | ContainerGroupNetworkProtocol
The protocol associated with the port.
port This property is required. number
The port number.
protocol string | ContainerGroupNetworkProtocol
The protocol associated with the port.
port This property is required. int
The port number.
protocol str | ContainerGroupNetworkProtocol
The protocol associated with the port.
port This property is required. Number
The port number.
protocol String | "TCP" | "UDP"
The protocol associated with the port.

PortResponse
, PortResponseArgs

Port This property is required. int
The port number.
Protocol string
The protocol associated with the port.
Port This property is required. int
The port number.
Protocol string
The protocol associated with the port.
port This property is required. Integer
The port number.
protocol String
The protocol associated with the port.
port This property is required. number
The port number.
protocol string
The protocol associated with the port.
port This property is required. int
The port number.
protocol str
The protocol associated with the port.
port This property is required. Number
The port number.
protocol String
The protocol associated with the port.

ResourceIdentityType
, ResourceIdentityTypeArgs

SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
ResourceIdentityTypeUserAssigned
UserAssigned
ResourceIdentityType_SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
ResourceIdentityTypeNone
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SYSTEM_ASSIGNED
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned, UserAssigned
NONE
None
"SystemAssigned"
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned, UserAssigned"
SystemAssigned, UserAssigned
"None"
None

ResourceLimits
, ResourceLimitsArgs

Cpu double
The CPU limit of this container instance.
Gpu Pulumi.AzureNative.ContainerInstance.Inputs.GpuResource
The GPU limit of this container instance.
MemoryInGB double
The memory limit in GB of this container instance.
Cpu float64
The CPU limit of this container instance.
Gpu GpuResource
The GPU limit of this container instance.
MemoryInGB float64
The memory limit in GB of this container instance.
cpu Double
The CPU limit of this container instance.
gpu GpuResource
The GPU limit of this container instance.
memoryInGB Double
The memory limit in GB of this container instance.
cpu number
The CPU limit of this container instance.
gpu GpuResource
The GPU limit of this container instance.
memoryInGB number
The memory limit in GB of this container instance.
cpu float
The CPU limit of this container instance.
gpu GpuResource
The GPU limit of this container instance.
memory_in_gb float
The memory limit in GB of this container instance.
cpu Number
The CPU limit of this container instance.
gpu Property Map
The GPU limit of this container instance.
memoryInGB Number
The memory limit in GB of this container instance.

ResourceLimitsResponse
, ResourceLimitsResponseArgs

Cpu double
The CPU limit of this container instance.
Gpu Pulumi.AzureNative.ContainerInstance.Inputs.GpuResourceResponse
The GPU limit of this container instance.
MemoryInGB double
The memory limit in GB of this container instance.
Cpu float64
The CPU limit of this container instance.
Gpu GpuResourceResponse
The GPU limit of this container instance.
MemoryInGB float64
The memory limit in GB of this container instance.
cpu Double
The CPU limit of this container instance.
gpu GpuResourceResponse
The GPU limit of this container instance.
memoryInGB Double
The memory limit in GB of this container instance.
cpu number
The CPU limit of this container instance.
gpu GpuResourceResponse
The GPU limit of this container instance.
memoryInGB number
The memory limit in GB of this container instance.
cpu float
The CPU limit of this container instance.
gpu GpuResourceResponse
The GPU limit of this container instance.
memory_in_gb float
The memory limit in GB of this container instance.
cpu Number
The CPU limit of this container instance.
gpu Property Map
The GPU limit of this container instance.
memoryInGB Number
The memory limit in GB of this container instance.

ResourceRequests
, ResourceRequestsArgs

Cpu This property is required. double
The CPU request of this container instance.
MemoryInGB This property is required. double
The memory request in GB of this container instance.
Gpu Pulumi.AzureNative.ContainerInstance.Inputs.GpuResource
The GPU request of this container instance.
Cpu This property is required. float64
The CPU request of this container instance.
MemoryInGB This property is required. float64
The memory request in GB of this container instance.
Gpu GpuResource
The GPU request of this container instance.
cpu This property is required. Double
The CPU request of this container instance.
memoryInGB This property is required. Double
The memory request in GB of this container instance.
gpu GpuResource
The GPU request of this container instance.
cpu This property is required. number
The CPU request of this container instance.
memoryInGB This property is required. number
The memory request in GB of this container instance.
gpu GpuResource
The GPU request of this container instance.
cpu This property is required. float
The CPU request of this container instance.
memory_in_gb This property is required. float
The memory request in GB of this container instance.
gpu GpuResource
The GPU request of this container instance.
cpu This property is required. Number
The CPU request of this container instance.
memoryInGB This property is required. Number
The memory request in GB of this container instance.
gpu Property Map
The GPU request of this container instance.

ResourceRequestsResponse
, ResourceRequestsResponseArgs

Cpu This property is required. double
The CPU request of this container instance.
MemoryInGB This property is required. double
The memory request in GB of this container instance.
Gpu Pulumi.AzureNative.ContainerInstance.Inputs.GpuResourceResponse
The GPU request of this container instance.
Cpu This property is required. float64
The CPU request of this container instance.
MemoryInGB This property is required. float64
The memory request in GB of this container instance.
Gpu GpuResourceResponse
The GPU request of this container instance.
cpu This property is required. Double
The CPU request of this container instance.
memoryInGB This property is required. Double
The memory request in GB of this container instance.
gpu GpuResourceResponse
The GPU request of this container instance.
cpu This property is required. number
The CPU request of this container instance.
memoryInGB This property is required. number
The memory request in GB of this container instance.
gpu GpuResourceResponse
The GPU request of this container instance.
cpu This property is required. float
The CPU request of this container instance.
memory_in_gb This property is required. float
The memory request in GB of this container instance.
gpu GpuResourceResponse
The GPU request of this container instance.
cpu This property is required. Number
The CPU request of this container instance.
memoryInGB This property is required. Number
The memory request in GB of this container instance.
gpu Property Map
The GPU request of this container instance.

ResourceRequirements
, ResourceRequirementsArgs

Requests This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ResourceRequests
The resource requests of this container instance.
Limits Pulumi.AzureNative.ContainerInstance.Inputs.ResourceLimits
The resource limits of this container instance.
Requests This property is required. ResourceRequests
The resource requests of this container instance.
Limits ResourceLimits
The resource limits of this container instance.
requests This property is required. ResourceRequests
The resource requests of this container instance.
limits ResourceLimits
The resource limits of this container instance.
requests This property is required. ResourceRequests
The resource requests of this container instance.
limits ResourceLimits
The resource limits of this container instance.
requests This property is required. ResourceRequests
The resource requests of this container instance.
limits ResourceLimits
The resource limits of this container instance.
requests This property is required. Property Map
The resource requests of this container instance.
limits Property Map
The resource limits of this container instance.

ResourceRequirementsResponse
, ResourceRequirementsResponseArgs

Requests This property is required. Pulumi.AzureNative.ContainerInstance.Inputs.ResourceRequestsResponse
The resource requests of this container instance.
Limits Pulumi.AzureNative.ContainerInstance.Inputs.ResourceLimitsResponse
The resource limits of this container instance.
Requests This property is required. ResourceRequestsResponse
The resource requests of this container instance.
Limits ResourceLimitsResponse
The resource limits of this container instance.
requests This property is required. ResourceRequestsResponse
The resource requests of this container instance.
limits ResourceLimitsResponse
The resource limits of this container instance.
requests This property is required. ResourceRequestsResponse
The resource requests of this container instance.
limits ResourceLimitsResponse
The resource limits of this container instance.
requests This property is required. ResourceRequestsResponse
The resource requests of this container instance.
limits ResourceLimitsResponse
The resource limits of this container instance.
requests This property is required. Property Map
The resource requests of this container instance.
limits Property Map
The resource limits of this container instance.

Scheme
, SchemeArgs

Http
http
Https
https
SchemeHttp
http
SchemeHttps
https
Http
http
Https
https
Http
http
Https
https
HTTP
http
HTTPS
https
"http"
http
"https"
https

SecurityContextCapabilitiesDefinition
, SecurityContextCapabilitiesDefinitionArgs

Add List<string>
The capabilities to add to the container.
Drop List<string>
The capabilities to drop from the container.
Add []string
The capabilities to add to the container.
Drop []string
The capabilities to drop from the container.
add List<String>
The capabilities to add to the container.
drop List<String>
The capabilities to drop from the container.
add string[]
The capabilities to add to the container.
drop string[]
The capabilities to drop from the container.
add Sequence[str]
The capabilities to add to the container.
drop Sequence[str]
The capabilities to drop from the container.
add List<String>
The capabilities to add to the container.
drop List<String>
The capabilities to drop from the container.

SecurityContextCapabilitiesDefinitionResponse
, SecurityContextCapabilitiesDefinitionResponseArgs

Add List<string>
The capabilities to add to the container.
Drop List<string>
The capabilities to drop from the container.
Add []string
The capabilities to add to the container.
Drop []string
The capabilities to drop from the container.
add List<String>
The capabilities to add to the container.
drop List<String>
The capabilities to drop from the container.
add string[]
The capabilities to add to the container.
drop string[]
The capabilities to drop from the container.
add Sequence[str]
The capabilities to add to the container.
drop Sequence[str]
The capabilities to drop from the container.
add List<String>
The capabilities to add to the container.
drop List<String>
The capabilities to drop from the container.

SecurityContextDefinition
, SecurityContextDefinitionArgs

AllowPrivilegeEscalation bool
A boolean value indicating whether the init process can elevate its privileges
Capabilities Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinition
The capabilities to add or drop from a container.
Privileged bool
The flag to determine if the container permissions is elevated to Privileged.
RunAsGroup int
Sets the User GID for the container.
RunAsUser int
Sets the User UID for the container.
SeccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
AllowPrivilegeEscalation bool
A boolean value indicating whether the init process can elevate its privileges
Capabilities SecurityContextCapabilitiesDefinition
The capabilities to add or drop from a container.
Privileged bool
The flag to determine if the container permissions is elevated to Privileged.
RunAsGroup int
Sets the User GID for the container.
RunAsUser int
Sets the User UID for the container.
SeccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation Boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinition
The capabilities to add or drop from a container.
privileged Boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup Integer
Sets the User GID for the container.
runAsUser Integer
Sets the User UID for the container.
seccompProfile String
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinition
The capabilities to add or drop from a container.
privileged boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup number
Sets the User GID for the container.
runAsUser number
Sets the User UID for the container.
seccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
allow_privilege_escalation bool
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinition
The capabilities to add or drop from a container.
privileged bool
The flag to determine if the container permissions is elevated to Privileged.
run_as_group int
Sets the User GID for the container.
run_as_user int
Sets the User UID for the container.
seccomp_profile str
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation Boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities Property Map
The capabilities to add or drop from a container.
privileged Boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup Number
Sets the User GID for the container.
runAsUser Number
Sets the User UID for the container.
seccompProfile String
a base64 encoded string containing the contents of the JSON in the seccomp profile

SecurityContextDefinitionResponse
, SecurityContextDefinitionResponseArgs

AllowPrivilegeEscalation bool
A boolean value indicating whether the init process can elevate its privileges
Capabilities Pulumi.AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionResponse
The capabilities to add or drop from a container.
Privileged bool
The flag to determine if the container permissions is elevated to Privileged.
RunAsGroup int
Sets the User GID for the container.
RunAsUser int
Sets the User UID for the container.
SeccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
AllowPrivilegeEscalation bool
A boolean value indicating whether the init process can elevate its privileges
Capabilities SecurityContextCapabilitiesDefinitionResponse
The capabilities to add or drop from a container.
Privileged bool
The flag to determine if the container permissions is elevated to Privileged.
RunAsGroup int
Sets the User GID for the container.
RunAsUser int
Sets the User UID for the container.
SeccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation Boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinitionResponse
The capabilities to add or drop from a container.
privileged Boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup Integer
Sets the User GID for the container.
runAsUser Integer
Sets the User UID for the container.
seccompProfile String
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinitionResponse
The capabilities to add or drop from a container.
privileged boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup number
Sets the User GID for the container.
runAsUser number
Sets the User UID for the container.
seccompProfile string
a base64 encoded string containing the contents of the JSON in the seccomp profile
allow_privilege_escalation bool
A boolean value indicating whether the init process can elevate its privileges
capabilities SecurityContextCapabilitiesDefinitionResponse
The capabilities to add or drop from a container.
privileged bool
The flag to determine if the container permissions is elevated to Privileged.
run_as_group int
Sets the User GID for the container.
run_as_user int
Sets the User UID for the container.
seccomp_profile str
a base64 encoded string containing the contents of the JSON in the seccomp profile
allowPrivilegeEscalation Boolean
A boolean value indicating whether the init process can elevate its privileges
capabilities Property Map
The capabilities to add or drop from a container.
privileged Boolean
The flag to determine if the container permissions is elevated to Privileged.
runAsGroup Number
Sets the User GID for the container.
runAsUser Number
Sets the User UID for the container.
seccompProfile String
a base64 encoded string containing the contents of the JSON in the seccomp profile

UserAssignedIdentitiesResponse
, UserAssignedIdentitiesResponseArgs

ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.
clientId This property is required. string
The client id of user assigned identity.
principalId This property is required. string
The principal id of user assigned identity.
client_id This property is required. str
The client id of user assigned identity.
principal_id This property is required. str
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.

Volume
, VolumeArgs

Name This property is required. string
The name of the volume.
AzureFile Pulumi.AzureNative.ContainerInstance.Inputs.AzureFileVolume
The Azure File volume.
EmptyDir object
The empty directory volume.
GitRepo Pulumi.AzureNative.ContainerInstance.Inputs.GitRepoVolume
The git repo volume.
Secret Dictionary<string, string>
The secret volume.
SecretReference Dictionary<string, string>
The secret reference volume.
Name This property is required. string
The name of the volume.
AzureFile AzureFileVolume
The Azure File volume.
EmptyDir interface{}
The empty directory volume.
GitRepo GitRepoVolume
The git repo volume.
Secret map[string]string
The secret volume.
SecretReference map[string]string
The secret reference volume.
name This property is required. String
The name of the volume.
azureFile AzureFileVolume
The Azure File volume.
emptyDir Object
The empty directory volume.
gitRepo GitRepoVolume
The git repo volume.
secret Map<String,String>
The secret volume.
secretReference Map<String,String>
The secret reference volume.
name This property is required. string
The name of the volume.
azureFile AzureFileVolume
The Azure File volume.
emptyDir any
The empty directory volume.
gitRepo GitRepoVolume
The git repo volume.
secret {[key: string]: string}
The secret volume.
secretReference {[key: string]: string}
The secret reference volume.
name This property is required. str
The name of the volume.
azure_file AzureFileVolume
The Azure File volume.
empty_dir Any
The empty directory volume.
git_repo GitRepoVolume
The git repo volume.
secret Mapping[str, str]
The secret volume.
secret_reference Mapping[str, str]
The secret reference volume.
name This property is required. String
The name of the volume.
azureFile Property Map
The Azure File volume.
emptyDir Any
The empty directory volume.
gitRepo Property Map
The git repo volume.
secret Map<String>
The secret volume.
secretReference Map<String>
The secret reference volume.

VolumeMount
, VolumeMountArgs

MountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
Name This property is required. string
The name of the volume mount.
ReadOnly bool
The flag indicating whether the volume mount is read-only.
MountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
Name This property is required. string
The name of the volume mount.
ReadOnly bool
The flag indicating whether the volume mount is read-only.
mountPath This property is required. String
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. String
The name of the volume mount.
readOnly Boolean
The flag indicating whether the volume mount is read-only.
mountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. string
The name of the volume mount.
readOnly boolean
The flag indicating whether the volume mount is read-only.
mount_path This property is required. str
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. str
The name of the volume mount.
read_only bool
The flag indicating whether the volume mount is read-only.
mountPath This property is required. String
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. String
The name of the volume mount.
readOnly Boolean
The flag indicating whether the volume mount is read-only.

VolumeMountResponse
, VolumeMountResponseArgs

MountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
Name This property is required. string
The name of the volume mount.
ReadOnly bool
The flag indicating whether the volume mount is read-only.
MountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
Name This property is required. string
The name of the volume mount.
ReadOnly bool
The flag indicating whether the volume mount is read-only.
mountPath This property is required. String
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. String
The name of the volume mount.
readOnly Boolean
The flag indicating whether the volume mount is read-only.
mountPath This property is required. string
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. string
The name of the volume mount.
readOnly boolean
The flag indicating whether the volume mount is read-only.
mount_path This property is required. str
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. str
The name of the volume mount.
read_only bool
The flag indicating whether the volume mount is read-only.
mountPath This property is required. String
The path within the container where the volume should be mounted. Must not contain colon (:).
name This property is required. String
The name of the volume mount.
readOnly Boolean
The flag indicating whether the volume mount is read-only.

VolumeResponse
, VolumeResponseArgs

Name This property is required. string
The name of the volume.
AzureFile Pulumi.AzureNative.ContainerInstance.Inputs.AzureFileVolumeResponse
The Azure File volume.
EmptyDir object
The empty directory volume.
GitRepo Pulumi.AzureNative.ContainerInstance.Inputs.GitRepoVolumeResponse
The git repo volume.
Secret Dictionary<string, string>
The secret volume.
SecretReference Dictionary<string, string>
The secret reference volume.
Name This property is required. string
The name of the volume.
AzureFile AzureFileVolumeResponse
The Azure File volume.
EmptyDir interface{}
The empty directory volume.
GitRepo GitRepoVolumeResponse
The git repo volume.
Secret map[string]string
The secret volume.
SecretReference map[string]string
The secret reference volume.
name This property is required. String
The name of the volume.
azureFile AzureFileVolumeResponse
The Azure File volume.
emptyDir Object
The empty directory volume.
gitRepo GitRepoVolumeResponse
The git repo volume.
secret Map<String,String>
The secret volume.
secretReference Map<String,String>
The secret reference volume.
name This property is required. string
The name of the volume.
azureFile AzureFileVolumeResponse
The Azure File volume.
emptyDir any
The empty directory volume.
gitRepo GitRepoVolumeResponse
The git repo volume.
secret {[key: string]: string}
The secret volume.
secretReference {[key: string]: string}
The secret reference volume.
name This property is required. str
The name of the volume.
azure_file AzureFileVolumeResponse
The Azure File volume.
empty_dir Any
The empty directory volume.
git_repo GitRepoVolumeResponse
The git repo volume.
secret Mapping[str, str]
The secret volume.
secret_reference Mapping[str, str]
The secret reference volume.
name This property is required. String
The name of the volume.
azureFile Property Map
The Azure File volume.
emptyDir Any
The empty directory volume.
gitRepo Property Map
The git repo volume.
secret Map<String>
The secret volume.
secretReference Map<String>
The secret reference volume.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:containerinstance:ContainerGroup demo1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0