alicloud logo
Alibaba Cloud v3.37.0, May 15 23

alicloud.eci.getContainerGroups

Explore with Pulumi AI

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

NOTE: Available in v1.111.0+.

Example Usage

Basic Usage

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),
    };
});
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
	})
}
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()));
    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.eci.get_container_groups(ids=["example_value"])
pulumi.export("firstEciContainerGroupId", example.groups[0].id)
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);
variables:
  example:
    fn::invoke:
      Function: alicloud:eci:getContainerGroups
      Arguments:
        ids:
          - example_value
outputs:
  firstEciContainerGroupId: ${example.groups[0].id}

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>
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, Any]] = 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, Any]]] = 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]
func GetContainerGroups(ctx *Context, args *GetContainerGroupsArgs, opts ...InvokeOption) (*GetContainerGroupsResult, error)
func GetContainerGroupsOutput(ctx *Context, args *GetContainerGroupsOutputArgs, opts ...InvokeOption) GetContainerGroupsResultOutput

> 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)
}
public static CompletableFuture<GetContainerGroupsResult> getContainerGroups(GetContainerGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:eci/getContainerGroups:getContainerGroups
  arguments:
    # arguments dictionary

The following arguments are supported:

ContainerGroupName string

The name of ContainerGroup.

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids List<string>

A list of Container Group IDs.

Limit 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 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 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 string

The status of container.

Tags Dictionary<string, object>

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.

VswitchId string

The vswitch id.

WithEvent bool
ZoneId 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.

ContainerGroupName string

The name of ContainerGroup.

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids []string

A list of Container Group IDs.

Limit 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 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 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 string

The status of container.

Tags map[string]interface{}

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.

VswitchId string

The vswitch id.

WithEvent bool
ZoneId 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.

containerGroupName String

The name of ContainerGroup.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Container Group IDs.

limit 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 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 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 String

The status of container.

tags Map<String,Object>

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.

vswitchId String

The vswitch id.

withEvent Boolean
zoneId 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.

containerGroupName string

The name of ContainerGroup.

enableDetails boolean

Default to false. Set it to true can output more details about resource attributes.

ids string[]

A list of Container Group IDs.

limit 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 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 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 string

The status of container.

tags {[key: string]: any}

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.

vswitchId string

The vswitch id.

withEvent boolean
zoneId 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_name str

The name of ContainerGroup.

enable_details bool

Default to false. Set it to true can output more details about resource attributes.

ids Sequence[str]

A list of Container Group IDs.

limit 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 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 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 str

The status of container.

tags Mapping[str, Any]

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.

vswitch_id str

The vswitch id.

with_event bool
zone_id 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.

containerGroupName String

The name of ContainerGroup.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Container Group IDs.

limit 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 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 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 String

The status of container.

tags Map<Any>

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.

vswitchId String

The vswitch id.

withEvent Boolean
zoneId 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.

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, object>
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]interface{}
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,Object>
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]: any}
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, Any]
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<Any>
vswitchId String
withEvent Boolean
zoneId String

Supporting Types

GetContainerGroupsGroup

ContainerGroupId string

The id if ContainerGroup.

ContainerGroupName string

The name of ContainerGroup.

Containers List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainer>

A list of containers. Each element contains the following attributes:

Cpu double

The amount of CPU resources allocated to the container.

Discount int
DnsConfigs List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupDnsConfig>

The DNS settings.

EciSecurityContexts List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupEciSecurityContext>

The security context of the container group.

EniInstanceId string

The ID of the ENI instance.

Events List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupEvent>

The events of the container group. Maximum: 50.

ExpiredTime string

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

FailedTime string

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

HostAliases List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupHostAlias>

The mapping between host names and IP addresses for a container in the container group.

Id string

The ID of the Container Group.

InitContainers List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainer>

A list of init containers. Each element contains the following attributes:

InstanceType string

The type of the ECS instance.

InternetIp string

The public IP address of the container group.

IntranetIp string

The internal IP address of the container group.

Ipv6Address string

The IPv6 address.

Memory double

The amount of memory resources allocated to the container group.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId 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 string

The restart policy of the container group.

SecurityGroupId string

The ID of the security group.

Status string

The status of container.

SucceededTime 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 Dictionary<string, object>

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 List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupVolume>

The information about the mounted volume. You can mount up to 20 volumes.

VpcId string

The if of vpc.

VswitchId string

The vswitch id.

ZoneId 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 string

The id if ContainerGroup.

ContainerGroupName string

The name of ContainerGroup.

Containers []GetContainerGroupsGroupContainer

A list of containers. Each element contains the following attributes:

Cpu float64

The amount of CPU resources allocated to the container.

Discount int
DnsConfigs []GetContainerGroupsGroupDnsConfig

The DNS settings.

EciSecurityContexts []GetContainerGroupsGroupEciSecurityContext

The security context of the container group.

EniInstanceId string

The ID of the ENI instance.

Events []GetContainerGroupsGroupEvent

The events of the container group. Maximum: 50.

ExpiredTime string

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

FailedTime string

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

HostAliases []GetContainerGroupsGroupHostAlias

The mapping between host names and IP addresses for a container in the container group.

Id string

The ID of the Container Group.

InitContainers []GetContainerGroupsGroupInitContainer

A list of init containers. Each element contains the following attributes:

InstanceType string

The type of the ECS instance.

InternetIp string

The public IP address of the container group.

IntranetIp string

The internal IP address of the container group.

Ipv6Address string

The IPv6 address.

Memory float64

The amount of memory resources allocated to the container group.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId 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 string

The restart policy of the container group.

SecurityGroupId string

The ID of the security group.

Status string

The status of container.

SucceededTime 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 map[string]interface{}

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 []GetContainerGroupsGroupVolume

The information about the mounted volume. You can mount up to 20 volumes.

VpcId string

The if of vpc.

VswitchId string

The vswitch id.

ZoneId 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 String

The id if ContainerGroup.

containerGroupName String

The name of ContainerGroup.

containers List<GetContainerGroupsGroupContainer>

A list of containers. Each element contains the following attributes:

cpu Double

The amount of CPU resources allocated to the container.

discount Integer
dnsConfigs List<GetContainerGroupsGroupDnsConfig>

The DNS settings.

eciSecurityContexts List<GetContainerGroupsGroupEciSecurityContext>

The security context of the container group.

eniInstanceId String

The ID of the ENI instance.

events List<GetContainerGroupsGroupEvent>

The events of the container group. Maximum: 50.

expiredTime String

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

failedTime String

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

hostAliases List<GetContainerGroupsGroupHostAlias>

The mapping between host names and IP addresses for a container in the container group.

id String

The ID of the Container Group.

initContainers List<GetContainerGroupsGroupInitContainer>

A list of init containers. Each element contains the following attributes:

instanceType String

The type of the ECS instance.

internetIp String

The public IP address of the container group.

intranetIp String

The internal IP address of the container group.

ipv6Address String

The IPv6 address.

memory Double

The amount of memory resources allocated to the container group.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId 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 String

The restart policy of the container group.

securityGroupId String

The ID of the security group.

status String

The status of container.

succeededTime 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 Map<String,Object>

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 List<GetContainerGroupsGroupVolume>

The information about the mounted volume. You can mount up to 20 volumes.

vpcId String

The if of vpc.

vswitchId String

The vswitch id.

zoneId 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 string

The id if ContainerGroup.

containerGroupName string

The name of ContainerGroup.

containers GetContainerGroupsGroupContainer[]

A list of containers. Each element contains the following attributes:

cpu number

The amount of CPU resources allocated to the container.

discount number
dnsConfigs GetContainerGroupsGroupDnsConfig[]

The DNS settings.

eciSecurityContexts GetContainerGroupsGroupEciSecurityContext[]

The security context of the container group.

eniInstanceId string

The ID of the ENI instance.

events GetContainerGroupsGroupEvent[]

The events of the container group. Maximum: 50.

expiredTime string

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

failedTime string

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

hostAliases GetContainerGroupsGroupHostAlias[]

The mapping between host names and IP addresses for a container in the container group.

id string

The ID of the Container Group.

initContainers GetContainerGroupsGroupInitContainer[]

A list of init containers. Each element contains the following attributes:

instanceType string

The type of the ECS instance.

internetIp string

The public IP address of the container group.

intranetIp string

The internal IP address of the container group.

ipv6Address string

The IPv6 address.

memory number

The amount of memory resources allocated to the container group.

ramRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId 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 string

The restart policy of the container group.

securityGroupId string

The ID of the security group.

status string

The status of container.

succeededTime 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 {[key: string]: any}

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 GetContainerGroupsGroupVolume[]

The information about the mounted volume. You can mount up to 20 volumes.

vpcId string

The if of vpc.

vswitchId string

The vswitch id.

zoneId 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 str

The id if ContainerGroup.

container_group_name str

The name of ContainerGroup.

containers Sequence[GetContainerGroupsGroupContainer]

A list of containers. Each element contains the following attributes:

cpu float

The amount of CPU resources allocated to the container.

discount int
dns_configs Sequence[GetContainerGroupsGroupDnsConfig]

The DNS settings.

eci_security_contexts Sequence[GetContainerGroupsGroupEciSecurityContext]

The security context of the container group.

eni_instance_id str

The ID of the ENI instance.

events Sequence[GetContainerGroupsGroupEvent]

The events of the container group. Maximum: 50.

expired_time str

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

failed_time str

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

host_aliases Sequence[GetContainerGroupsGroupHostAlias]

The mapping between host names and IP addresses for a container in the container group.

id str

The ID of the Container Group.

init_containers Sequence[GetContainerGroupsGroupInitContainer]

A list of init containers. Each element contains the following attributes:

instance_type str

The type of the ECS instance.

internet_ip str

The public IP address of the container group.

intranet_ip str

The internal IP address of the container group.

ipv6_address str

The IPv6 address.

memory float

The amount of memory resources allocated to the container group.

ram_role_name str

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resource_group_id 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 str

The restart policy of the container group.

security_group_id str

The ID of the security group.

status str

The status of container.

succeeded_time 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 Mapping[str, Any]

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 Sequence[GetContainerGroupsGroupVolume]

The information about the mounted volume. You can mount up to 20 volumes.

vpc_id str

The if of vpc.

vswitch_id str

The vswitch id.

zone_id 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 String

The id if ContainerGroup.

containerGroupName String

The name of ContainerGroup.

containers List<Property Map>

A list of containers. Each element contains the following attributes:

cpu Number

The amount of CPU resources allocated to the container.

discount Number
dnsConfigs List<Property Map>

The DNS settings.

eciSecurityContexts List<Property Map>

The security context of the container group.

eniInstanceId String

The ID of the ENI instance.

events List<Property Map>

The events of the container group. Maximum: 50.

expiredTime String

The time when the container group failed to run due to overdue payments. The timestamp follows the UTC and RFC3339 formats.

failedTime String

The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.

hostAliases List<Property Map>

The mapping between host names and IP addresses for a container in the container group.

id String

The ID of the Container Group.

initContainers List<Property Map>

A list of init containers. Each element contains the following attributes:

instanceType String

The type of the ECS instance.

internetIp String

The public IP address of the container group.

intranetIp String

The internal IP address of the container group.

ipv6Address String

The IPv6 address.

memory Number

The amount of memory resources allocated to the container group.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId 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 String

The restart policy of the container group.

securityGroupId String

The ID of the security group.

status String

The status of container.

succeededTime 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 Map<Any>

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 List<Property Map>

The information about the mounted volume. You can mount up to 20 volumes.

vpcId String

The if of vpc.

vswitchId String

The vswitch id.

zoneId 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 List<string>

The arguments passed to the commands.

Commands List<string>

The commands run by the container.

Cpu double

The amount of CPU resources allocated to the container.

EnvironmentVars List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerEnvironmentVar>

The environment variables.

Gpu int

The amount of GPU resources allocated to the container.

Image string

The image of the container.

ImagePullPolicy string

The policy for pulling an image.

Memory double

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerPort>

The exposed ports and protocols. Maximum: 100.

Ready bool

Indicates whether the container is ready.

RestartCount int

The number of times that the container has restarted.

VolumeMounts List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupContainerVolumeMount>

The list of volumes mounted to the container.

WorkingDir string

The working directory of the container.

Args []string

The arguments passed to the commands.

Commands []string

The commands run by the container.

Cpu float64

The amount of CPU resources allocated to the container.

EnvironmentVars []GetContainerGroupsGroupContainerEnvironmentVar

The environment variables.

Gpu int

The amount of GPU resources allocated to the container.

Image string

The image of the container.

ImagePullPolicy string

The policy for pulling an image.

Memory float64

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports []GetContainerGroupsGroupContainerPort

The exposed ports and protocols. Maximum: 100.

Ready bool

Indicates whether the container is ready.

RestartCount int

The number of times that the container has restarted.

VolumeMounts []GetContainerGroupsGroupContainerVolumeMount

The list of volumes mounted to the container.

WorkingDir string

The working directory of the container.

args List<String>

The arguments passed to the commands.

commands List<String>

The commands run by the container.

cpu Double

The amount of CPU resources allocated to the container.

environmentVars List<GetContainerGroupsGroupContainerEnvironmentVar>

The environment variables.

gpu Integer

The amount of GPU resources allocated to the container.

image String

The image of the container.

imagePullPolicy String

The policy for pulling an image.

memory Double

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<GetContainerGroupsGroupContainerPort>

The exposed ports and protocols. Maximum: 100.

ready Boolean

Indicates whether the container is ready.

restartCount Integer

The number of times that the container has restarted.

volumeMounts List<GetContainerGroupsGroupContainerVolumeMount>

The list of volumes mounted to the container.

workingDir String

The working directory of the container.

args string[]

The arguments passed to the commands.

commands string[]

The commands run by the container.

cpu number

The amount of CPU resources allocated to the container.

environmentVars GetContainerGroupsGroupContainerEnvironmentVar[]

The environment variables.

gpu number

The amount of GPU resources allocated to the container.

image string

The image of the container.

imagePullPolicy string

The policy for pulling an image.

memory number

The amount of memory resources allocated to the container group.

name string

The name of the volume.

ports GetContainerGroupsGroupContainerPort[]

The exposed ports and protocols. Maximum: 100.

ready boolean

Indicates whether the container is ready.

restartCount number

The number of times that the container has restarted.

volumeMounts GetContainerGroupsGroupContainerVolumeMount[]

The list of volumes mounted to the container.

workingDir string

The working directory of the container.

args Sequence[str]

The arguments passed to the commands.

commands Sequence[str]

The commands run by the container.

cpu float

The amount of CPU resources allocated to the container.

environment_vars Sequence[GetContainerGroupsGroupContainerEnvironmentVar]

The environment variables.

gpu int

The amount of GPU resources allocated to the container.

image str

The image of the container.

image_pull_policy str

The policy for pulling an image.

memory float

The amount of memory resources allocated to the container group.

name str

The name of the volume.

ports Sequence[GetContainerGroupsGroupContainerPort]

The exposed ports and protocols. Maximum: 100.

ready bool

Indicates whether the container is ready.

restart_count int

The number of times that the container has restarted.

volume_mounts Sequence[GetContainerGroupsGroupContainerVolumeMount]

The list of volumes mounted to the container.

working_dir str

The working directory of the container.

args List<String>

The arguments passed to the commands.

commands List<String>

The commands run by the container.

cpu Number

The amount of CPU resources allocated to the container.

environmentVars List<Property Map>

The environment variables.

gpu Number

The amount of GPU resources allocated to the container.

image String

The image of the container.

imagePullPolicy String

The policy for pulling an image.

memory Number

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<Property Map>

The exposed ports and protocols. Maximum: 100.

ready Boolean

Indicates whether the container is ready.

restartCount Number

The number of times that the container has restarted.

volumeMounts List<Property Map>

The list of volumes mounted to the container.

workingDir String

The working directory of the container.

GetContainerGroupsGroupContainerEnvironmentVar

Key string

The name of the variable.

Value string

The value of the variable.

Key string

The name of the variable.

Value string

The value of the variable.

key String

The name of the variable.

value String

The value of the variable.

key string

The name of the variable.

value string

The value of the variable.

key str

The name of the variable.

value str

The value of the variable.

key String

The name of the variable.

value String

The value of the variable.

GetContainerGroupsGroupContainerPort

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

port Integer

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

port number

The port number. Valid values: 1 to 65535.

protocol string

Valid values: TCP and UDP.

port int

The port number. Valid values: 1 to 65535.

protocol str

Valid values: TCP and UDP.

port Number

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

GetContainerGroupsGroupContainerVolumeMount

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default value: false.

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default value: false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default value: false.

mountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name string

The name of the volume.

readOnly boolean

Default value: false.

mount_path str

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name str

The name of the volume.

read_only bool

Default value: false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default value: false.

GetContainerGroupsGroupDnsConfig

NameServers List<string>

The list of DNS server IP addresses.

Options List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupDnsConfigOption>

The list of objects. Each object is a name-value pair. The value is optional.

Searches List<string>

The list of DNS lookup domains.

NameServers []string

The list of DNS server IP addresses.

Options []GetContainerGroupsGroupDnsConfigOption

The list of objects. Each object is a name-value pair. The value is optional.

Searches []string

The list of DNS lookup domains.

nameServers List<String>

The list of DNS server IP addresses.

options List<GetContainerGroupsGroupDnsConfigOption>

The list of objects. Each object is a name-value pair. The value is optional.

searches List<String>

The list of DNS lookup domains.

nameServers string[]

The list of DNS server IP addresses.

options GetContainerGroupsGroupDnsConfigOption[]

The list of objects. Each object is a name-value pair. The value is optional.

searches string[]

The list of DNS lookup domains.

name_servers Sequence[str]

The list of DNS server IP addresses.

options Sequence[GetContainerGroupsGroupDnsConfigOption]

The list of objects. Each object is a name-value pair. The value is optional.

searches Sequence[str]

The list of DNS lookup domains.

nameServers List<String>

The list of DNS server IP addresses.

options List<Property Map>

The list of objects. Each object is a name-value pair. The value is optional.

searches List<String>

The list of DNS lookup domains.

GetContainerGroupsGroupDnsConfigOption

Name string

The name of the volume.

Value string

The value of the variable.

Name string

The name of the volume.

Value string

The value of the variable.

name String

The name of the volume.

value String

The value of the variable.

name string

The name of the volume.

value string

The value of the variable.

name str

The name of the volume.

value str

The value of the variable.

name String

The name of the volume.

value String

The value of the variable.

GetContainerGroupsGroupEciSecurityContext

sysctls List<Property Map>

The system information.

GetContainerGroupsGroupEciSecurityContextSysctl

Name string

The name of the volume.

Value string

The value of the variable.

Name string

The name of the volume.

Value string

The value of the variable.

name String

The name of the volume.

value String

The value of the variable.

name string

The name of the volume.

value string

The value of the variable.

name str

The name of the volume.

value str

The value of the variable.

name String

The name of the volume.

value String

The value of the variable.

GetContainerGroupsGroupEvent

Count int

The number of events.

FirstTimestamp string

The time when the event started.

LastTimestamp string

The time when the event ended.

Message string

The content of the event.

Name string

The name of the volume.

Reason string

The name of the event.

Type string

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

Count int

The number of events.

FirstTimestamp string

The time when the event started.

LastTimestamp string

The time when the event ended.

Message string

The content of the event.

Name string

The name of the volume.

Reason string

The name of the event.

Type string

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

count Integer

The number of events.

firstTimestamp String

The time when the event started.

lastTimestamp String

The time when the event ended.

message String

The content of the event.

name String

The name of the volume.

reason String

The name of the event.

type String

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

count number

The number of events.

firstTimestamp string

The time when the event started.

lastTimestamp string

The time when the event ended.

message string

The content of the event.

name string

The name of the volume.

reason string

The name of the event.

type string

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

count int

The number of events.

first_timestamp str

The time when the event started.

last_timestamp str

The time when the event ended.

message str

The content of the event.

name str

The name of the volume.

reason str

The name of the event.

type str

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

count Number

The number of events.

firstTimestamp String

The time when the event started.

lastTimestamp String

The time when the event ended.

message String

The content of the event.

name String

The name of the volume.

reason String

The name of the event.

type String

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

GetContainerGroupsGroupHostAlias

Hostnames List<string>

The name of the host.

Ip string

The IP address of the container.

Hostnames []string

The name of the host.

Ip string

The IP address of the container.

hostnames List<String>

The name of the host.

ip String

The IP address of the container.

hostnames string[]

The name of the host.

ip string

The IP address of the container.

hostnames Sequence[str]

The name of the host.

ip str

The IP address of the container.

hostnames List<String>

The name of the host.

ip String

The IP address of the container.

GetContainerGroupsGroupInitContainer

Args List<string>

The arguments passed to the commands.

Commands List<string>

The commands run by the container.

Cpu double

The amount of CPU resources allocated to the container.

EnvironmentVars List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerEnvironmentVar>

The environment variables.

Gpu int

The amount of GPU resources allocated to the container.

Image string

The image of the container.

ImagePullPolicy string

The policy for pulling an image.

Memory double

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerPort>

The exposed ports and protocols. Maximum: 100.

Ready bool

Indicates whether the container is ready.

RestartCount int

The number of times that the container has restarted.

VolumeMounts List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupInitContainerVolumeMount>

The list of volumes mounted to the container.

WorkingDir string

The working directory of the container.

Args []string

The arguments passed to the commands.

Commands []string

The commands run by the container.

Cpu float64

The amount of CPU resources allocated to the container.

EnvironmentVars []GetContainerGroupsGroupInitContainerEnvironmentVar

The environment variables.

Gpu int

The amount of GPU resources allocated to the container.

Image string

The image of the container.

ImagePullPolicy string

The policy for pulling an image.

Memory float64

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports []GetContainerGroupsGroupInitContainerPort

The exposed ports and protocols. Maximum: 100.

Ready bool

Indicates whether the container is ready.

RestartCount int

The number of times that the container has restarted.

VolumeMounts []GetContainerGroupsGroupInitContainerVolumeMount

The list of volumes mounted to the container.

WorkingDir string

The working directory of the container.

args List<String>

The arguments passed to the commands.

commands List<String>

The commands run by the container.

cpu Double

The amount of CPU resources allocated to the container.

environmentVars List<GetContainerGroupsGroupInitContainerEnvironmentVar>

The environment variables.

gpu Integer

The amount of GPU resources allocated to the container.

image String

The image of the container.

imagePullPolicy String

The policy for pulling an image.

memory Double

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<GetContainerGroupsGroupInitContainerPort>

The exposed ports and protocols. Maximum: 100.

ready Boolean

Indicates whether the container is ready.

restartCount Integer

The number of times that the container has restarted.

volumeMounts List<GetContainerGroupsGroupInitContainerVolumeMount>

The list of volumes mounted to the container.

workingDir String

The working directory of the container.

args string[]

The arguments passed to the commands.

commands string[]

The commands run by the container.

cpu number

The amount of CPU resources allocated to the container.

environmentVars GetContainerGroupsGroupInitContainerEnvironmentVar[]

The environment variables.

gpu number

The amount of GPU resources allocated to the container.

image string

The image of the container.

imagePullPolicy string

The policy for pulling an image.

memory number

The amount of memory resources allocated to the container group.

name string

The name of the volume.

ports GetContainerGroupsGroupInitContainerPort[]

The exposed ports and protocols. Maximum: 100.

ready boolean

Indicates whether the container is ready.

restartCount number

The number of times that the container has restarted.

volumeMounts GetContainerGroupsGroupInitContainerVolumeMount[]

The list of volumes mounted to the container.

workingDir string

The working directory of the container.

args Sequence[str]

The arguments passed to the commands.

commands Sequence[str]

The commands run by the container.

cpu float

The amount of CPU resources allocated to the container.

environment_vars Sequence[GetContainerGroupsGroupInitContainerEnvironmentVar]

The environment variables.

gpu int

The amount of GPU resources allocated to the container.

image str

The image of the container.

image_pull_policy str

The policy for pulling an image.

memory float

The amount of memory resources allocated to the container group.

name str

The name of the volume.

ports Sequence[GetContainerGroupsGroupInitContainerPort]

The exposed ports and protocols. Maximum: 100.

ready bool

Indicates whether the container is ready.

restart_count int

The number of times that the container has restarted.

volume_mounts Sequence[GetContainerGroupsGroupInitContainerVolumeMount]

The list of volumes mounted to the container.

working_dir str

The working directory of the container.

args List<String>

The arguments passed to the commands.

commands List<String>

The commands run by the container.

cpu Number

The amount of CPU resources allocated to the container.

environmentVars List<Property Map>

The environment variables.

gpu Number

The amount of GPU resources allocated to the container.

image String

The image of the container.

imagePullPolicy String

The policy for pulling an image.

memory Number

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<Property Map>

The exposed ports and protocols. Maximum: 100.

ready Boolean

Indicates whether the container is ready.

restartCount Number

The number of times that the container has restarted.

volumeMounts List<Property Map>

The list of volumes mounted to the container.

workingDir String

The working directory of the container.

GetContainerGroupsGroupInitContainerEnvironmentVar

Key string

The name of the variable.

Value string

The value of the variable.

Key string

The name of the variable.

Value string

The value of the variable.

key String

The name of the variable.

value String

The value of the variable.

key string

The name of the variable.

value string

The value of the variable.

key str

The name of the variable.

value str

The value of the variable.

key String

The name of the variable.

value String

The value of the variable.

GetContainerGroupsGroupInitContainerPort

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

port Integer

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

port number

The port number. Valid values: 1 to 65535.

protocol string

Valid values: TCP and UDP.

port int

The port number. Valid values: 1 to 65535.

protocol str

Valid values: TCP and UDP.

port Number

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

GetContainerGroupsGroupInitContainerVolumeMount

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default value: false.

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default value: false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default value: false.

mountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name string

The name of the volume.

readOnly boolean

Default value: false.

mount_path str

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name str

The name of the volume.

read_only bool

Default value: false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default value: false.

GetContainerGroupsGroupVolume

ConfigFileVolumeConfigFileToPaths List<Pulumi.AliCloud.Eci.Inputs.GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath>

The list of configuration file paths.

DiskVolumeDiskId string

The ID of DiskVolume.

DiskVolumeFsType string

The type of DiskVolume.

FlexVolumeDriver string

The name of the FlexVolume driver.

FlexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

FlexVolumeOptions string

The list of FlexVolume objects.

Name string

The name of the volume.

NfsVolumePath string

The path to the NFS volume.

NfsVolumeReadOnly bool

Default value: false.

NfsVolumeServer string

The address of the NFS server.

Type string

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

ConfigFileVolumeConfigFileToPaths []GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath

The list of configuration file paths.

DiskVolumeDiskId string

The ID of DiskVolume.

DiskVolumeFsType string

The type of DiskVolume.

FlexVolumeDriver string

The name of the FlexVolume driver.

FlexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

FlexVolumeOptions string

The list of FlexVolume objects.

Name string

The name of the volume.

NfsVolumePath string

The path to the NFS volume.

NfsVolumeReadOnly bool

Default value: false.

NfsVolumeServer string

The address of the NFS server.

Type string

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

configFileVolumeConfigFileToPaths List<GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath>

The list of configuration file paths.

diskVolumeDiskId String

The ID of DiskVolume.

diskVolumeFsType String

The type of DiskVolume.

flexVolumeDriver String

The name of the FlexVolume driver.

flexVolumeFsType String

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions String

The list of FlexVolume objects.

name String

The name of the volume.

nfsVolumePath String

The path to the NFS volume.

nfsVolumeReadOnly Boolean

Default value: false.

nfsVolumeServer String

The address of the NFS server.

type String

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

configFileVolumeConfigFileToPaths GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath[]

The list of configuration file paths.

diskVolumeDiskId string

The ID of DiskVolume.

diskVolumeFsType string

The type of DiskVolume.

flexVolumeDriver string

The name of the FlexVolume driver.

flexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions string

The list of FlexVolume objects.

name string

The name of the volume.

nfsVolumePath string

The path to the NFS volume.

nfsVolumeReadOnly boolean

Default value: false.

nfsVolumeServer string

The address of the NFS server.

type 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 Sequence[GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath]

The list of configuration file paths.

disk_volume_disk_id str

The ID of DiskVolume.

disk_volume_fs_type str

The type of DiskVolume.

flex_volume_driver str

The name of the FlexVolume driver.

flex_volume_fs_type str

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flex_volume_options str

The list of FlexVolume objects.

name str

The name of the volume.

nfs_volume_path str

The path to the NFS volume.

nfs_volume_read_only bool

Default value: false.

nfs_volume_server str

The address of the NFS server.

type str

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

configFileVolumeConfigFileToPaths List<Property Map>

The list of configuration file paths.

diskVolumeDiskId String

The ID of DiskVolume.

diskVolumeFsType String

The type of DiskVolume.

flexVolumeDriver String

The name of the FlexVolume driver.

flexVolumeFsType String

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions String

The list of FlexVolume objects.

name String

The name of the volume.

nfsVolumePath String

The path to the NFS volume.

nfsVolumeReadOnly Boolean

Default value: false.

nfsVolumeServer String

The address of the NFS server.

type String

The type of the volume. Currently, the following types of volumes are supported: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

GetContainerGroupsGroupVolumeConfigFileVolumeConfigFileToPath

Content string

The content of the configuration file. Maximum size: 32 KB.

Path string

The relative file path.

Content string

The content of the configuration file. Maximum size: 32 KB.

Path string

The relative file path.

content String

The content of the configuration file. Maximum size: 32 KB.

path String

The relative file path.

content string

The content of the configuration file. Maximum size: 32 KB.

path string

The relative file path.

content str

The content of the configuration file. Maximum size: 32 KB.

path str

The relative file path.

content String

The content of the configuration file. Maximum size: 32 KB.

path 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.