1. Packages
  2. Azure Classic
  3. API Docs
  4. containerservice
  5. Group

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.containerservice.Group

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages as an Azure Container Group instance.

    Example Usage

    This example provisions a Basic Container.

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleGroup = new azure.containerservice.Group("example", {
        name: "example-continst",
        location: example.location,
        resourceGroupName: example.name,
        ipAddressType: "Public",
        dnsNameLabel: "aci-label",
        osType: "Linux",
        containers: [
            {
                name: "hello-world",
                image: "mcr.microsoft.com/azuredocs/aci-helloworld:latest",
                cpu: 0.5,
                memory: 1.5,
                ports: [{
                    port: 443,
                    protocol: "TCP",
                }],
            },
            {
                name: "sidecar",
                image: "mcr.microsoft.com/azuredocs/aci-tutorial-sidecar",
                cpu: 0.5,
                memory: 1.5,
            },
        ],
        tags: {
            environment: "testing",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_group = azure.containerservice.Group("example",
        name="example-continst",
        location=example.location,
        resource_group_name=example.name,
        ip_address_type="Public",
        dns_name_label="aci-label",
        os_type="Linux",
        containers=[
            {
                "name": "hello-world",
                "image": "mcr.microsoft.com/azuredocs/aci-helloworld:latest",
                "cpu": 0.5,
                "memory": 1.5,
                "ports": [{
                    "port": 443,
                    "protocol": "TCP",
                }],
            },
            {
                "name": "sidecar",
                "image": "mcr.microsoft.com/azuredocs/aci-tutorial-sidecar",
                "cpu": 0.5,
                "memory": 1.5,
            },
        ],
        tags={
            "environment": "testing",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerservice.NewGroup(ctx, "example", &containerservice.GroupArgs{
    			Name:              pulumi.String("example-continst"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			IpAddressType:     pulumi.String("Public"),
    			DnsNameLabel:      pulumi.String("aci-label"),
    			OsType:            pulumi.String("Linux"),
    			Containers: containerservice.GroupContainerArray{
    				&containerservice.GroupContainerArgs{
    					Name:   pulumi.String("hello-world"),
    					Image:  pulumi.String("mcr.microsoft.com/azuredocs/aci-helloworld:latest"),
    					Cpu:    pulumi.Float64(0.5),
    					Memory: pulumi.Float64(1.5),
    					Ports: containerservice.GroupContainerPortArray{
    						&containerservice.GroupContainerPortArgs{
    							Port:     pulumi.Int(443),
    							Protocol: pulumi.String("TCP"),
    						},
    					},
    				},
    				&containerservice.GroupContainerArgs{
    					Name:   pulumi.String("sidecar"),
    					Image:  pulumi.String("mcr.microsoft.com/azuredocs/aci-tutorial-sidecar"),
    					Cpu:    pulumi.Float64(0.5),
    					Memory: pulumi.Float64(1.5),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("testing"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleGroup = new Azure.ContainerService.Group("example", new()
        {
            Name = "example-continst",
            Location = example.Location,
            ResourceGroupName = example.Name,
            IpAddressType = "Public",
            DnsNameLabel = "aci-label",
            OsType = "Linux",
            Containers = new[]
            {
                new Azure.ContainerService.Inputs.GroupContainerArgs
                {
                    Name = "hello-world",
                    Image = "mcr.microsoft.com/azuredocs/aci-helloworld:latest",
                    Cpu = 0.5,
                    Memory = 1.5,
                    Ports = new[]
                    {
                        new Azure.ContainerService.Inputs.GroupContainerPortArgs
                        {
                            Port = 443,
                            Protocol = "TCP",
                        },
                    },
                },
                new Azure.ContainerService.Inputs.GroupContainerArgs
                {
                    Name = "sidecar",
                    Image = "mcr.microsoft.com/azuredocs/aci-tutorial-sidecar",
                    Cpu = 0.5,
                    Memory = 1.5,
                },
            },
            Tags = 
            {
                { "environment", "testing" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.containerservice.Group;
    import com.pulumi.azure.containerservice.GroupArgs;
    import com.pulumi.azure.containerservice.inputs.GroupContainerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleGroup = new Group("exampleGroup", GroupArgs.builder()
                .name("example-continst")
                .location(example.location())
                .resourceGroupName(example.name())
                .ipAddressType("Public")
                .dnsNameLabel("aci-label")
                .osType("Linux")
                .containers(            
                    GroupContainerArgs.builder()
                        .name("hello-world")
                        .image("mcr.microsoft.com/azuredocs/aci-helloworld:latest")
                        .cpu("0.5")
                        .memory("1.5")
                        .ports(GroupContainerPortArgs.builder()
                            .port(443)
                            .protocol("TCP")
                            .build())
                        .build(),
                    GroupContainerArgs.builder()
                        .name("sidecar")
                        .image("mcr.microsoft.com/azuredocs/aci-tutorial-sidecar")
                        .cpu("0.5")
                        .memory("1.5")
                        .build())
                .tags(Map.of("environment", "testing"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleGroup:
        type: azure:containerservice:Group
        name: example
        properties:
          name: example-continst
          location: ${example.location}
          resourceGroupName: ${example.name}
          ipAddressType: Public
          dnsNameLabel: aci-label
          osType: Linux
          containers:
            - name: hello-world
              image: mcr.microsoft.com/azuredocs/aci-helloworld:latest
              cpu: '0.5'
              memory: '1.5'
              ports:
                - port: 443
                  protocol: TCP
            - name: sidecar
              image: mcr.microsoft.com/azuredocs/aci-tutorial-sidecar
              cpu: '0.5'
              memory: '1.5'
          tags:
            environment: testing
    

    Create Group Resource

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

    Constructor syntax

    new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              args: GroupArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              containers: Optional[Sequence[GroupContainerArgs]] = None,
              resource_group_name: Optional[str] = None,
              os_type: Optional[str] = None,
              exposed_ports: Optional[Sequence[GroupExposedPortArgs]] = None,
              location: Optional[str] = None,
              dns_name_label: Optional[str] = None,
              identity: Optional[GroupIdentityArgs] = None,
              image_registry_credentials: Optional[Sequence[GroupImageRegistryCredentialArgs]] = None,
              init_containers: Optional[Sequence[GroupInitContainerArgs]] = None,
              ip_address_type: Optional[str] = None,
              key_vault_key_id: Optional[str] = None,
              key_vault_user_assigned_identity_id: Optional[str] = None,
              dns_name_label_reuse_policy: Optional[str] = None,
              name: Optional[str] = None,
              network_profile_id: Optional[str] = None,
              dns_config: Optional[GroupDnsConfigArgs] = None,
              priority: Optional[str] = None,
              diagnostics: Optional[GroupDiagnosticsArgs] = None,
              restart_policy: Optional[str] = None,
              sku: Optional[str] = None,
              subnet_ids: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None,
              zones: Optional[Sequence[str]] = None)
    func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: azure:containerservice:Group
    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 GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    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 azureGroupResource = new Azure.ContainerService.Group("azureGroupResource", new()
    {
        Containers = new[]
        {
            new Azure.ContainerService.Inputs.GroupContainerArgs
            {
                Image = "string",
                Cpu = 0,
                Name = "string",
                Memory = 0,
                EnvironmentVariables = 
                {
                    { "string", "string" },
                },
                LivenessProbe = new Azure.ContainerService.Inputs.GroupContainerLivenessProbeArgs
                {
                    Execs = new[]
                    {
                        "string",
                    },
                    FailureThreshold = 0,
                    HttpGets = new[]
                    {
                        new Azure.ContainerService.Inputs.GroupContainerLivenessProbeHttpGetArgs
                        {
                            HttpHeaders = 
                            {
                                { "string", "string" },
                            },
                            Path = "string",
                            Port = 0,
                            Scheme = "string",
                        },
                    },
                    InitialDelaySeconds = 0,
                    PeriodSeconds = 0,
                    SuccessThreshold = 0,
                    TimeoutSeconds = 0,
                },
                Commands = new[]
                {
                    "string",
                },
                MemoryLimit = 0,
                CpuLimit = 0,
                Ports = new[]
                {
                    new Azure.ContainerService.Inputs.GroupContainerPortArgs
                    {
                        Port = 0,
                        Protocol = "string",
                    },
                },
                ReadinessProbe = new Azure.ContainerService.Inputs.GroupContainerReadinessProbeArgs
                {
                    Execs = new[]
                    {
                        "string",
                    },
                    FailureThreshold = 0,
                    HttpGets = new[]
                    {
                        new Azure.ContainerService.Inputs.GroupContainerReadinessProbeHttpGetArgs
                        {
                            HttpHeaders = 
                            {
                                { "string", "string" },
                            },
                            Path = "string",
                            Port = 0,
                            Scheme = "string",
                        },
                    },
                    InitialDelaySeconds = 0,
                    PeriodSeconds = 0,
                    SuccessThreshold = 0,
                    TimeoutSeconds = 0,
                },
                SecureEnvironmentVariables = 
                {
                    { "string", "string" },
                },
                Securities = new[]
                {
                    new Azure.ContainerService.Inputs.GroupContainerSecurityArgs
                    {
                        PrivilegeEnabled = false,
                    },
                },
                Volumes = new[]
                {
                    new Azure.ContainerService.Inputs.GroupContainerVolumeArgs
                    {
                        MountPath = "string",
                        Name = "string",
                        EmptyDir = false,
                        GitRepo = new Azure.ContainerService.Inputs.GroupContainerVolumeGitRepoArgs
                        {
                            Url = "string",
                            Directory = "string",
                            Revision = "string",
                        },
                        ReadOnly = false,
                        Secret = 
                        {
                            { "string", "string" },
                        },
                        ShareName = "string",
                        StorageAccountKey = "string",
                        StorageAccountName = "string",
                    },
                },
            },
        },
        ResourceGroupName = "string",
        OsType = "string",
        ExposedPorts = new[]
        {
            new Azure.ContainerService.Inputs.GroupExposedPortArgs
            {
                Port = 0,
                Protocol = "string",
            },
        },
        Location = "string",
        DnsNameLabel = "string",
        Identity = new Azure.ContainerService.Inputs.GroupIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
        ImageRegistryCredentials = new[]
        {
            new Azure.ContainerService.Inputs.GroupImageRegistryCredentialArgs
            {
                Server = "string",
                Password = "string",
                UserAssignedIdentityId = "string",
                Username = "string",
            },
        },
        InitContainers = new[]
        {
            new Azure.ContainerService.Inputs.GroupInitContainerArgs
            {
                Image = "string",
                Name = "string",
                Commands = new[]
                {
                    "string",
                },
                EnvironmentVariables = 
                {
                    { "string", "string" },
                },
                SecureEnvironmentVariables = 
                {
                    { "string", "string" },
                },
                Securities = new[]
                {
                    new Azure.ContainerService.Inputs.GroupInitContainerSecurityArgs
                    {
                        PrivilegeEnabled = false,
                    },
                },
                Volumes = new[]
                {
                    new Azure.ContainerService.Inputs.GroupInitContainerVolumeArgs
                    {
                        MountPath = "string",
                        Name = "string",
                        EmptyDir = false,
                        GitRepo = new Azure.ContainerService.Inputs.GroupInitContainerVolumeGitRepoArgs
                        {
                            Url = "string",
                            Directory = "string",
                            Revision = "string",
                        },
                        ReadOnly = false,
                        Secret = 
                        {
                            { "string", "string" },
                        },
                        ShareName = "string",
                        StorageAccountKey = "string",
                        StorageAccountName = "string",
                    },
                },
            },
        },
        IpAddressType = "string",
        KeyVaultKeyId = "string",
        KeyVaultUserAssignedIdentityId = "string",
        DnsNameLabelReusePolicy = "string",
        Name = "string",
        DnsConfig = new Azure.ContainerService.Inputs.GroupDnsConfigArgs
        {
            Nameservers = new[]
            {
                "string",
            },
            Options = new[]
            {
                "string",
            },
            SearchDomains = new[]
            {
                "string",
            },
        },
        Priority = "string",
        Diagnostics = new Azure.ContainerService.Inputs.GroupDiagnosticsArgs
        {
            LogAnalytics = new Azure.ContainerService.Inputs.GroupDiagnosticsLogAnalyticsArgs
            {
                WorkspaceId = "string",
                WorkspaceKey = "string",
                LogType = "string",
                Metadata = 
                {
                    { "string", "string" },
                },
            },
        },
        RestartPolicy = "string",
        Sku = "string",
        SubnetIds = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Zones = new[]
        {
            "string",
        },
    });
    
    example, err := containerservice.NewGroup(ctx, "azureGroupResource", &containerservice.GroupArgs{
    	Containers: containerservice.GroupContainerArray{
    		&containerservice.GroupContainerArgs{
    			Image:  pulumi.String("string"),
    			Cpu:    pulumi.Float64(0),
    			Name:   pulumi.String("string"),
    			Memory: pulumi.Float64(0),
    			EnvironmentVariables: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			LivenessProbe: &containerservice.GroupContainerLivenessProbeArgs{
    				Execs: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				FailureThreshold: pulumi.Int(0),
    				HttpGets: containerservice.GroupContainerLivenessProbeHttpGetArray{
    					&containerservice.GroupContainerLivenessProbeHttpGetArgs{
    						HttpHeaders: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    						Path:   pulumi.String("string"),
    						Port:   pulumi.Int(0),
    						Scheme: pulumi.String("string"),
    					},
    				},
    				InitialDelaySeconds: pulumi.Int(0),
    				PeriodSeconds:       pulumi.Int(0),
    				SuccessThreshold:    pulumi.Int(0),
    				TimeoutSeconds:      pulumi.Int(0),
    			},
    			Commands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			MemoryLimit: pulumi.Float64(0),
    			CpuLimit:    pulumi.Float64(0),
    			Ports: containerservice.GroupContainerPortArray{
    				&containerservice.GroupContainerPortArgs{
    					Port:     pulumi.Int(0),
    					Protocol: pulumi.String("string"),
    				},
    			},
    			ReadinessProbe: &containerservice.GroupContainerReadinessProbeArgs{
    				Execs: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				FailureThreshold: pulumi.Int(0),
    				HttpGets: containerservice.GroupContainerReadinessProbeHttpGetArray{
    					&containerservice.GroupContainerReadinessProbeHttpGetArgs{
    						HttpHeaders: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    						Path:   pulumi.String("string"),
    						Port:   pulumi.Int(0),
    						Scheme: pulumi.String("string"),
    					},
    				},
    				InitialDelaySeconds: pulumi.Int(0),
    				PeriodSeconds:       pulumi.Int(0),
    				SuccessThreshold:    pulumi.Int(0),
    				TimeoutSeconds:      pulumi.Int(0),
    			},
    			SecureEnvironmentVariables: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Securities: containerservice.GroupContainerSecurityArray{
    				&containerservice.GroupContainerSecurityArgs{
    					PrivilegeEnabled: pulumi.Bool(false),
    				},
    			},
    			Volumes: containerservice.GroupContainerVolumeArray{
    				&containerservice.GroupContainerVolumeArgs{
    					MountPath: pulumi.String("string"),
    					Name:      pulumi.String("string"),
    					EmptyDir:  pulumi.Bool(false),
    					GitRepo: &containerservice.GroupContainerVolumeGitRepoArgs{
    						Url:       pulumi.String("string"),
    						Directory: pulumi.String("string"),
    						Revision:  pulumi.String("string"),
    					},
    					ReadOnly: pulumi.Bool(false),
    					Secret: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					ShareName:          pulumi.String("string"),
    					StorageAccountKey:  pulumi.String("string"),
    					StorageAccountName: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ResourceGroupName: pulumi.String("string"),
    	OsType:            pulumi.String("string"),
    	ExposedPorts: containerservice.GroupExposedPortArray{
    		&containerservice.GroupExposedPortArgs{
    			Port:     pulumi.Int(0),
    			Protocol: pulumi.String("string"),
    		},
    	},
    	Location:     pulumi.String("string"),
    	DnsNameLabel: pulumi.String("string"),
    	Identity: &containerservice.GroupIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	ImageRegistryCredentials: containerservice.GroupImageRegistryCredentialArray{
    		&containerservice.GroupImageRegistryCredentialArgs{
    			Server:                 pulumi.String("string"),
    			Password:               pulumi.String("string"),
    			UserAssignedIdentityId: pulumi.String("string"),
    			Username:               pulumi.String("string"),
    		},
    	},
    	InitContainers: containerservice.GroupInitContainerArray{
    		&containerservice.GroupInitContainerArgs{
    			Image: pulumi.String("string"),
    			Name:  pulumi.String("string"),
    			Commands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			EnvironmentVariables: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			SecureEnvironmentVariables: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Securities: containerservice.GroupInitContainerSecurityArray{
    				&containerservice.GroupInitContainerSecurityArgs{
    					PrivilegeEnabled: pulumi.Bool(false),
    				},
    			},
    			Volumes: containerservice.GroupInitContainerVolumeArray{
    				&containerservice.GroupInitContainerVolumeArgs{
    					MountPath: pulumi.String("string"),
    					Name:      pulumi.String("string"),
    					EmptyDir:  pulumi.Bool(false),
    					GitRepo: &containerservice.GroupInitContainerVolumeGitRepoArgs{
    						Url:       pulumi.String("string"),
    						Directory: pulumi.String("string"),
    						Revision:  pulumi.String("string"),
    					},
    					ReadOnly: pulumi.Bool(false),
    					Secret: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					ShareName:          pulumi.String("string"),
    					StorageAccountKey:  pulumi.String("string"),
    					StorageAccountName: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	IpAddressType:                  pulumi.String("string"),
    	KeyVaultKeyId:                  pulumi.String("string"),
    	KeyVaultUserAssignedIdentityId: pulumi.String("string"),
    	DnsNameLabelReusePolicy:        pulumi.String("string"),
    	Name:                           pulumi.String("string"),
    	DnsConfig: &containerservice.GroupDnsConfigArgs{
    		Nameservers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Options: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SearchDomains: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Priority: pulumi.String("string"),
    	Diagnostics: &containerservice.GroupDiagnosticsArgs{
    		LogAnalytics: &containerservice.GroupDiagnosticsLogAnalyticsArgs{
    			WorkspaceId:  pulumi.String("string"),
    			WorkspaceKey: pulumi.String("string"),
    			LogType:      pulumi.String("string"),
    			Metadata: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	RestartPolicy: pulumi.String("string"),
    	Sku:           pulumi.String("string"),
    	SubnetIds:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Zones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var azureGroupResource = new Group("azureGroupResource", GroupArgs.builder()
        .containers(GroupContainerArgs.builder()
            .image("string")
            .cpu(0)
            .name("string")
            .memory(0)
            .environmentVariables(Map.of("string", "string"))
            .livenessProbe(GroupContainerLivenessProbeArgs.builder()
                .execs("string")
                .failureThreshold(0)
                .httpGets(GroupContainerLivenessProbeHttpGetArgs.builder()
                    .httpHeaders(Map.of("string", "string"))
                    .path("string")
                    .port(0)
                    .scheme("string")
                    .build())
                .initialDelaySeconds(0)
                .periodSeconds(0)
                .successThreshold(0)
                .timeoutSeconds(0)
                .build())
            .commands("string")
            .memoryLimit(0)
            .cpuLimit(0)
            .ports(GroupContainerPortArgs.builder()
                .port(0)
                .protocol("string")
                .build())
            .readinessProbe(GroupContainerReadinessProbeArgs.builder()
                .execs("string")
                .failureThreshold(0)
                .httpGets(GroupContainerReadinessProbeHttpGetArgs.builder()
                    .httpHeaders(Map.of("string", "string"))
                    .path("string")
                    .port(0)
                    .scheme("string")
                    .build())
                .initialDelaySeconds(0)
                .periodSeconds(0)
                .successThreshold(0)
                .timeoutSeconds(0)
                .build())
            .secureEnvironmentVariables(Map.of("string", "string"))
            .securities(GroupContainerSecurityArgs.builder()
                .privilegeEnabled(false)
                .build())
            .volumes(GroupContainerVolumeArgs.builder()
                .mountPath("string")
                .name("string")
                .emptyDir(false)
                .gitRepo(GroupContainerVolumeGitRepoArgs.builder()
                    .url("string")
                    .directory("string")
                    .revision("string")
                    .build())
                .readOnly(false)
                .secret(Map.of("string", "string"))
                .shareName("string")
                .storageAccountKey("string")
                .storageAccountName("string")
                .build())
            .build())
        .resourceGroupName("string")
        .osType("string")
        .exposedPorts(GroupExposedPortArgs.builder()
            .port(0)
            .protocol("string")
            .build())
        .location("string")
        .dnsNameLabel("string")
        .identity(GroupIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .imageRegistryCredentials(GroupImageRegistryCredentialArgs.builder()
            .server("string")
            .password("string")
            .userAssignedIdentityId("string")
            .username("string")
            .build())
        .initContainers(GroupInitContainerArgs.builder()
            .image("string")
            .name("string")
            .commands("string")
            .environmentVariables(Map.of("string", "string"))
            .secureEnvironmentVariables(Map.of("string", "string"))
            .securities(GroupInitContainerSecurityArgs.builder()
                .privilegeEnabled(false)
                .build())
            .volumes(GroupInitContainerVolumeArgs.builder()
                .mountPath("string")
                .name("string")
                .emptyDir(false)
                .gitRepo(GroupInitContainerVolumeGitRepoArgs.builder()
                    .url("string")
                    .directory("string")
                    .revision("string")
                    .build())
                .readOnly(false)
                .secret(Map.of("string", "string"))
                .shareName("string")
                .storageAccountKey("string")
                .storageAccountName("string")
                .build())
            .build())
        .ipAddressType("string")
        .keyVaultKeyId("string")
        .keyVaultUserAssignedIdentityId("string")
        .dnsNameLabelReusePolicy("string")
        .name("string")
        .dnsConfig(GroupDnsConfigArgs.builder()
            .nameservers("string")
            .options("string")
            .searchDomains("string")
            .build())
        .priority("string")
        .diagnostics(GroupDiagnosticsArgs.builder()
            .logAnalytics(GroupDiagnosticsLogAnalyticsArgs.builder()
                .workspaceId("string")
                .workspaceKey("string")
                .logType("string")
                .metadata(Map.of("string", "string"))
                .build())
            .build())
        .restartPolicy("string")
        .sku("string")
        .subnetIds("string")
        .tags(Map.of("string", "string"))
        .zones("string")
        .build());
    
    azure_group_resource = azure.containerservice.Group("azureGroupResource",
        containers=[{
            "image": "string",
            "cpu": 0,
            "name": "string",
            "memory": 0,
            "environment_variables": {
                "string": "string",
            },
            "liveness_probe": {
                "execs": ["string"],
                "failure_threshold": 0,
                "http_gets": [{
                    "http_headers": {
                        "string": "string",
                    },
                    "path": "string",
                    "port": 0,
                    "scheme": "string",
                }],
                "initial_delay_seconds": 0,
                "period_seconds": 0,
                "success_threshold": 0,
                "timeout_seconds": 0,
            },
            "commands": ["string"],
            "memory_limit": 0,
            "cpu_limit": 0,
            "ports": [{
                "port": 0,
                "protocol": "string",
            }],
            "readiness_probe": {
                "execs": ["string"],
                "failure_threshold": 0,
                "http_gets": [{
                    "http_headers": {
                        "string": "string",
                    },
                    "path": "string",
                    "port": 0,
                    "scheme": "string",
                }],
                "initial_delay_seconds": 0,
                "period_seconds": 0,
                "success_threshold": 0,
                "timeout_seconds": 0,
            },
            "secure_environment_variables": {
                "string": "string",
            },
            "securities": [{
                "privilege_enabled": False,
            }],
            "volumes": [{
                "mount_path": "string",
                "name": "string",
                "empty_dir": False,
                "git_repo": {
                    "url": "string",
                    "directory": "string",
                    "revision": "string",
                },
                "read_only": False,
                "secret": {
                    "string": "string",
                },
                "share_name": "string",
                "storage_account_key": "string",
                "storage_account_name": "string",
            }],
        }],
        resource_group_name="string",
        os_type="string",
        exposed_ports=[{
            "port": 0,
            "protocol": "string",
        }],
        location="string",
        dns_name_label="string",
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        },
        image_registry_credentials=[{
            "server": "string",
            "password": "string",
            "user_assigned_identity_id": "string",
            "username": "string",
        }],
        init_containers=[{
            "image": "string",
            "name": "string",
            "commands": ["string"],
            "environment_variables": {
                "string": "string",
            },
            "secure_environment_variables": {
                "string": "string",
            },
            "securities": [{
                "privilege_enabled": False,
            }],
            "volumes": [{
                "mount_path": "string",
                "name": "string",
                "empty_dir": False,
                "git_repo": {
                    "url": "string",
                    "directory": "string",
                    "revision": "string",
                },
                "read_only": False,
                "secret": {
                    "string": "string",
                },
                "share_name": "string",
                "storage_account_key": "string",
                "storage_account_name": "string",
            }],
        }],
        ip_address_type="string",
        key_vault_key_id="string",
        key_vault_user_assigned_identity_id="string",
        dns_name_label_reuse_policy="string",
        name="string",
        dns_config={
            "nameservers": ["string"],
            "options": ["string"],
            "search_domains": ["string"],
        },
        priority="string",
        diagnostics={
            "log_analytics": {
                "workspace_id": "string",
                "workspace_key": "string",
                "log_type": "string",
                "metadata": {
                    "string": "string",
                },
            },
        },
        restart_policy="string",
        sku="string",
        subnet_ids="string",
        tags={
            "string": "string",
        },
        zones=["string"])
    
    const azureGroupResource = new azure.containerservice.Group("azureGroupResource", {
        containers: [{
            image: "string",
            cpu: 0,
            name: "string",
            memory: 0,
            environmentVariables: {
                string: "string",
            },
            livenessProbe: {
                execs: ["string"],
                failureThreshold: 0,
                httpGets: [{
                    httpHeaders: {
                        string: "string",
                    },
                    path: "string",
                    port: 0,
                    scheme: "string",
                }],
                initialDelaySeconds: 0,
                periodSeconds: 0,
                successThreshold: 0,
                timeoutSeconds: 0,
            },
            commands: ["string"],
            memoryLimit: 0,
            cpuLimit: 0,
            ports: [{
                port: 0,
                protocol: "string",
            }],
            readinessProbe: {
                execs: ["string"],
                failureThreshold: 0,
                httpGets: [{
                    httpHeaders: {
                        string: "string",
                    },
                    path: "string",
                    port: 0,
                    scheme: "string",
                }],
                initialDelaySeconds: 0,
                periodSeconds: 0,
                successThreshold: 0,
                timeoutSeconds: 0,
            },
            secureEnvironmentVariables: {
                string: "string",
            },
            securities: [{
                privilegeEnabled: false,
            }],
            volumes: [{
                mountPath: "string",
                name: "string",
                emptyDir: false,
                gitRepo: {
                    url: "string",
                    directory: "string",
                    revision: "string",
                },
                readOnly: false,
                secret: {
                    string: "string",
                },
                shareName: "string",
                storageAccountKey: "string",
                storageAccountName: "string",
            }],
        }],
        resourceGroupName: "string",
        osType: "string",
        exposedPorts: [{
            port: 0,
            protocol: "string",
        }],
        location: "string",
        dnsNameLabel: "string",
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
        imageRegistryCredentials: [{
            server: "string",
            password: "string",
            userAssignedIdentityId: "string",
            username: "string",
        }],
        initContainers: [{
            image: "string",
            name: "string",
            commands: ["string"],
            environmentVariables: {
                string: "string",
            },
            secureEnvironmentVariables: {
                string: "string",
            },
            securities: [{
                privilegeEnabled: false,
            }],
            volumes: [{
                mountPath: "string",
                name: "string",
                emptyDir: false,
                gitRepo: {
                    url: "string",
                    directory: "string",
                    revision: "string",
                },
                readOnly: false,
                secret: {
                    string: "string",
                },
                shareName: "string",
                storageAccountKey: "string",
                storageAccountName: "string",
            }],
        }],
        ipAddressType: "string",
        keyVaultKeyId: "string",
        keyVaultUserAssignedIdentityId: "string",
        dnsNameLabelReusePolicy: "string",
        name: "string",
        dnsConfig: {
            nameservers: ["string"],
            options: ["string"],
            searchDomains: ["string"],
        },
        priority: "string",
        diagnostics: {
            logAnalytics: {
                workspaceId: "string",
                workspaceKey: "string",
                logType: "string",
                metadata: {
                    string: "string",
                },
            },
        },
        restartPolicy: "string",
        sku: "string",
        subnetIds: "string",
        tags: {
            string: "string",
        },
        zones: ["string"],
    });
    
    type: azure:containerservice:Group
    properties:
        containers:
            - commands:
                - string
              cpu: 0
              cpuLimit: 0
              environmentVariables:
                string: string
              image: string
              livenessProbe:
                execs:
                    - string
                failureThreshold: 0
                httpGets:
                    - httpHeaders:
                        string: string
                      path: string
                      port: 0
                      scheme: string
                initialDelaySeconds: 0
                periodSeconds: 0
                successThreshold: 0
                timeoutSeconds: 0
              memory: 0
              memoryLimit: 0
              name: string
              ports:
                - port: 0
                  protocol: string
              readinessProbe:
                execs:
                    - string
                failureThreshold: 0
                httpGets:
                    - httpHeaders:
                        string: string
                      path: string
                      port: 0
                      scheme: string
                initialDelaySeconds: 0
                periodSeconds: 0
                successThreshold: 0
                timeoutSeconds: 0
              secureEnvironmentVariables:
                string: string
              securities:
                - privilegeEnabled: false
              volumes:
                - emptyDir: false
                  gitRepo:
                    directory: string
                    revision: string
                    url: string
                  mountPath: string
                  name: string
                  readOnly: false
                  secret:
                    string: string
                  shareName: string
                  storageAccountKey: string
                  storageAccountName: string
        diagnostics:
            logAnalytics:
                logType: string
                metadata:
                    string: string
                workspaceId: string
                workspaceKey: string
        dnsConfig:
            nameservers:
                - string
            options:
                - string
            searchDomains:
                - string
        dnsNameLabel: string
        dnsNameLabelReusePolicy: string
        exposedPorts:
            - port: 0
              protocol: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        imageRegistryCredentials:
            - password: string
              server: string
              userAssignedIdentityId: string
              username: string
        initContainers:
            - commands:
                - string
              environmentVariables:
                string: string
              image: string
              name: string
              secureEnvironmentVariables:
                string: string
              securities:
                - privilegeEnabled: false
              volumes:
                - emptyDir: false
                  gitRepo:
                    directory: string
                    revision: string
                    url: string
                  mountPath: string
                  name: string
                  readOnly: false
                  secret:
                    string: string
                  shareName: string
                  storageAccountKey: string
                  storageAccountName: string
        ipAddressType: string
        keyVaultKeyId: string
        keyVaultUserAssignedIdentityId: string
        location: string
        name: string
        osType: string
        priority: string
        resourceGroupName: string
        restartPolicy: string
        sku: string
        subnetIds: string
        tags:
            string: string
        zones:
            - string
    

    Group 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 Group resource accepts the following input properties:

    Containers List<GroupContainer>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    OsType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    ResourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    Diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    DnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    DnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    DnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    ExposedPorts List<GroupExposedPort>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    Identity GroupIdentity
    An identity block as defined below.
    ImageRegistryCredentials List<GroupImageRegistryCredential>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    InitContainers List<GroupInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    IpAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    KeyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    KeyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    NetworkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    Priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    RestartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    Sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    SubnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Zones List<string>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    Containers []GroupContainerArgs
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    OsType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    ResourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    Diagnostics GroupDiagnosticsArgs
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    DnsConfig GroupDnsConfigArgs
    A dns_config block as documented below. Changing this forces a new resource to be created.
    DnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    DnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    ExposedPorts []GroupExposedPortArgs

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    Identity GroupIdentityArgs
    An identity block as defined below.
    ImageRegistryCredentials []GroupImageRegistryCredentialArgs
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    InitContainers []GroupInitContainerArgs
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    IpAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    KeyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    KeyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    NetworkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    Priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    RestartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    Sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    SubnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    Zones []string
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers List<GroupContainer>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    osType String

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    resourceGroupName String
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel String

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy String
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts List<GroupExposedPort>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    identity GroupIdentity
    An identity block as defined below.
    imageRegistryCredentials List<GroupImageRegistryCredential>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers List<GroupInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddressType String

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId String
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId String
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId String

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    priority String

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    restartPolicy String
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku String
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds String
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    zones List<String>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers GroupContainer[]
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    osType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    resourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts GroupExposedPort[]

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    identity GroupIdentity
    An identity block as defined below.
    imageRegistryCredentials GroupImageRegistryCredential[]
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers GroupInitContainer[]
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    restartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    zones string[]
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers Sequence[GroupContainerArgs]
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    os_type str

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    resource_group_name str
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    diagnostics GroupDiagnosticsArgs
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dns_config GroupDnsConfigArgs
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dns_name_label str

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dns_name_label_reuse_policy str
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposed_ports Sequence[GroupExposedPortArgs]

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    identity GroupIdentityArgs
    An identity block as defined below.
    image_registry_credentials Sequence[GroupImageRegistryCredentialArgs]
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    init_containers Sequence[GroupInitContainerArgs]
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ip_address_type str

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    key_vault_key_id str
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    key_vault_user_assigned_identity_id str
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    network_profile_id str

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    priority str

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    restart_policy str
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku str
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnet_ids str
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    zones Sequence[str]
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers List<Property Map>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    osType String

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    resourceGroupName String
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    diagnostics Property Map
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig Property Map
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel String

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy String
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts List<Property Map>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    identity Property Map
    An identity block as defined below.
    imageRegistryCredentials List<Property Map>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers List<Property Map>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddressType String

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId String
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId String
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId String

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    priority String

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    restartPolicy String
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku String
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds String
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags to assign to the resource.
    zones List<String>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.

    Outputs

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

    Fqdn string
    The FQDN of the container group derived from dns_name_label.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    The IP address allocated to the container group.
    Fqdn string
    The FQDN of the container group derived from dns_name_label.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    The IP address allocated to the container group.
    fqdn String
    The FQDN of the container group derived from dns_name_label.
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    The IP address allocated to the container group.
    fqdn string
    The FQDN of the container group derived from dns_name_label.
    id string
    The provider-assigned unique ID for this managed resource.
    ipAddress string
    The IP address allocated to the container group.
    fqdn str
    The FQDN of the container group derived from dns_name_label.
    id str
    The provider-assigned unique ID for this managed resource.
    ip_address str
    The IP address allocated to the container group.
    fqdn String
    The FQDN of the container group derived from dns_name_label.
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    The IP address allocated to the container group.

    Look up Existing Group Resource

    Get an existing Group resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GroupState, opts?: CustomResourceOptions): Group
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            containers: Optional[Sequence[GroupContainerArgs]] = None,
            diagnostics: Optional[GroupDiagnosticsArgs] = None,
            dns_config: Optional[GroupDnsConfigArgs] = None,
            dns_name_label: Optional[str] = None,
            dns_name_label_reuse_policy: Optional[str] = None,
            exposed_ports: Optional[Sequence[GroupExposedPortArgs]] = None,
            fqdn: Optional[str] = None,
            identity: Optional[GroupIdentityArgs] = None,
            image_registry_credentials: Optional[Sequence[GroupImageRegistryCredentialArgs]] = None,
            init_containers: Optional[Sequence[GroupInitContainerArgs]] = None,
            ip_address: Optional[str] = None,
            ip_address_type: Optional[str] = None,
            key_vault_key_id: Optional[str] = None,
            key_vault_user_assigned_identity_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            network_profile_id: Optional[str] = None,
            os_type: Optional[str] = None,
            priority: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            restart_policy: Optional[str] = None,
            sku: Optional[str] = None,
            subnet_ids: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            zones: Optional[Sequence[str]] = None) -> Group
    func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
    public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
    public static Group get(String name, Output<String> id, GroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Containers List<GroupContainer>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    Diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    DnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    DnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    DnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    ExposedPorts List<GroupExposedPort>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    Fqdn string
    The FQDN of the container group derived from dns_name_label.
    Identity GroupIdentity
    An identity block as defined below.
    ImageRegistryCredentials List<GroupImageRegistryCredential>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    InitContainers List<GroupInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    IpAddress string
    The IP address allocated to the container group.
    IpAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    KeyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    KeyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    NetworkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    OsType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    Priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    ResourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    RestartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    Sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    SubnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Zones List<string>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    Containers []GroupContainerArgs
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    Diagnostics GroupDiagnosticsArgs
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    DnsConfig GroupDnsConfigArgs
    A dns_config block as documented below. Changing this forces a new resource to be created.
    DnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    DnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    ExposedPorts []GroupExposedPortArgs

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    Fqdn string
    The FQDN of the container group derived from dns_name_label.
    Identity GroupIdentityArgs
    An identity block as defined below.
    ImageRegistryCredentials []GroupImageRegistryCredentialArgs
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    InitContainers []GroupInitContainerArgs
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    IpAddress string
    The IP address allocated to the container group.
    IpAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    KeyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    KeyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    NetworkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    OsType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    Priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    ResourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    RestartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    Sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    SubnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    Zones []string
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers List<GroupContainer>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel String

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy String
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts List<GroupExposedPort>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    fqdn String
    The FQDN of the container group derived from dns_name_label.
    identity GroupIdentity
    An identity block as defined below.
    imageRegistryCredentials List<GroupImageRegistryCredential>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers List<GroupInitContainer>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddress String
    The IP address allocated to the container group.
    ipAddressType String

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId String
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId String
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId String

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    osType String

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    priority String

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    resourceGroupName String
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    restartPolicy String
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku String
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds String
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    zones List<String>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers GroupContainer[]
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    diagnostics GroupDiagnostics
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig GroupDnsConfig
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel string

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy string
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts GroupExposedPort[]

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    fqdn string
    The FQDN of the container group derived from dns_name_label.
    identity GroupIdentity
    An identity block as defined below.
    imageRegistryCredentials GroupImageRegistryCredential[]
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers GroupInitContainer[]
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddress string
    The IP address allocated to the container group.
    ipAddressType string

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId string
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId string
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId string

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    osType string

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    priority string

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    resourceGroupName string
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    restartPolicy string
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku string
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds string
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    zones string[]
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers Sequence[GroupContainerArgs]
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    diagnostics GroupDiagnosticsArgs
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dns_config GroupDnsConfigArgs
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dns_name_label str

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dns_name_label_reuse_policy str
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposed_ports Sequence[GroupExposedPortArgs]

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    fqdn str
    The FQDN of the container group derived from dns_name_label.
    identity GroupIdentityArgs
    An identity block as defined below.
    image_registry_credentials Sequence[GroupImageRegistryCredentialArgs]
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    init_containers Sequence[GroupInitContainerArgs]
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ip_address str
    The IP address allocated to the container group.
    ip_address_type str

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    key_vault_key_id str
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    key_vault_user_assigned_identity_id str
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    network_profile_id str

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    os_type str

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    priority str

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    resource_group_name str
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    restart_policy str
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku str
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnet_ids str
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    zones Sequence[str]
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.
    containers List<Property Map>
    The definition of a container that is part of the group as documented in the container block below. Changing this forces a new resource to be created.
    diagnostics Property Map
    A diagnostics block as documented below. Changing this forces a new resource to be created.
    dnsConfig Property Map
    A dns_config block as documented below. Changing this forces a new resource to be created.
    dnsNameLabel String

    The DNS label/name for the container group's IP. Changing this forces a new resource to be created.

    Note: DNS label/name is not supported when deploying to virtual networks.

    dnsNameLabelReusePolicy String
    The value representing the security enum. Noreuse, ResourceGroupReuse, SubscriptionReuse, TenantReuse or Unsecure. Defaults to Unsecure.
    exposedPorts List<Property Map>

    Zero or more exposed_port blocks as defined below. Changing this forces a new resource to be created.

    Note: The exposed_port can only contain ports that are also exposed on one or more containers in the group.

    fqdn String
    The FQDN of the container group derived from dns_name_label.
    identity Property Map
    An identity block as defined below.
    imageRegistryCredentials List<Property Map>
    An image_registry_credential block as documented below. Changing this forces a new resource to be created.
    initContainers List<Property Map>
    The definition of an init container that is part of the group as documented in the init_container block below. Changing this forces a new resource to be created.
    ipAddress String
    The IP address allocated to the container group.
    ipAddressType String

    Specifies the IP address type of the container. Public, Private or None. Changing this forces a new resource to be created. If set to Private, subnet_ids also needs to be set. Defaults to Public.

    Note: dns_name_label and os_type set to windows are not compatible with Private ip_address_type

    keyVaultKeyId String
    The Key Vault key URI for CMK encryption. Changing this forces a new resource to be created.
    keyVaultUserAssignedIdentityId String
    The user assigned identity that has access to the Key Vault Key. If not specified, the RP principal named "Azure Container Instance Service" will be used instead. Make sure the identity has the proper key_permissions set, at least with Get, UnwrapKey, WrapKey and GetRotationPolicy.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container Group. Changing this forces a new resource to be created.
    networkProfileId String

    Deprecated: the 'network_profile_id' has been removed from the latest versions of the container instance API and has been deprecated. It no longer functions and will be removed from the 4.0 AzureRM provider. Please use the 'subnet_ids' field instead

    osType String

    The OS for the container group. Allowed values are Linux and Windows. Changing this forces a new resource to be created.

    Note: if os_type is set to Windows currently only a single container block is supported. Windows containers are not supported in virtual networks.

    priority String

    The priority of the Container Group. Possible values are Regular and Spot. Changing this forces a new resource to be created.

    NOTE: When priority is set to Spot, the ip_address_type has to be None.

    resourceGroupName String
    The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
    restartPolicy String
    Restart policy for the container group. Allowed values are Always, Never, OnFailure. Defaults to Always. Changing this forces a new resource to be created.
    sku String
    Specifies the sku of the Container Group. Possible values are Confidential, Dedicated and Standard. Defaults to Standard. Changing this forces a new resource to be created.
    subnetIds String
    The subnet resource IDs for a container group. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags to assign to the resource.
    zones List<String>
    A list of Availability Zones in which this Container Group is located. Changing this forces a new resource to be created.

    Supporting Types

    GroupContainer, GroupContainerArgs

    Cpu double
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    Image string
    The container image name. Changing this forces a new resource to be created.
    Memory double
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    Commands List<string>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    CpuLimit double
    The upper limit of the number of CPU cores of the containers.
    EnvironmentVariables Dictionary<string, string>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    LivenessProbe GroupContainerLivenessProbe
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    MemoryLimit double
    The upper limit of the memory of the containers in GB.
    Ports List<GroupContainerPort>
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    ReadinessProbe GroupContainerReadinessProbe
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    SecureEnvironmentVariables Dictionary<string, string>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    Securities List<GroupContainerSecurity>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    Volumes List<GroupContainerVolume>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    Cpu float64
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    Image string
    The container image name. Changing this forces a new resource to be created.
    Memory float64
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    Commands []string
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    CpuLimit float64
    The upper limit of the number of CPU cores of the containers.
    EnvironmentVariables map[string]string
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    LivenessProbe GroupContainerLivenessProbe
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    MemoryLimit float64
    The upper limit of the memory of the containers in GB.
    Ports []GroupContainerPort
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    ReadinessProbe GroupContainerReadinessProbe
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    SecureEnvironmentVariables map[string]string
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    Securities []GroupContainerSecurity
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    Volumes []GroupContainerVolume
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    cpu Double
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    image String
    The container image name. Changing this forces a new resource to be created.
    memory Double
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands List<String>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    cpuLimit Double
    The upper limit of the number of CPU cores of the containers.
    environmentVariables Map<String,String>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    livenessProbe GroupContainerLivenessProbe
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    memoryLimit Double
    The upper limit of the memory of the containers in GB.
    ports List<GroupContainerPort>
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    readinessProbe GroupContainerReadinessProbe
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    secureEnvironmentVariables Map<String,String>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities List<GroupContainerSecurity>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes List<GroupContainerVolume>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    cpu number
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    image string
    The container image name. Changing this forces a new resource to be created.
    memory number
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands string[]
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    cpuLimit number
    The upper limit of the number of CPU cores of the containers.
    environmentVariables {[key: string]: string}
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    livenessProbe GroupContainerLivenessProbe
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    memoryLimit number
    The upper limit of the memory of the containers in GB.
    ports GroupContainerPort[]
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    readinessProbe GroupContainerReadinessProbe
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    secureEnvironmentVariables {[key: string]: string}
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities GroupContainerSecurity[]
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes GroupContainerVolume[]
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    cpu float
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    image str
    The container image name. Changing this forces a new resource to be created.
    memory float
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands Sequence[str]
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    cpu_limit float
    The upper limit of the number of CPU cores of the containers.
    environment_variables Mapping[str, str]
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    liveness_probe GroupContainerLivenessProbe
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    memory_limit float
    The upper limit of the memory of the containers in GB.
    ports Sequence[GroupContainerPort]
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    readiness_probe GroupContainerReadinessProbe
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    secure_environment_variables Mapping[str, str]
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities Sequence[GroupContainerSecurity]
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes Sequence[GroupContainerVolume]
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    cpu Number
    The required number of CPU cores of the containers. Changing this forces a new resource to be created.
    image String
    The container image name. Changing this forces a new resource to be created.
    memory Number
    The required memory of the containers in GB. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands List<String>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    cpuLimit Number
    The upper limit of the number of CPU cores of the containers.
    environmentVariables Map<String>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    livenessProbe Property Map
    The definition of a readiness probe for this container as documented in the liveness_probe block below. Changing this forces a new resource to be created.
    memoryLimit Number
    The upper limit of the memory of the containers in GB.
    ports List<Property Map>
    A set of public ports for the container. Changing this forces a new resource to be created. Set as documented in the ports block below.
    readinessProbe Property Map
    The definition of a readiness probe for this container as documented in the readiness_probe block below. Changing this forces a new resource to be created.
    secureEnvironmentVariables Map<String>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities List<Property Map>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes List<Property Map>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.

    GroupContainerLivenessProbe, GroupContainerLivenessProbeArgs

    Execs List<string>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    FailureThreshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    HttpGets List<GroupContainerLivenessProbeHttpGet>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    Execs []string
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    FailureThreshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    HttpGets []GroupContainerLivenessProbeHttpGet
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs List<String>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold Integer
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets List<GroupContainerLivenessProbeHttpGet>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds Integer
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold Integer
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds Integer
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs string[]
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold number
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets GroupContainerLivenessProbeHttpGet[]
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds number
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds number
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold number
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds number
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs Sequence[str]
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failure_threshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    http_gets Sequence[GroupContainerLivenessProbeHttpGet]
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initial_delay_seconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    period_seconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    success_threshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeout_seconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs List<String>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold Number
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets List<Property Map>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds Number
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds Number
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold Number
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds Number
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.

    GroupContainerLivenessProbeHttpGet, GroupContainerLivenessProbeHttpGetArgs

    HttpHeaders Dictionary<string, string>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    Path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    Port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    Scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    HttpHeaders map[string]string
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    Path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    Port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    Scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders Map<String,String>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path String
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port Integer
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme String
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders {[key: string]: string}
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port number
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    http_headers Mapping[str, str]
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path str
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme str
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders Map<String>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path String
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port Number
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme String
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.

    GroupContainerPort, GroupContainerPortArgs

    Port int
    The port number the container will expose. Changing this forces a new resource to be created.
    Protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    Port int
    The port number the container will expose. Changing this forces a new resource to be created.
    Protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    port Integer
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol String

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    port number
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    port int
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol str

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    port Number
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol String

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Omitting these blocks will default the exposed ports on the group to all ports on all containers defined in the container blocks of this group.

    GroupContainerReadinessProbe, GroupContainerReadinessProbeArgs

    Execs List<string>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    FailureThreshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    HttpGets List<GroupContainerReadinessProbeHttpGet>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    Execs []string
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    FailureThreshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    HttpGets []GroupContainerReadinessProbeHttpGet
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    InitialDelaySeconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    PeriodSeconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    SuccessThreshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    TimeoutSeconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs List<String>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold Integer
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets List<GroupContainerReadinessProbeHttpGet>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds Integer
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds Integer
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold Integer
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds Integer
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs string[]
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold number
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets GroupContainerReadinessProbeHttpGet[]
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds number
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds number
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold number
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds number
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs Sequence[str]
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failure_threshold int
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    http_gets Sequence[GroupContainerReadinessProbeHttpGet]
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initial_delay_seconds int
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    period_seconds int
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    success_threshold int
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeout_seconds int
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.
    execs List<String>
    Commands to be run to validate container readiness. Changing this forces a new resource to be created.
    failureThreshold Number
    How many times to try the probe before restarting the container (liveness probe) or marking the container as unhealthy (readiness probe). Changing this forces a new resource to be created.
    httpGets List<Property Map>
    The definition of the http_get for this container as documented in the http_get block below. Changing this forces a new resource to be created.
    initialDelaySeconds Number
    Number of seconds after the container has started before liveness or readiness probes are initiated. Changing this forces a new resource to be created.
    periodSeconds Number
    How often (in seconds) to perform the probe. Changing this forces a new resource to be created.
    successThreshold Number
    Minimum consecutive successes for the probe to be considered successful after having failed. Changing this forces a new resource to be created.
    timeoutSeconds Number
    Number of seconds after which the probe times out. Changing this forces a new resource to be created.

    GroupContainerReadinessProbeHttpGet, GroupContainerReadinessProbeHttpGetArgs

    HttpHeaders Dictionary<string, string>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    Path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    Port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    Scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    HttpHeaders map[string]string
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    Path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    Port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    Scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders Map<String,String>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path String
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port Integer
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme String
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders {[key: string]: string}
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path string
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port number
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme string
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    http_headers Mapping[str, str]
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path str
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port int
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme str
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.
    httpHeaders Map<String>
    A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
    path String
    Path to access on the HTTP server. Changing this forces a new resource to be created.
    port Number
    Number of the port to access on the container. Changing this forces a new resource to be created.
    scheme String
    Scheme to use for connecting to the host. Possible values are Http and Https. Changing this forces a new resource to be created.

    GroupContainerSecurity, GroupContainerSecurityArgs

    PrivilegeEnabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    PrivilegeEnabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled Boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilege_enabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled Boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    GroupContainerVolume, GroupContainerVolumeArgs

    MountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    Name string
    The name of the volume mount. Changing this forces a new resource to be created.
    EmptyDir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    GitRepo GroupContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    ReadOnly bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    Secret Dictionary<string, string>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    ShareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    MountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    Name string
    The name of the volume mount. Changing this forces a new resource to be created.
    EmptyDir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    GitRepo GroupContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    ReadOnly bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    Secret map[string]string

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    ShareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath String
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name String
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir Boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo GroupContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly Boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Map<String,String>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName String
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey String
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName String
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name string
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo GroupContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret {[key: string]: string}

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mount_path str
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name str
    The name of the volume mount. Changing this forces a new resource to be created.
    empty_dir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    git_repo GroupContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    read_only bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Mapping[str, str]

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    share_name str
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storage_account_key str
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storage_account_name str
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath String
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name String
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir Boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo Property Map
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly Boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Map<String>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName String
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey String
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName String
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.

    GroupContainerVolumeGitRepo, GroupContainerVolumeGitRepoArgs

    Url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    Directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    Revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    Url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    Directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    Revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url String
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory String
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision String
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url str
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory str
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision str
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url String
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory String
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision String
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.

    GroupDiagnostics, GroupDiagnosticsArgs

    LogAnalytics GroupDiagnosticsLogAnalytics
    A log_analytics block as defined below. Changing this forces a new resource to be created.
    LogAnalytics GroupDiagnosticsLogAnalytics
    A log_analytics block as defined below. Changing this forces a new resource to be created.
    logAnalytics GroupDiagnosticsLogAnalytics
    A log_analytics block as defined below. Changing this forces a new resource to be created.
    logAnalytics GroupDiagnosticsLogAnalytics
    A log_analytics block as defined below. Changing this forces a new resource to be created.
    log_analytics GroupDiagnosticsLogAnalytics
    A log_analytics block as defined below. Changing this forces a new resource to be created.
    logAnalytics Property Map
    A log_analytics block as defined below. Changing this forces a new resource to be created.

    GroupDiagnosticsLogAnalytics, GroupDiagnosticsLogAnalyticsArgs

    WorkspaceId string
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    WorkspaceKey string
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    LogType string
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    Metadata Dictionary<string, string>
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.
    WorkspaceId string
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    WorkspaceKey string
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    LogType string
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    Metadata map[string]string
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.
    workspaceId String
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    workspaceKey String
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    logType String
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    metadata Map<String,String>
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.
    workspaceId string
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    workspaceKey string
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    logType string
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    metadata {[key: string]: string}
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.
    workspace_id str
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    workspace_key str
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    log_type str
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    metadata Mapping[str, str]
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.
    workspaceId String
    The Workspace ID of the Log Analytics Workspace. Changing this forces a new resource to be created.
    workspaceKey String
    The Workspace Key of the Log Analytics Workspace. Changing this forces a new resource to be created.
    logType String
    The log type which should be used. Possible values are ContainerInsights and ContainerInstanceLogs. Changing this forces a new resource to be created.
    metadata Map<String>
    Any metadata required for Log Analytics. Changing this forces a new resource to be created.

    GroupDnsConfig, GroupDnsConfigArgs

    Nameservers List<string>
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    Options List<string>
    A list of resolver configuration options. Changing this forces a new resource to be created.
    SearchDomains List<string>
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
    Nameservers []string
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    Options []string
    A list of resolver configuration options. Changing this forces a new resource to be created.
    SearchDomains []string
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
    nameservers List<String>
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    options List<String>
    A list of resolver configuration options. Changing this forces a new resource to be created.
    searchDomains List<String>
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
    nameservers string[]
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    options string[]
    A list of resolver configuration options. Changing this forces a new resource to be created.
    searchDomains string[]
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
    nameservers Sequence[str]
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    options Sequence[str]
    A list of resolver configuration options. Changing this forces a new resource to be created.
    search_domains Sequence[str]
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
    nameservers List<String>
    A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
    options List<String>
    A list of resolver configuration options. Changing this forces a new resource to be created.
    searchDomains List<String>
    A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.

    GroupExposedPort, GroupExposedPortArgs

    Port int
    The port number the container will expose. Changing this forces a new resource to be created.
    Protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    Port int
    The port number the container will expose. Changing this forces a new resource to be created.
    Protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    port Integer
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol String

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    port number
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol string

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    port int
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol str

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    port Number
    The port number the container will expose. Changing this forces a new resource to be created.
    protocol String

    The network protocol associated with port. Possible values are TCP & UDP. Changing this forces a new resource to be created. Defaults to TCP.

    Note: Removing all exposed_port blocks requires setting exposed_port = [].

    GroupIdentity, GroupIdentityArgs

    Type string

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    IdentityIds List<string>

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    IdentityIds []string

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    type String

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    identityIds List<String>

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type string

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    identityIds string[]

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    principalId string
    The Principal ID associated with this Managed Service Identity.
    tenantId string
    The Tenant ID associated with this Managed Service Identity.
    type str

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    identity_ids Sequence[str]

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    principal_id str
    The Principal ID associated with this Managed Service Identity.
    tenant_id str
    The Tenant ID associated with this Managed Service Identity.
    type String

    Specifies the type of Managed Service Identity that should be configured on this Container Group. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).

    NOTE: When type is set to SystemAssigned, the identity of the Principal ID can be retrieved after the container group has been created. See documentation for more information.

    identityIds List<String>

    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Group.

    NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

    NOTE: Currently you can't use a managed identity in a container group deployed to a virtual network.

    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.

    GroupImageRegistryCredential, GroupImageRegistryCredentialArgs

    Server string
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    Password string
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    UserAssignedIdentityId string
    The identity ID for the private registry. Changing this forces a new resource to be created.
    Username string
    The username with which to connect to the registry. Changing this forces a new resource to be created.
    Server string
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    Password string
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    UserAssignedIdentityId string
    The identity ID for the private registry. Changing this forces a new resource to be created.
    Username string
    The username with which to connect to the registry. Changing this forces a new resource to be created.
    server String
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    password String
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    userAssignedIdentityId String
    The identity ID for the private registry. Changing this forces a new resource to be created.
    username String
    The username with which to connect to the registry. Changing this forces a new resource to be created.
    server string
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    password string
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    userAssignedIdentityId string
    The identity ID for the private registry. Changing this forces a new resource to be created.
    username string
    The username with which to connect to the registry. Changing this forces a new resource to be created.
    server str
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    password str
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    user_assigned_identity_id str
    The identity ID for the private registry. Changing this forces a new resource to be created.
    username str
    The username with which to connect to the registry. Changing this forces a new resource to be created.
    server String
    The address to use to connect to the registry without protocol ("https"/"http"). For example: "myacr.acr.io". Changing this forces a new resource to be created.
    password String
    The password with which to connect to the registry. Changing this forces a new resource to be created.
    userAssignedIdentityId String
    The identity ID for the private registry. Changing this forces a new resource to be created.
    username String
    The username with which to connect to the registry. Changing this forces a new resource to be created.

    GroupInitContainer, GroupInitContainerArgs

    Image string
    The container image name. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    Commands List<string>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    EnvironmentVariables Dictionary<string, string>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    SecureEnvironmentVariables Dictionary<string, string>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    Securities List<GroupInitContainerSecurity>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    Volumes List<GroupInitContainerVolume>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    Image string
    The container image name. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    Commands []string
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    EnvironmentVariables map[string]string
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    SecureEnvironmentVariables map[string]string
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    Securities []GroupInitContainerSecurity
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    Volumes []GroupInitContainerVolume
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    image String
    The container image name. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands List<String>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    environmentVariables Map<String,String>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    secureEnvironmentVariables Map<String,String>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities List<GroupInitContainerSecurity>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes List<GroupInitContainerVolume>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    image string
    The container image name. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands string[]
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    environmentVariables {[key: string]: string}
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    secureEnvironmentVariables {[key: string]: string}
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities GroupInitContainerSecurity[]
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes GroupInitContainerVolume[]
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    image str
    The container image name. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands Sequence[str]
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    environment_variables Mapping[str, str]
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    secure_environment_variables Mapping[str, str]
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities Sequence[GroupInitContainerSecurity]
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes Sequence[GroupInitContainerVolume]
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.
    image String
    The container image name. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Container. Changing this forces a new resource to be created.
    commands List<String>
    A list of commands which should be run on the container. Changing this forces a new resource to be created.
    environmentVariables Map<String>
    A list of environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    secureEnvironmentVariables Map<String>
    A list of sensitive environment variables to be set on the container. Specified as a map of name/value pairs. Changing this forces a new resource to be created.
    securities List<Property Map>
    The definition of the security context for this container as documented in the security block below. Changing this forces a new resource to be created.
    volumes List<Property Map>
    The definition of a volume mount for this container as documented in the volume block below. Changing this forces a new resource to be created.

    GroupInitContainerSecurity, GroupInitContainerSecurityArgs

    PrivilegeEnabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    PrivilegeEnabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled Boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilege_enabled bool

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    privilegeEnabled Boolean

    Whether the container's permission is elevated to privileged? Changing this forces a new resource to be created.

    NOTE: Currently, this only applies when the os_type is Linux and the sku is Confidential.

    GroupInitContainerVolume, GroupInitContainerVolumeArgs

    MountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    Name string
    The name of the volume mount. Changing this forces a new resource to be created.
    EmptyDir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    GitRepo GroupInitContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    ReadOnly bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    Secret Dictionary<string, string>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    ShareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    MountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    Name string
    The name of the volume mount. Changing this forces a new resource to be created.
    EmptyDir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    GitRepo GroupInitContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    ReadOnly bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    Secret map[string]string

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    ShareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    StorageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath String
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name String
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir Boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo GroupInitContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly Boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Map<String,String>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName String
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey String
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName String
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath string
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name string
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo GroupInitContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret {[key: string]: string}

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName string
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey string
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName string
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mount_path str
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name str
    The name of the volume mount. Changing this forces a new resource to be created.
    empty_dir bool
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    git_repo GroupInitContainerVolumeGitRepo
    A git_repo block as defined below. Changing this forces a new resource to be created.
    read_only bool
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Mapping[str, str]

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    share_name str
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storage_account_key str
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storage_account_name str
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.
    mountPath String
    The path on which this volume is to be mounted. Changing this forces a new resource to be created.
    name String
    The name of the volume mount. Changing this forces a new resource to be created.
    emptyDir Boolean
    Boolean as to whether the mounted volume should be an empty directory. Defaults to false. Changing this forces a new resource to be created.
    gitRepo Property Map
    A git_repo block as defined below. Changing this forces a new resource to be created.
    readOnly Boolean
    Specify if the volume is to be mounted as read only or not. The default value is false. Changing this forces a new resource to be created.
    secret Map<String>

    A map of secrets that will be mounted as files in the volume. Changing this forces a new resource to be created.

    Note: Exactly one of empty_dir volume, git_repo volume, secret volume or storage account volume (share_name, storage_account_name, and storage_account_key) must be specified.

    Note when using a storage account volume, all of share_name, storage_account_name, and storage_account_key must be specified.

    Note: The secret values must be supplied as Base64 encoded strings. The secret values are decoded to their original values when mounted in the volume on the container.

    shareName String
    The Azure storage share that is to be mounted as a volume. This must be created on the storage account specified as above. Changing this forces a new resource to be created.
    storageAccountKey String
    The access key for the Azure Storage account specified as above. Changing this forces a new resource to be created.
    storageAccountName String
    The Azure storage account from which the volume is to be mounted. Changing this forces a new resource to be created.

    GroupInitContainerVolumeGitRepo, GroupInitContainerVolumeGitRepoArgs

    Url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    Directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    Revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    Url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    Directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    Revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url String
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory String
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision String
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url string
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory string
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision string
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url str
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory str
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision str
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
    url String
    Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
    directory String
    Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
    revision String
    Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.

    Import

    Container Group’s can be imported using the resource id, e.g.

    $ pulumi import azure:containerservice/group:Group containerGroup1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ContainerInstance/containerGroups/myContainerGroup1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi