Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi
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
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);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.eci.get_container_groups(ids=["example_value"])
pulumi.export("firstEciContainerGroupId", example.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
})
}
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 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()));
}
}
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, 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]
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)
public static Output<GetContainerGroupsResult> getContainerGroups(GetContainerGroupsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:eci/getContainerGroups:getContainerGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Container
Group Name Changes to this property will trigger replacement.
- The name of ContainerGroup.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- Limit
Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Container Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group Id Changes to this property will trigger replacement.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- Dictionary<string, string>
- Vswitch
Id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- With
Event Changes to this property will trigger replacement.
- Zone
Id Changes to this property will trigger replacement.
- 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.
- The name of ContainerGroup.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- Limit
Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Container Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group Id Changes to this property will trigger replacement.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- map[string]string
- Vswitch
Id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- With
Event Changes to this property will trigger replacement.
- Zone
Id Changes to this property will trigger replacement.
- 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.
- The name of ContainerGroup.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- limit
Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Container Group name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- Map<String,String>
- vswitch
Id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- with
Event Changes to this property will trigger replacement.
- zone
Id Changes to this property will trigger replacement.
- 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.
- The name of ContainerGroup.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- limit
Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Container Group name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- {[key: string]: string}
- vswitch
Id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- with
Event Changes to this property will trigger replacement.
- zone
Id Changes to this property will trigger replacement.
- 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.
- The name of ContainerGroup.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- limit
Changes to this property will trigger replacement.
- 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.
- 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.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- Mapping[str, str]
- vswitch_
id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- with_
event Changes to this property will trigger replacement.
- zone_
id Changes to this property will trigger replacement.
- 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.
- The name of ContainerGroup.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Container Group IDs.
- limit
Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Container Group name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group Id Changes to this property will trigger replacement.
- 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.
- The status list. For more information, see the description of ContainerGroup arrays.
- Map<String>
- vswitch
Id Changes to this property will trigger replacement.
- The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
- with
Event Changes to this property will trigger replacement.
- zone
Id Changes to this property will trigger replacement.
- 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.
Ali Cloud. Eci. Outputs. Get Container Groups Group> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Container
Group stringName - Enable
Details bool - Limit int
- Name
Regex string - Output
File string - Resource
Group stringId - Status string
- Dictionary<string, string>
- Vswitch
Id string - With
Event bool - Zone
Id string
- Groups
[]Get
Container Groups Group - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Container
Group stringName - Enable
Details bool - Limit int
- Name
Regex string - Output
File string - Resource
Group stringId - Status string
- map[string]string
- Vswitch
Id string - With
Event bool - Zone
Id string
- groups
List<Get
Container Groups Group> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- container
Group StringName - enable
Details Boolean - limit Integer
- name
Regex String - output
File String - resource
Group StringId - status String
- Map<String,String>
- vswitch
Id String - with
Event Boolean - zone
Id String
- groups
Get
Container Groups Group[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- container
Group stringName - enable
Details boolean - limit number
- name
Regex string - output
File string - resource
Group stringId - status string
- {[key: string]: string}
- vswitch
Id string - with
Event boolean - zone
Id string
- groups
Sequence[Get
Container Groups Group] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- container_
group_ strname - enable_
details bool - limit int
- name_
regex str - output_
file str - resource_
group_ strid - status str
- 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>
- container
Group StringName - enable
Details Boolean - limit Number
- name
Regex String - output
File String - resource
Group StringId - status String
- Map<String>
- vswitch
Id String - with
Event Boolean - zone
Id String
Supporting Types
GetContainerGroupsGroup
- Container
Group Id This property is required. string - The id if ContainerGroup.
- Container
Group Name This property is required. string - The name of ContainerGroup.
- Containers
This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Container> - 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 - Dns
Configs This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Dns Config> - The DNS settings.
- Eci
Security Contexts This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Eci Security Context> - The security context of the container group.
- Eni
Instance Id This property is required. string - The ID of the ENI instance.
- Events
This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Event> - The events of the container group. Maximum:
50
. - Expired
Time 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.
- Failed
Time This property is required. string - The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
- Host
Aliases This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Host Alias> - 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.
- Init
Containers This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Init Container> - A list of init containers. Each element contains the following attributes:
- Instance
Type This property is required. string - The type of the ECS instance.
- Internet
Ip This property is required. string - The public IP address of the container group.
- Intranet
Ip 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.
- Ram
Role Name This property is required. string - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group Id 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.
- Restart
Policy This property is required. string - The restart policy of the container group.
- Security
Group Id This property is required. string - The ID of the security group.
- Status
This property is required. string - The status of container.
- Succeeded
Time 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.
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.Ali Cloud. Eci. Inputs. Get Container Groups Group Volume> - The information about the mounted volume. You can mount up to 20 volumes.
- Vpc
Id This property is required. string - The if of vpc.
- Vswitch
Id This property is required. string - The vswitch id.
- Zone
Id 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. string - The id if ContainerGroup.
- Container
Group Name This property is required. string - The name of ContainerGroup.
- Containers
This property is required. []GetContainer Groups Group Container - 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 - Dns
Configs This property is required. []GetContainer Groups Group Dns Config - The DNS settings.
- Eci
Security Contexts This property is required. []GetContainer Groups Group Eci Security Context - The security context of the container group.
- Eni
Instance Id This property is required. string - The ID of the ENI instance.
- Events
This property is required. []GetContainer Groups Group Event - The events of the container group. Maximum:
50
. - Expired
Time 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.
- Failed
Time This property is required. string - The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
- Host
Aliases This property is required. []GetContainer Groups Group Host Alias - 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.
- Init
Containers This property is required. []GetContainer Groups Group Init Container - A list of init containers. Each element contains the following attributes:
- Instance
Type This property is required. string - The type of the ECS instance.
- Internet
Ip This property is required. string - The public IP address of the container group.
- Intranet
Ip 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.
- Ram
Role Name This property is required. string - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group Id 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.
- Restart
Policy This property is required. string - The restart policy of the container group.
- Security
Group Id This property is required. string - The ID of the security group.
- Status
This property is required. string - The status of container.
- Succeeded
Time 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.
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. []GetContainer Groups Group Volume - The information about the mounted volume. You can mount up to 20 volumes.
- Vpc
Id This property is required. string - The if of vpc.
- Vswitch
Id This property is required. string - The vswitch id.
- Zone
Id 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. String - The id if ContainerGroup.
- container
Group Name This property is required. String - The name of ContainerGroup.
- containers
This property is required. List<GetContainer Groups Group Container> - 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 - dns
Configs This property is required. List<GetContainer Groups Group Dns Config> - The DNS settings.
- eci
Security Contexts This property is required. List<GetContainer Groups Group Eci Security Context> - The security context of the container group.
- eni
Instance Id This property is required. String - The ID of the ENI instance.
- events
This property is required. List<GetContainer Groups Group Event> - The events of the container group. Maximum:
50
. - expired
Time 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.
- failed
Time This property is required. String - The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
- host
Aliases This property is required. List<GetContainer Groups Group Host Alias> - 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.
- init
Containers This property is required. List<GetContainer Groups Group Init Container> - A list of init containers. Each element contains the following attributes:
- instance
Type This property is required. String - The type of the ECS instance.
- internet
Ip This property is required. String - The public IP address of the container group.
- intranet
Ip 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.
- ram
Role Name This property is required. String - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group Id 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.
- restart
Policy This property is required. String - The restart policy of the container group.
- security
Group Id This property is required. String - The ID of the security group.
- status
This property is required. String - The status of container.
- succeeded
Time 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.
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<GetContainer Groups Group Volume> - The information about the mounted volume. You can mount up to 20 volumes.
- vpc
Id This property is required. String - The if of vpc.
- vswitch
Id This property is required. String - The vswitch id.
- zone
Id 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. string - The id if ContainerGroup.
- container
Group Name This property is required. string - The name of ContainerGroup.
- containers
This property is required. GetContainer Groups Group Container[] - 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 - dns
Configs This property is required. GetContainer Groups Group Dns Config[] - The DNS settings.
- eci
Security Contexts This property is required. GetContainer Groups Group Eci Security Context[] - The security context of the container group.
- eni
Instance Id This property is required. string - The ID of the ENI instance.
- events
This property is required. GetContainer Groups Group Event[] - The events of the container group. Maximum:
50
. - expired
Time 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.
- failed
Time This property is required. string - The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
- host
Aliases This property is required. GetContainer Groups Group Host Alias[] - 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.
- init
Containers This property is required. GetContainer Groups Group Init Container[] - A list of init containers. Each element contains the following attributes:
- instance
Type This property is required. string - The type of the ECS instance.
- internet
Ip This property is required. string - The public IP address of the container group.
- intranet
Ip 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.
- ram
Role Name This property is required. string - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group Id 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.
- restart
Policy This property is required. string - The restart policy of the container group.
- security
Group Id This property is required. string - The ID of the security group.
- status
This property is required. string - The status of container.
- succeeded
Time 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.
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. GetContainer Groups Group Volume[] - The information about the mounted volume. You can mount up to 20 volumes.
- vpc
Id This property is required. string - The if of vpc.
- vswitch
Id This property is required. string - The vswitch id.
- zone
Id 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[GetContainer Groups Group Container] - 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[GetContainer Groups Group Dns Config] - The DNS settings.
- eci_
security_ contexts This property is required. Sequence[GetContainer Groups Group Eci Security Context] - 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[GetContainer Groups Group Event] - 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[GetContainer Groups Group Host Alias] - 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[GetContainer Groups Group Init Container] - 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.
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[GetContainer Groups Group Volume] - 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.
- container
Group Id This property is required. String - The id if ContainerGroup.
- container
Group Name 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 - dns
Configs This property is required. List<Property Map> - The DNS settings.
- eci
Security Contexts This property is required. List<Property Map> - The security context of the container group.
- eni
Instance Id 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
. - expired
Time 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.
- failed
Time This property is required. String - The time when the container failed to run tasks. The timestamp follows the UTC and RFC3339 formats.
- host
Aliases 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.
- init
Containers This property is required. List<Property Map> - A list of init containers. Each element contains the following attributes:
- instance
Type This property is required. String - The type of the ECS instance.
- internet
Ip This property is required. String - The public IP address of the container group.
- intranet
Ip 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.
- ram
Role Name This property is required. String - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group Id 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.
- restart
Policy This property is required. String - The restart policy of the container group.
- security
Group Id This property is required. String - The ID of the security group.
- status
This property is required. String - The status of container.
- succeeded
Time 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.
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.
- vpc
Id This property is required. String - The if of vpc.
- vswitch
Id This property is required. String - The vswitch id.
- zone
Id 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.
- Environment
Vars This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Container Environment Var> - 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.
- Image
Pull Policy 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.Ali Cloud. Eci. Inputs. Get Container Groups Group Container Port> - 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. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Container Volume Mount> - The list of volumes mounted to the container.
- Working
Dir 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.
- Environment
Vars This property is required. []GetContainer Groups Group Container Environment Var - 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.
- Image
Pull Policy 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. []GetContainer Groups Group Container Port - 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. []GetContainer Groups Group Container Volume Mount - The list of volumes mounted to the container.
- Working
Dir 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.
- environment
Vars This property is required. List<GetContainer Groups Group Container Environment Var> - 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.
- image
Pull Policy 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<GetContainer Groups Group Container Port> - The list of exposed ports and protocols. Maximum: 100.
- ready
This property is required. Boolean - Indicates whether the container is ready.
- restart
Count This property is required. Integer - The number of times that the container has restarted.
- volume
Mounts This property is required. List<GetContainer Groups Group Container Volume Mount> - The list of volumes mounted to the container.
- working
Dir 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.
- environment
Vars This property is required. GetContainer Groups Group Container Environment Var[] - 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.
- image
Pull Policy 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. GetContainer Groups Group Container Port[] - The list of exposed ports and protocols. Maximum: 100.
- ready
This property is required. boolean - Indicates whether the container is ready.
- restart
Count This property is required. number - The number of times that the container has restarted.
- volume
Mounts This property is required. GetContainer Groups Group Container Volume Mount[] - The list of volumes mounted to the container.
- working
Dir 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[GetContainer Groups Group Container Environment Var] - 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[GetContainer Groups Group Container Port] - 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[GetContainer Groups Group Container Volume Mount] - 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.
- environment
Vars 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.
- image
Pull Policy 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.
- restart
Count This property is required. Number - The number of times that the container has restarted.
- volume
Mounts This property is required. List<Property Map> - The list of volumes mounted to the container.
- working
Dir This property is required. String - The working directory of the container.
GetContainerGroupsGroupContainerEnvironmentVar
GetContainerGroupsGroupContainerPort
GetContainerGroupsGroupContainerVolumeMount
- Mount
Path 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.
- Read
Only This property is required. bool - Default value:
false
.
- Mount
Path 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.
- Read
Only This property is required. bool - Default value:
false
.
- mount
Path 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.
- read
Only This property is required. Boolean - Default value:
false
.
- mount
Path 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.
- read
Only 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
.
- mount
Path 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.
- read
Only This property is required. Boolean - Default value:
false
.
GetContainerGroupsGroupDnsConfig
- Name
Servers This property is required. List<string> - The list of DNS server IP addresses.
- Options
This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Dns Config Option> - 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.
- Name
Servers This property is required. []string - The list of DNS server IP addresses.
- Options
This property is required. []GetContainer Groups Group Dns Config Option - 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. List<String> - The list of DNS server IP addresses.
- options
This property is required. List<GetContainer Groups Group Dns Config Option> - 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.
- name
Servers This property is required. string[] - The list of DNS server IP addresses.
- options
This property is required. GetContainer Groups Group Dns Config Option[] - 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[GetContainer Groups Group Dns Config Option] - 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.
- name
Servers 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
GetContainerGroupsGroupEciSecurityContext
- Sysctls
This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Eci Security Context Sysctl> - The system information.
- Sysctls
This property is required. []GetContainer Groups Group Eci Security Context Sysctl - The system information.
- sysctls
This property is required. List<GetContainer Groups Group Eci Security Context Sysctl> - The system information.
- sysctls
This property is required. GetContainer Groups Group Eci Security Context Sysctl[] - The system information.
- sysctls
This property is required. Sequence[GetContainer Groups Group Eci Security Context Sysctl] - The system information.
- sysctls
This property is required. List<Property Map> - The system information.
GetContainerGroupsGroupEciSecurityContextSysctl
GetContainerGroupsGroupEvent
- Count
This property is required. int - The number of events.
- First
Timestamp This property is required. string - The time when the event started.
- Last
Timestamp 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. string - The time when the event started.
- Last
Timestamp 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.
- first
Timestamp This property is required. String - The time when the event started.
- last
Timestamp 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.
- first
Timestamp This property is required. string - The time when the event started.
- last
Timestamp 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.
- first
Timestamp This property is required. String - The time when the event started.
- last
Timestamp 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
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.
- Environment
Vars This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Init Container Environment Var> - 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.
- Image
Pull Policy 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.Ali Cloud. Eci. Inputs. Get Container Groups Group Init Container Port> - 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. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Init Container Volume Mount> - The list of volumes mounted to the container.
- Working
Dir 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.
- Environment
Vars This property is required. []GetContainer Groups Group Init Container Environment Var - 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.
- Image
Pull Policy 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. []GetContainer Groups Group Init Container Port - 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. []GetContainer Groups Group Init Container Volume Mount - The list of volumes mounted to the container.
- Working
Dir 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.
- environment
Vars This property is required. List<GetContainer Groups Group Init Container Environment Var> - 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.
- image
Pull Policy 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<GetContainer Groups Group Init Container Port> - The exposed ports and protocols. Maximum:
100
. - ready
This property is required. Boolean - Indicates whether the container is ready.
- restart
Count This property is required. Integer - The number of times that the container has restarted.
- volume
Mounts This property is required. List<GetContainer Groups Group Init Container Volume Mount> - The list of volumes mounted to the container.
- working
Dir 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.
- environment
Vars This property is required. GetContainer Groups Group Init Container Environment Var[] - 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.
- image
Pull Policy 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. GetContainer Groups Group Init Container Port[] - The exposed ports and protocols. Maximum:
100
. - ready
This property is required. boolean - Indicates whether the container is ready.
- restart
Count This property is required. number - The number of times that the container has restarted.
- volume
Mounts This property is required. GetContainer Groups Group Init Container Volume Mount[] - The list of volumes mounted to the container.
- working
Dir 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[GetContainer Groups Group Init Container Environment Var] - 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[GetContainer Groups Group Init Container Port] - 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[GetContainer Groups Group Init Container Volume Mount] - 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.
- environment
Vars 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.
- image
Pull Policy 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.
- restart
Count This property is required. Number - The number of times that the container has restarted.
- volume
Mounts This property is required. List<Property Map> - The list of volumes mounted to the container.
- working
Dir This property is required. String - The working directory of the container.
GetContainerGroupsGroupInitContainerEnvironmentVar
GetContainerGroupsGroupInitContainerPort
GetContainerGroupsGroupInitContainerVolumeMount
- Mount
Path 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.
- Read
Only This property is required. bool - Default value:
false
.
- Mount
Path 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.
- Read
Only This property is required. bool - Default value:
false
.
- mount
Path 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.
- read
Only This property is required. Boolean - Default value:
false
.
- mount
Path 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.
- read
Only 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
.
- mount
Path 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.
- read
Only This property is required. Boolean - Default value:
false
.
GetContainerGroupsGroupVolume
- Config
File Volume Config File To Paths This property is required. List<Pulumi.Ali Cloud. Eci. Inputs. Get Container Groups Group Volume Config File Volume Config File To Path> - The list of configuration file paths.
- Disk
Volume Disk Id This property is required. string - The ID of DiskVolume.
- Disk
Volume Fs Type This property is required. string - The type of DiskVolume.
- Flex
Volume Driver This property is required. string - The name of the FlexVolume driver.
- Flex
Volume Fs Type This property is required. string - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- Flex
Volume Options This property is required. string - The list of FlexVolume objects.
- Name
This property is required. string - The name of the volume.
- Nfs
Volume Path This property is required. string - 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. 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. []GetContainer Groups Group Volume Config File Volume Config File To Path - The list of configuration file paths.
- Disk
Volume Disk Id This property is required. string - The ID of DiskVolume.
- Disk
Volume Fs Type This property is required. string - The type of DiskVolume.
- Flex
Volume Driver This property is required. string - The name of the FlexVolume driver.
- Flex
Volume Fs Type This property is required. string - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- Flex
Volume Options This property is required. string - The list of FlexVolume objects.
- Name
This property is required. string - The name of the volume.
- Nfs
Volume Path This property is required. string - 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. 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. List<GetContainer Groups Group Volume Config File Volume Config File To Path> - The list of configuration file paths.
- disk
Volume Disk Id This property is required. String - The ID of DiskVolume.
- disk
Volume Fs Type This property is required. String - The type of DiskVolume.
- flex
Volume Driver This property is required. String - The name of the FlexVolume driver.
- flex
Volume Fs Type This property is required. String - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume Options This property is required. String - The list of FlexVolume objects.
- name
This property is required. String - The name of the volume.
- nfs
Volume Path This property is required. String - The path to the NFS volume.
- nfs
Volume Read Only This property is required. Boolean - Default value:
false
. - nfs
Volume Server 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. GetContainer Groups Group Volume Config File Volume Config File To Path[] - The list of configuration file paths.
- disk
Volume Disk Id This property is required. string - The ID of DiskVolume.
- disk
Volume Fs Type This property is required. string - The type of DiskVolume.
- flex
Volume Driver This property is required. string - The name of the FlexVolume driver.
- flex
Volume Fs Type This property is required. string - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume Options This property is required. string - The list of FlexVolume objects.
- name
This property is required. string - The name of the volume.
- nfs
Volume Path This property is required. string - The path to the NFS volume.
- nfs
Volume Read Only This property is required. boolean - Default value:
false
. - nfs
Volume Server 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[GetContainer Groups Group Volume Config File Volume Config File To Path] - 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.
- config
File Volume Config File To Paths This property is required. List<Property Map> - The list of configuration file paths.
- disk
Volume Disk Id This property is required. String - The ID of DiskVolume.
- disk
Volume Fs Type This property is required. String - The type of DiskVolume.
- flex
Volume Driver This property is required. String - The name of the FlexVolume driver.
- flex
Volume Fs Type This property is required. String - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume Options This property is required. String - The list of FlexVolume objects.
- name
This property is required. String - The name of the volume.
- nfs
Volume Path This property is required. String - The path to the NFS volume.
- nfs
Volume Read Only This property is required. Boolean - Default value:
false
. - nfs
Volume Server 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
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.