1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. eci
  5. getContainerGroups
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.eci.getContainerGroups

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

This data source provides the Eci Container Groups of the current Alibaba Cloud user.

NOTE: Available in v1.111.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = alicloud.eci.getContainerGroups({
    ids: ["example_value"],
});
export const firstEciContainerGroupId = example.then(example => example.groups?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.eci.get_container_groups(ids=["example_value"])
pulumi.export("firstEciContainerGroupId", example.groups[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eci"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := eci.GetContainerGroups(ctx, &eci.GetContainerGroupsArgs{
			Ids: []string{
				"example_value",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstEciContainerGroupId", example.Groups[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var example = AliCloud.Eci.GetContainerGroups.Invoke(new()
    {
        Ids = new[]
        {
            "example_value",
        },
    });

    return new Dictionary<string, object?>
    {
        ["firstEciContainerGroupId"] = example.Apply(getContainerGroupsResult => getContainerGroupsResult.Groups[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eci.EciFunctions;
import com.pulumi.alicloud.eci.inputs.GetContainerGroupsArgs;
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) {
        final var example = EciFunctions.getContainerGroups(GetContainerGroupsArgs.builder()
            .ids("example_value")
            .build());

        ctx.export("firstEciContainerGroupId", example.applyValue(getContainerGroupsResult -> getContainerGroupsResult.groups()[0].id()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: alicloud:eci:getContainerGroups
      arguments:
        ids:
          - example_value
outputs:
  firstEciContainerGroupId: ${example.groups[0].id}
Copy

Using getContainerGroups

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getContainerGroups(args: GetContainerGroupsArgs, opts?: InvokeOptions): Promise<GetContainerGroupsResult>
function getContainerGroupsOutput(args: GetContainerGroupsOutputArgs, opts?: InvokeOptions): Output<GetContainerGroupsResult>
Copy
def get_container_groups(container_group_name: Optional[str] = None,
                         enable_details: Optional[bool] = None,
                         ids: Optional[Sequence[str]] = None,
                         limit: Optional[int] = None,
                         name_regex: Optional[str] = None,
                         output_file: Optional[str] = None,
                         resource_group_id: Optional[str] = None,
                         status: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         vswitch_id: Optional[str] = None,
                         with_event: Optional[bool] = None,
                         zone_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetContainerGroupsResult
def get_container_groups_output(container_group_name: Optional[pulumi.Input[str]] = None,
                         enable_details: Optional[pulumi.Input[bool]] = None,
                         ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         limit: Optional[pulumi.Input[int]] = None,
                         name_regex: Optional[pulumi.Input[str]] = None,
                         output_file: Optional[pulumi.Input[str]] = None,
                         resource_group_id: Optional[pulumi.Input[str]] = None,
                         status: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                         vswitch_id: Optional[pulumi.Input[str]] = None,
                         with_event: Optional[pulumi.Input[bool]] = None,
                         zone_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetContainerGroupsResult]
Copy
func GetContainerGroups(ctx *Context, args *GetContainerGroupsArgs, opts ...InvokeOption) (*GetContainerGroupsResult, error)
func GetContainerGroupsOutput(ctx *Context, args *GetContainerGroupsOutputArgs, opts ...InvokeOption) GetContainerGroupsResultOutput
Copy

> Note: This function is named GetContainerGroups in the Go SDK.

public static class GetContainerGroups 
{
    public static Task<GetContainerGroupsResult> InvokeAsync(GetContainerGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetContainerGroupsResult> Invoke(GetContainerGroupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetContainerGroupsResult> getContainerGroups(GetContainerGroupsArgs args, InvokeOptions options)
public static Output<GetContainerGroupsResult> getContainerGroups(GetContainerGroupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:eci/getContainerGroups:getContainerGroups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ContainerGroupName Changes to this property will trigger replacement. string
The name of ContainerGroup.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. List<string>
A list of Container Group IDs.
Limit Changes to this property will trigger replacement. int
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Container Group name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
Status Changes to this property will trigger replacement. string
The status list. For more information, see the description of ContainerGroup arrays.
Tags Dictionary<string, string>
VswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
WithEvent Changes to this property will trigger replacement. bool
ZoneId Changes to this property will trigger replacement. string
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
ContainerGroupName Changes to this property will trigger replacement. string
The name of ContainerGroup.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. []string
A list of Container Group IDs.
Limit Changes to this property will trigger replacement. int
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Container Group name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
Status Changes to this property will trigger replacement. string
The status list. For more information, see the description of ContainerGroup arrays.
Tags map[string]string
VswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
WithEvent Changes to this property will trigger replacement. bool
ZoneId Changes to this property will trigger replacement. string
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
containerGroupName Changes to this property will trigger replacement. String
The name of ContainerGroup.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Container Group IDs.
limit Changes to this property will trigger replacement. Integer
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Container Group name.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
status Changes to this property will trigger replacement. String
The status list. For more information, see the description of ContainerGroup arrays.
tags Map<String,String>
vswitchId Changes to this property will trigger replacement. String
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
withEvent Changes to this property will trigger replacement. Boolean
zoneId Changes to this property will trigger replacement. String
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
containerGroupName Changes to this property will trigger replacement. string
The name of ContainerGroup.
enableDetails boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. string[]
A list of Container Group IDs.
limit Changes to this property will trigger replacement. number
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Container Group name.
outputFile string
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
status Changes to this property will trigger replacement. string
The status list. For more information, see the description of ContainerGroup arrays.
tags {[key: string]: string}
vswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
withEvent Changes to this property will trigger replacement. boolean
zoneId Changes to this property will trigger replacement. string
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
container_group_name Changes to this property will trigger replacement. str
The name of ContainerGroup.
enable_details bool
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Container Group IDs.
limit Changes to this property will trigger replacement. int
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by Container Group name.
output_file str
File name where to save data source results (after running pulumi preview).
resource_group_id Changes to this property will trigger replacement. str
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
status Changes to this property will trigger replacement. str
The status list. For more information, see the description of ContainerGroup arrays.
tags Mapping[str, str]
vswitch_id Changes to this property will trigger replacement. str
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
with_event Changes to this property will trigger replacement. bool
zone_id Changes to this property will trigger replacement. str
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
containerGroupName Changes to this property will trigger replacement. String
The name of ContainerGroup.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of Container Group IDs.
limit Changes to this property will trigger replacement. Number
The maximum number of resources returned in the response. Default value is 20. Maximum value: 20. The number of returned results is no greater than the specified number.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Container Group name.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
status Changes to this property will trigger replacement. String
The status list. For more information, see the description of ContainerGroup arrays.
tags Map<String>
vswitchId Changes to this property will trigger replacement. String
The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
withEvent Changes to this property will trigger replacement. Boolean
zoneId Changes to this property will trigger replacement. String
The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

getContainerGroups Result

The following output properties are available:

Groups List<Pulumi.AliCloud.Eci.Outputs.GetContainerGroupsGroup>
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Names List<string>
ContainerGroupName string
EnableDetails bool
Limit int
NameRegex string
OutputFile string
ResourceGroupId string
Status string
Tags Dictionary<string, string>
VswitchId string
WithEvent bool
ZoneId string
Groups []GetContainerGroupsGroup
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Names []string
ContainerGroupName string
EnableDetails bool
Limit int
NameRegex string
OutputFile string
ResourceGroupId string
Status string
Tags map[string]string
VswitchId string
WithEvent bool
ZoneId string
groups List<GetContainerGroupsGroup>
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
containerGroupName String
enableDetails Boolean
limit Integer
nameRegex String
outputFile String
resourceGroupId String
status String
tags Map<String,String>
vswitchId String
withEvent Boolean
zoneId String
groups GetContainerGroupsGroup[]
id string
The provider-assigned unique ID for this managed resource.
ids string[]
names string[]
containerGroupName string
enableDetails boolean
limit number
nameRegex string
outputFile string
resourceGroupId string
status string
tags {[key: string]: string}
vswitchId string
withEvent boolean
zoneId string
groups Sequence[GetContainerGroupsGroup]
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
names Sequence[str]
container_group_name str
enable_details bool
limit int
name_regex str
output_file str
resource_group_id str
status str
tags Mapping[str, str]
vswitch_id str
with_event bool
zone_id str
groups List<Property Map>
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
containerGroupName String
enableDetails Boolean
limit Number
nameRegex String
outputFile String
resourceGroupId String
status String
tags Map<String>
vswitchId String
withEvent Boolean
zoneId String

Supporting Types

GetContainerGroupsGroup

ContainerGroupId This property is required. string
The id if ContainerGroup.
ContainerGroupName This property is required. string
The name of ContainerGroup.
Containers This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainer>
A list of containers. Each element contains the following attributes:
Cpu This property is required. double
The amount of CPU resources allocated to the container group.
Discount This property is required. int
DnsConfigs This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupDnsConfig>
The DNS settings.
EciSecurityContexts This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupEciSecurityContext>
The security context of the container group.
EniInstanceId This property is required. string
The ID of the ENI instance.
Events This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupEvent>
The events of the container group. Maximum: 50.
ExpiredTime This property is required. string
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
FailedTime This property is required. string
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
HostAliases This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupHostAlias>
The mapping between host names and IP addresses for a container in the container group.
Id This property is required. string
The ID of the Container Group.
InitContainers This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainer>
A list of init containers. Each element contains the following attributes:
InstanceType This property is required. string
The type of the ECS instance.
InternetIp This property is required. string
The public IP address of the container group.
IntranetIp This property is required. string
The internal IP address of the container group.
Ipv6Address This property is required. string
The IPv6 address.
Memory This property is required. double
The amount of memory resources allocated to the container group.
RamRoleName This property is required. string
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
ResourceGroupId This property is required. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
RestartPolicy This property is required. string
The restart policy of the container group.
SecurityGroupId This property is required. string
The ID of the security group.
Status This property is required. string
The status of container.
SucceededTime This property is required. string
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
Tags This property is required. Dictionary<string, string>
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
Volumes This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupVolume>
The information about the mounted volume. You can mount up to 20 volumes.
VpcId This property is required. string
The if of vpc.
VswitchId This property is required. string
The vswitch id.
ZoneId This property is required. string
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.
ContainerGroupId This property is required. string
The id if ContainerGroup.
ContainerGroupName This property is required. string
The name of ContainerGroup.
Containers This property is required. []GetContainerGroupsGroupContainer
A list of containers. Each element contains the following attributes:
Cpu This property is required. float64
The amount of CPU resources allocated to the container group.
Discount This property is required. int
DnsConfigs This property is required. []GetContainerGroupsGroupDnsConfig
The DNS settings.
EciSecurityContexts This property is required. []GetContainerGroupsGroupEciSecurityContext
The security context of the container group.
EniInstanceId This property is required. string
The ID of the ENI instance.
Events This property is required. []GetContainerGroupsGroupEvent
The events of the container group. Maximum: 50.
ExpiredTime This property is required. string
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
FailedTime This property is required. string
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
HostAliases This property is required. []GetContainerGroupsGroupHostAlias
The mapping between host names and IP addresses for a container in the container group.
Id This property is required. string
The ID of the Container Group.
InitContainers This property is required. []GetContainerGroupsGroupInitContainer
A list of init containers. Each element contains the following attributes:
InstanceType This property is required. string
The type of the ECS instance.
InternetIp This property is required. string
The public IP address of the container group.
IntranetIp This property is required. string
The internal IP address of the container group.
Ipv6Address This property is required. string
The IPv6 address.
Memory This property is required. float64
The amount of memory resources allocated to the container group.
RamRoleName This property is required. string
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
ResourceGroupId This property is required. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
RestartPolicy This property is required. string
The restart policy of the container group.
SecurityGroupId This property is required. string
The ID of the security group.
Status This property is required. string
The status of container.
SucceededTime This property is required. string
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
Tags This property is required. map[string]string
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
Volumes This property is required. []GetContainerGroupsGroupVolume
The information about the mounted volume. You can mount up to 20 volumes.
VpcId This property is required. string
The if of vpc.
VswitchId This property is required. string
The vswitch id.
ZoneId This property is required. string
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.
containerGroupId This property is required. String
The id if ContainerGroup.
containerGroupName This property is required. String
The name of ContainerGroup.
containers This property is required. List<GetContainerGroupsGroupContainer>
A list of containers. Each element contains the following attributes:
cpu This property is required. Double
The amount of CPU resources allocated to the container group.
discount This property is required. Integer
dnsConfigs This property is required. List<GetContainerGroupsGroupDnsConfig>
The DNS settings.
eciSecurityContexts This property is required. List<GetContainerGroupsGroupEciSecurityContext>
The security context of the container group.
eniInstanceId This property is required. String
The ID of the ENI instance.
events This property is required. List<GetContainerGroupsGroupEvent>
The events of the container group. Maximum: 50.
expiredTime This property is required. String
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
failedTime This property is required. String
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
hostAliases This property is required. List<GetContainerGroupsGroupHostAlias>
The mapping between host names and IP addresses for a container in the container group.
id This property is required. String
The ID of the Container Group.
initContainers This property is required. List<GetContainerGroupsGroupInitContainer>
A list of init containers. Each element contains the following attributes:
instanceType This property is required. String
The type of the ECS instance.
internetIp This property is required. String
The public IP address of the container group.
intranetIp This property is required. String
The internal IP address of the container group.
ipv6Address This property is required. String
The IPv6 address.
memory This property is required. Double
The amount of memory resources allocated to the container group.
ramRoleName This property is required. String
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
resourceGroupId This property is required. String
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
restartPolicy This property is required. String
The restart policy of the container group.
securityGroupId This property is required. String
The ID of the security group.
status This property is required. String
The status of container.
succeededTime This property is required. String
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
tags This property is required. Map<String,String>
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
volumes This property is required. List<GetContainerGroupsGroupVolume>
The information about the mounted volume. You can mount up to 20 volumes.
vpcId This property is required. String
The if of vpc.
vswitchId This property is required. String
The vswitch id.
zoneId This property is required. String
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.
containerGroupId This property is required. string
The id if ContainerGroup.
containerGroupName This property is required. string
The name of ContainerGroup.
containers This property is required. GetContainerGroupsGroupContainer[]
A list of containers. Each element contains the following attributes:
cpu This property is required. number
The amount of CPU resources allocated to the container group.
discount This property is required. number
dnsConfigs This property is required. GetContainerGroupsGroupDnsConfig[]
The DNS settings.
eciSecurityContexts This property is required. GetContainerGroupsGroupEciSecurityContext[]
The security context of the container group.
eniInstanceId This property is required. string
The ID of the ENI instance.
events This property is required. GetContainerGroupsGroupEvent[]
The events of the container group. Maximum: 50.
expiredTime This property is required. string
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
failedTime This property is required. string
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
hostAliases This property is required. GetContainerGroupsGroupHostAlias[]
The mapping between host names and IP addresses for a container in the container group.
id This property is required. string
The ID of the Container Group.
initContainers This property is required. GetContainerGroupsGroupInitContainer[]
A list of init containers. Each element contains the following attributes:
instanceType This property is required. string
The type of the ECS instance.
internetIp This property is required. string
The public IP address of the container group.
intranetIp This property is required. string
The internal IP address of the container group.
ipv6Address This property is required. string
The IPv6 address.
memory This property is required. number
The amount of memory resources allocated to the container group.
ramRoleName This property is required. string
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
resourceGroupId This property is required. string
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
restartPolicy This property is required. string
The restart policy of the container group.
securityGroupId This property is required. string
The ID of the security group.
status This property is required. string
The status of container.
succeededTime This property is required. string
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
tags This property is required. {[key: string]: string}
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
volumes This property is required. GetContainerGroupsGroupVolume[]
The information about the mounted volume. You can mount up to 20 volumes.
vpcId This property is required. string
The if of vpc.
vswitchId This property is required. string
The vswitch id.
zoneId This property is required. string
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.
container_group_id This property is required. str
The id if ContainerGroup.
container_group_name This property is required. str
The name of ContainerGroup.
containers This property is required. Sequence[GetContainerGroupsGroupContainer]
A list of containers. Each element contains the following attributes:
cpu This property is required. float
The amount of CPU resources allocated to the container group.
discount This property is required. int
dns_configs This property is required. Sequence[GetContainerGroupsGroupDnsConfig]
The DNS settings.
eci_security_contexts This property is required. Sequence[GetContainerGroupsGroupEciSecurityContext]
The security context of the container group.
eni_instance_id This property is required. str
The ID of the ENI instance.
events This property is required. Sequence[GetContainerGroupsGroupEvent]
The events of the container group. Maximum: 50.
expired_time This property is required. str
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
failed_time This property is required. str
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
host_aliases This property is required. Sequence[GetContainerGroupsGroupHostAlias]
The mapping between host names and IP addresses for a container in the container group.
id This property is required. str
The ID of the Container Group.
init_containers This property is required. Sequence[GetContainerGroupsGroupInitContainer]
A list of init containers. Each element contains the following attributes:
instance_type This property is required. str
The type of the ECS instance.
internet_ip This property is required. str
The public IP address of the container group.
intranet_ip This property is required. str
The internal IP address of the container group.
ipv6_address This property is required. str
The IPv6 address.
memory This property is required. float
The amount of memory resources allocated to the container group.
ram_role_name This property is required. str
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
resource_group_id This property is required. str
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
restart_policy This property is required. str
The restart policy of the container group.
security_group_id This property is required. str
The ID of the security group.
status This property is required. str
The status of container.
succeeded_time This property is required. str
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
tags This property is required. Mapping[str, str]
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
volumes This property is required. Sequence[GetContainerGroupsGroupVolume]
The information about the mounted volume. You can mount up to 20 volumes.
vpc_id This property is required. str
The if of vpc.
vswitch_id This property is required. str
The vswitch id.
zone_id This property is required. str
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.
containerGroupId This property is required. String
The id if ContainerGroup.
containerGroupName This property is required. String
The name of ContainerGroup.
containers This property is required. List<Property Map>
A list of containers. Each element contains the following attributes:
cpu This property is required. Number
The amount of CPU resources allocated to the container group.
discount This property is required. Number
dnsConfigs This property is required. List<Property Map>
The DNS settings.
eciSecurityContexts This property is required. List<Property Map>
The security context of the container group.
eniInstanceId This property is required. String
The ID of the ENI instance.
events This property is required. List<Property Map>
The events of the container group. Maximum: 50.
expiredTime This property is required. String
The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.
failedTime This property is required. String
The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
hostAliases This property is required. List<Property Map>
The mapping between host names and IP addresses for a container in the container group.
id This property is required. String
The ID of the Container Group.
initContainers This property is required. List<Property Map>
A list of init containers. Each element contains the following attributes:
instanceType This property is required. String
The type of the ECS instance.
internetIp This property is required. String
The public IP address of the container group.
intranetIp This property is required. String
The internal IP address of the container group.
ipv6Address This property is required. String
The IPv6 address.
memory This property is required. Number
The amount of memory resources allocated to the container group.
ramRoleName This property is required. String
The RAM role that the container group assumes. ECI and ECS share the same RAM role.
resourceGroupId This property is required. String
The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
restartPolicy This property is required. String
The restart policy of the container group.
securityGroupId This property is required. String
The ID of the security group.
status This property is required. String
The status of container.
succeededTime This property is required. String
The time when all containers in the container group completed running the specified tasks. The timestamp follows the UTC and RFC 3339 formats. For example, 2018-08-02T15:00:00Z.
tags This property is required. Map<String>
The tags attached to the container group. Each tag is a key-value pair. You can attach up to 20 tags to a container group.
volumes This property is required. List<Property Map>
The information about the mounted volume. You can mount up to 20 volumes.
vpcId This property is required. String
The if of vpc.
vswitchId This property is required. String
The vswitch id.
zoneId This property is required. String
The IDs of the zones where the container groups are deployed. If this parameter is not set, the system automatically selects the zones. By default, no value is specified.

GetContainerGroupsGroupContainer

Args This property is required. List<string>
The arguments passed to the commands. Maximum: 10.
Commands This property is required. List<string>
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
Cpu This property is required. double
The amount of CPU resources allocated to the container.
EnvironmentVars This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerEnvironmentVar>
The environment variables.
Gpu This property is required. int
The amount of GPU resources allocated to the container.
Image This property is required. string
The image of the container.
ImagePullPolicy This property is required. string
The policy for pulling an image.
Memory This property is required. double
The amount of memory resources allocated to the container.
Name This property is required. string
The name of the container.
Ports This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerPort>
The list of exposed ports and protocols. Maximum: 100.
Ready This property is required. bool
Indicates whether the container is ready.
RestartCount This property is required. int
The number of times that the container has restarted.
VolumeMounts This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerVolumeMount>
The list of volumes mounted to the container.
WorkingDir This property is required. string
The working directory of the container.
Args This property is required. []string
The arguments passed to the commands. Maximum: 10.
Commands This property is required. []string
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
Cpu This property is required. float64
The amount of CPU resources allocated to the container.
EnvironmentVars This property is required. []GetContainerGroupsGroupContainerEnvironmentVar
The environment variables.
Gpu This property is required. int
The amount of GPU resources allocated to the container.
Image This property is required. string
The image of the container.
ImagePullPolicy This property is required. string
The policy for pulling an image.
Memory This property is required. float64
The amount of memory resources allocated to the container.
Name This property is required. string
The name of the container.
Ports This property is required. []GetContainerGroupsGroupContainerPort
The list of exposed ports and protocols. Maximum: 100.
Ready This property is required. bool
Indicates whether the container is ready.
RestartCount This property is required. int
The number of times that the container has restarted.
VolumeMounts This property is required. []GetContainerGroupsGroupContainerVolumeMount
The list of volumes mounted to the container.
WorkingDir This property is required. string
The working directory of the container.
args This property is required. List<String>
The arguments passed to the commands. Maximum: 10.
commands This property is required. List<String>
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
cpu This property is required. Double
The amount of CPU resources allocated to the container.
environmentVars This property is required. List<GetContainerGroupsGroupContainerEnvironmentVar>
The environment variables.
gpu This property is required. Integer
The amount of GPU resources allocated to the container.
image This property is required. String
The image of the container.
imagePullPolicy This property is required. String
The policy for pulling an image.
memory This property is required. Double
The amount of memory resources allocated to the container.
name This property is required. String
The name of the container.
ports This property is required. List<GetContainerGroupsGroupContainerPort>
The list of exposed ports and protocols. Maximum: 100.
ready This property is required. Boolean
Indicates whether the container is ready.
restartCount This property is required. Integer
The number of times that the container has restarted.
volumeMounts This property is required. List<GetContainerGroupsGroupContainerVolumeMount>
The list of volumes mounted to the container.
workingDir This property is required. String
The working directory of the container.
args This property is required. string[]
The arguments passed to the commands. Maximum: 10.
commands This property is required. string[]
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
cpu This property is required. number
The amount of CPU resources allocated to the container.
environmentVars This property is required. GetContainerGroupsGroupContainerEnvironmentVar[]
The environment variables.
gpu This property is required. number
The amount of GPU resources allocated to the container.
image This property is required. string
The image of the container.
imagePullPolicy This property is required. string
The policy for pulling an image.
memory This property is required. number
The amount of memory resources allocated to the container.
name This property is required. string
The name of the container.
ports This property is required. GetContainerGroupsGroupContainerPort[]
The list of exposed ports and protocols. Maximum: 100.
ready This property is required. boolean
Indicates whether the container is ready.
restartCount This property is required. number
The number of times that the container has restarted.
volumeMounts This property is required. GetContainerGroupsGroupContainerVolumeMount[]
The list of volumes mounted to the container.
workingDir This property is required. string
The working directory of the container.
args This property is required. Sequence[str]
The arguments passed to the commands. Maximum: 10.
commands This property is required. Sequence[str]
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
cpu This property is required. float
The amount of CPU resources allocated to the container.
environment_vars This property is required. Sequence[GetContainerGroupsGroupContainerEnvironmentVar]
The environment variables.
gpu This property is required. int
The amount of GPU resources allocated to the container.
image This property is required. str
The image of the container.
image_pull_policy This property is required. str
The policy for pulling an image.
memory This property is required. float
The amount of memory resources allocated to the container.
name This property is required. str
The name of the container.
ports This property is required. Sequence[GetContainerGroupsGroupContainerPort]
The list of exposed ports and protocols. Maximum: 100.
ready This property is required. bool
Indicates whether the container is ready.
restart_count This property is required. int
The number of times that the container has restarted.
volume_mounts This property is required. Sequence[GetContainerGroupsGroupContainerVolumeMount]
The list of volumes mounted to the container.
working_dir This property is required. str
The working directory of the container.
args This property is required. List<String>
The arguments passed to the commands. Maximum: 10.
commands This property is required. List<String>
The commands run by the container. You can define a maximum of 20 commands. Minimum length per string: 256 characters.
cpu This property is required. Number
The amount of CPU resources allocated to the container.
environmentVars This property is required. List<Property Map>
The environment variables.
gpu This property is required. Number
The amount of GPU resources allocated to the container.
image This property is required. String
The image of the container.
imagePullPolicy This property is required. String
The policy for pulling an image.
memory This property is required. Number
The amount of memory resources allocated to the container.
name This property is required. String
The name of the container.
ports This property is required. List<Property Map>
The list of exposed ports and protocols. Maximum: 100.
ready This property is required. Boolean
Indicates whether the container is ready.
restartCount This property is required. Number
The number of times that the container has restarted.
volumeMounts This property is required. List<Property Map>
The list of volumes mounted to the container.
workingDir This property is required. String
The working directory of the container.

GetContainerGroupsGroupContainerEnvironmentVar

Key This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
Key This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
key This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.
key This property is required. string
The name of the variable.
value This property is required. string
The value of the variable.
key This property is required. str
The name of the variable.
value This property is required. str
The value of the variable.
key This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.

GetContainerGroupsGroupContainerPort

Port This property is required. int
The port number. Valid values: 1 to 65535.
Protocol This property is required. string
Valid values: TCP and UDP.
Port This property is required. int
The port number. Valid values: 1 to 65535.
Protocol This property is required. string
Valid values: TCP and UDP.
port This property is required. Integer
The port number. Valid values: 1 to 65535.
protocol This property is required. String
Valid values: TCP and UDP.
port This property is required. number
The port number. Valid values: 1 to 65535.
protocol This property is required. string
Valid values: TCP and UDP.
port This property is required. int
The port number. Valid values: 1 to 65535.
protocol This property is required. str
Valid values: TCP and UDP.
port This property is required. Number
The port number. Valid values: 1 to 65535.
protocol This property is required. String
Valid values: TCP and UDP.

GetContainerGroupsGroupContainerVolumeMount

MountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
Name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
ReadOnly This property is required. bool
Default value: false.
MountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
Name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
ReadOnly This property is required. bool
Default value: false.
mountPath This property is required. String
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. String
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. Boolean
Default value: false.
mountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. boolean
Default value: false.
mount_path This property is required. str
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. str
The name of the volume. The name is the same as the volume you selected when you purchased the container.
read_only This property is required. bool
Default value: false.
mountPath This property is required. String
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. String
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. Boolean
Default value: false.

GetContainerGroupsGroupDnsConfig

NameServers This property is required. List<string>
The list of DNS server IP addresses.
Options This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupDnsConfigOption>
The list of objects. Each object is a name-value pair. The value is optional.
Searches This property is required. List<string>
The list of DNS lookup domains.
NameServers This property is required. []string
The list of DNS server IP addresses.
Options This property is required. []GetContainerGroupsGroupDnsConfigOption
The list of objects. Each object is a name-value pair. The value is optional.
Searches This property is required. []string
The list of DNS lookup domains.
nameServers This property is required. List<String>
The list of DNS server IP addresses.
options This property is required. List<GetContainerGroupsGroupDnsConfigOption>
The list of objects. Each object is a name-value pair. The value is optional.
searches This property is required. List<String>
The list of DNS lookup domains.
nameServers This property is required. string[]
The list of DNS server IP addresses.
options This property is required. GetContainerGroupsGroupDnsConfigOption[]
The list of objects. Each object is a name-value pair. The value is optional.
searches This property is required. string[]
The list of DNS lookup domains.
name_servers This property is required. Sequence[str]
The list of DNS server IP addresses.
options This property is required. Sequence[GetContainerGroupsGroupDnsConfigOption]
The list of objects. Each object is a name-value pair. The value is optional.
searches This property is required. Sequence[str]
The list of DNS lookup domains.
nameServers This property is required. List<String>
The list of DNS server IP addresses.
options This property is required. List<Property Map>
The list of objects. Each object is a name-value pair. The value is optional.
searches This property is required. List<String>
The list of DNS lookup domains.

GetContainerGroupsGroupDnsConfigOption

Name This property is required. string
The name of the object variable.
Value This property is required. string
The value of the object variable.
Name This property is required. string
The name of the object variable.
Value This property is required. string
The value of the object variable.
name This property is required. String
The name of the object variable.
value This property is required. String
The value of the object variable.
name This property is required. string
The name of the object variable.
value This property is required. string
The value of the object variable.
name This property is required. str
The name of the object variable.
value This property is required. str
The value of the object variable.
name This property is required. String
The name of the object variable.
value This property is required. String
The value of the object variable.

GetContainerGroupsGroupEciSecurityContext

Sysctls This property is required. []GetContainerGroupsGroupEciSecurityContextSysctl
The system information.
sysctls This property is required. List<GetContainerGroupsGroupEciSecurityContextSysctl>
The system information.
sysctls This property is required. GetContainerGroupsGroupEciSecurityContextSysctl[]
The system information.
sysctls This property is required. Sequence[GetContainerGroupsGroupEciSecurityContextSysctl]
The system information.
sysctls This property is required. List<Property Map>
The system information.

GetContainerGroupsGroupEciSecurityContextSysctl

Name This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
Name This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
name This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.
name This property is required. string
The name of the variable.
value This property is required. string
The value of the variable.
name This property is required. str
The name of the variable.
value This property is required. str
The value of the variable.
name This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.

GetContainerGroupsGroupEvent

Count This property is required. int
The number of events.
FirstTimestamp This property is required. string
The time when the event started.
LastTimestamp This property is required. string
The time when the event ended.
Message This property is required. string
The content of the event.
Name This property is required. string
The name of the object to which the event belongs.
Reason This property is required. string
The name of the event.
Type This property is required. string
The type of the event. Valid values: Normal and Warning.
Count This property is required. int
The number of events.
FirstTimestamp This property is required. string
The time when the event started.
LastTimestamp This property is required. string
The time when the event ended.
Message This property is required. string
The content of the event.
Name This property is required. string
The name of the object to which the event belongs.
Reason This property is required. string
The name of the event.
Type This property is required. string
The type of the event. Valid values: Normal and Warning.
count This property is required. Integer
The number of events.
firstTimestamp This property is required. String
The time when the event started.
lastTimestamp This property is required. String
The time when the event ended.
message This property is required. String
The content of the event.
name This property is required. String
The name of the object to which the event belongs.
reason This property is required. String
The name of the event.
type This property is required. String
The type of the event. Valid values: Normal and Warning.
count This property is required. number
The number of events.
firstTimestamp This property is required. string
The time when the event started.
lastTimestamp This property is required. string
The time when the event ended.
message This property is required. string
The content of the event.
name This property is required. string
The name of the object to which the event belongs.
reason This property is required. string
The name of the event.
type This property is required. string
The type of the event. Valid values: Normal and Warning.
count This property is required. int
The number of events.
first_timestamp This property is required. str
The time when the event started.
last_timestamp This property is required. str
The time when the event ended.
message This property is required. str
The content of the event.
name This property is required. str
The name of the object to which the event belongs.
reason This property is required. str
The name of the event.
type This property is required. str
The type of the event. Valid values: Normal and Warning.
count This property is required. Number
The number of events.
firstTimestamp This property is required. String
The time when the event started.
lastTimestamp This property is required. String
The time when the event ended.
message This property is required. String
The content of the event.
name This property is required. String
The name of the object to which the event belongs.
reason This property is required. String
The name of the event.
type This property is required. String
The type of the event. Valid values: Normal and Warning.

GetContainerGroupsGroupHostAlias

Hostnames This property is required. List<string>
The name of the host.
Ip This property is required. string
The IP address of the container.
Hostnames This property is required. []string
The name of the host.
Ip This property is required. string
The IP address of the container.
hostnames This property is required. List<String>
The name of the host.
ip This property is required. String
The IP address of the container.
hostnames This property is required. string[]
The name of the host.
ip This property is required. string
The IP address of the container.
hostnames This property is required. Sequence[str]
The name of the host.
ip This property is required. str
The IP address of the container.
hostnames This property is required. List<String>
The name of the host.
ip This property is required. String
The IP address of the container.

GetContainerGroupsGroupInitContainer

Args This property is required. List<string>
The arguments passed to the commands.
Commands This property is required. List<string>
The commands run by the container.
Cpu This property is required. double
The amount of CPU resources allocated to the container.
EnvironmentVars This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerEnvironmentVar>
The environment variables.
Gpu This property is required. int
The amount of GPU resources allocated to the container.
Image This property is required. string
The image of the container.
ImagePullPolicy This property is required. string
The policy for pulling an image.
Memory This property is required. double
The amount of memory resources allocated to the container.
Name This property is required. string
The name of the init container.
Ports This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerPort>
The exposed ports and protocols. Maximum: 100.
Ready This property is required. bool
Indicates whether the container is ready.
RestartCount This property is required. int
The number of times that the container has restarted.
VolumeMounts This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerVolumeMount>
The list of volumes mounted to the container.
WorkingDir This property is required. string
The working directory of the container.
Args This property is required. []string
The arguments passed to the commands.
Commands This property is required. []string
The commands run by the container.
Cpu This property is required. float64
The amount of CPU resources allocated to the container.
EnvironmentVars This property is required. []GetContainerGroupsGroupInitContainerEnvironmentVar
The environment variables.
Gpu This property is required. int
The amount of GPU resources allocated to the container.
Image This property is required. string
The image of the container.
ImagePullPolicy This property is required. string
The policy for pulling an image.
Memory This property is required. float64
The amount of memory resources allocated to the container.
Name This property is required. string
The name of the init container.
Ports This property is required. []GetContainerGroupsGroupInitContainerPort
The exposed ports and protocols. Maximum: 100.
Ready This property is required. bool
Indicates whether the container is ready.
RestartCount This property is required. int
The number of times that the container has restarted.
VolumeMounts This property is required. []GetContainerGroupsGroupInitContainerVolumeMount
The list of volumes mounted to the container.
WorkingDir This property is required. string
The working directory of the container.
args This property is required. List<String>
The arguments passed to the commands.
commands This property is required. List<String>
The commands run by the container.
cpu This property is required. Double
The amount of CPU resources allocated to the container.
environmentVars This property is required. List<GetContainerGroupsGroupInitContainerEnvironmentVar>
The environment variables.
gpu This property is required. Integer
The amount of GPU resources allocated to the container.
image This property is required. String
The image of the container.
imagePullPolicy This property is required. String
The policy for pulling an image.
memory This property is required. Double
The amount of memory resources allocated to the container.
name This property is required. String
The name of the init container.
ports This property is required. List<GetContainerGroupsGroupInitContainerPort>
The exposed ports and protocols. Maximum: 100.
ready This property is required. Boolean
Indicates whether the container is ready.
restartCount This property is required. Integer
The number of times that the container has restarted.
volumeMounts This property is required. List<GetContainerGroupsGroupInitContainerVolumeMount>
The list of volumes mounted to the container.
workingDir This property is required. String
The working directory of the container.
args This property is required. string[]
The arguments passed to the commands.
commands This property is required. string[]
The commands run by the container.
cpu This property is required. number
The amount of CPU resources allocated to the container.
environmentVars This property is required. GetContainerGroupsGroupInitContainerEnvironmentVar[]
The environment variables.
gpu This property is required. number
The amount of GPU resources allocated to the container.
image This property is required. string
The image of the container.
imagePullPolicy This property is required. string
The policy for pulling an image.
memory This property is required. number
The amount of memory resources allocated to the container.
name This property is required. string
The name of the init container.
ports This property is required. GetContainerGroupsGroupInitContainerPort[]
The exposed ports and protocols. Maximum: 100.
ready This property is required. boolean
Indicates whether the container is ready.
restartCount This property is required. number
The number of times that the container has restarted.
volumeMounts This property is required. GetContainerGroupsGroupInitContainerVolumeMount[]
The list of volumes mounted to the container.
workingDir This property is required. string
The working directory of the container.
args This property is required. Sequence[str]
The arguments passed to the commands.
commands This property is required. Sequence[str]
The commands run by the container.
cpu This property is required. float
The amount of CPU resources allocated to the container.
environment_vars This property is required. Sequence[GetContainerGroupsGroupInitContainerEnvironmentVar]
The environment variables.
gpu This property is required. int
The amount of GPU resources allocated to the container.
image This property is required. str
The image of the container.
image_pull_policy This property is required. str
The policy for pulling an image.
memory This property is required. float
The amount of memory resources allocated to the container.
name This property is required. str
The name of the init container.
ports This property is required. Sequence[GetContainerGroupsGroupInitContainerPort]
The exposed ports and protocols. Maximum: 100.
ready This property is required. bool
Indicates whether the container is ready.
restart_count This property is required. int
The number of times that the container has restarted.
volume_mounts This property is required. Sequence[GetContainerGroupsGroupInitContainerVolumeMount]
The list of volumes mounted to the container.
working_dir This property is required. str
The working directory of the container.
args This property is required. List<String>
The arguments passed to the commands.
commands This property is required. List<String>
The commands run by the container.
cpu This property is required. Number
The amount of CPU resources allocated to the container.
environmentVars This property is required. List<Property Map>
The environment variables.
gpu This property is required. Number
The amount of GPU resources allocated to the container.
image This property is required. String
The image of the container.
imagePullPolicy This property is required. String
The policy for pulling an image.
memory This property is required. Number
The amount of memory resources allocated to the container.
name This property is required. String
The name of the init container.
ports This property is required. List<Property Map>
The exposed ports and protocols. Maximum: 100.
ready This property is required. Boolean
Indicates whether the container is ready.
restartCount This property is required. Number
The number of times that the container has restarted.
volumeMounts This property is required. List<Property Map>
The list of volumes mounted to the container.
workingDir This property is required. String
The working directory of the container.

GetContainerGroupsGroupInitContainerEnvironmentVar

Key This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
Key This property is required. string
The name of the variable.
Value This property is required. string
The value of the variable.
key This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.
key This property is required. string
The name of the variable.
value This property is required. string
The value of the variable.
key This property is required. str
The name of the variable.
value This property is required. str
The value of the variable.
key This property is required. String
The name of the variable.
value This property is required. String
The value of the variable.

GetContainerGroupsGroupInitContainerPort

Port This property is required. int
The port number. Valid values: 1 to 65535.
Protocol This property is required. string
Valid values: TCP and UDP.
Port This property is required. int
The port number. Valid values: 1 to 65535.
Protocol This property is required. string
Valid values: TCP and UDP.
port This property is required. Integer
The port number. Valid values: 1 to 65535.
protocol This property is required. String
Valid values: TCP and UDP.
port This property is required. number
The port number. Valid values: 1 to 65535.
protocol This property is required. string
Valid values: TCP and UDP.
port This property is required. int
The port number. Valid values: 1 to 65535.
protocol This property is required. str
Valid values: TCP and UDP.
port This property is required. Number
The port number. Valid values: 1 to 65535.
protocol This property is required. String
Valid values: TCP and UDP.

GetContainerGroupsGroupInitContainerVolumeMount

MountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
Name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
ReadOnly This property is required. bool
Default value: false.
MountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
Name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
ReadOnly This property is required. bool
Default value: false.
mountPath This property is required. String
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. String
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. Boolean
Default value: false.
mountPath This property is required. string
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. string
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. boolean
Default value: false.
mount_path This property is required. str
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. str
The name of the volume. The name is the same as the volume you selected when you purchased the container.
read_only This property is required. bool
Default value: false.
mountPath This property is required. String
The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
name This property is required. String
The name of the volume. The name is the same as the volume you selected when you purchased the container.
readOnly This property is required. Boolean
Default value: false.

GetContainerGroupsGroupVolume

ConfigFileVolumeConfigFileToPaths This property is required. List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath>
The list of configuration file paths.
DiskVolumeDiskId This property is required. string
The ID of DiskVolume.
DiskVolumeFsType This property is required. string
The type of DiskVolume.
FlexVolumeDriver This property is required. string
The name of the FlexVolume driver.
FlexVolumeFsType This property is required. string
The type of the mounted file system. The default value is determined by the script of FlexVolume.
FlexVolumeOptions This property is required. string
The list of FlexVolume objects.
Name This property is required. string
The name of the volume.
NfsVolumePath This property is required. string
The path to the NFS volume.
NfsVolumeReadOnly This property is required. bool
Default value: false.
NfsVolumeServer This property is required. string
The address of the NFS server.
Type This property is required. string
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.
ConfigFileVolumeConfigFileToPaths This property is required. []GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath
The list of configuration file paths.
DiskVolumeDiskId This property is required. string
The ID of DiskVolume.
DiskVolumeFsType This property is required. string
The type of DiskVolume.
FlexVolumeDriver This property is required. string
The name of the FlexVolume driver.
FlexVolumeFsType This property is required. string
The type of the mounted file system. The default value is determined by the script of FlexVolume.
FlexVolumeOptions This property is required. string
The list of FlexVolume objects.
Name This property is required. string
The name of the volume.
NfsVolumePath This property is required. string
The path to the NFS volume.
NfsVolumeReadOnly This property is required. bool
Default value: false.
NfsVolumeServer This property is required. string
The address of the NFS server.
Type This property is required. string
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.
configFileVolumeConfigFileToPaths This property is required. List<GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath>
The list of configuration file paths.
diskVolumeDiskId This property is required. String
The ID of DiskVolume.
diskVolumeFsType This property is required. String
The type of DiskVolume.
flexVolumeDriver This property is required. String
The name of the FlexVolume driver.
flexVolumeFsType This property is required. String
The type of the mounted file system. The default value is determined by the script of FlexVolume.
flexVolumeOptions This property is required. String
The list of FlexVolume objects.
name This property is required. String
The name of the volume.
nfsVolumePath This property is required. String
The path to the NFS volume.
nfsVolumeReadOnly This property is required. Boolean
Default value: false.
nfsVolumeServer This property is required. String
The address of the NFS server.
type This property is required. String
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.
configFileVolumeConfigFileToPaths This property is required. GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath[]
The list of configuration file paths.
diskVolumeDiskId This property is required. string
The ID of DiskVolume.
diskVolumeFsType This property is required. string
The type of DiskVolume.
flexVolumeDriver This property is required. string
The name of the FlexVolume driver.
flexVolumeFsType This property is required. string
The type of the mounted file system. The default value is determined by the script of FlexVolume.
flexVolumeOptions This property is required. string
The list of FlexVolume objects.
name This property is required. string
The name of the volume.
nfsVolumePath This property is required. string
The path to the NFS volume.
nfsVolumeReadOnly This property is required. boolean
Default value: false.
nfsVolumeServer This property is required. string
The address of the NFS server.
type This property is required. string
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.
config_file_volume_config_file_to_paths This property is required. Sequence[GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath]
The list of configuration file paths.
disk_volume_disk_id This property is required. str
The ID of DiskVolume.
disk_volume_fs_type This property is required. str
The type of DiskVolume.
flex_volume_driver This property is required. str
The name of the FlexVolume driver.
flex_volume_fs_type This property is required. str
The type of the mounted file system. The default value is determined by the script of FlexVolume.
flex_volume_options This property is required. str
The list of FlexVolume objects.
name This property is required. str
The name of the volume.
nfs_volume_path This property is required. str
The path to the NFS volume.
nfs_volume_read_only This property is required. bool
Default value: false.
nfs_volume_server This property is required. str
The address of the NFS server.
type This property is required. str
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.
configFileVolumeConfigFileToPaths This property is required. List<Property Map>
The list of configuration file paths.
diskVolumeDiskId This property is required. String
The ID of DiskVolume.
diskVolumeFsType This property is required. String
The type of DiskVolume.
flexVolumeDriver This property is required. String
The name of the FlexVolume driver.
flexVolumeFsType This property is required. String
The type of the mounted file system. The default value is determined by the script of FlexVolume.
flexVolumeOptions This property is required. String
The list of FlexVolume objects.
name This property is required. String
The name of the volume.
nfsVolumePath This property is required. String
The path to the NFS volume.
nfsVolumeReadOnly This property is required. Boolean
Default value: false.
nfsVolumeServer This property is required. String
The address of the NFS server.
type This property is required. String
The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath

Content This property is required. string
The content of the configuration file. Maximum size: 32 KB.
Path This property is required. string
The relative file path.
Content This property is required. string
The content of the configuration file. Maximum size: 32 KB.
Path This property is required. string
The relative file path.
content This property is required. String
The content of the configuration file. Maximum size: 32 KB.
path This property is required. String
The relative file path.
content This property is required. string
The content of the configuration file. Maximum size: 32 KB.
path This property is required. string
The relative file path.
content This property is required. str
The content of the configuration file. Maximum size: 32 KB.
path This property is required. str
The relative file path.
content This property is required. String
The content of the configuration file. Maximum size: 32 KB.
path This property is required. String
The relative file path.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi