azure-native.containerinstance.CGProfile
Explore with Pulumi AI
container group profile object Azure REST API version: 2024-11-01-preview.
Example Usage
ConfidentialContainerGroupProfile
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cgProfile = new AzureNative.ContainerInstance.CGProfile("cgProfile", new()
{
ConfidentialComputeProperties = new AzureNative.ContainerInstance.Inputs.ConfidentialComputePropertiesArgs
{
CcePolicy = "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
},
ContainerGroupProfileName = "demo1",
Containers = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerArgs
{
Command = new() { },
EnvironmentVariables = new() { },
Image = "confiimage",
Name = "accdemo",
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
{
Port = 8000,
},
},
Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
{
Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
{
Cpu = 1,
MemoryInGB = 1.5,
},
},
SecurityContext = new AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionArgs
{
Capabilities = new AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionArgs
{
Add = new[]
{
"CAP_NET_ADMIN",
},
},
Privileged = false,
},
},
},
ImageRegistryCredentials = new[] {},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 8000,
Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
},
},
Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Public,
},
Location = "westeurope",
OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
ResourceGroupName = "demo",
Sku = AzureNative.ContainerInstance.ContainerGroupSku.Confidential,
Zones = new[]
{
"1",
},
});
});
package main
import (
containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerinstance.NewCGProfile(ctx, "cgProfile", &containerinstance.CGProfileArgs{
ConfidentialComputeProperties: &containerinstance.ConfidentialComputePropertiesArgs{
CcePolicy: pulumi.String("eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"),
},
ContainerGroupProfileName: pulumi.String("demo1"),
Containers: containerinstance.ContainerArray{
&containerinstance.ContainerArgs{
Command: pulumi.StringArray{},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
Image: pulumi.String("confiimage"),
Name: pulumi.String("accdemo"),
Ports: containerinstance.ContainerPortArray{
&containerinstance.ContainerPortArgs{
Port: pulumi.Int(8000),
},
},
Resources: &containerinstance.ResourceRequirementsArgs{
Requests: &containerinstance.ResourceRequestsArgs{
Cpu: pulumi.Float64(1),
MemoryInGB: pulumi.Float64(1.5),
},
},
SecurityContext: &containerinstance.SecurityContextDefinitionArgs{
Capabilities: &containerinstance.SecurityContextCapabilitiesDefinitionArgs{
Add: pulumi.StringArray{
pulumi.String("CAP_NET_ADMIN"),
},
},
Privileged: pulumi.Bool(false),
},
},
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
IpAddress: &containerinstance.IpAddressArgs{
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(8000),
Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
},
},
Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePublic),
},
Location: pulumi.String("westeurope"),
OsType: pulumi.String(containerinstance.OperatingSystemTypesLinux),
ResourceGroupName: pulumi.String("demo"),
Sku: pulumi.String(containerinstance.ContainerGroupSkuConfidential),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.CGProfile;
import com.pulumi.azurenative.containerinstance.CGProfileArgs;
import com.pulumi.azurenative.containerinstance.inputs.ConfidentialComputePropertiesArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.SecurityContextDefinitionArgs;
import com.pulumi.azurenative.containerinstance.inputs.SecurityContextCapabilitiesDefinitionArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cgProfile = new CGProfile("cgProfile", CGProfileArgs.builder()
.confidentialComputeProperties(ConfidentialComputePropertiesArgs.builder()
.ccePolicy("eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19")
.build())
.containerGroupProfileName("demo1")
.containers(ContainerArgs.builder()
.command()
.environmentVariables()
.image("confiimage")
.name("accdemo")
.ports(ContainerPortArgs.builder()
.port(8000)
.build())
.resources(ResourceRequirementsArgs.builder()
.requests(ResourceRequestsArgs.builder()
.cpu(1)
.memoryInGB(1.5)
.build())
.build())
.securityContext(SecurityContextDefinitionArgs.builder()
.capabilities(SecurityContextCapabilitiesDefinitionArgs.builder()
.add("CAP_NET_ADMIN")
.build())
.privileged(false)
.build())
.build())
.imageRegistryCredentials()
.ipAddress(IpAddressArgs.builder()
.ports(PortArgs.builder()
.port(8000)
.protocol("TCP")
.build())
.type("Public")
.build())
.location("westeurope")
.osType("Linux")
.resourceGroupName("demo")
.sku("Confidential")
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cg_profile = azure_native.containerinstance.CGProfile("cgProfile",
confidential_compute_properties={
"cce_policy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
},
container_group_profile_name="demo1",
containers=[{
"command": [],
"environment_variables": [],
"image": "confiimage",
"name": "accdemo",
"ports": [{
"port": 8000,
}],
"resources": {
"requests": {
"cpu": 1,
"memory_in_gb": 1.5,
},
},
"security_context": {
"capabilities": {
"add": ["CAP_NET_ADMIN"],
},
"privileged": False,
},
}],
image_registry_credentials=[],
ip_address={
"ports": [{
"port": 8000,
"protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
"type": azure_native.containerinstance.ContainerGroupIpAddressType.PUBLIC,
},
location="westeurope",
os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
resource_group_name="demo",
sku=azure_native.containerinstance.ContainerGroupSku.CONFIDENTIAL,
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cgProfile = new azure_native.containerinstance.CGProfile("cgProfile", {
confidentialComputeProperties: {
ccePolicy: "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
},
containerGroupProfileName: "demo1",
containers: [{
command: [],
environmentVariables: [],
image: "confiimage",
name: "accdemo",
ports: [{
port: 8000,
}],
resources: {
requests: {
cpu: 1,
memoryInGB: 1.5,
},
},
securityContext: {
capabilities: {
add: ["CAP_NET_ADMIN"],
},
privileged: false,
},
}],
imageRegistryCredentials: [],
ipAddress: {
ports: [{
port: 8000,
protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
type: azure_native.containerinstance.ContainerGroupIpAddressType.Public,
},
location: "westeurope",
osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
resourceGroupName: "demo",
sku: azure_native.containerinstance.ContainerGroupSku.Confidential,
zones: ["1"],
});
resources:
cgProfile:
type: azure-native:containerinstance:CGProfile
properties:
confidentialComputeProperties:
ccePolicy: eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19
containerGroupProfileName: demo1
containers:
- command: []
environmentVariables: []
image: confiimage
name: accdemo
ports:
- port: 8000
resources:
requests:
cpu: 1
memoryInGB: 1.5
securityContext:
capabilities:
add:
- CAP_NET_ADMIN
privileged: false
imageRegistryCredentials: []
ipAddress:
ports:
- port: 8000
protocol: TCP
type: Public
location: westeurope
osType: Linux
resourceGroupName: demo
sku: Confidential
zones:
- '1'
ContainerGroupProfileCreateWithExtensions
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cgProfile = new AzureNative.ContainerInstance.CGProfile("cgProfile", new()
{
ContainerGroupProfileName = "demo1",
Containers = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerArgs
{
Command = new() { },
EnvironmentVariables = new() { },
Image = "nginx",
Name = "demo1",
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
{
Port = 80,
},
},
Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
{
Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
{
Cpu = 1,
MemoryInGB = 1.5,
},
},
},
},
Extensions = new[]
{
new AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpecArgs
{
ExtensionType = "kube-proxy",
Name = "kube-proxy",
ProtectedSettings = new Dictionary<string, object?>
{
["kubeConfig"] = "<kubeconfig encoded string>",
},
Settings = new Dictionary<string, object?>
{
["clusterCidr"] = "10.240.0.0/16",
["kubeVersion"] = "v1.9.10",
},
Version = "1.0",
},
new AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpecArgs
{
ExtensionType = "realtime-metrics",
Name = "vk-realtime-metrics",
Version = "1.0",
},
},
ImageRegistryCredentials = new[] {},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 80,
Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
},
},
Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Private,
},
Location = "eastus2",
OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
ResourceGroupName = "demo",
Zones = new[]
{
"1",
},
});
});
package main
import (
containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerinstance.NewCGProfile(ctx, "cgProfile", &containerinstance.CGProfileArgs{
ContainerGroupProfileName: pulumi.String("demo1"),
Containers: containerinstance.ContainerArray{
&containerinstance.ContainerArgs{
Command: pulumi.StringArray{},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
Image: pulumi.String("nginx"),
Name: pulumi.String("demo1"),
Ports: containerinstance.ContainerPortArray{
&containerinstance.ContainerPortArgs{
Port: pulumi.Int(80),
},
},
Resources: &containerinstance.ResourceRequirementsArgs{
Requests: &containerinstance.ResourceRequestsArgs{
Cpu: pulumi.Float64(1),
MemoryInGB: pulumi.Float64(1.5),
},
},
},
},
Extensions: containerinstance.DeploymentExtensionSpecArray{
&containerinstance.DeploymentExtensionSpecArgs{
ExtensionType: pulumi.String("kube-proxy"),
Name: pulumi.String("kube-proxy"),
ProtectedSettings: pulumi.Any(map[string]interface{}{
"kubeConfig": "<kubeconfig encoded string>",
}),
Settings: pulumi.Any(map[string]interface{}{
"clusterCidr": "10.240.0.0/16",
"kubeVersion": "v1.9.10",
}),
Version: pulumi.String("1.0"),
},
&containerinstance.DeploymentExtensionSpecArgs{
ExtensionType: pulumi.String("realtime-metrics"),
Name: pulumi.String("vk-realtime-metrics"),
Version: pulumi.String("1.0"),
},
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
IpAddress: &containerinstance.IpAddressArgs{
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(80),
Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
},
},
Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePrivate),
},
Location: pulumi.String("eastus2"),
OsType: pulumi.String(containerinstance.OperatingSystemTypesLinux),
ResourceGroupName: pulumi.String("demo"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.CGProfile;
import com.pulumi.azurenative.containerinstance.CGProfileArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.DeploymentExtensionSpecArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
import 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 cgProfile = new CGProfile("cgProfile", CGProfileArgs.builder()
.containerGroupProfileName("demo1")
.containers(ContainerArgs.builder()
.command()
.environmentVariables()
.image("nginx")
.name("demo1")
.ports(ContainerPortArgs.builder()
.port(80)
.build())
.resources(ResourceRequirementsArgs.builder()
.requests(ResourceRequestsArgs.builder()
.cpu(1)
.memoryInGB(1.5)
.build())
.build())
.build())
.extensions(
DeploymentExtensionSpecArgs.builder()
.extensionType("kube-proxy")
.name("kube-proxy")
.protectedSettings(Map.of("kubeConfig", "<kubeconfig encoded string>"))
.settings(Map.ofEntries(
Map.entry("clusterCidr", "10.240.0.0/16"),
Map.entry("kubeVersion", "v1.9.10")
))
.version("1.0")
.build(),
DeploymentExtensionSpecArgs.builder()
.extensionType("realtime-metrics")
.name("vk-realtime-metrics")
.version("1.0")
.build())
.imageRegistryCredentials()
.ipAddress(IpAddressArgs.builder()
.ports(PortArgs.builder()
.port(80)
.protocol("TCP")
.build())
.type("Private")
.build())
.location("eastus2")
.osType("Linux")
.resourceGroupName("demo")
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cg_profile = azure_native.containerinstance.CGProfile("cgProfile",
container_group_profile_name="demo1",
containers=[{
"command": [],
"environment_variables": [],
"image": "nginx",
"name": "demo1",
"ports": [{
"port": 80,
}],
"resources": {
"requests": {
"cpu": 1,
"memory_in_gb": 1.5,
},
},
}],
extensions=[
{
"extension_type": "kube-proxy",
"name": "kube-proxy",
"protected_settings": {
"kubeConfig": "<kubeconfig encoded string>",
},
"settings": {
"clusterCidr": "10.240.0.0/16",
"kubeVersion": "v1.9.10",
},
"version": "1.0",
},
{
"extension_type": "realtime-metrics",
"name": "vk-realtime-metrics",
"version": "1.0",
},
],
image_registry_credentials=[],
ip_address={
"ports": [{
"port": 80,
"protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
"type": azure_native.containerinstance.ContainerGroupIpAddressType.PRIVATE,
},
location="eastus2",
os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
resource_group_name="demo",
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cgProfile = new azure_native.containerinstance.CGProfile("cgProfile", {
containerGroupProfileName: "demo1",
containers: [{
command: [],
environmentVariables: [],
image: "nginx",
name: "demo1",
ports: [{
port: 80,
}],
resources: {
requests: {
cpu: 1,
memoryInGB: 1.5,
},
},
}],
extensions: [
{
extensionType: "kube-proxy",
name: "kube-proxy",
protectedSettings: {
kubeConfig: "<kubeconfig encoded string>",
},
settings: {
clusterCidr: "10.240.0.0/16",
kubeVersion: "v1.9.10",
},
version: "1.0",
},
{
extensionType: "realtime-metrics",
name: "vk-realtime-metrics",
version: "1.0",
},
],
imageRegistryCredentials: [],
ipAddress: {
ports: [{
port: 80,
protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
type: azure_native.containerinstance.ContainerGroupIpAddressType.Private,
},
location: "eastus2",
osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
resourceGroupName: "demo",
zones: ["1"],
});
resources:
cgProfile:
type: azure-native:containerinstance:CGProfile
properties:
containerGroupProfileName: demo1
containers:
- command: []
environmentVariables: []
image: nginx
name: demo1
ports:
- port: 80
resources:
requests:
cpu: 1
memoryInGB: 1.5
extensions:
- extensionType: kube-proxy
name: kube-proxy
protectedSettings:
kubeConfig: <kubeconfig encoded string>
settings:
clusterCidr: 10.240.0.0/16
kubeVersion: v1.9.10
version: '1.0'
- extensionType: realtime-metrics
name: vk-realtime-metrics
version: '1.0'
imageRegistryCredentials: []
ipAddress:
ports:
- port: 80
protocol: TCP
type: Private
location: eastus2
osType: Linux
resourceGroupName: demo
zones:
- '1'
ContainerGroupProfileWithEncryptionProperties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cgProfile = new AzureNative.ContainerInstance.CGProfile("cgProfile", new()
{
ContainerGroupProfileName = "demo1",
Containers = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerArgs
{
Command = new() { },
EnvironmentVariables = new() { },
Image = "nginx",
Name = "demo1",
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
{
Port = 80,
},
},
Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
{
Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
{
Cpu = 1,
MemoryInGB = 1.5,
},
},
},
},
EncryptionProperties = new AzureNative.ContainerInstance.Inputs.EncryptionPropertiesArgs
{
Identity = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity",
KeyName = "test-key",
KeyVersion = "<key version>",
VaultBaseUrl = "https://testkeyvault.vault.azure.net",
},
ImageRegistryCredentials = new[] {},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 80,
Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
},
},
Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Public,
},
Location = "eastus2",
OsType = AzureNative.ContainerInstance.OperatingSystemTypes.Linux,
ResourceGroupName = "demo",
Zones = new[]
{
"1",
},
});
});
package main
import (
containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerinstance.NewCGProfile(ctx, "cgProfile", &containerinstance.CGProfileArgs{
ContainerGroupProfileName: pulumi.String("demo1"),
Containers: containerinstance.ContainerArray{
&containerinstance.ContainerArgs{
Command: pulumi.StringArray{},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
Image: pulumi.String("nginx"),
Name: pulumi.String("demo1"),
Ports: containerinstance.ContainerPortArray{
&containerinstance.ContainerPortArgs{
Port: pulumi.Int(80),
},
},
Resources: &containerinstance.ResourceRequirementsArgs{
Requests: &containerinstance.ResourceRequestsArgs{
Cpu: pulumi.Float64(1),
MemoryInGB: pulumi.Float64(1.5),
},
},
},
},
EncryptionProperties: &containerinstance.EncryptionPropertiesArgs{
Identity: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity"),
KeyName: pulumi.String("test-key"),
KeyVersion: pulumi.String("<key version>"),
VaultBaseUrl: pulumi.String("https://testkeyvault.vault.azure.net"),
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
IpAddress: &containerinstance.IpAddressArgs{
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(80),
Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
},
},
Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePublic),
},
Location: pulumi.String("eastus2"),
OsType: pulumi.String(containerinstance.OperatingSystemTypesLinux),
ResourceGroupName: pulumi.String("demo"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.CGProfile;
import com.pulumi.azurenative.containerinstance.CGProfileArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.EncryptionPropertiesArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cgProfile = new CGProfile("cgProfile", CGProfileArgs.builder()
.containerGroupProfileName("demo1")
.containers(ContainerArgs.builder()
.command()
.environmentVariables()
.image("nginx")
.name("demo1")
.ports(ContainerPortArgs.builder()
.port(80)
.build())
.resources(ResourceRequirementsArgs.builder()
.requests(ResourceRequestsArgs.builder()
.cpu(1)
.memoryInGB(1.5)
.build())
.build())
.build())
.encryptionProperties(EncryptionPropertiesArgs.builder()
.identity("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity")
.keyName("test-key")
.keyVersion("<key version>")
.vaultBaseUrl("https://testkeyvault.vault.azure.net")
.build())
.imageRegistryCredentials()
.ipAddress(IpAddressArgs.builder()
.ports(PortArgs.builder()
.port(80)
.protocol("TCP")
.build())
.type("Public")
.build())
.location("eastus2")
.osType("Linux")
.resourceGroupName("demo")
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cg_profile = azure_native.containerinstance.CGProfile("cgProfile",
container_group_profile_name="demo1",
containers=[{
"command": [],
"environment_variables": [],
"image": "nginx",
"name": "demo1",
"ports": [{
"port": 80,
}],
"resources": {
"requests": {
"cpu": 1,
"memory_in_gb": 1.5,
},
},
}],
encryption_properties={
"identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity",
"key_name": "test-key",
"key_version": "<key version>",
"vault_base_url": "https://testkeyvault.vault.azure.net",
},
image_registry_credentials=[],
ip_address={
"ports": [{
"port": 80,
"protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
"type": azure_native.containerinstance.ContainerGroupIpAddressType.PUBLIC,
},
location="eastus2",
os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
resource_group_name="demo",
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cgProfile = new azure_native.containerinstance.CGProfile("cgProfile", {
containerGroupProfileName: "demo1",
containers: [{
command: [],
environmentVariables: [],
image: "nginx",
name: "demo1",
ports: [{
port: 80,
}],
resources: {
requests: {
cpu: 1,
memoryInGB: 1.5,
},
},
}],
encryptionProperties: {
identity: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity",
keyName: "test-key",
keyVersion: "<key version>",
vaultBaseUrl: "https://testkeyvault.vault.azure.net",
},
imageRegistryCredentials: [],
ipAddress: {
ports: [{
port: 80,
protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
type: azure_native.containerinstance.ContainerGroupIpAddressType.Public,
},
location: "eastus2",
osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
resourceGroupName: "demo",
zones: ["1"],
});
resources:
cgProfile:
type: azure-native:containerinstance:CGProfile
properties:
containerGroupProfileName: demo1
containers:
- command: []
environmentVariables: []
image: nginx
name: demo1
ports:
- port: 80
resources:
requests:
cpu: 1
memoryInGB: 1.5
encryptionProperties:
identity: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity
keyName: test-key
keyVersion: <key version>
vaultBaseUrl: https://testkeyvault.vault.azure.net
imageRegistryCredentials: []
ipAddress:
ports:
- port: 80
protocol: TCP
type: Public
location: eastus2
osType: Linux
resourceGroupName: demo
zones:
- '1'
ContainerGroupProfilesCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cgProfile = new AzureNative.ContainerInstance.CGProfile("cgProfile", new()
{
ContainerGroupProfileName = "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 = AzureNative.ContainerInstance.GpuSku.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 = AzureNative.ContainerInstance.LogAnalyticsLogType.ContainerInsights,
Metadata =
{
{ "pod-uuid", "test-metadata-value" },
},
WorkspaceId = "workspaceid",
WorkspaceKey = "workspaceKey",
WorkspaceResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace",
},
},
ImageRegistryCredentials = new[] {},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 80,
Protocol = AzureNative.ContainerInstance.ContainerGroupNetworkProtocol.TCP,
},
},
Type = AzureNative.ContainerInstance.ContainerGroupIpAddressType.Public,
},
Location = "west us",
OsType = AzureNative.ContainerInstance.OperatingSystemTypes.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" },
},
},
},
Zones = new[]
{
"1",
},
});
});
package main
import (
containerinstance "github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerinstance.NewCGProfile(ctx, "cgProfile", &containerinstance.CGProfileArgs{
ContainerGroupProfileName: pulumi.String("demo1"),
Containers: containerinstance.ContainerArray{
&containerinstance.ContainerArgs{
Command: pulumi.StringArray{},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{},
Image: pulumi.String("nginx"),
Name: pulumi.String("demo1"),
Ports: containerinstance.ContainerPortArray{
&containerinstance.ContainerPortArgs{
Port: pulumi.Int(80),
},
},
Resources: &containerinstance.ResourceRequirementsArgs{
Requests: &containerinstance.ResourceRequestsArgs{
Cpu: pulumi.Float64(1),
Gpu: &containerinstance.GpuResourceArgs{
Count: pulumi.Int(1),
Sku: pulumi.String(containerinstance.GpuSkuK80),
},
MemoryInGB: pulumi.Float64(1.5),
},
},
VolumeMounts: containerinstance.VolumeMountArray{
&containerinstance.VolumeMountArgs{
MountPath: pulumi.String("/mnt/volume1"),
Name: pulumi.String("volume1"),
ReadOnly: pulumi.Bool(false),
},
&containerinstance.VolumeMountArgs{
MountPath: pulumi.String("/mnt/volume2"),
Name: pulumi.String("volume2"),
ReadOnly: pulumi.Bool(false),
},
&containerinstance.VolumeMountArgs{
MountPath: pulumi.String("/mnt/volume3"),
Name: pulumi.String("volume3"),
ReadOnly: pulumi.Bool(true),
},
},
},
},
Diagnostics: &containerinstance.ContainerGroupDiagnosticsArgs{
LogAnalytics: &containerinstance.LogAnalyticsArgs{
LogType: pulumi.String(containerinstance.LogAnalyticsLogTypeContainerInsights),
Metadata: pulumi.StringMap{
"pod-uuid": pulumi.String("test-metadata-value"),
},
WorkspaceId: pulumi.String("workspaceid"),
WorkspaceKey: pulumi.String("workspaceKey"),
WorkspaceResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace"),
},
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{},
IpAddress: &containerinstance.IpAddressArgs{
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(80),
Protocol: pulumi.String(containerinstance.ContainerGroupNetworkProtocolTCP),
},
},
Type: pulumi.String(containerinstance.ContainerGroupIpAddressTypePublic),
},
Location: pulumi.String("west us"),
OsType: pulumi.String(containerinstance.OperatingSystemTypesLinux),
ResourceGroupName: pulumi.String("demo"),
Volumes: containerinstance.VolumeArray{
&containerinstance.VolumeArgs{
AzureFile: &containerinstance.AzureFileVolumeArgs{
ShareName: pulumi.String("shareName"),
StorageAccountKey: pulumi.String("accountKey"),
StorageAccountName: pulumi.String("accountName"),
},
Name: pulumi.String("volume1"),
},
&containerinstance.VolumeArgs{
EmptyDir: pulumi.Any(map[string]interface{}{}),
Name: pulumi.String("volume2"),
},
&containerinstance.VolumeArgs{
Name: pulumi.String("volume3"),
Secret: pulumi.StringMap{
"secretKey1": pulumi.String("SecretValue1InBase64"),
"secretKey2": pulumi.String("SecretValue2InBase64"),
},
},
},
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.CGProfile;
import com.pulumi.azurenative.containerinstance.CGProfileArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.containerinstance.inputs.ResourceRequestsArgs;
import com.pulumi.azurenative.containerinstance.inputs.GpuResourceArgs;
import com.pulumi.azurenative.containerinstance.inputs.ContainerGroupDiagnosticsArgs;
import com.pulumi.azurenative.containerinstance.inputs.LogAnalyticsArgs;
import com.pulumi.azurenative.containerinstance.inputs.IpAddressArgs;
import com.pulumi.azurenative.containerinstance.inputs.VolumeArgs;
import com.pulumi.azurenative.containerinstance.inputs.AzureFileVolumeArgs;
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 cgProfile = new CGProfile("cgProfile", CGProfileArgs.builder()
.containerGroupProfileName("demo1")
.containers(ContainerArgs.builder()
.command()
.environmentVariables()
.image("nginx")
.name("demo1")
.ports(ContainerPortArgs.builder()
.port(80)
.build())
.resources(ResourceRequirementsArgs.builder()
.requests(ResourceRequestsArgs.builder()
.cpu(1)
.gpu(GpuResourceArgs.builder()
.count(1)
.sku("K80")
.build())
.memoryInGB(1.5)
.build())
.build())
.volumeMounts(
VolumeMountArgs.builder()
.mountPath("/mnt/volume1")
.name("volume1")
.readOnly(false)
.build(),
VolumeMountArgs.builder()
.mountPath("/mnt/volume2")
.name("volume2")
.readOnly(false)
.build(),
VolumeMountArgs.builder()
.mountPath("/mnt/volume3")
.name("volume3")
.readOnly(true)
.build())
.build())
.diagnostics(ContainerGroupDiagnosticsArgs.builder()
.logAnalytics(LogAnalyticsArgs.builder()
.logType("ContainerInsights")
.metadata(Map.of("pod-uuid", "test-metadata-value"))
.workspaceId("workspaceid")
.workspaceKey("workspaceKey")
.workspaceResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace")
.build())
.build())
.imageRegistryCredentials()
.ipAddress(IpAddressArgs.builder()
.ports(PortArgs.builder()
.port(80)
.protocol("TCP")
.build())
.type("Public")
.build())
.location("west us")
.osType("Linux")
.resourceGroupName("demo")
.volumes(
VolumeArgs.builder()
.azureFile(AzureFileVolumeArgs.builder()
.shareName("shareName")
.storageAccountKey("accountKey")
.storageAccountName("accountName")
.build())
.name("volume1")
.build(),
VolumeArgs.builder()
.emptyDir()
.name("volume2")
.build(),
VolumeArgs.builder()
.name("volume3")
.secret(Map.ofEntries(
Map.entry("secretKey1", "SecretValue1InBase64"),
Map.entry("secretKey2", "SecretValue2InBase64")
))
.build())
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cg_profile = azure_native.containerinstance.CGProfile("cgProfile",
container_group_profile_name="demo1",
containers=[{
"command": [],
"environment_variables": [],
"image": "nginx",
"name": "demo1",
"ports": [{
"port": 80,
}],
"resources": {
"requests": {
"cpu": 1,
"gpu": {
"count": 1,
"sku": azure_native.containerinstance.GpuSku.K80,
},
"memory_in_gb": 1.5,
},
},
"volume_mounts": [
{
"mount_path": "/mnt/volume1",
"name": "volume1",
"read_only": False,
},
{
"mount_path": "/mnt/volume2",
"name": "volume2",
"read_only": False,
},
{
"mount_path": "/mnt/volume3",
"name": "volume3",
"read_only": True,
},
],
}],
diagnostics={
"log_analytics": {
"log_type": azure_native.containerinstance.LogAnalyticsLogType.CONTAINER_INSIGHTS,
"metadata": {
"pod-uuid": "test-metadata-value",
},
"workspace_id": "workspaceid",
"workspace_key": "workspaceKey",
"workspace_resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace",
},
},
image_registry_credentials=[],
ip_address={
"ports": [{
"port": 80,
"protocol": azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
"type": azure_native.containerinstance.ContainerGroupIpAddressType.PUBLIC,
},
location="west us",
os_type=azure_native.containerinstance.OperatingSystemTypes.LINUX,
resource_group_name="demo",
volumes=[
{
"azure_file": {
"share_name": "shareName",
"storage_account_key": "accountKey",
"storage_account_name": "accountName",
},
"name": "volume1",
},
{
"empty_dir": {},
"name": "volume2",
},
{
"name": "volume3",
"secret": {
"secretKey1": "SecretValue1InBase64",
"secretKey2": "SecretValue2InBase64",
},
},
],
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cgProfile = new azure_native.containerinstance.CGProfile("cgProfile", {
containerGroupProfileName: "demo1",
containers: [{
command: [],
environmentVariables: [],
image: "nginx",
name: "demo1",
ports: [{
port: 80,
}],
resources: {
requests: {
cpu: 1,
gpu: {
count: 1,
sku: azure_native.containerinstance.GpuSku.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: azure_native.containerinstance.LogAnalyticsLogType.ContainerInsights,
metadata: {
"pod-uuid": "test-metadata-value",
},
workspaceId: "workspaceid",
workspaceKey: "workspaceKey",
workspaceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace",
},
},
imageRegistryCredentials: [],
ipAddress: {
ports: [{
port: 80,
protocol: azure_native.containerinstance.ContainerGroupNetworkProtocol.TCP,
}],
type: azure_native.containerinstance.ContainerGroupIpAddressType.Public,
},
location: "west us",
osType: azure_native.containerinstance.OperatingSystemTypes.Linux,
resourceGroupName: "demo",
volumes: [
{
azureFile: {
shareName: "shareName",
storageAccountKey: "accountKey",
storageAccountName: "accountName",
},
name: "volume1",
},
{
emptyDir: {},
name: "volume2",
},
{
name: "volume3",
secret: {
secretKey1: "SecretValue1InBase64",
secretKey2: "SecretValue2InBase64",
},
},
],
zones: ["1"],
});
resources:
cgProfile:
type: azure-native:containerinstance:CGProfile
properties:
containerGroupProfileName: 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:
pod-uuid: test-metadata-value
workspaceId: workspaceid
workspaceKey: workspaceKey
workspaceResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace
imageRegistryCredentials: []
ipAddress:
ports:
- port: 80
protocol: TCP
type: Public
location: west us
osType: Linux
resourceGroupName: demo
volumes:
- azureFile:
shareName: shareName
storageAccountKey: accountKey
storageAccountName: accountName
name: volume1
- emptyDir: {}
name: volume2
- name: volume3
secret:
secretKey1: SecretValue1InBase64
secretKey2: SecretValue2InBase64
zones:
- '1'
Create CGProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CGProfile(name: string, args: CGProfileArgs, opts?: CustomResourceOptions);
@overload
def CGProfile(resource_name: str,
args: CGProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CGProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
registered_revisions: Optional[Sequence[float]] = None,
zones: Optional[Sequence[str]] = None,
priority: Optional[Union[str, ContainerGroupPriority]] = None,
encryption_properties: Optional[EncryptionPropertiesArgs] = None,
extensions: Optional[Sequence[DeploymentExtensionSpecArgs]] = 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_profile_name: Optional[str] = None,
diagnostics: Optional[ContainerGroupDiagnosticsArgs] = None,
containers: Optional[Sequence[ContainerArgs]] = None,
os_type: Optional[Union[str, OperatingSystemTypes]] = None,
restart_policy: Optional[Union[str, ContainerGroupRestartPolicy]] = None,
revision: Optional[float] = None,
security_context: Optional[SecurityContextDefinitionArgs] = None,
shutdown_grace_period: Optional[str] = None,
sku: Optional[Union[str, ContainerGroupSku]] = None,
tags: Optional[Mapping[str, str]] = None,
time_to_live: Optional[str] = None,
use_krypton: Optional[bool] = None,
volumes: Optional[Sequence[VolumeArgs]] = None,
confidential_compute_properties: Optional[ConfidentialComputePropertiesArgs] = None)
func NewCGProfile(ctx *Context, name string, args CGProfileArgs, opts ...ResourceOption) (*CGProfile, error)
public CGProfile(string name, CGProfileArgs args, CustomResourceOptions? opts = null)
public CGProfile(String name, CGProfileArgs args)
public CGProfile(String name, CGProfileArgs args, CustomResourceOptions options)
type: azure-native:containerinstance:CGProfile
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 CGProfileArgs
- 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 CGProfileArgs
- 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 CGProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CGProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CGProfileArgs
- 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 cgprofileResource = new AzureNative.ContainerInstance.CGProfile("cgprofileResource", new()
{
ResourceGroupName = "string",
RegisteredRevisions = new[]
{
0,
},
Zones = new[]
{
"string",
},
Priority = "string",
EncryptionProperties = new AzureNative.ContainerInstance.Inputs.EncryptionPropertiesArgs
{
KeyName = "string",
KeyVersion = "string",
VaultBaseUrl = "string",
Identity = "string",
},
Extensions = new[]
{
new AzureNative.ContainerInstance.Inputs.DeploymentExtensionSpecArgs
{
ExtensionType = "string",
Name = "string",
Version = "string",
ProtectedSettings = "any",
Settings = "any",
},
},
ImageRegistryCredentials = new[]
{
new AzureNative.ContainerInstance.Inputs.ImageRegistryCredentialArgs
{
Server = "string",
Identity = "string",
IdentityUrl = "string",
Password = "string",
PasswordReference = "string",
Username = "string",
},
},
InitContainers = new[]
{
new AzureNative.ContainerInstance.Inputs.InitContainerDefinitionArgs
{
Name = "string",
Command = new[]
{
"string",
},
EnvironmentVariables = new[]
{
new AzureNative.ContainerInstance.Inputs.EnvironmentVariableArgs
{
Name = "string",
SecureValue = "string",
SecureValueReference = "string",
Value = "string",
},
},
Image = "string",
SecurityContext = new AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionArgs
{
AllowPrivilegeEscalation = false,
Capabilities = new AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionArgs
{
Add = new[]
{
"string",
},
Drop = new[]
{
"string",
},
},
Privileged = false,
RunAsGroup = 0,
RunAsUser = 0,
SeccompProfile = "string",
},
VolumeMounts = new[]
{
new AzureNative.ContainerInstance.Inputs.VolumeMountArgs
{
MountPath = "string",
Name = "string",
ReadOnly = false,
},
},
},
},
IpAddress = new AzureNative.ContainerInstance.Inputs.IpAddressArgs
{
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.PortArgs
{
Port = 0,
Protocol = "string",
},
},
Type = "string",
AutoGeneratedDomainNameLabelScope = "string",
DnsNameLabel = "string",
Ip = "string",
},
Location = "string",
ContainerGroupProfileName = "string",
Diagnostics = new AzureNative.ContainerInstance.Inputs.ContainerGroupDiagnosticsArgs
{
LogAnalytics = new AzureNative.ContainerInstance.Inputs.LogAnalyticsArgs
{
WorkspaceId = "string",
WorkspaceKey = "string",
LogType = "string",
Metadata =
{
{ "string", "string" },
},
WorkspaceResourceId = "string",
},
},
Containers = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerArgs
{
Name = "string",
Command = new[]
{
"string",
},
ConfigMap = new AzureNative.ContainerInstance.Inputs.ConfigMapArgs
{
KeyValuePairs =
{
{ "string", "string" },
},
},
EnvironmentVariables = new[]
{
new AzureNative.ContainerInstance.Inputs.EnvironmentVariableArgs
{
Name = "string",
SecureValue = "string",
SecureValueReference = "string",
Value = "string",
},
},
Image = "string",
LivenessProbe = new AzureNative.ContainerInstance.Inputs.ContainerProbeArgs
{
Exec = new AzureNative.ContainerInstance.Inputs.ContainerExecArgs
{
Command = new[]
{
"string",
},
},
FailureThreshold = 0,
HttpGet = new AzureNative.ContainerInstance.Inputs.ContainerHttpGetArgs
{
Port = 0,
HttpHeaders = new[]
{
new AzureNative.ContainerInstance.Inputs.HttpHeaderArgs
{
Name = "string",
Value = "string",
},
},
Path = "string",
Scheme = "string",
},
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TimeoutSeconds = 0,
},
Ports = new[]
{
new AzureNative.ContainerInstance.Inputs.ContainerPortArgs
{
Port = 0,
Protocol = "string",
},
},
ReadinessProbe = new AzureNative.ContainerInstance.Inputs.ContainerProbeArgs
{
Exec = new AzureNative.ContainerInstance.Inputs.ContainerExecArgs
{
Command = new[]
{
"string",
},
},
FailureThreshold = 0,
HttpGet = new AzureNative.ContainerInstance.Inputs.ContainerHttpGetArgs
{
Port = 0,
HttpHeaders = new[]
{
new AzureNative.ContainerInstance.Inputs.HttpHeaderArgs
{
Name = "string",
Value = "string",
},
},
Path = "string",
Scheme = "string",
},
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TimeoutSeconds = 0,
},
Resources = new AzureNative.ContainerInstance.Inputs.ResourceRequirementsArgs
{
Requests = new AzureNative.ContainerInstance.Inputs.ResourceRequestsArgs
{
Cpu = 0,
MemoryInGB = 0,
Gpu = new AzureNative.ContainerInstance.Inputs.GpuResourceArgs
{
Count = 0,
Sku = "string",
},
},
Limits = new AzureNative.ContainerInstance.Inputs.ResourceLimitsArgs
{
Cpu = 0,
Gpu = new AzureNative.ContainerInstance.Inputs.GpuResourceArgs
{
Count = 0,
Sku = "string",
},
MemoryInGB = 0,
},
},
SecurityContext = new AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionArgs
{
AllowPrivilegeEscalation = false,
Capabilities = new AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionArgs
{
Add = new[]
{
"string",
},
Drop = new[]
{
"string",
},
},
Privileged = false,
RunAsGroup = 0,
RunAsUser = 0,
SeccompProfile = "string",
},
VolumeMounts = new[]
{
new AzureNative.ContainerInstance.Inputs.VolumeMountArgs
{
MountPath = "string",
Name = "string",
ReadOnly = false,
},
},
},
},
OsType = "string",
RestartPolicy = "string",
Revision = 0,
SecurityContext = new AzureNative.ContainerInstance.Inputs.SecurityContextDefinitionArgs
{
AllowPrivilegeEscalation = false,
Capabilities = new AzureNative.ContainerInstance.Inputs.SecurityContextCapabilitiesDefinitionArgs
{
Add = new[]
{
"string",
},
Drop = new[]
{
"string",
},
},
Privileged = false,
RunAsGroup = 0,
RunAsUser = 0,
SeccompProfile = "string",
},
ShutdownGracePeriod = "string",
Sku = "string",
Tags =
{
{ "string", "string" },
},
TimeToLive = "string",
UseKrypton = false,
Volumes = new[]
{
new AzureNative.ContainerInstance.Inputs.VolumeArgs
{
Name = "string",
AzureFile = new AzureNative.ContainerInstance.Inputs.AzureFileVolumeArgs
{
ShareName = "string",
StorageAccountName = "string",
ReadOnly = false,
StorageAccountKey = "string",
StorageAccountKeyReference = "string",
},
EmptyDir = "any",
GitRepo = new AzureNative.ContainerInstance.Inputs.GitRepoVolumeArgs
{
Repository = "string",
Directory = "string",
Revision = "string",
},
Secret =
{
{ "string", "string" },
},
SecretReference =
{
{ "string", "string" },
},
},
},
ConfidentialComputeProperties = new AzureNative.ContainerInstance.Inputs.ConfidentialComputePropertiesArgs
{
CcePolicy = "string",
},
});
example, err := containerinstance.NewCGProfile(ctx, "cgprofileResource", &containerinstance.CGProfileArgs{
ResourceGroupName: pulumi.String("string"),
RegisteredRevisions: pulumi.Float64Array{
pulumi.Float64(0),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
Priority: pulumi.String("string"),
EncryptionProperties: &containerinstance.EncryptionPropertiesArgs{
KeyName: pulumi.String("string"),
KeyVersion: pulumi.String("string"),
VaultBaseUrl: pulumi.String("string"),
Identity: pulumi.String("string"),
},
Extensions: containerinstance.DeploymentExtensionSpecArray{
&containerinstance.DeploymentExtensionSpecArgs{
ExtensionType: pulumi.String("string"),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
ProtectedSettings: pulumi.Any("any"),
Settings: pulumi.Any("any"),
},
},
ImageRegistryCredentials: containerinstance.ImageRegistryCredentialArray{
&containerinstance.ImageRegistryCredentialArgs{
Server: pulumi.String("string"),
Identity: pulumi.String("string"),
IdentityUrl: pulumi.String("string"),
Password: pulumi.String("string"),
PasswordReference: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
InitContainers: containerinstance.InitContainerDefinitionArray{
&containerinstance.InitContainerDefinitionArgs{
Name: pulumi.String("string"),
Command: pulumi.StringArray{
pulumi.String("string"),
},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{
&containerinstance.EnvironmentVariableArgs{
Name: pulumi.String("string"),
SecureValue: pulumi.String("string"),
SecureValueReference: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
SecurityContext: &containerinstance.SecurityContextDefinitionArgs{
AllowPrivilegeEscalation: pulumi.Bool(false),
Capabilities: &containerinstance.SecurityContextCapabilitiesDefinitionArgs{
Add: pulumi.StringArray{
pulumi.String("string"),
},
Drop: pulumi.StringArray{
pulumi.String("string"),
},
},
Privileged: pulumi.Bool(false),
RunAsGroup: pulumi.Int(0),
RunAsUser: pulumi.Int(0),
SeccompProfile: pulumi.String("string"),
},
VolumeMounts: containerinstance.VolumeMountArray{
&containerinstance.VolumeMountArgs{
MountPath: pulumi.String("string"),
Name: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
},
},
IpAddress: &containerinstance.IpAddressArgs{
Ports: containerinstance.PortArray{
&containerinstance.PortArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
AutoGeneratedDomainNameLabelScope: pulumi.String("string"),
DnsNameLabel: pulumi.String("string"),
Ip: pulumi.String("string"),
},
Location: pulumi.String("string"),
ContainerGroupProfileName: pulumi.String("string"),
Diagnostics: &containerinstance.ContainerGroupDiagnosticsArgs{
LogAnalytics: &containerinstance.LogAnalyticsArgs{
WorkspaceId: pulumi.String("string"),
WorkspaceKey: pulumi.String("string"),
LogType: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
WorkspaceResourceId: pulumi.String("string"),
},
},
Containers: containerinstance.ContainerArray{
&containerinstance.ContainerArgs{
Name: pulumi.String("string"),
Command: pulumi.StringArray{
pulumi.String("string"),
},
ConfigMap: &containerinstance.ConfigMapArgs{
KeyValuePairs: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
EnvironmentVariables: containerinstance.EnvironmentVariableArray{
&containerinstance.EnvironmentVariableArgs{
Name: pulumi.String("string"),
SecureValue: pulumi.String("string"),
SecureValueReference: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Image: pulumi.String("string"),
LivenessProbe: &containerinstance.ContainerProbeArgs{
Exec: &containerinstance.ContainerExecArgs{
Command: pulumi.StringArray{
pulumi.String("string"),
},
},
FailureThreshold: pulumi.Int(0),
HttpGet: &containerinstance.ContainerHttpGetArgs{
Port: pulumi.Int(0),
HttpHeaders: containerinstance.HttpHeaderArray{
&containerinstance.HttpHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Scheme: pulumi.String("string"),
},
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TimeoutSeconds: pulumi.Int(0),
},
Ports: containerinstance.ContainerPortArray{
&containerinstance.ContainerPortArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
ReadinessProbe: &containerinstance.ContainerProbeArgs{
Exec: &containerinstance.ContainerExecArgs{
Command: pulumi.StringArray{
pulumi.String("string"),
},
},
FailureThreshold: pulumi.Int(0),
HttpGet: &containerinstance.ContainerHttpGetArgs{
Port: pulumi.Int(0),
HttpHeaders: containerinstance.HttpHeaderArray{
&containerinstance.HttpHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Path: pulumi.String("string"),
Scheme: pulumi.String("string"),
},
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TimeoutSeconds: pulumi.Int(0),
},
Resources: &containerinstance.ResourceRequirementsArgs{
Requests: &containerinstance.ResourceRequestsArgs{
Cpu: pulumi.Float64(0),
MemoryInGB: pulumi.Float64(0),
Gpu: &containerinstance.GpuResourceArgs{
Count: pulumi.Int(0),
Sku: pulumi.String("string"),
},
},
Limits: &containerinstance.ResourceLimitsArgs{
Cpu: pulumi.Float64(0),
Gpu: &containerinstance.GpuResourceArgs{
Count: pulumi.Int(0),
Sku: pulumi.String("string"),
},
MemoryInGB: pulumi.Float64(0),
},
},
SecurityContext: &containerinstance.SecurityContextDefinitionArgs{
AllowPrivilegeEscalation: pulumi.Bool(false),
Capabilities: &containerinstance.SecurityContextCapabilitiesDefinitionArgs{
Add: pulumi.StringArray{
pulumi.String("string"),
},
Drop: pulumi.StringArray{
pulumi.String("string"),
},
},
Privileged: pulumi.Bool(false),
RunAsGroup: pulumi.Int(0),
RunAsUser: pulumi.Int(0),
SeccompProfile: pulumi.String("string"),
},
VolumeMounts: containerinstance.VolumeMountArray{
&containerinstance.VolumeMountArgs{
MountPath: pulumi.String("string"),
Name: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
},
},
OsType: pulumi.String("string"),
RestartPolicy: pulumi.String("string"),
Revision: pulumi.Float64(0),
SecurityContext: &containerinstance.SecurityContextDefinitionArgs{
AllowPrivilegeEscalation: pulumi.Bool(false),
Capabilities: &containerinstance.SecurityContextCapabilitiesDefinitionArgs{
Add: pulumi.StringArray{
pulumi.String("string"),
},
Drop: pulumi.StringArray{
pulumi.String("string"),
},
},
Privileged: pulumi.Bool(false),
RunAsGroup: pulumi.Int(0),
RunAsUser: pulumi.Int(0),
SeccompProfile: pulumi.String("string"),
},
ShutdownGracePeriod: pulumi.String("string"),
Sku: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TimeToLive: pulumi.String("string"),
UseKrypton: pulumi.Bool(false),
Volumes: containerinstance.VolumeArray{
&containerinstance.VolumeArgs{
Name: pulumi.String("string"),
AzureFile: &containerinstance.AzureFileVolumeArgs{
ShareName: pulumi.String("string"),
StorageAccountName: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
StorageAccountKey: pulumi.String("string"),
StorageAccountKeyReference: pulumi.String("string"),
},
EmptyDir: pulumi.Any("any"),
GitRepo: &containerinstance.GitRepoVolumeArgs{
Repository: pulumi.String("string"),
Directory: pulumi.String("string"),
Revision: pulumi.String("string"),
},
Secret: pulumi.StringMap{
"string": pulumi.String("string"),
},
SecretReference: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
ConfidentialComputeProperties: &containerinstance.ConfidentialComputePropertiesArgs{
CcePolicy: pulumi.String("string"),
},
})
var cgprofileResource = new CGProfile("cgprofileResource", CGProfileArgs.builder()
.resourceGroupName("string")
.registeredRevisions(0)
.zones("string")
.priority("string")
.encryptionProperties(EncryptionPropertiesArgs.builder()
.keyName("string")
.keyVersion("string")
.vaultBaseUrl("string")
.identity("string")
.build())
.extensions(DeploymentExtensionSpecArgs.builder()
.extensionType("string")
.name("string")
.version("string")
.protectedSettings("any")
.settings("any")
.build())
.imageRegistryCredentials(ImageRegistryCredentialArgs.builder()
.server("string")
.identity("string")
.identityUrl("string")
.password("string")
.passwordReference("string")
.username("string")
.build())
.initContainers(InitContainerDefinitionArgs.builder()
.name("string")
.command("string")
.environmentVariables(EnvironmentVariableArgs.builder()
.name("string")
.secureValue("string")
.secureValueReference("string")
.value("string")
.build())
.image("string")
.securityContext(SecurityContextDefinitionArgs.builder()
.allowPrivilegeEscalation(false)
.capabilities(SecurityContextCapabilitiesDefinitionArgs.builder()
.add("string")
.drop("string")
.build())
.privileged(false)
.runAsGroup(0)
.runAsUser(0)
.seccompProfile("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.name("string")
.readOnly(false)
.build())
.build())
.ipAddress(IpAddressArgs.builder()
.ports(PortArgs.builder()
.port(0)
.protocol("string")
.build())
.type("string")
.autoGeneratedDomainNameLabelScope("string")
.dnsNameLabel("string")
.ip("string")
.build())
.location("string")
.containerGroupProfileName("string")
.diagnostics(ContainerGroupDiagnosticsArgs.builder()
.logAnalytics(LogAnalyticsArgs.builder()
.workspaceId("string")
.workspaceKey("string")
.logType("string")
.metadata(Map.of("string", "string"))
.workspaceResourceId("string")
.build())
.build())
.containers(ContainerArgs.builder()
.name("string")
.command("string")
.configMap(ConfigMapArgs.builder()
.keyValuePairs(Map.of("string", "string"))
.build())
.environmentVariables(EnvironmentVariableArgs.builder()
.name("string")
.secureValue("string")
.secureValueReference("string")
.value("string")
.build())
.image("string")
.livenessProbe(ContainerProbeArgs.builder()
.exec(ContainerExecArgs.builder()
.command("string")
.build())
.failureThreshold(0)
.httpGet(ContainerHttpGetArgs.builder()
.port(0)
.httpHeaders(HttpHeaderArgs.builder()
.name("string")
.value("string")
.build())
.path("string")
.scheme("string")
.build())
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.timeoutSeconds(0)
.build())
.ports(ContainerPortArgs.builder()
.port(0)
.protocol("string")
.build())
.readinessProbe(ContainerProbeArgs.builder()
.exec(ContainerExecArgs.builder()
.command("string")
.build())
.failureThreshold(0)
.httpGet(ContainerHttpGetArgs.builder()
.port(0)
.httpHeaders(HttpHeaderArgs.builder()
.name("string")
.value("string")
.build())
.path("string")
.scheme("string")
.build())
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.timeoutSeconds(0)
.build())
.resources(ResourceRequirementsArgs.builder()
.requests(ResourceRequestsArgs.builder()
.cpu(0)
.memoryInGB(0)
.gpu(GpuResourceArgs.builder()
.count(0)
.sku("string")
.build())
.build())
.limits(ResourceLimitsArgs.builder()
.cpu(0)
.gpu(GpuResourceArgs.builder()
.count(0)
.sku("string")
.build())
.memoryInGB(0)
.build())
.build())
.securityContext(SecurityContextDefinitionArgs.builder()
.allowPrivilegeEscalation(false)
.capabilities(SecurityContextCapabilitiesDefinitionArgs.builder()
.add("string")
.drop("string")
.build())
.privileged(false)
.runAsGroup(0)
.runAsUser(0)
.seccompProfile("string")
.build())
.volumeMounts(VolumeMountArgs.builder()
.mountPath("string")
.name("string")
.readOnly(false)
.build())
.build())
.osType("string")
.restartPolicy("string")
.revision(0)
.securityContext(SecurityContextDefinitionArgs.builder()
.allowPrivilegeEscalation(false)
.capabilities(SecurityContextCapabilitiesDefinitionArgs.builder()
.add("string")
.drop("string")
.build())
.privileged(false)
.runAsGroup(0)
.runAsUser(0)
.seccompProfile("string")
.build())
.shutdownGracePeriod("string")
.sku("string")
.tags(Map.of("string", "string"))
.timeToLive("string")
.useKrypton(false)
.volumes(VolumeArgs.builder()
.name("string")
.azureFile(AzureFileVolumeArgs.builder()
.shareName("string")
.storageAccountName("string")
.readOnly(false)
.storageAccountKey("string")
.storageAccountKeyReference("string")
.build())
.emptyDir("any")
.gitRepo(GitRepoVolumeArgs.builder()
.repository("string")
.directory("string")
.revision("string")
.build())
.secret(Map.of("string", "string"))
.secretReference(Map.of("string", "string"))
.build())
.confidentialComputeProperties(ConfidentialComputePropertiesArgs.builder()
.ccePolicy("string")
.build())
.build());
cgprofile_resource = azure_native.containerinstance.CGProfile("cgprofileResource",
resource_group_name="string",
registered_revisions=[0],
zones=["string"],
priority="string",
encryption_properties={
"key_name": "string",
"key_version": "string",
"vault_base_url": "string",
"identity": "string",
},
extensions=[{
"extension_type": "string",
"name": "string",
"version": "string",
"protected_settings": "any",
"settings": "any",
}],
image_registry_credentials=[{
"server": "string",
"identity": "string",
"identity_url": "string",
"password": "string",
"password_reference": "string",
"username": "string",
}],
init_containers=[{
"name": "string",
"command": ["string"],
"environment_variables": [{
"name": "string",
"secure_value": "string",
"secure_value_reference": "string",
"value": "string",
}],
"image": "string",
"security_context": {
"allow_privilege_escalation": False,
"capabilities": {
"add": ["string"],
"drop": ["string"],
},
"privileged": False,
"run_as_group": 0,
"run_as_user": 0,
"seccomp_profile": "string",
},
"volume_mounts": [{
"mount_path": "string",
"name": "string",
"read_only": False,
}],
}],
ip_address={
"ports": [{
"port": 0,
"protocol": "string",
}],
"type": "string",
"auto_generated_domain_name_label_scope": "string",
"dns_name_label": "string",
"ip": "string",
},
location="string",
container_group_profile_name="string",
diagnostics={
"log_analytics": {
"workspace_id": "string",
"workspace_key": "string",
"log_type": "string",
"metadata": {
"string": "string",
},
"workspace_resource_id": "string",
},
},
containers=[{
"name": "string",
"command": ["string"],
"config_map": {
"key_value_pairs": {
"string": "string",
},
},
"environment_variables": [{
"name": "string",
"secure_value": "string",
"secure_value_reference": "string",
"value": "string",
}],
"image": "string",
"liveness_probe": {
"exec_": {
"command": ["string"],
},
"failure_threshold": 0,
"http_get": {
"port": 0,
"http_headers": [{
"name": "string",
"value": "string",
}],
"path": "string",
"scheme": "string",
},
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"timeout_seconds": 0,
},
"ports": [{
"port": 0,
"protocol": "string",
}],
"readiness_probe": {
"exec_": {
"command": ["string"],
},
"failure_threshold": 0,
"http_get": {
"port": 0,
"http_headers": [{
"name": "string",
"value": "string",
}],
"path": "string",
"scheme": "string",
},
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"timeout_seconds": 0,
},
"resources": {
"requests": {
"cpu": 0,
"memory_in_gb": 0,
"gpu": {
"count": 0,
"sku": "string",
},
},
"limits": {
"cpu": 0,
"gpu": {
"count": 0,
"sku": "string",
},
"memory_in_gb": 0,
},
},
"security_context": {
"allow_privilege_escalation": False,
"capabilities": {
"add": ["string"],
"drop": ["string"],
},
"privileged": False,
"run_as_group": 0,
"run_as_user": 0,
"seccomp_profile": "string",
},
"volume_mounts": [{
"mount_path": "string",
"name": "string",
"read_only": False,
}],
}],
os_type="string",
restart_policy="string",
revision=0,
security_context={
"allow_privilege_escalation": False,
"capabilities": {
"add": ["string"],
"drop": ["string"],
},
"privileged": False,
"run_as_group": 0,
"run_as_user": 0,
"seccomp_profile": "string",
},
shutdown_grace_period="string",
sku="string",
tags={
"string": "string",
},
time_to_live="string",
use_krypton=False,
volumes=[{
"name": "string",
"azure_file": {
"share_name": "string",
"storage_account_name": "string",
"read_only": False,
"storage_account_key": "string",
"storage_account_key_reference": "string",
},
"empty_dir": "any",
"git_repo": {
"repository": "string",
"directory": "string",
"revision": "string",
},
"secret": {
"string": "string",
},
"secret_reference": {
"string": "string",
},
}],
confidential_compute_properties={
"cce_policy": "string",
})
const cgprofileResource = new azure_native.containerinstance.CGProfile("cgprofileResource", {
resourceGroupName: "string",
registeredRevisions: [0],
zones: ["string"],
priority: "string",
encryptionProperties: {
keyName: "string",
keyVersion: "string",
vaultBaseUrl: "string",
identity: "string",
},
extensions: [{
extensionType: "string",
name: "string",
version: "string",
protectedSettings: "any",
settings: "any",
}],
imageRegistryCredentials: [{
server: "string",
identity: "string",
identityUrl: "string",
password: "string",
passwordReference: "string",
username: "string",
}],
initContainers: [{
name: "string",
command: ["string"],
environmentVariables: [{
name: "string",
secureValue: "string",
secureValueReference: "string",
value: "string",
}],
image: "string",
securityContext: {
allowPrivilegeEscalation: false,
capabilities: {
add: ["string"],
drop: ["string"],
},
privileged: false,
runAsGroup: 0,
runAsUser: 0,
seccompProfile: "string",
},
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
}],
ipAddress: {
ports: [{
port: 0,
protocol: "string",
}],
type: "string",
autoGeneratedDomainNameLabelScope: "string",
dnsNameLabel: "string",
ip: "string",
},
location: "string",
containerGroupProfileName: "string",
diagnostics: {
logAnalytics: {
workspaceId: "string",
workspaceKey: "string",
logType: "string",
metadata: {
string: "string",
},
workspaceResourceId: "string",
},
},
containers: [{
name: "string",
command: ["string"],
configMap: {
keyValuePairs: {
string: "string",
},
},
environmentVariables: [{
name: "string",
secureValue: "string",
secureValueReference: "string",
value: "string",
}],
image: "string",
livenessProbe: {
exec: {
command: ["string"],
},
failureThreshold: 0,
httpGet: {
port: 0,
httpHeaders: [{
name: "string",
value: "string",
}],
path: "string",
scheme: "string",
},
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
timeoutSeconds: 0,
},
ports: [{
port: 0,
protocol: "string",
}],
readinessProbe: {
exec: {
command: ["string"],
},
failureThreshold: 0,
httpGet: {
port: 0,
httpHeaders: [{
name: "string",
value: "string",
}],
path: "string",
scheme: "string",
},
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
timeoutSeconds: 0,
},
resources: {
requests: {
cpu: 0,
memoryInGB: 0,
gpu: {
count: 0,
sku: "string",
},
},
limits: {
cpu: 0,
gpu: {
count: 0,
sku: "string",
},
memoryInGB: 0,
},
},
securityContext: {
allowPrivilegeEscalation: false,
capabilities: {
add: ["string"],
drop: ["string"],
},
privileged: false,
runAsGroup: 0,
runAsUser: 0,
seccompProfile: "string",
},
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
}],
osType: "string",
restartPolicy: "string",
revision: 0,
securityContext: {
allowPrivilegeEscalation: false,
capabilities: {
add: ["string"],
drop: ["string"],
},
privileged: false,
runAsGroup: 0,
runAsUser: 0,
seccompProfile: "string",
},
shutdownGracePeriod: "string",
sku: "string",
tags: {
string: "string",
},
timeToLive: "string",
useKrypton: false,
volumes: [{
name: "string",
azureFile: {
shareName: "string",
storageAccountName: "string",
readOnly: false,
storageAccountKey: "string",
storageAccountKeyReference: "string",
},
emptyDir: "any",
gitRepo: {
repository: "string",
directory: "string",
revision: "string",
},
secret: {
string: "string",
},
secretReference: {
string: "string",
},
}],
confidentialComputeProperties: {
ccePolicy: "string",
},
});
type: azure-native:containerinstance:CGProfile
properties:
confidentialComputeProperties:
ccePolicy: string
containerGroupProfileName: string
containers:
- command:
- string
configMap:
keyValuePairs:
string: string
environmentVariables:
- name: string
secureValue: string
secureValueReference: string
value: string
image: string
livenessProbe:
exec:
command:
- string
failureThreshold: 0
httpGet:
httpHeaders:
- name: string
value: string
path: string
port: 0
scheme: string
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
name: string
ports:
- port: 0
protocol: string
readinessProbe:
exec:
command:
- string
failureThreshold: 0
httpGet:
httpHeaders:
- name: string
value: string
path: string
port: 0
scheme: string
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
resources:
limits:
cpu: 0
gpu:
count: 0
sku: string
memoryInGB: 0
requests:
cpu: 0
gpu:
count: 0
sku: string
memoryInGB: 0
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- string
drop:
- string
privileged: false
runAsGroup: 0
runAsUser: 0
seccompProfile: string
volumeMounts:
- mountPath: string
name: string
readOnly: false
diagnostics:
logAnalytics:
logType: string
metadata:
string: string
workspaceId: string
workspaceKey: string
workspaceResourceId: string
encryptionProperties:
identity: string
keyName: string
keyVersion: string
vaultBaseUrl: string
extensions:
- extensionType: string
name: string
protectedSettings: any
settings: any
version: string
imageRegistryCredentials:
- identity: string
identityUrl: string
password: string
passwordReference: string
server: string
username: string
initContainers:
- command:
- string
environmentVariables:
- name: string
secureValue: string
secureValueReference: string
value: string
image: string
name: string
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- string
drop:
- string
privileged: false
runAsGroup: 0
runAsUser: 0
seccompProfile: string
volumeMounts:
- mountPath: string
name: string
readOnly: false
ipAddress:
autoGeneratedDomainNameLabelScope: string
dnsNameLabel: string
ip: string
ports:
- port: 0
protocol: string
type: string
location: string
osType: string
priority: string
registeredRevisions:
- 0
resourceGroupName: string
restartPolicy: string
revision: 0
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- string
drop:
- string
privileged: false
runAsGroup: 0
runAsUser: 0
seccompProfile: string
shutdownGracePeriod: string
sku: string
tags:
string: string
timeToLive: string
useKrypton: false
volumes:
- azureFile:
readOnly: false
shareName: string
storageAccountKey: string
storageAccountKeyReference: string
storageAccountName: string
emptyDir: any
gitRepo:
directory: string
repository: string
revision: string
name: string
secret:
string: string
secretReference:
string: string
zones:
- string
CGProfile 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 CGProfile resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Confidential
Compute Pulumi.Properties Azure Native. Container Instance. Inputs. Confidential Compute Properties - The properties for confidential container group
- Container
Group stringProfile Name - ContainerGroupProfile name.
- Containers
List<Pulumi.
Azure Native. Container Instance. Inputs. Container> - The containers within the container group.
- Diagnostics
Pulumi.
Azure Native. Container Instance. Inputs. Container Group Diagnostics - The diagnostic information for a container group.
- Encryption
Properties Pulumi.Azure Native. Container Instance. Inputs. Encryption Properties - The encryption properties for a container group.
- Extensions
List<Pulumi.
Azure Native. Container Instance. Inputs. Deployment Extension Spec> - extensions used by virtual kubelet
- 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.
- Os
Type string | Pulumi.Azure Native. Container Instance. Operating System Types - The operating system type required by the containers in the container group.
- Priority
string | Pulumi.
Azure Native. Container Instance. Container Group Priority - The priority of the container group.
- Registered
Revisions List<double> - Registered revisions are calculated at request time based off the records in the table logs.
- 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
- Revision double
- Container group profile current revision number
- Security
Context Pulumi.Azure Native. Container Instance. Inputs. Security Context Definition - The container security properties.
- Shutdown
Grace stringPeriod - Shutdown grace period for containers in a container group.
- Sku
string | Pulumi.
Azure Native. Container Instance. Container Group Sku - The SKU for a container group.
- Dictionary<string, string>
- The resource tags.
- Time
To stringLive - Post completion time to live for containers of a CG
- Use
Krypton bool - Gets or sets Krypton use property.
- Volumes
List<Pulumi.
Azure Native. Container Instance. Inputs. Volume> - The list of volumes that can be mounted by containers in this container group.
- Zones List<string>
- The zones for the container group.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Confidential
Compute ConfidentialProperties Compute Properties Args - The properties for confidential container group
- Container
Group stringProfile Name - ContainerGroupProfile name.
- Containers
[]Container
Args - The containers within the container group.
- Diagnostics
Container
Group Diagnostics Args - The diagnostic information for a container group.
- Encryption
Properties EncryptionProperties Args - The encryption properties for a container group.
- Extensions
[]Deployment
Extension Spec Args - extensions used by virtual kubelet
- 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.
- Os
Type string | OperatingSystem Types - The operating system type required by the containers in the container group.
- Priority
string | Container
Group Priority - The priority of the container group.
- Registered
Revisions []float64 - Registered revisions are calculated at request time based off the records in the table logs.
- Restart
Policy string | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- Revision float64
- Container group profile current revision number
- Security
Context SecurityContext Definition Args - The container security properties.
- Shutdown
Grace stringPeriod - Shutdown grace period for containers in a container group.
- Sku
string | Container
Group Sku - The SKU for a container group.
- map[string]string
- The resource tags.
- Time
To stringLive - Post completion time to live for containers of a CG
- Use
Krypton bool - Gets or sets Krypton use property.
- Volumes
[]Volume
Args - The list of volumes that can be mounted by containers in this container group.
- Zones []string
- The zones for the container group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- confidential
Compute ConfidentialProperties Compute Properties - The properties for confidential container group
- container
Group StringProfile Name - ContainerGroupProfile name.
- containers List<Container>
- The containers within the container group.
- diagnostics
Container
Group Diagnostics - The diagnostic information for a container group.
- encryption
Properties EncryptionProperties - The encryption properties for a container group.
- extensions
List<Deployment
Extension Spec> - extensions used by virtual kubelet
- 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.
- os
Type String | OperatingSystem Types - The operating system type required by the containers in the container group.
- priority
String | Container
Group Priority - The priority of the container group.
- registered
Revisions List<Double> - Registered revisions are calculated at request time based off the records in the table logs.
- restart
Policy String | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- revision Double
- Container group profile current revision number
- security
Context SecurityContext Definition - The container security properties.
- shutdown
Grace StringPeriod - Shutdown grace period for containers in a container group.
- sku
String | Container
Group Sku - The SKU for a container group.
- Map<String,String>
- The resource tags.
- time
To StringLive - Post completion time to live for containers of a CG
- use
Krypton Boolean - Gets or sets Krypton use property.
- volumes List<Volume>
- The list of volumes that can be mounted by containers in this container group.
- zones List<String>
- The zones for the container group.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- confidential
Compute ConfidentialProperties Compute Properties - The properties for confidential container group
- container
Group stringProfile Name - ContainerGroupProfile name.
- containers Container[]
- The containers within the container group.
- diagnostics
Container
Group Diagnostics - The diagnostic information for a container group.
- encryption
Properties EncryptionProperties - The encryption properties for a container group.
- extensions
Deployment
Extension Spec[] - extensions used by virtual kubelet
- 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.
- os
Type string | OperatingSystem Types - The operating system type required by the containers in the container group.
- priority
string | Container
Group Priority - The priority of the container group.
- registered
Revisions number[] - Registered revisions are calculated at request time based off the records in the table logs.
- restart
Policy string | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- revision number
- Container group profile current revision number
- security
Context SecurityContext Definition - The container security properties.
- shutdown
Grace stringPeriod - Shutdown grace period for containers in a container group.
- sku
string | Container
Group Sku - The SKU for a container group.
- {[key: string]: string}
- The resource tags.
- time
To stringLive - Post completion time to live for containers of a CG
- use
Krypton boolean - Gets or sets Krypton use property.
- volumes Volume[]
- The list of volumes that can be mounted by containers in this container group.
- zones string[]
- The zones for the container group.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- confidential_
compute_ Confidentialproperties Compute Properties Args - The properties for confidential container group
- container_
group_ strprofile_ name - ContainerGroupProfile name.
- containers
Sequence[Container
Args] - The containers within the container group.
- diagnostics
Container
Group Diagnostics Args - The diagnostic information for a container group.
- encryption_
properties EncryptionProperties Args - The encryption properties for a container group.
- extensions
Sequence[Deployment
Extension Spec Args] - extensions used by virtual kubelet
- 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.
- os_
type str | OperatingSystem Types - The operating system type required by the containers in the container group.
- priority
str | Container
Group Priority - The priority of the container group.
- registered_
revisions Sequence[float] - Registered revisions are calculated at request time based off the records in the table logs.
- restart_
policy str | ContainerGroup Restart Policy - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- revision float
- Container group profile current revision number
- security_
context SecurityContext Definition Args - The container security properties.
- shutdown_
grace_ strperiod - Shutdown grace period for containers in a container group.
- sku
str | Container
Group Sku - The SKU for a container group.
- Mapping[str, str]
- The resource tags.
- time_
to_ strlive - Post completion time to live for containers of a CG
- use_
krypton bool - Gets or sets Krypton use property.
- volumes
Sequence[Volume
Args] - The list of volumes that can be mounted by containers in this container group.
- zones Sequence[str]
- The zones for the container group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- confidential
Compute Property MapProperties - The properties for confidential container group
- container
Group StringProfile Name - ContainerGroupProfile name.
- containers List<Property Map>
- The containers within the container group.
- diagnostics Property Map
- The diagnostic information for a container group.
- encryption
Properties Property Map - The encryption properties for a container group.
- extensions List<Property Map>
- extensions used by virtual kubelet
- 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.
- os
Type String | "Windows" | "Linux" - The operating system type required by the containers in the container group.
- priority String | "Regular" | "Spot"
- The priority of the container group.
- registered
Revisions List<Number> - Registered revisions are calculated at request time based off the records in the table logs.
- restart
Policy String | "Always" | "OnFailure" | "Never" - Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- revision Number
- Container group profile current revision number
- security
Context Property Map - The container security properties.
- shutdown
Grace StringPeriod - Shutdown grace period for containers in a container group.
- sku String | "Standard" | "Dedicated" | "Confidential"
- The SKU for a container group.
- Map<String>
- The resource tags.
- time
To StringLive - Post completion time to live for containers of a CG
- use
Krypton Boolean - Gets or sets Krypton use property.
- volumes List<Property Map>
- The list of volumes that can be mounted by containers in this container group.
- zones List<String>
- The zones for the container group.
Outputs
All input properties are implicitly available as output properties. Additionally, the CGProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name.
- System
Data Pulumi.Azure Native. Container Instance. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- 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.
- Storage
Account stringKey Reference - The reference to 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.
- Storage
Account stringKey Reference - The reference to 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.
- storage
Account StringKey Reference - The reference to 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.
- storage
Account stringKey Reference - The reference to 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.
- storage_
account_ strkey_ reference - The reference to 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.
- storage
Account StringKey Reference - The reference to 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.
- Storage
Account stringKey Reference - The reference to 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.
- Storage
Account stringKey Reference - The reference to 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.
- storage
Account StringKey Reference - The reference to 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.
- storage
Account stringKey Reference - The reference to 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.
- storage_
account_ strkey_ reference - The reference to 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.
- storage
Account StringKey Reference - The reference to the storage account access key used to access the Azure File share.
ConfidentialComputeProperties, ConfidentialComputePropertiesArgs
- Cce
Policy string - The base64 encoded confidential compute enforcement policy
- Cce
Policy string - The base64 encoded confidential compute enforcement policy
- cce
Policy String - The base64 encoded confidential compute enforcement policy
- cce
Policy string - The base64 encoded confidential compute enforcement policy
- cce_
policy str - The base64 encoded confidential compute enforcement policy
- cce
Policy String - The base64 encoded confidential compute enforcement policy
ConfidentialComputePropertiesResponse, ConfidentialComputePropertiesResponseArgs
- Cce
Policy string - The base64 encoded confidential compute enforcement policy
- Cce
Policy string - The base64 encoded confidential compute enforcement policy
- cce
Policy String - The base64 encoded confidential compute enforcement policy
- cce
Policy string - The base64 encoded confidential compute enforcement policy
- cce_
policy str - The base64 encoded confidential compute enforcement policy
- cce
Policy String - The base64 encoded confidential compute enforcement policy
ConfigMap, ConfigMapArgs
- Key
Value Dictionary<string, string>Pairs - The key value pairs dictionary in the config map.
- Key
Value map[string]stringPairs - The key value pairs dictionary in the config map.
- key
Value Map<String,String>Pairs - The key value pairs dictionary in the config map.
- key
Value {[key: string]: string}Pairs - The key value pairs dictionary in the config map.
- key_
value_ Mapping[str, str]pairs - The key value pairs dictionary in the config map.
- key
Value Map<String>Pairs - The key value pairs dictionary in the config map.
ConfigMapResponse, ConfigMapResponseArgs
- Key
Value Dictionary<string, string>Pairs - The key value pairs dictionary in the config map.
- Key
Value map[string]stringPairs - The key value pairs dictionary in the config map.
- key
Value Map<String,String>Pairs - The key value pairs dictionary in the config map.
- key
Value {[key: string]: string}Pairs - The key value pairs dictionary in the config map.
- key_
value_ Mapping[str, str]pairs - The key value pairs dictionary in the config map.
- key
Value Map<String>Pairs - The key value pairs dictionary in the config map.
Container, ContainerArgs
- Name string
- The user-provided name of the container instance.
- Command List<string>
- The commands to execute within the container instance in exec form.
- Config
Map Pulumi.Azure Native. Container Instance. Inputs. Config Map - The config map.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable> - The environment variables to set in the container instance.
- Image string
- The name of the image used to create 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.
- Resources
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requirements - The resource requirements of the container instance.
- Security
Context Pulumi.Azure Native. Container Instance. Inputs. Security Context Definition - The container security properties.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount> - The volume mounts available to the container instance.
- Name string
- The user-provided name of the container instance.
- Command []string
- The commands to execute within the container instance in exec form.
- Config
Map ConfigMap - The config map.
- Environment
Variables []EnvironmentVariable - The environment variables to set in the container instance.
- Image string
- The name of the image used to create 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.
- Resources
Resource
Requirements - The resource requirements of the container instance.
- Security
Context SecurityContext Definition - The container security properties.
- Volume
Mounts []VolumeMount - The volume mounts available to the container instance.
- name String
- The user-provided name of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- config
Map ConfigMap - The config map.
- environment
Variables List<EnvironmentVariable> - The environment variables to set in the container instance.
- image String
- The name of the image used to create 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.
- resources
Resource
Requirements - The resource requirements of the container instance.
- security
Context SecurityContext Definition - The container security properties.
- volume
Mounts List<VolumeMount> - The volume mounts available to the container instance.
- name string
- The user-provided name of the container instance.
- command string[]
- The commands to execute within the container instance in exec form.
- config
Map ConfigMap - The config map.
- environment
Variables EnvironmentVariable[] - The environment variables to set in the container instance.
- image string
- The name of the image used to create 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.
- resources
Resource
Requirements - The resource requirements of the container instance.
- security
Context SecurityContext Definition - The container security properties.
- volume
Mounts VolumeMount[] - The volume mounts available to the container instance.
- name str
- The user-provided name of the container instance.
- command Sequence[str]
- The commands to execute within the container instance in exec form.
- config_
map ConfigMap - The config map.
- environment_
variables Sequence[EnvironmentVariable] - The environment variables to set in the container instance.
- image str
- The name of the image used to create the container instance.
- liveness_
probe ContainerProbe - The liveness probe.
- ports
Sequence[Container
Port] - The exposed ports on the container instance.
- readiness_
probe ContainerProbe - The readiness probe.
- resources
Resource
Requirements - The resource requirements of the container instance.
- security_
context SecurityContext Definition - The container security properties.
- volume_
mounts Sequence[VolumeMount] - The volume mounts available to the container instance.
- name String
- The user-provided name of the container instance.
- command List<String>
- The commands to execute within the container instance in exec form.
- config
Map Property Map - The config map.
- environment
Variables List<Property Map> - The environment variables to set in the container instance.
- image String
- The name of the image used to create the container instance.
- 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.
- resources Property Map
- The resource requirements of the container instance.
- security
Context Property Map - The container security properties.
- 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.
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
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
ContainerGroupPriority, ContainerGroupPriorityArgs
- Regular
- Regular
- Spot
- Spot
- Container
Group Priority Regular - Regular
- Container
Group Priority Spot - Spot
- Regular
- Regular
- Spot
- Spot
- Regular
- Regular
- Spot
- Spot
- REGULAR
- Regular
- SPOT
- Spot
- "Regular"
- Regular
- "Spot"
- Spot
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
- Confidential
- Confidential
- Container
Group Sku Standard - Standard
- Container
Group Sku Dedicated - Dedicated
- Container
Group Sku Confidential - Confidential
- Standard
- Standard
- Dedicated
- Dedicated
- Confidential
- Confidential
- Standard
- Standard
- Dedicated
- Dedicated
- Confidential
- Confidential
- STANDARD
- Standard
- DEDICATED
- Dedicated
- CONFIDENTIAL
- Confidential
- "Standard"
- Standard
- "Dedicated"
- Dedicated
- "Confidential"
- Confidential
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
- 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.
- Command List<string>
- The commands to execute within the container instance in exec form.
- Config
Map Pulumi.Azure Native. Container Instance. Inputs. Config Map Response - The config map.
- Environment
Variables List<Pulumi.Azure Native. Container Instance. Inputs. Environment Variable Response> - The environment variables to set in the container instance.
- Image string
- The name of the image used to create 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.
- Resources
Pulumi.
Azure Native. Container Instance. Inputs. Resource Requirements Response - The resource requirements of the container instance.
- Security
Context Pulumi.Azure Native. Container Instance. Inputs. Security Context Definition Response - The container security properties.
- Volume
Mounts List<Pulumi.Azure Native. Container Instance. Inputs. Volume Mount Response> - The volume mounts available to 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.
- Command []string
- The commands to execute within the container instance in exec form.
- Config
Map ConfigMap Response - The config map.
- Environment
Variables []EnvironmentVariable Response - The environment variables to set in the container instance.
- Image string
- The name of the image used to create 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.
- Resources
Resource
Requirements Response - The resource requirements of the container instance.
- Security
Context SecurityContext Definition Response - The container security properties.
- Volume
Mounts []VolumeMount Response - The volume mounts available to 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.
- command List<String>
- The commands to execute within the container instance in exec form.
- config
Map ConfigMap Response - The config map.
- environment
Variables List<EnvironmentVariable Response> - The environment variables to set in the container instance.
- image String
- The name of the image used to create 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.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- security
Context SecurityContext Definition Response - The container security properties.
- volume
Mounts List<VolumeMount Response> - The volume mounts available to 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.
- command string[]
- The commands to execute within the container instance in exec form.
- config
Map ConfigMap Response - The config map.
- environment
Variables EnvironmentVariable Response[] - The environment variables to set in the container instance.
- image string
- The name of the image used to create 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.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- security
Context SecurityContext Definition Response - The container security properties.
- volume
Mounts VolumeMount Response[] - The volume mounts available to 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.
- command Sequence[str]
- The commands to execute within the container instance in exec form.
- config_
map ConfigMap Response - The config map.
- environment_
variables Sequence[EnvironmentVariable Response] - The environment variables to set in the container instance.
- image str
- The name of the image used to create the container instance.
- liveness_
probe ContainerProbe Response - The liveness probe.
- ports
Sequence[Container
Port Response] - The exposed ports on the container instance.
- readiness_
probe ContainerProbe Response - The readiness probe.
- resources
Resource
Requirements Response - The resource requirements of the container instance.
- security_
context SecurityContext Definition Response - The container security properties.
- volume_
mounts Sequence[VolumeMount Response] - The volume mounts available to 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.
- command List<String>
- The commands to execute within the container instance in exec form.
- config
Map Property Map - The config map.
- environment
Variables List<Property Map> - The environment variables to set in the container instance.
- image String
- The name of the image used to create the container instance.
- 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.
- resources Property Map
- The resource requirements of the container instance.
- security
Context Property Map - The container security properties.
- 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.
DeploymentExtensionSpec, DeploymentExtensionSpecArgs
- Extension
Type string - Type of extension to be added.
- Name string
- Name of the extension.
- Version string
- Version of the extension being used.
- Protected
Settings object - Protected settings for the extension.
- Settings object
- Settings for the extension.
- Extension
Type string - Type of extension to be added.
- Name string
- Name of the extension.
- Version string
- Version of the extension being used.
- Protected
Settings interface{} - Protected settings for the extension.
- Settings interface{}
- Settings for the extension.
- extension
Type String - Type of extension to be added.
- name String
- Name of the extension.
- version String
- Version of the extension being used.
- protected
Settings Object - Protected settings for the extension.
- settings Object
- Settings for the extension.
- extension
Type string - Type of extension to be added.
- name string
- Name of the extension.
- version string
- Version of the extension being used.
- protected
Settings any - Protected settings for the extension.
- settings any
- Settings for the extension.
- extension_
type str - Type of extension to be added.
- name str
- Name of the extension.
- version str
- Version of the extension being used.
- protected_
settings Any - Protected settings for the extension.
- settings Any
- Settings for the extension.
- extension
Type String - Type of extension to be added.
- name String
- Name of the extension.
- version String
- Version of the extension being used.
- protected
Settings Any - Protected settings for the extension.
- settings Any
- Settings for the extension.
DeploymentExtensionSpecResponse, DeploymentExtensionSpecResponseArgs
- Extension
Type string - Type of extension to be added.
- Name string
- Name of the extension.
- Version string
- Version of the extension being used.
- Protected
Settings object - Protected settings for the extension.
- Settings object
- Settings for the extension.
- Extension
Type string - Type of extension to be added.
- Name string
- Name of the extension.
- Version string
- Version of the extension being used.
- Protected
Settings interface{} - Protected settings for the extension.
- Settings interface{}
- Settings for the extension.
- extension
Type String - Type of extension to be added.
- name String
- Name of the extension.
- version String
- Version of the extension being used.
- protected
Settings Object - Protected settings for the extension.
- settings Object
- Settings for the extension.
- extension
Type string - Type of extension to be added.
- name string
- Name of the extension.
- version string
- Version of the extension being used.
- protected
Settings any - Protected settings for the extension.
- settings any
- Settings for the extension.
- extension_
type str - Type of extension to be added.
- name str
- Name of the extension.
- version str
- Version of the extension being used.
- protected_
settings Any - Protected settings for the extension.
- settings Any
- Settings for the extension.
- extension
Type String - Type of extension to be added.
- name String
- Name of the extension.
- version String
- Version of the extension being used.
- protected
Settings Any - Protected settings for the extension.
- settings Any
- Settings for the extension.
DnsNameLabelReusePolicy, DnsNameLabelReusePolicyArgs
- Unsecure
- Unsecure
- Tenant
Reuse - TenantReuse
- Subscription
Reuse - SubscriptionReuse
- Resource
Group Reuse - ResourceGroupReuse
- Noreuse
- Noreuse
- Dns
Name Label Reuse Policy Unsecure - Unsecure
- Dns
Name Label Reuse Policy Tenant Reuse - TenantReuse
- Dns
Name Label Reuse Policy Subscription Reuse - SubscriptionReuse
- Dns
Name Label Reuse Policy Resource Group Reuse - ResourceGroupReuse
- Dns
Name Label Reuse Policy Noreuse - Noreuse
- Unsecure
- Unsecure
- Tenant
Reuse - TenantReuse
- Subscription
Reuse - SubscriptionReuse
- Resource
Group Reuse - ResourceGroupReuse
- Noreuse
- Noreuse
- Unsecure
- Unsecure
- Tenant
Reuse - TenantReuse
- Subscription
Reuse - SubscriptionReuse
- Resource
Group Reuse - ResourceGroupReuse
- Noreuse
- Noreuse
- UNSECURE
- Unsecure
- TENANT_REUSE
- TenantReuse
- SUBSCRIPTION_REUSE
- SubscriptionReuse
- RESOURCE_GROUP_REUSE
- ResourceGroupReuse
- NOREUSE
- Noreuse
- "Unsecure"
- Unsecure
- "Tenant
Reuse" - TenantReuse
- "Subscription
Reuse" - SubscriptionReuse
- "Resource
Group Reuse" - ResourceGroupReuse
- "Noreuse"
- Noreuse
EncryptionProperties, EncryptionPropertiesArgs
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Identity string
- The keyvault managed identity.
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Identity string
- The keyvault managed identity.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- identity String
- The keyvault managed identity.
- key
Name string - The encryption key name.
- key
Version string - The encryption key version.
- vault
Base stringUrl - The keyvault base url.
- identity string
- The keyvault managed identity.
- key_
name str - The encryption key name.
- key_
version str - The encryption key version.
- vault_
base_ strurl - The keyvault base url.
- identity str
- The keyvault managed identity.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- identity String
- The keyvault managed identity.
EncryptionPropertiesResponse, EncryptionPropertiesResponseArgs
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Identity string
- The keyvault managed identity.
- Key
Name string - The encryption key name.
- Key
Version string - The encryption key version.
- Vault
Base stringUrl - The keyvault base url.
- Identity string
- The keyvault managed identity.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- identity String
- The keyvault managed identity.
- key
Name string - The encryption key name.
- key
Version string - The encryption key version.
- vault
Base stringUrl - The keyvault base url.
- identity string
- The keyvault managed identity.
- key_
name str - The encryption key name.
- key_
version str - The encryption key version.
- vault_
base_ strurl - The keyvault base url.
- identity str
- The keyvault managed identity.
- key
Name String - The encryption key name.
- key
Version String - The encryption key version.
- vault
Base StringUrl - The keyvault base url.
- identity String
- The keyvault managed identity.
EnvironmentVariable, EnvironmentVariableArgs
- Name string
- The name of the environment variable.
- Secure
Value string - The value of the secure environment variable.
- Secure
Value stringReference - The reference 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.
- Secure
Value stringReference - The reference 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.
- secure
Value StringReference - The reference 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.
- secure
Value stringReference - The reference 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.
- secure_
value_ strreference - The reference 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.
- secure
Value StringReference - The reference 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.
- Secure
Value stringReference - The reference 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.
- Secure
Value stringReference - The reference 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.
- secure
Value StringReference - The reference 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.
- secure
Value stringReference - The reference 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.
- secure_
value_ strreference - The reference 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.
- secure
Value StringReference - The reference 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
- Server string
- The Docker image registry server without a protocol such as "http" and "https".
- Identity string
- The identity for the private registry.
- Identity
Url string - The identity URL for the private registry.
- Password string
- The password for the private registry.
- Password
Reference string - The reference for the private registry password.
- Username string
- The username for the private registry.
- Server string
- The Docker image registry server without a protocol such as "http" and "https".
- Identity string
- The identity for the private registry.
- Identity
Url string - The identity URL for the private registry.
- Password string
- The password for the private registry.
- Password
Reference string - The reference for the private registry password.
- Username string
- The username for the private registry.
- server String
- The Docker image registry server without a protocol such as "http" and "https".
- identity String
- The identity for the private registry.
- identity
Url String - The identity URL for the private registry.
- password String
- The password for the private registry.
- password
Reference String - The reference for the private registry password.
- username String
- The username for the private registry.
- server string
- The Docker image registry server without a protocol such as "http" and "https".
- identity string
- The identity for the private registry.
- identity
Url string - The identity URL for the private registry.
- password string
- The password for the private registry.
- password
Reference string - The reference for the private registry password.
- username string
- The username for the private registry.
- server str
- The Docker image registry server without a protocol such as "http" and "https".
- identity str
- The identity for the private registry.
- identity_
url str - The identity URL for the private registry.
- password str
- The password for the private registry.
- password_
reference str - The reference for the private registry password.
- username str
- The username for the private registry.
- server String
- The Docker image registry server without a protocol such as "http" and "https".
- identity String
- The identity for the private registry.
- identity
Url String - The identity URL for the private registry.
- password String
- The password for the private registry.
- password
Reference String - The reference for the private registry password.
- username String
- The username for the private registry.
ImageRegistryCredentialResponse, ImageRegistryCredentialResponseArgs
- Server string
- The Docker image registry server without a protocol such as "http" and "https".
- Identity string
- The identity for the private registry.
- Identity
Url string - The identity URL for the private registry.
- Password string
- The password for the private registry.
- Password
Reference string - The reference for the private registry password.
- Username string
- The username for the private registry.
- Server string
- The Docker image registry server without a protocol such as "http" and "https".
- Identity string
- The identity for the private registry.
- Identity
Url string - The identity URL for the private registry.
- Password string
- The password for the private registry.
- Password
Reference string - The reference for the private registry password.
- Username string
- The username for the private registry.
- server String
- The Docker image registry server without a protocol such as "http" and "https".
- identity String
- The identity for the private registry.
- identity
Url String - The identity URL for the private registry.
- password String
- The password for the private registry.
- password
Reference String - The reference for the private registry password.
- username String
- The username for the private registry.
- server string
- The Docker image registry server without a protocol such as "http" and "https".
- identity string
- The identity for the private registry.
- identity
Url string - The identity URL for the private registry.
- password string
- The password for the private registry.
- password
Reference string - The reference for the private registry password.
- username string
- The username for the private registry.
- server str
- The Docker image registry server without a protocol such as "http" and "https".
- identity str
- The identity for the private registry.
- identity_
url str - The identity URL for the private registry.
- password str
- The password for the private registry.
- password_
reference str - The reference for the private registry password.
- username str
- The username for the private registry.
- server String
- The Docker image registry server without a protocol such as "http" and "https".
- identity String
- The identity for the private registry.
- identity
Url String - The identity URL for the private registry.
- password String
- The password for the private registry.
- password
Reference String - The reference for the private registry password.
- username String
- The username for the private registry.
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.
- Security
Context Pulumi.Azure Native. Container Instance. Inputs. Security Context Definition - The container security properties.
- 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.
- Security
Context SecurityContext Definition - The container security properties.
- 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.
- security
Context SecurityContext Definition - The container security properties.
- 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.
- security
Context SecurityContext Definition - The container security properties.
- 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.
- security_
context SecurityContext Definition - The container security properties.
- 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.
- security
Context Property Map - The container security properties.
- 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.
- Security
Context Pulumi.Azure Native. Container Instance. Inputs. Security Context Definition Response - The container security properties.
- 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.
- Security
Context SecurityContext Definition Response - The container security properties.
- 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.
- security
Context SecurityContext Definition Response - The container security properties.
- 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.
- security
Context SecurityContext Definition Response - The container security properties.
- 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.
- security_
context SecurityContext Definition Response - The container security properties.
- 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.
- security
Context Property Map - The container security properties.
- 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.
- Auto
Generated string | Pulumi.Domain Name Label Scope Azure Native. Container Instance. Dns Name Label Reuse Policy - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- Dns
Name 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.
- Auto
Generated string | DnsDomain Name Label Scope Name Label Reuse Policy - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- Dns
Name 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.
- auto
Generated String | DnsDomain Name Label Scope Name Label Reuse Policy - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns
Name 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.
- auto
Generated string | DnsDomain Name Label Scope Name Label Reuse Policy - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns
Name 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.
- auto_
generated_ str | Dnsdomain_ name_ label_ scope Name Label Reuse Policy - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns_
name_ 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.
- auto
Generated String | "Unsecure" | "TenantDomain Name Label Scope Reuse" | "Subscription Reuse" | "Resource Group Reuse" | "Noreuse" - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- 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.
- Auto
Generated stringDomain Name Label Scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- Dns
Name 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.
- Auto
Generated stringDomain Name Label Scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- Dns
Name 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.
- auto
Generated StringDomain Name Label Scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns
Name 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.
- auto
Generated stringDomain Name Label Scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns
Name 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.
- auto_
generated_ strdomain_ name_ label_ scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns_
name_ 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.
- auto
Generated StringDomain Name Label Scope - The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.
- dns
Name 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 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 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 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 {[key: string]: string}
- Metadata for log analytics.
- workspace
Resource stringId - 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_ strid - 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 StringId - 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 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 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 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 {[key: string]: string}
- Metadata for log analytics.
- workspace
Resource stringId - 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_ strid - 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 StringId - 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
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
SecurityContextCapabilitiesDefinition, SecurityContextCapabilitiesDefinitionArgs
SecurityContextCapabilitiesDefinitionResponse, SecurityContextCapabilitiesDefinitionResponseArgs
SecurityContextDefinition, SecurityContextDefinitionArgs
- Allow
Privilege boolEscalation - A boolean value indicating whether the init process can elevate its privileges
- Capabilities
Pulumi.
Azure Native. Container Instance. Inputs. Security Context Capabilities Definition - The capabilities to add or drop from a container.
- Privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- Run
As intGroup - Sets the User GID for the container.
- Run
As intUser - Sets the User UID for the container.
- Seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- Allow
Privilege boolEscalation - A boolean value indicating whether the init process can elevate its privileges
- Capabilities
Security
Context Capabilities Definition - The capabilities to add or drop from a container.
- Privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- Run
As intGroup - Sets the User GID for the container.
- Run
As intUser - Sets the User UID for the container.
- Seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege BooleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition - The capabilities to add or drop from a container.
- privileged Boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As IntegerGroup - Sets the User GID for the container.
- run
As IntegerUser - Sets the User UID for the container.
- seccomp
Profile String - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege booleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition - The capabilities to add or drop from a container.
- privileged boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As numberGroup - Sets the User GID for the container.
- run
As numberUser - Sets the User UID for the container.
- seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow_
privilege_ boolescalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition - The capabilities to add or drop from a container.
- privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- run_
as_ intgroup - Sets the User GID for the container.
- run_
as_ intuser - Sets the User UID for the container.
- seccomp_
profile str - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege BooleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities Property Map
- The capabilities to add or drop from a container.
- privileged Boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As NumberGroup - Sets the User GID for the container.
- run
As NumberUser - Sets the User UID for the container.
- seccomp
Profile String - a base64 encoded string containing the contents of the JSON in the seccomp profile
SecurityContextDefinitionResponse, SecurityContextDefinitionResponseArgs
- Allow
Privilege boolEscalation - A boolean value indicating whether the init process can elevate its privileges
- Capabilities
Pulumi.
Azure Native. Container Instance. Inputs. Security Context Capabilities Definition Response - The capabilities to add or drop from a container.
- Privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- Run
As intGroup - Sets the User GID for the container.
- Run
As intUser - Sets the User UID for the container.
- Seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- Allow
Privilege boolEscalation - A boolean value indicating whether the init process can elevate its privileges
- Capabilities
Security
Context Capabilities Definition Response - The capabilities to add or drop from a container.
- Privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- Run
As intGroup - Sets the User GID for the container.
- Run
As intUser - Sets the User UID for the container.
- Seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege BooleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition Response - The capabilities to add or drop from a container.
- privileged Boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As IntegerGroup - Sets the User GID for the container.
- run
As IntegerUser - Sets the User UID for the container.
- seccomp
Profile String - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege booleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition Response - The capabilities to add or drop from a container.
- privileged boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As numberGroup - Sets the User GID for the container.
- run
As numberUser - Sets the User UID for the container.
- seccomp
Profile string - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow_
privilege_ boolescalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities
Security
Context Capabilities Definition Response - The capabilities to add or drop from a container.
- privileged bool
- The flag to determine if the container permissions is elevated to Privileged.
- run_
as_ intgroup - Sets the User GID for the container.
- run_
as_ intuser - Sets the User UID for the container.
- seccomp_
profile str - a base64 encoded string containing the contents of the JSON in the seccomp profile
- allow
Privilege BooleanEscalation - A boolean value indicating whether the init process can elevate its privileges
- capabilities Property Map
- The capabilities to add or drop from a container.
- privileged Boolean
- The flag to determine if the container permissions is elevated to Privileged.
- run
As NumberGroup - Sets the User GID for the container.
- run
As NumberUser - Sets the User UID for the container.
- seccomp
Profile String - a base64 encoded string containing the contents of the JSON in the seccomp profile
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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.
- Secret
Reference Dictionary<string, string> - The secret reference 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.
- Secret
Reference map[string]string - The secret reference 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.
- secret
Reference Map<String,String> - The secret reference 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.
- secret
Reference {[key: string]: string} - The secret reference 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.
- secret_
reference Mapping[str, str] - The secret reference 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.
- secret
Reference Map<String> - The secret reference 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.
- Secret
Reference Dictionary<string, string> - The secret reference 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.
- Secret
Reference map[string]string - The secret reference 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.
- secret
Reference Map<String,String> - The secret reference 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.
- secret
Reference {[key: string]: string} - The secret reference 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.
- secret_
reference Mapping[str, str] - The secret reference 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.
- secret
Reference Map<String> - The secret reference volume.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:containerinstance:CGProfile demo1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0