azure-native.containerinstance.ContainerGroup
Explore with Pulumi AI
A container group. API Version: 2021-03-01.
Example Usage
ContainerGroupsCreateOrUpdate
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,
Gpu = new AzureNative.ContainerInstance.Inputs.GpuResourceArgs
{
Count = 1,
Sku = "K80",
},
MemoryInGB = 1.5,
},
},
VolumeMounts = new[]
{
new AzureNative.ContainerInstance.Inputs.VolumeMountArgs
{
MountPath = "/mnt/volume1",
Name = "volume1",
ReadOnly = false,
},
new AzureNative.ContainerInstance.Inputs.VolumeMountArgs
{
MountPath = "/mnt/volume2",
Name = "volume2",
ReadOnly = false,
},
new AzureNative.ContainerInstance.Inputs.VolumeMountArgs
{
MountPath = "/mnt/volume3",
Name = "volume3",
ReadOnly = true,
},
},
},
},
Diagnostics = new AzureNative.ContainerInstance.Inputs.ContainerGroupDiagnosticsArgs
{
LogAnalytics = new AzureNative.ContainerInstance.Inputs.LogAnalyticsArgs
{
LogType = "ContainerInsights",
Metadata =
{
{ "test-key", "test-metadata-value" },
},
WorkspaceId = "workspaceid",
WorkspaceKey = "workspaceKey",
},
},
DnsConfig = new AzureNative.ContainerInstance.Inputs.DnsConfigurationArgs
{
NameServers = new[]
{
"1.1.1.1",
},
Options = "ndots:2",
SearchDomains = "cluster.local svc.cluster.local",
},
Identity = new AzureNative.ContainerInstance.Inputs.ContainerGroupIdentityArgs
{
Type = AzureNative.ContainerInstance.ResourceIdentityType.SystemAssigned_UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", null },
},
},
ImageRegistryCredentials = new[] {},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
DnsNameLabel = "dnsnamelabel1",
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 80,
Protocol = "TCP",
},
},
Type = "Public",
},
Location = "west us",
NetworkProfile = new AzureNative.ContainerInstance.Inputs.ContainerGroupNetworkProfileArgs
{
Id = "test-network-profile-id",
},
OsType = "Linux",
ResourceGroupName = "demo",
Volumes = new[]
{
new AzureNative.ContainerInstance.Inputs.VolumeArgs
{
AzureFile = new AzureNative.ContainerInstance.Inputs.AzureFileVolumeArgs
{
ShareName = "shareName",
StorageAccountKey = "accountKey",
StorageAccountName = "accountName",
},
Name = "volume1",
},
new AzureNative.ContainerInstance.Inputs.VolumeArgs
{
EmptyDir = null,
Name = "volume2",
},
new AzureNative.ContainerInstance.Inputs.VolumeArgs
{
Name = "volume3",
Secret =
{
{ "secretKey1", "SecretValue1InBase64" },
{ "secretKey2", "SecretValue2InBase64" },
},
},
},
});
});
package main
import (
containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance"
"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.ContainerArgs{
{
Command: pulumi.StringArray{},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
Image: pulumi.String("nginx"),
Name: pulumi.String("demo1"),
Ports: containerinstance.ContainerPortArray{
{
Port: pulumi.Int(80),
},
},
Resources: {
Requests: {
Cpu: pulumi.Float64(1),
Gpu: {
Count: pulumi.Int(1),
Sku: pulumi.String("K80"),
},
MemoryInGB: pulumi.Float64(1.5),
},
},
VolumeMounts: containerinstance.VolumeMountArray{
{
MountPath: pulumi.String("/mnt/volume1"),
Name: pulumi.String("volume1"),
ReadOnly: pulumi.Bool(false),
},
{
MountPath: pulumi.String("/mnt/volume2"),
Name: pulumi.String("volume2"),
ReadOnly: pulumi.Bool(false),
},
{
MountPath: pulumi.String("/mnt/volume3"),
Name: pulumi.String("volume3"),
ReadOnly: pulumi.Bool(true),
},
},
},
},
Diagnostics: containerinstance.ContainerGroupDiagnosticsResponse{
LogAnalytics: &containerinstance.LogAnalyticsArgs{
LogType: pulumi.String("ContainerInsights"),
Metadata: pulumi.StringMap{
"test-key": pulumi.String("test-metadata-value"),
},
WorkspaceId: pulumi.String("workspaceid"),
WorkspaceKey: pulumi.String("workspaceKey"),
},
},
DnsConfig: &containerinstance.DnsConfigurationArgs{
NameServers: pulumi.StringArray{
pulumi.String("1.1.1.1"),
},
Options: pulumi.String("ndots:2"),
SearchDomains: pulumi.String("cluster.local svc.cluster.local"),
},
Identity: &containerinstance.ContainerGroupIdentityArgs{
Type: containerinstance.ResourceIdentityType_SystemAssigned_UserAssigned,
UserAssignedIdentities: pulumi.AnyMap{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": nil,
},
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
IpAddress: containerinstance.IpAddressResponse{
DnsNameLabel: pulumi.String("dnsnamelabel1"),
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(80),
Protocol: pulumi.String("TCP"),
},
},
Type: pulumi.String("Public"),
},
Location: pulumi.String("west us"),
NetworkProfile: &containerinstance.ContainerGroupNetworkProfileArgs{
Id: pulumi.String("test-network-profile-id"),
},
OsType: pulumi.String("Linux"),
ResourceGroupName: pulumi.String("demo"),
Volumes: []containerinstance.VolumeArgs{
{
AzureFile: {
ShareName: pulumi.String("shareName"),
StorageAccountKey: pulumi.String("accountKey"),
StorageAccountName: pulumi.String("accountName"),
},
Name: pulumi.String("volume1"),
},
{
EmptyDir: nil,
Name: pulumi.String("volume2"),
},
{
Name: pulumi.String("volume3"),
Secret: {
"secretKey1": pulumi.String("SecretValue1InBase64"),
"secretKey2": pulumi.String("SecretValue2InBase64"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerinstance.ContainerGroup;
import com.pulumi.azurenative.containerinstance.ContainerGroupArgs;
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(Map.ofEntries(
Map.entry("command", ),
Map.entry("environmentVariables", ),
Map.entry("image", "nginx"),
Map.entry("name", "demo1"),
Map.entry("ports", Map.of("port", 80)),
Map.entry("resources", Map.of("requests", Map.ofEntries(
Map.entry("cpu", 1),
Map.entry("gpu", Map.ofEntries(
Map.entry("count", 1),
Map.entry("sku", "K80")
)),
Map.entry("memoryInGB", 1.5)
))),
Map.entry("volumeMounts",
Map.ofEntries(
Map.entry("mountPath", "/mnt/volume1"),
Map.entry("name", "volume1"),
Map.entry("readOnly", false)
),
Map.ofEntries(
Map.entry("mountPath", "/mnt/volume2"),
Map.entry("name", "volume2"),
Map.entry("readOnly", false)
),
Map.ofEntries(
Map.entry("mountPath", "/mnt/volume3"),
Map.entry("name", "volume3"),
Map.entry("readOnly", true)
))
))
.diagnostics(Map.of("logAnalytics", Map.ofEntries(
Map.entry("logType", "ContainerInsights"),
Map.entry("metadata", Map.of("test-key", "test-metadata-value")),
Map.entry("workspaceId", "workspaceid"),
Map.entry("workspaceKey", "workspaceKey")
)))
.dnsConfig(Map.ofEntries(
Map.entry("nameServers", "1.1.1.1"),
Map.entry("options", "ndots:2"),
Map.entry("searchDomains", "cluster.local svc.cluster.local")
))
.identity(Map.ofEntries(
Map.entry("type", "SystemAssigned, UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", ))
))
.imageRegistryCredentials()
.ipAddress(Map.ofEntries(
Map.entry("dnsNameLabel", "dnsnamelabel1"),
Map.entry("ports", Map.ofEntries(
Map.entry("port", 80),
Map.entry("protocol", "TCP")
)),
Map.entry("type", "Public")
))
.location("west us")
.networkProfile(Map.of("id", "test-network-profile-id"))
.osType("Linux")
.resourceGroupName("demo")
.volumes(
Map.ofEntries(
Map.entry("azureFile", Map.ofEntries(
Map.entry("shareName", "shareName"),
Map.entry("storageAccountKey", "accountKey"),
Map.entry("storageAccountName", "accountName")
)),
Map.entry("name", "volume1")
),
Map.ofEntries(
Map.entry("emptyDir", ),
Map.entry("name", "volume2")
),
Map.ofEntries(
Map.entry("name", "volume3"),
Map.entry("secret", Map.ofEntries(
Map.entry("secretKey1", "SecretValue1InBase64"),
Map.entry("secretKey2", "SecretValue2InBase64")
))
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
container_group = azure_native.containerinstance.ContainerGroup("containerGroup",
container_group_name="demo1",
containers=[{
"command": [],
"environmentVariables": [],
"image": "nginx",
"name": "demo1",
"ports": [azure_native.containerinstance.ContainerPortArgs(
port=80,
)],
"resources": {
"requests": {
"cpu": 1,
"gpu": azure_native.containerinstance.GpuResourceArgs(
count=1,
sku="K80",
),
"memoryInGB": 1.5,
},
},
"volumeMounts": [
azure_native.containerinstance.VolumeMountArgs(
mount_path="/mnt/volume1",
name="volume1",
read_only=False,
),
azure_native.containerinstance.VolumeMountArgs(
mount_path="/mnt/volume2",
name="volume2",
read_only=False,
),
azure_native.containerinstance.VolumeMountArgs(
mount_path="/mnt/volume3",
name="volume3",
read_only=True,
),
],
}],
diagnostics=azure_native.containerinstance.ContainerGroupDiagnosticsResponseArgs(
log_analytics=azure_native.containerinstance.LogAnalyticsArgs(
log_type="ContainerInsights",
metadata={
"test-key": "test-metadata-value",
},
workspace_id="workspaceid",
workspace_key="workspaceKey",
),
),
dns_config=azure_native.containerinstance.DnsConfigurationArgs(
name_servers=["1.1.1.1"],
options="ndots:2",
search_domains="cluster.local svc.cluster.local",
),
identity=azure_native.containerinstance.ContainerGroupIdentityArgs(
type=azure_native.containerinstance.ResourceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
user_assigned_identities={
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {},
},
),
image_registry_credentials=[],
ip_address=azure_native.containerinstance.IpAddressResponseArgs(
dns_name_label="dnsnamelabel1",
ports=[azure_native.containerinstance.PortArgs(
port=80,
protocol="TCP",
)],
type="Public",
),
location="west us",
network_profile=azure_native.containerinstance.ContainerGroupNetworkProfileArgs(
id="test-network-profile-id",
),
os_type="Linux",
resource_group_name="demo",
volumes=[
{
"azureFile": azure_native.containerinstance.AzureFileVolumeArgs(
share_name="shareName",
storage_account_key="accountKey",
storage_account_name="accountName",
),
"name": "volume1",
},
azure_native.containerinstance.VolumeArgs(
empty_dir={},
name="volume2",
),
azure_native.containerinstance.VolumeArgs(
name="volume3",
secret={
"secretKey1": "SecretValue1InBase64",
"secretKey2": "SecretValue2InBase64",
},
),
])
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,
gpu: {
count: 1,
sku: "K80",
},
memoryInGB: 1.5,
},
},
volumeMounts: [
{
mountPath: "/mnt/volume1",
name: "volume1",
readOnly: false,
},
{
mountPath: "/mnt/volume2",
name: "volume2",
readOnly: false,
},
{
mountPath: "/mnt/volume3",
name: "volume3",
readOnly: true,
},
],
}],
diagnostics: {
logAnalytics: {
logType: "ContainerInsights",
metadata: {
"test-key": "test-metadata-value",
},
workspaceId: "workspaceid",
workspaceKey: "workspaceKey",
},
},
dnsConfig: {
nameServers: ["1.1.1.1"],
options: "ndots:2",
searchDomains: "cluster.local svc.cluster.local",
},
identity: {
type: azure_native.containerinstance.ResourceIdentityType.SystemAssigned_UserAssigned,
userAssignedIdentities: {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {},
},
},
imageRegistryCredentials: [],
ipAddress: {
dnsNameLabel: "dnsnamelabel1",
ports: [{
port: 80,
protocol: "TCP",
}],
type: "Public",
},
location: "west us",
networkProfile: {
id: "test-network-profile-id",
},
osType: "Linux",
resourceGroupName: "demo",
volumes: [
{
azureFile: {
shareName: "shareName",
storageAccountKey: "accountKey",
storageAccountName: "accountName",
},
name: "volume1",
},
{
emptyDir: {},
name: "volume2",
},
{
name: "volume3",
secret: {
secretKey1: "SecretValue1InBase64",
secretKey2: "SecretValue2InBase64",
},
},
],
});
resources:
containerGroup:
type: azure-native:containerinstance:ContainerGroup
properties:
containerGroupName: demo1
containers:
- command: []
environmentVariables: []
image: nginx
name: demo1
ports:
- port: 80
resources:
requests:
cpu: 1
gpu:
count: 1
sku: K80
memoryInGB: 1.5
volumeMounts:
- mountPath: /mnt/volume1
name: volume1
readOnly: false
- mountPath: /mnt/volume2
name: volume2
readOnly: false
- mountPath: /mnt/volume3
name: volume3
readOnly: true
diagnostics:
logAnalytics:
logType: ContainerInsights
metadata:
test-key: test-metadata-value
workspaceId: workspaceid
workspaceKey: workspaceKey
dnsConfig:
nameServers:
- 1.1.1.1
options: ndots:2
searchDomains: cluster.local svc.cluster.local
identity:
type: SystemAssigned, UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name
: {}
imageRegistryCredentials: []
ipAddress:
dnsNameLabel: dnsnamelabel1
ports:
- port: 80
protocol: TCP
type: Public
location: west us
networkProfile:
id: test-network-profile-id
osType: Linux
resourceGroupName: demo
volumes:
- azureFile:
shareName: shareName
storageAccountKey: accountKey
storageAccountName: accountName
name: volume1
- emptyDir: {}
name: volume2
- name: volume3
secret:
secretKey1: SecretValue1InBase64
secretKey2: SecretValue2InBase64
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,
containers: Optional[Sequence[ContainerArgs]] = None,
resource_group_name: Optional[str] = None,
encryption_properties: Optional[EncryptionPropertiesArgs] = None,
network_profile: Optional[ContainerGroupNetworkProfileArgs] = None,
identity: Optional[ContainerGroupIdentityArgs] = None,
image_registry_credentials: Optional[Sequence[ImageRegistryCredentialArgs]] = None,
init_containers: Optional[Sequence[InitContainerDefinitionArgs]] = None,
ip_address: Optional[IpAddressArgs] = None,
location: Optional[str] = None,
container_group_name: Optional[str] = None,
dns_config: Optional[DnsConfigurationArgs] = None,
diagnostics: Optional[ContainerGroupDiagnosticsArgs] = None,
restart_policy: Optional[Union[str, ContainerGroupRestartPolicy]] = None,
sku: Optional[Union[str, ContainerGroupSku]] = None,
tags: Optional[Mapping[str, str]] = None,
volumes: Optional[Sequence[VolumeArgs]] = 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 string
- The unique name of the resource.
- args ContainerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ContainerGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
Containers = new[]
{
{
{ "image", "string" },
{ "name", "string" },
{ "resources",
{
{ "requests",
{
{ "cpu", 0 },
{ "memoryInGB", 0 },
{ "gpu",
{
{ "count", 0 },
{ "sku", "string" },
} },
} },
{ "limits",
{
{ "cpu", 0 },
{ "gpu",
{
{ "count", 0 },
{ "sku", "string" },
} },
{ "memoryInGB", 0 },
} },
} },
{ "command", new[]
{
"string",
} },
{ "environmentVariables", new[]
{
{
{ "name", "string" },
{ "secureValue", "string" },
{ "value", "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 },
} },
{ "volumeMounts", new[]
{
{
{ "mountPath", "string" },
{ "name", "string" },
{ "readOnly", false },
},
} },
},
},
ResourceGroupName = "string",
EncryptionProperties =
{
{ "keyName", "string" },
{ "keyVersion", "string" },
{ "vaultBaseUrl", "string" },
},
NetworkProfile =
{
{ "id", "string" },
},
Identity =
{
{ "type", "SystemAssigned" },
{ "userAssignedIdentities",
{
{ "string", "any" },
} },
},
ImageRegistryCredentials = new[]
{
{
{ "server", "string" },
{ "username", "string" },
{ "password", "string" },
},
},
InitContainers = new[]
{
{
{ "name", "string" },
{ "command", new[]
{
"string",
} },
{ "environmentVariables", new[]
{
{
{ "name", "string" },
{ "secureValue", "string" },
{ "value", "string" },
},
} },
{ "image", "string" },
{ "volumeMounts", new[]
{
{
{ "mountPath", "string" },
{ "name", "string" },
{ "readOnly", false },
},
} },
},
},
IpAddress =
{
{ "ports", new[]
{
{
{ "port", 0 },
{ "protocol", "string" },
},
} },
{ "type", "string" },
{ "dnsNameLabel", "string" },
{ "ip", "string" },
},
Location = "string",
ContainerGroupName = "string",
DnsConfig =
{
{ "nameServers", new[]
{
"string",
} },
{ "options", "string" },
{ "searchDomains", "string" },
},
Diagnostics =
{
{ "logAnalytics",
{
{ "workspaceId", "string" },
{ "workspaceKey", "string" },
{ "logType", "string" },
{ "metadata",
{
{ "string", "string" },
} },
{ "workspaceResourceId",
{
{ "string", "string" },
} },
} },
},
RestartPolicy = "string",
Sku = "string",
Tags =
{
{ "string", "string" },
},
Volumes = new[]
{
{
{ "name", "string" },
{ "azureFile",
{
{ "shareName", "string" },
{ "storageAccountName", "string" },
{ "readOnly", false },
{ "storageAccountKey", "string" },
} },
{ "emptyDir", "any" },
{ "gitRepo",
{
{ "repository", "string" },
{ "directory", "string" },
{ "revision", "string" },
} },
{ "secret",
{
{ "string", "string" },
} },
},
},
});
example, err := containerinstance.NewContainerGroup(ctx, "containerGroupResource", &containerinstance.ContainerGroupArgs{
OsType: "string",
Containers: []map[string]interface{}{
map[string]interface{}{
"image": "string",
"name": "string",
"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,
},
},
"command": []string{
"string",
},
"environmentVariables": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"secureValue": "string",
"value": "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,
},
"volumeMounts": []map[string]interface{}{
map[string]interface{}{
"mountPath": "string",
"name": "string",
"readOnly": false,
},
},
},
},
ResourceGroupName: "string",
EncryptionProperties: map[string]interface{}{
"keyName": "string",
"keyVersion": "string",
"vaultBaseUrl": "string",
},
NetworkProfile: map[string]interface{}{
"id": "string",
},
Identity: map[string]interface{}{
"type": "SystemAssigned",
"userAssignedIdentities": map[string]interface{}{
"string": "any",
},
},
ImageRegistryCredentials: []map[string]interface{}{
map[string]interface{}{
"server": "string",
"username": "string",
"password": "string",
},
},
InitContainers: []map[string]interface{}{
map[string]interface{}{
"name": "string",
"command": []string{
"string",
},
"environmentVariables": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"secureValue": "string",
"value": "string",
},
},
"image": "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",
"dnsNameLabel": "string",
"ip": "string",
},
Location: "string",
ContainerGroupName: "string",
DnsConfig: map[string]interface{}{
"nameServers": []string{
"string",
},
"options": "string",
"searchDomains": "string",
},
Diagnostics: map[string]interface{}{
"logAnalytics": map[string]interface{}{
"workspaceId": "string",
"workspaceKey": "string",
"logType": "string",
"metadata": map[string]interface{}{
"string": "string",
},
"workspaceResourceId": map[string]interface{}{
"string": "string",
},
},
},
RestartPolicy: "string",
Sku: "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",
},
"emptyDir": "any",
"gitRepo": map[string]interface{}{
"repository": "string",
"directory": "string",
"revision": "string",
},
"secret": map[string]interface{}{
"string": "string",
},
},
},
})
var containerGroupResource = new ContainerGroup("containerGroupResource", ContainerGroupArgs.builder()
.osType("string")
.containers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.encryptionProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.networkProfile(%!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))
.ipAddress(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.containerGroupName("string")
.dnsConfig(%!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))
.restartPolicy("string")
.sku("string")
.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))
.build());
container_group_resource = azure_native.containerinstance.ContainerGroup("containerGroupResource",
os_type=string,
containers=[{
image: string,
name: string,
resources: {
requests: {
cpu: 0,
memoryInGB: 0,
gpu: {
count: 0,
sku: string,
},
},
limits: {
cpu: 0,
gpu: {
count: 0,
sku: string,
},
memoryInGB: 0,
},
},
command: [string],
environmentVariables: [{
name: string,
secureValue: string,
value: 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,
},
volumeMounts: [{
mountPath: string,
name: string,
readOnly: False,
}],
}],
resource_group_name=string,
encryption_properties={
keyName: string,
keyVersion: string,
vaultBaseUrl: string,
},
network_profile={
id: string,
},
identity={
type: SystemAssigned,
userAssignedIdentities: {
string: any,
},
},
image_registry_credentials=[{
server: string,
username: string,
password: string,
}],
init_containers=[{
name: string,
command: [string],
environmentVariables: [{
name: string,
secureValue: string,
value: string,
}],
image: string,
volumeMounts: [{
mountPath: string,
name: string,
readOnly: False,
}],
}],
ip_address={
ports: [{
port: 0,
protocol: string,
}],
type: string,
dnsNameLabel: string,
ip: string,
},
location=string,
container_group_name=string,
dns_config={
nameServers: [string],
options: string,
searchDomains: string,
},
diagnostics={
logAnalytics: {
workspaceId: string,
workspaceKey: string,
logType: string,
metadata: {
string: string,
},
workspaceResourceId: {
string: string,
},
},
},
restart_policy=string,
sku=string,
tags={
string: string,
},
volumes=[{
name: string,
azureFile: {
shareName: string,
storageAccountName: string,
readOnly: False,
storageAccountKey: string,
},
emptyDir: any,
gitRepo: {
repository: string,
directory: string,
revision: string,
},
secret: {
string: string,
},
}])
const containerGroupResource = new azure_native.containerinstance.ContainerGroup("containerGroupResource", {
osType: "string",
containers: [{
image: "string",
name: "string",
resources: {
requests: {
cpu: 0,
memoryInGB: 0,
gpu: {
count: 0,
sku: "string",
},
},
limits: {
cpu: 0,
gpu: {
count: 0,
sku: "string",
},
memoryInGB: 0,
},
},
command: ["string"],
environmentVariables: [{
name: "string",
secureValue: "string",
value: "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,
},
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
}],
resourceGroupName: "string",
encryptionProperties: {
keyName: "string",
keyVersion: "string",
vaultBaseUrl: "string",
},
networkProfile: {
id: "string",
},
identity: {
type: "SystemAssigned",
userAssignedIdentities: {
string: "any",
},
},
imageRegistryCredentials: [{
server: "string",
username: "string",
password: "string",
}],
initContainers: [{
name: "string",
command: ["string"],
environmentVariables: [{
name: "string",
secureValue: "string",
value: "string",
}],
image: "string",
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
}],
ipAddress: {
ports: [{
port: 0,
protocol: "string",
}],
type: "string",
dnsNameLabel: "string",
ip: "string",
},
location: "string",
containerGroupName: "string",
dnsConfig: {
nameServers: ["string"],
options: "string",
searchDomains: "string",
},
diagnostics: {
logAnalytics: {
workspaceId: "string",
workspaceKey: "string",
logType: "string",
metadata: {
string: "string",
},
workspaceResourceId: {
string: "string",
},
},
},
restartPolicy: "string",
sku: "string",
tags: {
string: "string",
},
volumes: [{
name: "string",
azureFile: {
shareName: "string",
storageAccountName: "string",
readOnly: false,
storageAccountKey: "string",
},
emptyDir: "any",
gitRepo: {
repository: "string",
directory: "string",
revision: "string",
},
secret: {
string: "string",
},
}],
});
type: azure-native:containerinstance:ContainerGroup
properties:
containerGroupName: string
containers:
- command:
- string
environmentVariables:
- name: string
secureValue: 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
volumeMounts:
- mountPath: string
name: string
readOnly: false
diagnostics:
logAnalytics:
logType: string
metadata:
string: string
workspaceId: string
workspaceKey: string
workspaceResourceId:
string: string
dnsConfig:
nameServers:
- string
options: string
searchDomains: string
encryptionProperties:
keyName: string
keyVersion: string
vaultBaseUrl: string
identity:
type: SystemAssigned
userAssignedIdentities:
string: any
imageRegistryCredentials:
- password: string
server: string
username: string
initContainers:
- command:
- string
environmentVariables:
- name: string
secureValue: string
value: string
image: string
name: string
volumeMounts:
- mountPath: string
name: string
readOnly: false
ipAddress:
dnsNameLabel: string
ip: string
ports:
- port: 0
protocol: string
type: string
location: string
networkProfile:
id: string
osType: string
resourceGroupName: string
restartPolicy: string
sku: string
tags:
string: string
volumes:
- azureFile:
readOnly: false
shareName: string
storageAccountKey: string
storageAccountName: string
emptyDir: any
gitRepo:
directory: string
repository: string
revision: string
name: string
secret:
string: string
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
List<Pulumi.
Azure Native. Container Instance. Inputs. Container> - The containers within the container group.
- Os
Type string | Pulumi.Azure Native. Container Instance. Operating System Types - The operating system type required by the containers in the container group.
- Resource
Group stringName - The name of the resource group.
- Container
Group stringName - The name of the container group.
- Diagnostics
Pulumi.
Azure Native. Container Instance. Inputs. Container Group Diagnostics - The diagnostic information for a container group.
- Dns
Config Pulumi.Azure Native. Container Instance. Inputs. Dns Configuration - The DNS config information for a container group.
- Encryption
Properties Pulumi.Azure Native. Container Instance. Inputs. Encryption Properties - The encryption properties for a container group.
- Identity
Pulumi.
Azure Native. Container Instance. Inputs. Container Group Identity - The identity of the container group, if configured.
- Image
Registry List<Pulumi.Credentials Azure Native. Container Instance. Inputs. Image Registry Credential> - The image registry credentials by which the container group is created from.
- Init
Containers List<Pulumi.Azure Native. Container Instance. Inputs. Init Container Definition> - The init containers for a container group.
- Ip
Address Pulumi.Azure Native. Container Instance. Inputs. Ip Address - The IP address type of the container group.
- Location string
- The resource location.
- Network
Profile Pulumi.Azure Native. Container Instance. Inputs. Container Group Network Profile - The network profile information for a container group.
- Restart
Policy string | Pulumi.Azure Native. Container Instance. Container Group Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- Sku
string | Pulumi.
Azure Native. Container Instance. Container Group Sku - The SKU for a container group.
- Dictionary<string, string>
- The resource tags.
- Volumes
List<Pulumi.
Azure Native. Container Instance. Inputs. Volume> - The list of volumes that can be mounted by containers in this container group.
- Containers
[]Container
Args - The containers within the container group.
- Os
Type string | OperatingSystem Types - The operating system type required by the containers in the container group.
- Resource
Group stringName - The name of the resource group.
- Container
Group stringName - The name of the container group.
- Diagnostics
Container
Group Diagnostics Args - The diagnostic information for a container group.
- Dns
Config DnsConfiguration Args - The DNS config information for a container group.
- Encryption
Properties EncryptionProperties Args - The encryption properties for a container group.
- Identity
Container
Group Identity Args - The identity of the container group, if configured.
- Image
Registry []ImageCredentials Registry Credential Args - The image registry credentials by which the container group is created from.
- Init
Containers []InitContainer Definition Args - The init containers for a container group.
- Ip
Address IpAddress Args - The IP address type of the container group.
- Location string
- The resource location.
- Network
Profile ContainerGroup Network Profile Args - The network profile information for a container group.
- Restart
Policy string | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- Sku
string | Container
Group Sku - The SKU for a container group.
- map[string]string
- The resource tags.
- Volumes
[]Volume
Args - The list of volumes that can be mounted by containers in this container group.
- containers List<Container>
- The containers within the container group.
- os
Type String | OperatingSystem Types - The operating system type required by the containers in the container group.
- resource
Group StringName - The name of the resource group.
- container
Group StringName - The name of the container group.
- diagnostics
Container
Group Diagnostics - The diagnostic information for a container group.
- dns
Config DnsConfiguration - The DNS config information for a container group.
- encryption
Properties EncryptionProperties - The encryption properties for a container group.
- identity
Container
Group Identity - The identity of the container group, if configured.
- image
Registry List<ImageCredentials Registry Credential> - The image registry credentials by which the container group is created from.
- init
Containers List<InitContainer Definition> - The init containers for a container group.
- ip
Address IpAddress - The IP address type of the container group.
- location String
- The resource location.
- network
Profile ContainerGroup Network Profile - The network profile information for a container group.
- restart
Policy String | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- sku
String | Container
Group Sku - The SKU for a container group.
- Map<String,String>
- The resource tags.
- volumes List<Volume>
- The list of volumes that can be mounted by containers in this container group.
- containers Container[]
- The containers within the container group.
- os
Type string | OperatingSystem Types - The operating system type required by the containers in the container group.
- resource
Group stringName - The name of the resource group.
- container
Group stringName - The name of the container group.
- diagnostics
Container
Group Diagnostics - The diagnostic information for a container group.
- dns
Config DnsConfiguration - The DNS config information for a container group.
- encryption
Properties EncryptionProperties - The encryption properties for a container group.
- identity
Container
Group Identity - The identity of the container group, if configured.
- image
Registry ImageCredentials Registry Credential[] - The image registry credentials by which the container group is created from.
- init
Containers InitContainer Definition[] - The init containers for a container group.
- ip
Address IpAddress - The IP address type of the container group.
- location string
- The resource location.
- network
Profile ContainerGroup Network Profile - The network profile information for a container group.
- restart
Policy string | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- sku
string | Container
Group Sku - The SKU for a container group.
- {[key: string]: string}
- The resource tags.
- volumes Volume[]
- The list of volumes that can be mounted by containers in this container group.
- containers
Sequence[Container
Args] - The containers within the container group.
- os_
type str | OperatingSystem Types - The operating system type required by the containers in the container group.
- resource_
group_ strname - The name of the resource group.
- container_
group_ strname - The name of the container group.
- diagnostics
Container
Group Diagnostics Args - The diagnostic information for a container group.
- dns_
config DnsConfiguration Args - The DNS config information for a container group.
- encryption_
properties EncryptionProperties Args - The encryption properties for a container group.
- identity
Container
Group Identity Args - The identity of the container group, if configured.
- image_
registry_ Sequence[Imagecredentials Registry Credential Args] - The image registry credentials by which the container group is created from.
- init_
containers Sequence[InitContainer Definition Args] - The init containers for a container group.
- ip_
address IpAddress Args - The IP address type of the container group.
- location str
- The resource location.
- network_
profile ContainerGroup Network Profile Args - The network profile information for a container group.
- restart_
policy str | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- sku
str | Container
Group Sku - The SKU for a container group.
- Mapping[str, str]
- The resource tags.
- volumes
Sequence[Volume
Args] - The list of volumes that can be mounted by containers in this container group.
- containers List<Property Map>
- The containers within the container group.
- os
Type String | "Windows" | "Linux" - The operating system type required by the containers in the container group.
- resource
Group StringName - The name of the resource group.
- container
Group StringName - The name of the container group.
- diagnostics Property Map
- The diagnostic information for a container group.
- dns
Config Property Map - The DNS config information for a container group.
- encryption
Properties Property Map - The encryption properties for a container group.
- identity Property Map
- The identity of the container group, if configured.
- image
Registry List<Property Map>Credentials - The image registry credentials by which the container group is created from.
- init
Containers List<Property Map> - The init containers for a container group.
- ip
Address Property Map - The IP address type of the container group.
- location String
- The resource location.
- network
Profile Property Map - The network profile information for a container group.
- restart
Policy String | "Always" | "OnFailure" | "Never" - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- sku String | "Standard" | "Dedicated"
- The SKU for a container group.
- Map<String>
- The resource tags.
- volumes List<Property Map>
- The list of volumes that can be mounted by containers in this 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.
- Instance
View Pulumi.Azure Native. Container Instance. Outputs. Container Group Response Instance View - The instance view of the container group. Only valid in response.
- Name string
- The resource name.
- Provisioning
State 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.
- Instance
View ContainerGroup Response Instance View - The instance view of the container group. Only valid in response.
- Name string
- The resource name.
- Provisioning
State 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.
- instance
View ContainerGroup Response Instance View - The instance view of the container group. Only valid in response.
- name String
- The resource name.
- provisioning
State 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.
- instance
View ContainerGroup Response Instance View - The instance view of the container group. Only valid in response.
- name string
- The resource name.
- provisioning
State 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 ContainerGroup Response Instance View - 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.
- instance
View Property Map - The instance view of the container group. Only valid in response.
- name String
- The resource name.
- provisioning
State String - The provisioning state of the container group. This only appears in the response.
- type String
- The resource type.
Supporting Types
AzureFileVolume, AzureFileVolumeArgs
- string
- The name of the Azure File share to be mounted as a volume.
- Storage
Account stringName - 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 stringKey - The storage account access key used to access the Azure File share.
- string
- The name of the Azure File share to be mounted as a volume.
- Storage
Account stringName - 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 stringKey - The storage account access key used to access the Azure File share.
- String
- The name of the Azure File share to be mounted as a volume.
- storage
Account StringName - The name of the storage account that contains the Azure File share.
- read
Only Boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account StringKey - The storage account access key used to access the Azure File share.
- string
- The name of the Azure File share to be mounted as a volume.
- storage
Account stringName - The name of the storage account that contains the Azure File share.
- read
Only boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account stringKey - The storage account access key used to access the Azure File share.
- str
- The name of the Azure File share to be mounted as a volume.
- storage_
account_ strname - 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_ strkey - The storage account access key used to access the Azure File share.
- String
- The name of the Azure File share to be mounted as a volume.
- storage
Account StringName - The name of the storage account that contains the Azure File share.
- read
Only Boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account StringKey - The storage account access key used to access the Azure File share.
AzureFileVolumeResponse, AzureFileVolumeResponseArgs
- string
- The name of the Azure File share to be mounted as a volume.
- Storage
Account stringName - 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 stringKey - The storage account access key used to access the Azure File share.
- string
- The name of the Azure File share to be mounted as a volume.
- Storage
Account stringName - 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 stringKey - The storage account access key used to access the Azure File share.
- String
- The name of the Azure File share to be mounted as a volume.
- storage
Account StringName - The name of the storage account that contains the Azure File share.
- read
Only Boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account StringKey - The storage account access key used to access the Azure File share.
- string
- The name of the Azure File share to be mounted as a volume.
- storage
Account stringName - The name of the storage account that contains the Azure File share.
- read
Only boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account stringKey - The storage account access key used to access the Azure File share.
- str
- The name of the Azure File share to be mounted as a volume.
- storage_
account_ strname - 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_ strkey - The storage account access key used to access the Azure File share.
- String
- The name of the Azure File share to be mounted as a volume.
- storage
Account StringName - The name of the storage account that contains the Azure File share.
- read
Only Boolean - The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storage
Account StringKey - The storage account access key used to access the Azure File share.
Container, ContainerArgs
- Image string
- The name of the image used to create the container instance.
- Name string
- The user-provided name of the container instance.
- Resources
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requirements - The resource requirements of the container instance.
- Command List<string>
- The commands to execute within the container instance in exec form.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable> - The environment variables to set in the container instance.
- Liveness
Probe Pulumi.Azure Native. Container Instance. Inputs. Container Probe - The liveness probe.
- Ports
List<Pulumi.
Azure Native. Container Instance. Inputs. Container Port> - The exposed ports on the container instance.
- Readiness
Probe Pulumi.Azure Native. Container Instance. Inputs. Container Probe - The readiness probe.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount> - The volume mounts available to the container instance.
- Image string
- The name of the image used to create the container instance.
- Name string
- The user-provided name of the container instance.
- Resources
Resource
Requirements - The resource requirements of the container instance.
- Command []string
- The commands to execute within the container instance in exec form.
- Environment
Variables []EnvironmentVariable - The environment variables to set in the container instance.
- Liveness
Probe ContainerProbe - The liveness probe.
- Ports
[]Container
Port - The exposed ports on the container instance.
- Readiness
Probe ContainerProbe - The readiness probe.
- Volume
Mounts []VolumeMount - The volume mounts available to the container instance.
- image String
- The name of the image used to create the container instance.
- name String
- The user-provided name of the container instance.
- resources
Resource
Requirements - The resource requirements of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- environment
Variables List<EnvironmentVariable> - The environment variables to set in the container instance.
- liveness
Probe ContainerProbe - The liveness probe.
- ports
List<Container
Port> - The exposed ports on the container instance.
- readiness
Probe ContainerProbe - The readiness probe.
- volume
Mounts List<VolumeMount> - The volume mounts available to the container instance.
- image string
- The name of the image used to create the container instance.
- name string
- The user-provided name of the container instance.
- resources
Resource
Requirements - The resource requirements of the container instance.
- command string[]
- The commands to execute within the container instance in exec form.
- environment
Variables EnvironmentVariable[] - The environment variables to set in the container instance.
- liveness
Probe ContainerProbe - The liveness probe.
- ports
Container
Port[] - The exposed ports on the container instance.
- readiness
Probe ContainerProbe - The readiness probe.
- volume
Mounts VolumeMount[] - The volume mounts available to the container instance.
- image str
- The name of the image used to create the container instance.
- name str
- The user-provided name of the container instance.
- resources
Resource
Requirements - The resource requirements of the container instance.
- command Sequence[str]
- The commands to execute within the container instance in exec form.
- environment_
variables Sequence[EnvironmentVariable] - The environment variables to set in the container instance.
- liveness_
probe ContainerProbe - The liveness probe.
- ports
Sequence[Container
Port] - The exposed ports on the container instance.
- readiness_
probe ContainerProbe - The readiness probe.
- volume_
mounts Sequence[VolumeMount] - The volume mounts available to the container instance.
- image String
- The name of the image used to create the container instance.
- name String
- The user-provided name of the container instance.
- resources Property Map
- The resource requirements of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- environment
Variables List<Property Map> - The environment variables to set in the container instance.
- liveness
Probe Property Map - The liveness probe.
- ports List<Property Map>
- The exposed ports on the container instance.
- readiness
Probe Property Map - The readiness probe.
- volume
Mounts 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
- Log
Analytics Pulumi.Azure Native. Container Instance. Inputs. Log Analytics - Container group log analytics information.
- Log
Analytics LogAnalytics - Container group log analytics information.
- log
Analytics LogAnalytics - Container group log analytics information.
- log
Analytics LogAnalytics - Container group log analytics information.
- log_
analytics LogAnalytics - Container group log analytics information.
- log
Analytics Property Map - Container group log analytics information.
ContainerGroupDiagnosticsResponse, ContainerGroupDiagnosticsResponseArgs
- Log
Analytics Pulumi.Azure Native. Container Instance. Inputs. Log Analytics Response - Container group log analytics information.
- Log
Analytics LogAnalytics Response - Container group log analytics information.
- log
Analytics LogAnalytics Response - Container group log analytics information.
- log
Analytics LogAnalytics Response - Container group log analytics information.
- log_
analytics LogAnalytics Response - Container group log analytics information.
- log
Analytics Property Map - Container group log analytics information.
ContainerGroupIdentity, ContainerGroupIdentityArgs
- Type
Pulumi.
Azure Native. Container Instance. Resource Identity Type - 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 Dictionary<string, object>Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type
Resource
Identity Type - 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 map[string]interface{}Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - 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 Map<String,Object>Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - 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 {[key: string]: any}Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - 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_ Mapping[str, Any]identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"System
Assigned" | "User Assigned" | "System Assigned, User Assigned" | "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.
- user
Assigned Map<Any>Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ContainerGroupIdentityResponse, ContainerGroupIdentityResponseArgs
- Principal
Id string - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Container Instance. Inputs. Container Group Identity Response User Assigned Identities> - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Principal
Id string - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned map[string]ContainerIdentities Group Identity Response User Assigned Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<String,ContainerIdentities Group Identity Response User Assigned Identities> - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id string - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[key: string]: ContainerIdentities Group Identity Response User Assigned Identities} - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_
id str - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- tenant_
id 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_ Mapping[str, Containeridentities Group Identity Response User Assigned Identities] - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal id of the container group identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ContainerGroupIdentityResponseUserAssignedIdentities, ContainerGroupIdentityResponseUserAssignedIdentitiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- client_
id str - The client id of user assigned identity.
- principal_
id str - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
ContainerGroupIpAddressType, ContainerGroupIpAddressTypeArgs
- Public
- Public
- Private
- Private
- Container
Group Ip Address Type Public - Public
- Container
Group Ip Address Type Private - Private
- Public
- Public
- Private
- Private
- Public
- Public
- Private
- Private
- PUBLIC
- Public
- PRIVATE
- Private
- "Public"
- Public
- "Private"
- Private
ContainerGroupNetworkProfile, ContainerGroupNetworkProfileArgs
- Id string
- The identifier for a network profile.
- Id string
- The identifier for a network profile.
- id String
- The identifier for a network profile.
- id string
- The identifier for a network profile.
- id str
- The identifier for a network profile.
- id String
- The identifier for a network profile.
ContainerGroupNetworkProfileResponse, ContainerGroupNetworkProfileResponseArgs
- Id string
- The identifier for a network profile.
- Id string
- The identifier for a network profile.
- id String
- The identifier for a network profile.
- id string
- The identifier for a network profile.
- id str
- The identifier for a network profile.
- id String
- The identifier for a network profile.
ContainerGroupNetworkProtocol, ContainerGroupNetworkProtocolArgs
- TCP
- TCP
- UDP
- UDP
- Container
Group Network Protocol TCP - TCP
- Container
Group Network Protocol UDP - UDP
- TCP
- TCP
- UDP
- UDP
- TCP
- TCP
- UDP
- UDP
- TCP
- TCP
- UDP
- UDP
- "TCP"
- TCP
- "UDP"
- UDP
ContainerGroupResponseInstanceView, ContainerGroupResponseInstanceViewArgs
- Events
List<Pulumi.
Azure Native. Container Instance. Inputs. Event Response> - The events of this container group.
- State string
- The state of the container group. Only valid in response.
- Events
[]Event
Response - The events of this container group.
- State string
- The state of the container group. Only valid in response.
- events
List<Event
Response> - The events of this container group.
- state String
- The state of the container group. Only valid in response.
- events
Event
Response[] - The events of this container group.
- state string
- The state of the container group. Only valid in response.
- events
Sequence[Event
Response] - The events of this container group.
- state str
- The state of the container group. Only valid in response.
- events List<Property Map>
- The events of this container group.
- state String
- The state of the container group. Only valid in response.
ContainerGroupRestartPolicy, ContainerGroupRestartPolicyArgs
- Always
- Always
- On
Failure - OnFailure
- Never
- Never
- Container
Group Restart Policy Always - Always
- Container
Group Restart Policy On Failure - OnFailure
- Container
Group Restart Policy Never - Never
- Always
- Always
- On
Failure - OnFailure
- Never
- Never
- Always
- Always
- On
Failure - OnFailure
- Never
- Never
- ALWAYS
- Always
- ON_FAILURE
- OnFailure
- NEVER
- Never
- "Always"
- Always
- "On
Failure" - OnFailure
- "Never"
- Never
ContainerGroupSku, ContainerGroupSkuArgs
- Standard
- Standard
- Dedicated
- Dedicated
- Container
Group Sku Standard - Standard
- Container
Group Sku Dedicated - Dedicated
- Standard
- Standard
- Dedicated
- Dedicated
- Standard
- Standard
- Dedicated
- Dedicated
- STANDARD
- Standard
- DEDICATED
- Dedicated
- "Standard"
- Standard
- "Dedicated"
- Dedicated
ContainerHttpGet, ContainerHttpGetArgs
- Port int
- The port number to probe.
- Http
Headers List<Pulumi.Azure Native. Container Instance. Inputs. Http Header> - The HTTP headers.
- Path string
- The path to probe.
- Scheme
string | Pulumi.
Azure Native. Container Instance. Scheme - The scheme.
- Port int
- The port number to probe.
- Http
Headers []HttpHeader - The HTTP headers.
- Path string
- The path to probe.
- Scheme string | Scheme
- The scheme.
- port Integer
- The port number to probe.
- http
Headers List<HttpHeader> - The HTTP headers.
- path String
- The path to probe.
- scheme String | Scheme
- The scheme.
- port number
- The port number to probe.
- http
Headers HttpHeader[] - The HTTP headers.
- path string
- The path to probe.
- scheme string | Scheme
- The scheme.
- port 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 Number
- The port number to probe.
- http
Headers List<Property Map> - The HTTP headers.
- path String
- The path to probe.
- scheme String | "http" | "https"
- The scheme.
ContainerHttpGetResponse, ContainerHttpGetResponseArgs
- Port int
- The port number to probe.
- Http
Headers List<Pulumi.Azure Native. Container Instance. Inputs. Http Header Response> - The HTTP headers.
- Path string
- The path to probe.
- Scheme string
- The scheme.
- Port int
- The port number to probe.
- Http
Headers []HttpHeader Response - The HTTP headers.
- Path string
- The path to probe.
- Scheme string
- The scheme.
- port Integer
- The port number to probe.
- http
Headers List<HttpHeader Response> - The HTTP headers.
- path String
- The path to probe.
- scheme String
- The scheme.
- port number
- The port number to probe.
- http
Headers HttpHeader Response[] - The HTTP headers.
- path string
- The path to probe.
- scheme string
- The scheme.
- port int
- The port number to probe.
- http_
headers Sequence[HttpHeader Response] - The HTTP headers.
- path str
- The path to probe.
- scheme str
- The scheme.
- port Number
- The port number to probe.
- http
Headers List<Property Map> - The HTTP headers.
- path String
- The path to probe.
- scheme String
- The scheme.
ContainerNetworkProtocol, ContainerNetworkProtocolArgs
- TCP
- TCP
- UDP
- UDP
- Container
Network Protocol TCP - TCP
- Container
Network Protocol UDP - UDP
- TCP
- TCP
- UDP
- UDP
- TCP
- TCP
- UDP
- UDP
- TCP
- TCP
- UDP
- UDP
- "TCP"
- TCP
- "UDP"
- UDP
ContainerPort, ContainerPortArgs
- Port int
- The port number exposed within the container group.
- Protocol
string | Pulumi.
Azure Native. Container Instance. Container Network Protocol - The protocol associated with the port.
- Port int
- The port number exposed within the container group.
- Protocol
string | Container
Network Protocol - The protocol associated with the port.
- port Integer
- The port number exposed within the container group.
- protocol
String | Container
Network Protocol - The protocol associated with the port.
- port number
- The port number exposed within the container group.
- protocol
string | Container
Network Protocol - The protocol associated with the port.
- port int
- The port number exposed within the container group.
- protocol
str | Container
Network Protocol - The protocol associated with the port.
- port Number
- The port number exposed within the container group.
- protocol String | "TCP" | "UDP"
- The protocol associated with the port.
ContainerPortResponse, ContainerPortResponseArgs
ContainerProbe, ContainerProbeArgs
- Exec
Pulumi.
Azure Native. Container Instance. Inputs. Container Exec - The execution command to probe
- Failure
Threshold int - The failure threshold.
- Http
Get Pulumi.Azure Native. Container Instance. Inputs. Container Http Get - The Http Get settings to probe
- Initial
Delay intSeconds - The initial delay seconds.
- Period
Seconds int - The period seconds.
- Success
Threshold int - The success threshold.
- Timeout
Seconds int - The timeout seconds.
- Exec
Container
Exec - The execution command to probe
- Failure
Threshold int - The failure threshold.
- Http
Get ContainerHttp Get - The Http Get settings to probe
- Initial
Delay intSeconds - The initial delay seconds.
- Period
Seconds int - The period seconds.
- Success
Threshold int - The success threshold.
- Timeout
Seconds int - The timeout seconds.
- exec
Container
Exec - The execution command to probe
- failure
Threshold Integer - The failure threshold.
- http
Get ContainerHttp Get - The Http Get settings to probe
- initial
Delay IntegerSeconds - The initial delay seconds.
- period
Seconds Integer - The period seconds.
- success
Threshold Integer - The success threshold.
- timeout
Seconds Integer - The timeout seconds.
- exec
Container
Exec - The execution command to probe
- failure
Threshold number - The failure threshold.
- http
Get ContainerHttp Get - The Http Get settings to probe
- initial
Delay numberSeconds - The initial delay seconds.
- period
Seconds number - The period seconds.
- success
Threshold number - The success threshold.
- timeout
Seconds number - The timeout seconds.
- exec_
Container
Exec - The execution command to probe
- failure_
threshold int - The failure threshold.
- http_
get ContainerHttp Get - The Http Get settings to probe
- initial_
delay_ intseconds - 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
- failure
Threshold Number - The failure threshold.
- http
Get Property Map - The Http Get settings to probe
- initial
Delay NumberSeconds - The initial delay seconds.
- period
Seconds Number - The period seconds.
- success
Threshold Number - The success threshold.
- timeout
Seconds Number - The timeout seconds.
ContainerProbeResponse, ContainerProbeResponseArgs
- Exec
Pulumi.
Azure Native. Container Instance. Inputs. Container Exec Response - The execution command to probe
- Failure
Threshold int - The failure threshold.
- Http
Get Pulumi.Azure Native. Container Instance. Inputs. Container Http Get Response - The Http Get settings to probe
- Initial
Delay intSeconds - The initial delay seconds.
- Period
Seconds int - The period seconds.
- Success
Threshold int - The success threshold.
- Timeout
Seconds int - The timeout seconds.
- Exec
Container
Exec Response - The execution command to probe
- Failure
Threshold int - The failure threshold.
- Http
Get ContainerHttp Get Response - The Http Get settings to probe
- Initial
Delay intSeconds - The initial delay seconds.
- Period
Seconds int - The period seconds.
- Success
Threshold int - The success threshold.
- Timeout
Seconds int - The timeout seconds.
- exec
Container
Exec Response - The execution command to probe
- failure
Threshold Integer - The failure threshold.
- http
Get ContainerHttp Get Response - The Http Get settings to probe
- initial
Delay IntegerSeconds - The initial delay seconds.
- period
Seconds Integer - The period seconds.
- success
Threshold Integer - The success threshold.
- timeout
Seconds Integer - The timeout seconds.
- exec
Container
Exec Response - The execution command to probe
- failure
Threshold number - The failure threshold.
- http
Get ContainerHttp Get Response - The Http Get settings to probe
- initial
Delay numberSeconds - The initial delay seconds.
- period
Seconds number - The period seconds.
- success
Threshold number - The success threshold.
- timeout
Seconds number - The timeout seconds.
- exec_
Container
Exec Response - The execution command to probe
- failure_
threshold int - The failure threshold.
- http_
get ContainerHttp Get Response - The Http Get settings to probe
- initial_
delay_ intseconds - 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
- failure
Threshold Number - The failure threshold.
- http
Get Property Map - The Http Get settings to probe
- initial
Delay NumberSeconds - The initial delay seconds.
- period
Seconds Number - The period seconds.
- success
Threshold Number - The success threshold.
- timeout
Seconds Number - The timeout seconds.
ContainerPropertiesResponseInstanceView, ContainerPropertiesResponseInstanceViewArgs
- Current
State Pulumi.Azure Native. Container Instance. Inputs. Container State Response - Current container instance state.
- Events
List<Pulumi.
Azure Native. Container Instance. Inputs. Event Response> - The events of the container instance.
- Previous
State Pulumi.Azure Native. Container Instance. Inputs. Container State Response - Previous container instance state.
- Restart
Count int - The number of times that the container instance has been restarted.
- Current
State ContainerState Response - Current container instance state.
- Events
[]Event
Response - The events of the container instance.
- Previous
State ContainerState Response - Previous container instance state.
- Restart
Count int - The number of times that the container instance has been restarted.
- current
State ContainerState Response - Current container instance state.
- events
List<Event
Response> - The events of the container instance.
- previous
State ContainerState Response - Previous container instance state.
- restart
Count Integer - The number of times that the container instance has been restarted.
- current
State ContainerState Response - Current container instance state.
- events
Event
Response[] - The events of the container instance.
- previous
State ContainerState Response - Previous container instance state.
- restart
Count number - The number of times that the container instance has been restarted.
- current_
state ContainerState Response - Current container instance state.
- events
Sequence[Event
Response] - The events of the container instance.
- previous_
state ContainerState Response - Previous container instance state.
- restart_
count int - The number of times that the container instance has been restarted.
- current
State Property Map - Current container instance state.
- events List<Property Map>
- The events of the container instance.
- previous
State Property Map - Previous container instance state.
- restart
Count Number - The number of times that the container instance has been restarted.
ContainerResponse, ContainerResponseArgs
- Image string
- The name of the image used to create the container instance.
- Instance
View Pulumi.Azure Native. Container Instance. Inputs. Container Properties Response Instance View - The instance view of the container instance. Only valid in response.
- Name string
- The user-provided name of the container instance.
- Resources
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requirements Response - The resource requirements of the container instance.
- Command List<string>
- The commands to execute within the container instance in exec form.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable Response> - The environment variables to set in the container instance.
- Liveness
Probe Pulumi.Azure Native. Container Instance. Inputs. Container Probe Response - The liveness probe.
- Ports
List<Pulumi.
Azure Native. Container Instance. Inputs. Container Port Response> - The exposed ports on the container instance.
- Readiness
Probe Pulumi.Azure Native. Container Instance. Inputs. Container Probe Response - The readiness probe.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount Response> - The volume mounts available to the container instance.
- Image string
- The name of the image used to create the container instance.
- Instance
View ContainerProperties Response Instance View - The instance view of the container instance. Only valid in response.
- Name string
- The user-provided name of the container instance.
- Resources
Resource
Requirements Response - The resource requirements of the container instance.
- Command []string
- The commands to execute within the container instance in exec form.
- Environment
Variables []EnvironmentVariable Response - The environment variables to set in the container instance.
- Liveness
Probe ContainerProbe Response - The liveness probe.
- Ports
[]Container
Port Response - The exposed ports on the container instance.
- Readiness
Probe ContainerProbe Response - The readiness probe.
- Volume
Mounts []VolumeMount Response - The volume mounts available to the container instance.
- image String
- The name of the image used to create the container instance.
- instance
View ContainerProperties Response Instance View - The instance view of the container instance. Only valid in response.
- name String
- The user-provided name of the container instance.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- environment
Variables List<EnvironmentVariable Response> - The environment variables to set in the container instance.
- liveness
Probe ContainerProbe Response - The liveness probe.
- ports
List<Container
Port Response> - The exposed ports on the container instance.
- readiness
Probe ContainerProbe Response - The readiness probe.
- volume
Mounts List<VolumeMount Response> - The volume mounts available to the container instance.
- image string
- The name of the image used to create the container instance.
- instance
View ContainerProperties Response Instance View - The instance view of the container instance. Only valid in response.
- name string
- The user-provided name of the container instance.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- command string[]
- The commands to execute within the container instance in exec form.
- environment
Variables EnvironmentVariable Response[] - The environment variables to set in the container instance.
- liveness
Probe ContainerProbe Response - The liveness probe.
- ports
Container
Port Response[] - The exposed ports on the container instance.
- readiness
Probe ContainerProbe Response - The readiness probe.
- volume
Mounts VolumeMount Response[] - The volume mounts available to the container instance.
- image str
- The name of the image used to create the container instance.
- instance_
view ContainerProperties Response Instance View - The instance view of the container instance. Only valid in response.
- name str
- The user-provided name of the container instance.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- command Sequence[str]
- The commands to execute within the container instance in exec form.
- environment_
variables Sequence[EnvironmentVariable Response] - The environment variables to set in the container instance.
- liveness_
probe ContainerProbe Response - The liveness probe.
- ports
Sequence[Container
Port Response] - The exposed ports on the container instance.
- readiness_
probe ContainerProbe Response - The readiness probe.
- volume_
mounts Sequence[VolumeMount Response] - The volume mounts available to the container instance.
- image String
- The name of the image used to create the container instance.
- instance
View Property Map - The instance view of the container instance. Only valid in response.
- name String
- The user-provided name of the container instance.
- resources Property Map
- The resource requirements of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- environment
Variables List<Property Map> - The environment variables to set in the container instance.
- liveness
Probe Property Map - The liveness probe.
- ports List<Property Map>
- The exposed ports on the container instance.
- readiness
Probe Property Map - The readiness probe.
- volume
Mounts List<Property Map> - The volume mounts available to the container instance.
ContainerStateResponse, ContainerStateResponseArgs
- Detail
Status string - The human-readable status of the container instance state.
- Exit
Code int - The container instance exit codes correspond to those from the
docker run
command. - Finish
Time string - The date-time when the container instance state finished.
- Start
Time string - The date-time when the container instance state started.
- State string
- The state of the container instance.
- Detail
Status string - The human-readable status of the container instance state.
- Exit
Code int - The container instance exit codes correspond to those from the
docker run
command. - Finish
Time string - The date-time when the container instance state finished.
- Start
Time string - The date-time when the container instance state started.
- State string
- The state of the container instance.
- detail
Status String - The human-readable status of the container instance state.
- exit
Code Integer - The container instance exit codes correspond to those from the
docker run
command. - finish
Time String - The date-time when the container instance state finished.
- start
Time String - The date-time when the container instance state started.
- state String
- The state of the container instance.
- detail
Status string - The human-readable status of the container instance state.
- exit
Code number - The container instance exit codes correspond to those from the
docker run
command. - finish
Time string - The date-time when the container instance state finished.
- start
Time string - The date-time when the container instance state started.
- state string
- The state of the container instance.
- detail_
status str - The human-readable status of the container instance state.
- exit_
code int - The container instance exit codes correspond to those from the
docker run
command. - finish_
time str - The date-time when the container instance state finished.
- start_
time str - The date-time when the container instance state started.
- state str
- The state of the container instance.
- detail
Status String - The human-readable status of the container instance state.
- exit
Code Number - The container instance exit codes correspond to those from the
docker run
command. - finish
Time String - The date-time when the container instance state finished.
- start
Time String - The date-time when the container instance state started.
- state String
- The state of the container instance.
DnsConfiguration, DnsConfigurationArgs
- Name
Servers List<string> - The DNS servers for the container group.
- Options string
- The DNS options for the container group.
- Search
Domains string - The DNS search domains for hostname lookup in the container group.
- Name
Servers []string - The DNS servers for the container group.
- Options string
- The DNS options for the container group.
- Search
Domains string - The DNS search domains for hostname lookup in the container group.
- name
Servers List<String> - The DNS servers for the container group.
- options String
- The DNS options for the container group.
- search
Domains String - The DNS search domains for hostname lookup in the container group.
- name
Servers string[] - The DNS servers for the container group.
- options string
- The DNS options for the container group.
- search
Domains string - The DNS search domains for hostname lookup in the container group.
- name_
servers 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.
- name
Servers List<String> - The DNS servers for the container group.
- options String
- The DNS options for the container group.
- search
Domains String - The DNS search domains for hostname lookup in the container group.
DnsConfigurationResponse, DnsConfigurationResponseArgs
- Name
Servers List<string> - The DNS servers for the container group.
- Options string
- The DNS options for the container group.
- Search
Domains string - The DNS search domains for hostname lookup in the container group.
- Name
Servers []string - The DNS servers for the container group.
- Options string
- The DNS options for the container group.
- Search
Domains string - The DNS search domains for hostname lookup in the container group.
- name
Servers List<String> - The DNS servers for the container group.
- options String
- The DNS options for the container group.
- search
Domains String - The DNS search domains for hostname lookup in the container group.
- name
Servers string[] - The DNS servers for the container group.
- options string
- The DNS options for the container group.
- search
Domains string - The DNS search domains for hostname lookup in the container group.
- name_
servers 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.
- name
Servers List<String> - The DNS servers for the container group.
- options String
- The DNS options for the container group.
- search
Domains String - The DNS search domains for hostname lookup in the container group.
EncryptionProperties, EncryptionPropertiesArgs
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- key
Name string - The encryption key name.
- key
Version string - The encryption key version.
- vault
Base stringUrl - The keyvault base url.
- key_
name str - The encryption key name.
- key_
version str - The encryption key version.
- vault_
base_ strurl - The keyvault base url.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
EncryptionPropertiesResponse, EncryptionPropertiesResponseArgs
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- key
Name string - The encryption key name.
- key
Version string - The encryption key version.
- vault
Base stringUrl - The keyvault base url.
- key_
name str - The encryption key name.
- key_
version str - The encryption key version.
- vault_
base_ strurl - The keyvault base url.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
EnvironmentVariable, EnvironmentVariableArgs
- Name string
- The name of the environment variable.
- Secure
Value string - The value of the secure environment variable.
- Value string
- The value of the environment variable.
- Name string
- The name of the environment variable.
- Secure
Value string - The value of the secure environment variable.
- Value string
- The value of the environment variable.
- name String
- The name of the environment variable.
- secure
Value String - The value of the secure environment variable.
- value String
- The value of the environment variable.
- name string
- The name of the environment variable.
- secure
Value string - The value of the secure environment variable.
- value string
- The value of the environment variable.
- name str
- The name of the environment variable.
- secure_
value str - The value of the secure environment variable.
- value str
- The value of the environment variable.
- name String
- The name of the environment variable.
- secure
Value String - The value of the secure environment variable.
- value String
- The value of the environment variable.
EnvironmentVariableResponse, EnvironmentVariableResponseArgs
- Name string
- The name of the environment variable.
- Secure
Value string - The value of the secure environment variable.
- Value string
- The value of the environment variable.
- Name string
- The name of the environment variable.
- Secure
Value string - The value of the secure environment variable.
- Value string
- The value of the environment variable.
- name String
- The name of the environment variable.
- secure
Value String - The value of the secure environment variable.
- value String
- The value of the environment variable.
- name string
- The name of the environment variable.
- secure
Value string - The value of the secure environment variable.
- value string
- The value of the environment variable.
- name str
- The name of the environment variable.
- secure_
value str - The value of the secure environment variable.
- value str
- The value of the environment variable.
- name String
- The name of the environment variable.
- secure
Value String - The value of the secure environment variable.
- value String
- The value of the environment variable.
EventResponse, EventResponseArgs
- Count int
- The count of the event.
- First
Timestamp string - The date-time of the earliest logged event.
- Last
Timestamp string - The date-time of the latest logged event.
- Message string
- The event message.
- Name string
- The event name.
- Type string
- The event type.
- Count int
- The count of the event.
- First
Timestamp string - The date-time of the earliest logged event.
- Last
Timestamp string - The date-time of the latest logged event.
- Message string
- The event message.
- Name string
- The event name.
- Type string
- The event type.
- count Integer
- The count of the event.
- first
Timestamp String - The date-time of the earliest logged event.
- last
Timestamp String - The date-time of the latest logged event.
- message String
- The event message.
- name String
- The event name.
- type String
- The event type.
- count number
- The count of the event.
- first
Timestamp string - The date-time of the earliest logged event.
- last
Timestamp string - The date-time of the latest logged event.
- message string
- The event message.
- name string
- The event name.
- type string
- The event type.
- count int
- The count of the event.
- first_
timestamp str - The date-time of the earliest logged event.
- last_
timestamp str - The date-time of the latest logged event.
- message str
- The event message.
- name str
- The event name.
- type str
- The event type.
- count Number
- The count of the event.
- first
Timestamp String - The date-time of the earliest logged event.
- last
Timestamp String - The date-time of the latest logged event.
- message String
- The event message.
- name String
- The event name.
- type String
- The event type.
GitRepoVolume, GitRepoVolumeArgs
- Repository 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 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 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 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 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 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 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 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 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 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 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 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 int
- The count of the GPU resource.
- Sku
string | Pulumi.
Azure Native. Container Instance. Gpu Sku - The SKU of the GPU resource.
- count Number
- The count of the GPU resource.
- sku String | "K80" | "P100" | "V100"
- The SKU of the GPU resource.
GpuResourceResponse, GpuResourceResponseArgs
GpuSku, GpuSkuArgs
- K80
- K80
- P100
- P100
- V100
- V100
- Gpu
Sku K80 - K80
- Gpu
Sku P100 - P100
- Gpu
Sku V100 - 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
HttpHeaderResponse, HttpHeaderResponseArgs
ImageRegistryCredential, ImageRegistryCredentialArgs
ImageRegistryCredentialResponse, ImageRegistryCredentialResponseArgs
InitContainerDefinition, InitContainerDefinitionArgs
- Name string
- The name for the init container.
- Command List<string>
- The command to execute within the init container in exec form.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable> - The environment variables to set in the init container.
- Image string
- The image of the init container.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount> - The volume mounts available to the init container.
- Name string
- The name for the init container.
- Command []string
- The command to execute within the init container in exec form.
- Environment
Variables []EnvironmentVariable - The environment variables to set in the init container.
- Image string
- The image of the init container.
- Volume
Mounts []VolumeMount - The volume mounts available to the init container.
- name String
- The name for the init container.
- command List<String>
- The command to execute within the init container in exec form.
- environment
Variables List<EnvironmentVariable> - The environment variables to set in the init container.
- image String
- The image of the init container.
- volume
Mounts List<VolumeMount> - The volume mounts available to the init container.
- name string
- The name for the init container.
- command string[]
- The command to execute within the init container in exec form.
- environment
Variables EnvironmentVariable[] - The environment variables to set in the init container.
- image string
- The image of the init container.
- volume
Mounts VolumeMount[] - The volume mounts available to the init container.
- name 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.
- volume_
mounts Sequence[VolumeMount] - The volume mounts available to the init container.
- name String
- The name for the init container.
- command List<String>
- The command to execute within the init container in exec form.
- environment
Variables List<Property Map> - The environment variables to set in the init container.
- image String
- The image of the init container.
- volume
Mounts List<Property Map> - The volume mounts available to the init container.
InitContainerDefinitionResponse, InitContainerDefinitionResponseArgs
- Instance
View Pulumi.Azure Native. Container Instance. Inputs. Init Container Properties Definition Response Instance View - The instance view of the init container. Only valid in response.
- Name string
- The name for the init container.
- Command List<string>
- The command to execute within the init container in exec form.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable Response> - The environment variables to set in the init container.
- Image string
- The image of the init container.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount Response> - The volume mounts available to the init container.
- Instance
View InitContainer Properties Definition Response Instance View - The instance view of the init container. Only valid in response.
- Name string
- The name for the init container.
- Command []string
- The command to execute within the init container in exec form.
- Environment
Variables []EnvironmentVariable Response - The environment variables to set in the init container.
- Image string
- The image of the init container.
- Volume
Mounts []VolumeMount Response - The volume mounts available to the init container.
- instance
View InitContainer Properties Definition Response Instance View - The instance view of the init container. Only valid in response.
- name String
- The name for the init container.
- command List<String>
- The command to execute within the init container in exec form.
- environment
Variables List<EnvironmentVariable Response> - The environment variables to set in the init container.
- image String
- The image of the init container.
- volume
Mounts List<VolumeMount Response> - The volume mounts available to the init container.
- instance
View InitContainer Properties Definition Response Instance View - The instance view of the init container. Only valid in response.
- name string
- The name for the init container.
- command string[]
- The command to execute within the init container in exec form.
- environment
Variables EnvironmentVariable Response[] - The environment variables to set in the init container.
- image string
- The image of the init container.
- volume
Mounts VolumeMount Response[] - The volume mounts available to the init container.
- instance_
view InitContainer Properties Definition Response Instance View - The instance view of the init container. Only valid in response.
- name 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 Response] - The environment variables to set in the init container.
- image str
- The image of the init container.
- volume_
mounts Sequence[VolumeMount Response] - The volume mounts available to the init container.
- instance
View Property Map - The instance view of the init container. Only valid in response.
- name String
- The name for the init container.
- command List<String>
- The command to execute within the init container in exec form.
- environment
Variables List<Property Map> - The environment variables to set in the init container.
- image String
- The image of the init container.
- volume
Mounts List<Property Map> - The volume mounts available to the init container.
InitContainerPropertiesDefinitionResponseInstanceView, InitContainerPropertiesDefinitionResponseInstanceViewArgs
- Current
State Pulumi.Azure Native. Container Instance. Inputs. Container State Response - The current state of the init container.
- Events
List<Pulumi.
Azure Native. Container Instance. Inputs. Event Response> - The events of the init container.
- Previous
State Pulumi.Azure Native. Container Instance. Inputs. Container State Response - The previous state of the init container.
- Restart
Count int - The number of times that the init container has been restarted.
- Current
State ContainerState Response - The current state of the init container.
- Events
[]Event
Response - The events of the init container.
- Previous
State ContainerState Response - The previous state of the init container.
- Restart
Count int - The number of times that the init container has been restarted.
- current
State ContainerState Response - The current state of the init container.
- events
List<Event
Response> - The events of the init container.
- previous
State ContainerState Response - The previous state of the init container.
- restart
Count Integer - The number of times that the init container has been restarted.
- current
State ContainerState Response - The current state of the init container.
- events
Event
Response[] - The events of the init container.
- previous
State ContainerState Response - The previous state of the init container.
- restart
Count number - The number of times that the init container has been restarted.
- current_
state ContainerState Response - The current state of the init container.
- events
Sequence[Event
Response] - The events of the init container.
- previous_
state ContainerState Response - The previous state of the init container.
- restart_
count int - The number of times that the init container has been restarted.
- current
State Property Map - The current state of the init container.
- events List<Property Map>
- The events of the init container.
- previous
State Property Map - The previous state of the init container.
- restart
Count Number - The number of times that the init container has been restarted.
IpAddress, IpAddressArgs
- Ports
List<Pulumi.
Azure Native. Container Instance. Inputs. Port> - The list of ports exposed on the container group.
- Type
string | Pulumi.
Azure Native. Container Instance. Container Group Ip Address Type - Specifies if the IP is exposed to the public internet or private VNET.
- Dns
Name stringLabel - The Dns name label for the IP.
- Ip string
- The IP exposed to the public internet.
- Ports []Port
- The list of ports exposed on the container group.
- Type
string | Container
Group Ip Address Type - Specifies if the IP is exposed to the public internet or private VNET.
- Dns
Name stringLabel - The Dns name label for the IP.
- Ip string
- The IP exposed to the public internet.
- ports List<Port>
- The list of ports exposed on the container group.
- type
String | Container
Group Ip Address Type - Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name StringLabel - The Dns name label for the IP.
- ip String
- The IP exposed to the public internet.
- ports Port[]
- The list of ports exposed on the container group.
- type
string | Container
Group Ip Address Type - Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name stringLabel - The Dns name label for the IP.
- ip string
- The IP exposed to the public internet.
- ports Sequence[Port]
- The list of ports exposed on the container group.
- type
str | Container
Group Ip Address Type - Specifies if the IP is exposed to the public internet or private VNET.
- dns_
name_ strlabel - The Dns name label for the IP.
- ip str
- The IP exposed to the public internet.
- ports List<Property Map>
- The list of ports exposed on the container group.
- type String | "Public" | "Private"
- Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name StringLabel - The Dns name label for the IP.
- ip String
- The IP exposed to the public internet.
IpAddressResponse, IpAddressResponseArgs
- Fqdn string
- The FQDN for the IP.
- Ports
List<Pulumi.
Azure Native. Container Instance. Inputs. Port Response> - The list of ports exposed on the container group.
- Type string
- Specifies if the IP is exposed to the public internet or private VNET.
- Dns
Name stringLabel - The Dns name label for the IP.
- Ip string
- The IP exposed to the public internet.
- Fqdn string
- The FQDN for the IP.
- Ports
[]Port
Response - The list of ports exposed on the container group.
- Type string
- Specifies if the IP is exposed to the public internet or private VNET.
- Dns
Name stringLabel - The Dns name label for the IP.
- Ip string
- The IP exposed to the public internet.
- fqdn String
- The FQDN for the IP.
- ports
List<Port
Response> - The list of ports exposed on the container group.
- type String
- Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name StringLabel - The Dns name label for the IP.
- ip String
- The IP exposed to the public internet.
- fqdn string
- The FQDN for the IP.
- ports
Port
Response[] - The list of ports exposed on the container group.
- type string
- Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name stringLabel - The Dns name label for the IP.
- ip string
- The IP exposed to the public internet.
- fqdn str
- The FQDN for the IP.
- ports
Sequence[Port
Response] - The list of ports exposed on the container group.
- type str
- Specifies if the IP is exposed to the public internet or private VNET.
- dns_
name_ strlabel - The Dns name label for the IP.
- ip str
- The IP exposed to the public internet.
- fqdn String
- The FQDN for the IP.
- ports List<Property Map>
- The list of ports exposed on the container group.
- type String
- Specifies if the IP is exposed to the public internet or private VNET.
- dns
Name StringLabel - The Dns name label for the IP.
- ip String
- The IP exposed to the public internet.
LogAnalytics, LogAnalyticsArgs
- Workspace
Id string - The workspace id for log analytics
- Workspace
Key string - The workspace key for log analytics
- Log
Type string | Pulumi.Azure Native. Container Instance. Log Analytics Log Type - The log type to be used.
- Metadata Dictionary<string, string>
- Metadata for log analytics.
- Workspace
Resource Dictionary<string, string>Id - The workspace resource id for log analytics
- Workspace
Id string - The workspace id for log analytics
- Workspace
Key string - The workspace key for log analytics
- Log
Type string | LogAnalytics Log Type - The log type to be used.
- Metadata map[string]string
- Metadata for log analytics.
- Workspace
Resource map[string]stringId - The workspace resource id for log analytics
- workspace
Id String - The workspace id for log analytics
- workspace
Key String - The workspace key for log analytics
- log
Type String | LogAnalytics Log Type - The log type to be used.
- metadata Map<String,String>
- Metadata for log analytics.
- workspace
Resource Map<String,String>Id - The workspace resource id for log analytics
- workspace
Id string - The workspace id for log analytics
- workspace
Key string - The workspace key for log analytics
- log
Type string | LogAnalytics Log Type - The log type to be used.
- metadata {[key: string]: string}
- Metadata for log analytics.
- workspace
Resource {[key: string]: string}Id - The workspace resource id for log analytics
- workspace_
id str - The workspace id for log analytics
- workspace_
key str - The workspace key for log analytics
- log_
type str | LogAnalytics Log Type - The log type to be used.
- metadata Mapping[str, str]
- Metadata for log analytics.
- workspace_
resource_ Mapping[str, str]id - The workspace resource id for log analytics
- workspace
Id String - The workspace id for log analytics
- workspace
Key String - The workspace key for log analytics
- log
Type String | "ContainerInsights" | "Container Instance Logs" - The log type to be used.
- metadata Map<String>
- Metadata for log analytics.
- workspace
Resource Map<String>Id - The workspace resource id for log analytics
LogAnalyticsLogType, LogAnalyticsLogTypeArgs
- Container
Insights - ContainerInsights
- Container
Instance Logs - ContainerInstanceLogs
- Log
Analytics Log Type Container Insights - ContainerInsights
- Log
Analytics Log Type Container Instance Logs - ContainerInstanceLogs
- Container
Insights - ContainerInsights
- Container
Instance Logs - ContainerInstanceLogs
- Container
Insights - ContainerInsights
- Container
Instance Logs - ContainerInstanceLogs
- CONTAINER_INSIGHTS
- ContainerInsights
- CONTAINER_INSTANCE_LOGS
- ContainerInstanceLogs
- "Container
Insights" - ContainerInsights
- "Container
Instance Logs" - ContainerInstanceLogs
LogAnalyticsResponse, LogAnalyticsResponseArgs
- Workspace
Id string - The workspace id for log analytics
- Workspace
Key string - The workspace key for log analytics
- Log
Type string - The log type to be used.
- Metadata Dictionary<string, string>
- Metadata for log analytics.
- Workspace
Resource Dictionary<string, string>Id - The workspace resource id for log analytics
- Workspace
Id string - The workspace id for log analytics
- Workspace
Key string - The workspace key for log analytics
- Log
Type string - The log type to be used.
- Metadata map[string]string
- Metadata for log analytics.
- Workspace
Resource map[string]stringId - The workspace resource id for log analytics
- workspace
Id String - The workspace id for log analytics
- workspace
Key String - The workspace key for log analytics
- log
Type String - The log type to be used.
- metadata Map<String,String>
- Metadata for log analytics.
- workspace
Resource Map<String,String>Id - The workspace resource id for log analytics
- workspace
Id string - The workspace id for log analytics
- workspace
Key string - The workspace key for log analytics
- log
Type string - The log type to be used.
- metadata {[key: string]: string}
- Metadata for log analytics.
- workspace
Resource {[key: string]: string}Id - The workspace resource id for log analytics
- workspace_
id str - The workspace id for log analytics
- workspace_
key 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_ Mapping[str, str]id - The workspace resource id for log analytics
- workspace
Id String - The workspace id for log analytics
- workspace
Key String - The workspace key for log analytics
- log
Type String - The log type to be used.
- metadata Map<String>
- Metadata for log analytics.
- workspace
Resource Map<String>Id - The workspace resource id for log analytics
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- Windows
- Linux
- Linux
- Operating
System Types Windows - Windows
- Operating
System Types Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
Port, PortArgs
- Port int
- The port number.
- Protocol
string | Pulumi.
Azure Native. Container Instance. Container Group Network Protocol - The protocol associated with the port.
- Port int
- The port number.
- Protocol
string | Container
Group Network Protocol - The protocol associated with the port.
- port Integer
- The port number.
- protocol
String | Container
Group Network Protocol - The protocol associated with the port.
- port number
- The port number.
- protocol
string | Container
Group Network Protocol - The protocol associated with the port.
- port int
- The port number.
- protocol
str | Container
Group Network Protocol - The protocol associated with the port.
- port Number
- The port number.
- protocol String | "TCP" | "UDP"
- The protocol associated with the port.
PortResponse, PortResponseArgs
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
- "None"
- None
ResourceLimits, ResourceLimitsArgs
- Cpu double
- The CPU limit of this container instance.
- Gpu
Pulumi.
Azure Native. Container Instance. Inputs. Gpu Resource - The GPU limit of this container instance.
- Memory
In doubleGB - The memory limit in GB of this container instance.
- Cpu float64
- The CPU limit of this container instance.
- Gpu
Gpu
Resource - The GPU limit of this container instance.
- Memory
In float64GB - The memory limit in GB of this container instance.
- cpu Double
- The CPU limit of this container instance.
- gpu
Gpu
Resource - The GPU limit of this container instance.
- memory
In DoubleGB - The memory limit in GB of this container instance.
- cpu number
- The CPU limit of this container instance.
- gpu
Gpu
Resource - The GPU limit of this container instance.
- memory
In numberGB - The memory limit in GB of this container instance.
- cpu float
- The CPU limit of this container instance.
- gpu
Gpu
Resource - The GPU limit of this container instance.
- memory_
in_ floatgb - 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.
- memory
In NumberGB - The memory limit in GB of this container instance.
ResourceLimitsResponse, ResourceLimitsResponseArgs
- Cpu double
- The CPU limit of this container instance.
- Gpu
Pulumi.
Azure Native. Container Instance. Inputs. Gpu Resource Response - The GPU limit of this container instance.
- Memory
In doubleGB - The memory limit in GB of this container instance.
- Cpu float64
- The CPU limit of this container instance.
- Gpu
Gpu
Resource Response - The GPU limit of this container instance.
- Memory
In float64GB - The memory limit in GB of this container instance.
- cpu Double
- The CPU limit of this container instance.
- gpu
Gpu
Resource Response - The GPU limit of this container instance.
- memory
In DoubleGB - The memory limit in GB of this container instance.
- cpu number
- The CPU limit of this container instance.
- gpu
Gpu
Resource Response - The GPU limit of this container instance.
- memory
In numberGB - The memory limit in GB of this container instance.
- cpu float
- The CPU limit of this container instance.
- gpu
Gpu
Resource Response - The GPU limit of this container instance.
- memory_
in_ floatgb - 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.
- memory
In NumberGB - The memory limit in GB of this container instance.
ResourceRequests, ResourceRequestsArgs
- Cpu double
- The CPU request of this container instance.
- Memory
In doubleGB - The memory request in GB of this container instance.
- Gpu
Pulumi.
Azure Native. Container Instance. Inputs. Gpu Resource - The GPU request of this container instance.
- Cpu float64
- The CPU request of this container instance.
- Memory
In float64GB - The memory request in GB of this container instance.
- Gpu
Gpu
Resource - The GPU request of this container instance.
- cpu Double
- The CPU request of this container instance.
- memory
In DoubleGB - The memory request in GB of this container instance.
- gpu
Gpu
Resource - The GPU request of this container instance.
- cpu number
- The CPU request of this container instance.
- memory
In numberGB - The memory request in GB of this container instance.
- gpu
Gpu
Resource - The GPU request of this container instance.
- cpu float
- The CPU request of this container instance.
- memory_
in_ floatgb - The memory request in GB of this container instance.
- gpu
Gpu
Resource - The GPU request of this container instance.
- cpu Number
- The CPU request of this container instance.
- memory
In NumberGB - The memory request in GB of this container instance.
- gpu Property Map
- The GPU request of this container instance.
ResourceRequestsResponse, ResourceRequestsResponseArgs
- Cpu double
- The CPU request of this container instance.
- Memory
In doubleGB - The memory request in GB of this container instance.
- Gpu
Pulumi.
Azure Native. Container Instance. Inputs. Gpu Resource Response - The GPU request of this container instance.
- Cpu float64
- The CPU request of this container instance.
- Memory
In float64GB - The memory request in GB of this container instance.
- Gpu
Gpu
Resource Response - The GPU request of this container instance.
- cpu Double
- The CPU request of this container instance.
- memory
In DoubleGB - The memory request in GB of this container instance.
- gpu
Gpu
Resource Response - The GPU request of this container instance.
- cpu number
- The CPU request of this container instance.
- memory
In numberGB - The memory request in GB of this container instance.
- gpu
Gpu
Resource Response - The GPU request of this container instance.
- cpu float
- The CPU request of this container instance.
- memory_
in_ floatgb - The memory request in GB of this container instance.
- gpu
Gpu
Resource Response - The GPU request of this container instance.
- cpu Number
- The CPU request of this container instance.
- memory
In NumberGB - The memory request in GB of this container instance.
- gpu Property Map
- The GPU request of this container instance.
ResourceRequirements, ResourceRequirementsArgs
- Requests
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requests - The resource requests of this container instance.
- Limits
Pulumi.
Azure Native. Container Instance. Inputs. Resource Limits - The resource limits of this container instance.
- Requests
Resource
Requests - The resource requests of this container instance.
- Limits
Resource
Limits - The resource limits of this container instance.
- requests
Resource
Requests - The resource requests of this container instance.
- limits
Resource
Limits - The resource limits of this container instance.
- requests
Resource
Requests - The resource requests of this container instance.
- limits
Resource
Limits - The resource limits of this container instance.
- requests
Resource
Requests - The resource requests of this container instance.
- limits
Resource
Limits - The resource limits of this container instance.
- requests Property Map
- The resource requests of this container instance.
- limits Property Map
- The resource limits of this container instance.
ResourceRequirementsResponse, ResourceRequirementsResponseArgs
- Requests
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requests Response - The resource requests of this container instance.
- Limits
Pulumi.
Azure Native. Container Instance. Inputs. Resource Limits Response - The resource limits of this container instance.
- Requests
Resource
Requests Response - The resource requests of this container instance.
- Limits
Resource
Limits Response - The resource limits of this container instance.
- requests
Resource
Requests Response - The resource requests of this container instance.
- limits
Resource
Limits Response - The resource limits of this container instance.
- requests
Resource
Requests Response - The resource requests of this container instance.
- limits
Resource
Limits Response - The resource limits of this container instance.
- requests
Resource
Requests Response - The resource requests of this container instance.
- limits
Resource
Limits Response - The resource limits of this container instance.
- requests 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
- Scheme
Http - http
- Scheme
Https - https
- Http
- http
- Https
- https
- Http
- http
- Https
- https
- HTTP
- http
- HTTPS
- https
- "http"
- http
- "https"
- https
Volume, VolumeArgs
- Name string
- The name of the volume.
- Azure
File Pulumi.Azure Native. Container Instance. Inputs. Azure File Volume - The Azure File volume.
- Empty
Dir object - The empty directory volume.
- Git
Repo Pulumi.Azure Native. Container Instance. Inputs. Git Repo Volume - The git repo volume.
- Secret Dictionary<string, string>
- The secret volume.
- Name string
- The name of the volume.
- Azure
File AzureFile Volume - The Azure File volume.
- Empty
Dir interface{} - The empty directory volume.
- Git
Repo GitRepo Volume - The git repo volume.
- Secret map[string]string
- The secret volume.
- name String
- The name of the volume.
- azure
File AzureFile Volume - The Azure File volume.
- empty
Dir Object - The empty directory volume.
- git
Repo GitRepo Volume - The git repo volume.
- secret Map<String,String>
- The secret volume.
- name string
- The name of the volume.
- azure
File AzureFile Volume - The Azure File volume.
- empty
Dir any - The empty directory volume.
- git
Repo GitRepo Volume - The git repo volume.
- secret {[key: string]: string}
- The secret volume.
- name str
- The name of the volume.
- azure_
file AzureFile Volume - The Azure File volume.
- empty_
dir Any - The empty directory volume.
- git_
repo GitRepo Volume - The git repo volume.
- secret Mapping[str, str]
- The secret volume.
- name String
- The name of the volume.
- azure
File Property Map - The Azure File volume.
- empty
Dir Any - The empty directory volume.
- git
Repo Property Map - The git repo volume.
- secret Map<String>
- The secret volume.
VolumeMount, VolumeMountArgs
- mount_
path str - The path within the container where the volume should be mounted. Must not contain colon (:).
- name str
- The name of the volume mount.
- read_
only bool - The flag indicating whether the volume mount is read-only.
VolumeMountResponse, VolumeMountResponseArgs
- mount_
path str - The path within the container where the volume should be mounted. Must not contain colon (:).
- name str
- The name of the volume mount.
- read_
only bool - The flag indicating whether the volume mount is read-only.
VolumeResponse, VolumeResponseArgs
- Name string
- The name of the volume.
- Azure
File Pulumi.Azure Native. Container Instance. Inputs. Azure File Volume Response - The Azure File volume.
- Empty
Dir object - The empty directory volume.
- Git
Repo Pulumi.Azure Native. Container Instance. Inputs. Git Repo Volume Response - The git repo volume.
- Secret Dictionary<string, string>
- The secret volume.
- Name string
- The name of the volume.
- Azure
File AzureFile Volume Response - The Azure File volume.
- Empty
Dir interface{} - The empty directory volume.
- Git
Repo GitRepo Volume Response - The git repo volume.
- Secret map[string]string
- The secret volume.
- name String
- The name of the volume.
- azure
File AzureFile Volume Response - The Azure File volume.
- empty
Dir Object - The empty directory volume.
- git
Repo GitRepo Volume Response - The git repo volume.
- secret Map<String,String>
- The secret volume.
- name string
- The name of the volume.
- azure
File AzureFile Volume Response - The Azure File volume.
- empty
Dir any - The empty directory volume.
- git
Repo GitRepo Volume Response - The git repo volume.
- secret {[key: string]: string}
- The secret volume.
- name str
- The name of the volume.
- azure_
file AzureFile Volume Response - The Azure File volume.
- empty_
dir Any - The empty directory volume.
- git_
repo GitRepo Volume Response - The git repo volume.
- secret Mapping[str, str]
- The secret volume.
- name String
- The name of the volume.
- azure
File Property Map - The Azure File volume.
- empty
Dir Any - The empty directory volume.
- git
Repo Property Map - The git repo volume.
- secret Map<String>
- The secret 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/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0