GetDeployGroups

This data source provides a list of EDAS deploy groups in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.82.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var groups = Output.Create(AliCloud.Edas.GetDeployGroups.InvokeAsync(new AliCloud.Edas.GetDeployGroupsArgs
        {
            AppId = "xxx",
            Ids = 
            {
                "xxx",
            },
            OutputFile = "groups.txt",
        }));
        this.FirstGroupName = groups.Apply(groups => groups.Groups[0].GroupName);
    }

    [Output("firstGroupName")]
    public Output<string> FirstGroupName { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

groups = alicloud.edas.get_deploy_groups(app_id="xxx",
    ids=["xxx"],
    output_file="groups.txt")
pulumi.export("firstGroupName", groups.groups[0]["group_name"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const groups = alicloud.edas.getDeployGroups({
    appId: "xxx",
    ids: ["xxx"],
    outputFile: "groups.txt",
});
export const firstGroupName = groups.then(groups => groups.groups[0].groupName);

Using GetDeployGroups

function getDeployGroups(args: GetDeployGroupsArgs, opts?: InvokeOptions): Promise<GetDeployGroupsResult>
function  get_deploy_groups(app_id=None, name_regex=None, output_file=None, opts=None)
func GetDeployGroups(ctx *Context, args *GetDeployGroupsArgs, opts ...InvokeOption) (*GetDeployGroupsResult, error)
public static class GetDeployGroups {
    public static Task<GetDeployGroupsResult> InvokeAsync(GetDeployGroupsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

AppId string

ID of the EDAS application.

NameRegex string

A regex string to filter results by the deploy group name.

OutputFile string
AppId string

ID of the EDAS application.

NameRegex string

A regex string to filter results by the deploy group name.

OutputFile string
appId string

ID of the EDAS application.

nameRegex string

A regex string to filter results by the deploy group name.

outputFile string
app_id str

ID of the EDAS application.

name_regex str

A regex string to filter results by the deploy group name.

output_file str

GetDeployGroups Result

The following output properties are available:

AppId string

The ID of the application that you want to deploy.

Groups List<Pulumi.AliCloud.Edas.Outputs.GetDeployGroupsGroup>

A list of consumer group ids.

Id string

The provider-assigned unique ID for this managed resource.

Names List<string>

A list of deploy group names.

NameRegex string
OutputFile string
AppId string

The ID of the application that you want to deploy.

Groups []GetDeployGroupsGroup

A list of consumer group ids.

Id string

The provider-assigned unique ID for this managed resource.

Names []string

A list of deploy group names.

NameRegex string
OutputFile string
appId string

The ID of the application that you want to deploy.

groups GetDeployGroupsGroup[]

A list of consumer group ids.

id string

The provider-assigned unique ID for this managed resource.

names string[]

A list of deploy group names.

nameRegex string
outputFile string
app_id str

The ID of the application that you want to deploy.

groups List[GetDeployGroupsGroup]

A list of consumer group ids.

id str

The provider-assigned unique ID for this managed resource.

names List[str]

A list of deploy group names.

name_regex str
output_file str

Supporting Types

GetDeployGroupsGroup

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

AppId string

ID of the EDAS application.

AppVersionId string

The version of the deployment package for the application.

ClusterId string

The ID of the cluster that you want to create the application.

CreateTime int

The time when the instance group was created.

GroupId string

The ID of the instance group.

GroupName string

The name of the instance group. The length cannot exceed 64 characters.

GroupType int

The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

PackageVersionId string

The version of the deployment package for the instance group that was created.

UpdateTime int

The time when the instance group was updated.

AppId string

ID of the EDAS application.

AppVersionId string

The version of the deployment package for the application.

ClusterId string

The ID of the cluster that you want to create the application.

CreateTime int

The time when the instance group was created.

GroupId string

The ID of the instance group.

GroupName string

The name of the instance group. The length cannot exceed 64 characters.

GroupType int

The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

PackageVersionId string

The version of the deployment package for the instance group that was created.

UpdateTime int

The time when the instance group was updated.

appId string

ID of the EDAS application.

appVersionId string

The version of the deployment package for the application.

clusterId string

The ID of the cluster that you want to create the application.

createTime number

The time when the instance group was created.

groupId string

The ID of the instance group.

groupName string

The name of the instance group. The length cannot exceed 64 characters.

groupType number

The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

packageVersionId string

The version of the deployment package for the instance group that was created.

updateTime number

The time when the instance group was updated.

appVersionId str

The version of the deployment package for the application.

app_id str

ID of the EDAS application.

cluster_id str

The ID of the cluster that you want to create the application.

create_time float

The time when the instance group was created.

group_id str

The ID of the instance group.

group_name str

The name of the instance group. The length cannot exceed 64 characters.

group_type float

The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

packageVersionId str

The version of the deployment package for the instance group that was created.

update_time float

The time when the instance group was updated.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.