Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.edas.getDeployGroups
Explore with Pulumi AI
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.edas.EdasFunctions;
import com.pulumi.alicloud.edas.inputs.GetDeployGroupsArgs;
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 groups = EdasFunctions.getDeployGroups(GetDeployGroupsArgs.builder()
            .appId("xxx")
            .ids("xxx")
            .outputFile("groups.txt")
            .build());
        ctx.export("firstGroupName", groups.applyValue(getDeployGroupsResult -> getDeployGroupsResult.groups()[0].groupName()));
    }
}
variables:
  groups:
    fn::invoke:
      function: alicloud:edas:getDeployGroups
      arguments:
        appId: xxx
        ids:
          - xxx
        outputFile: groups.txt
outputs:
  firstGroupName: ${groups.groups[0].groupName}
Using getDeployGroups
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 getDeployGroups(args: GetDeployGroupsArgs, opts?: InvokeOptions): Promise<GetDeployGroupsResult>
function getDeployGroupsOutput(args: GetDeployGroupsOutputArgs, opts?: InvokeOptions): Output<GetDeployGroupsResult>def get_deploy_groups(app_id: Optional[str] = None,
                      name_regex: Optional[str] = None,
                      output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDeployGroupsResult
def get_deploy_groups_output(app_id: Optional[pulumi.Input[str]] = None,
                      name_regex: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDeployGroupsResult]func GetDeployGroups(ctx *Context, args *GetDeployGroupsArgs, opts ...InvokeOption) (*GetDeployGroupsResult, error)
func GetDeployGroupsOutput(ctx *Context, args *GetDeployGroupsOutputArgs, opts ...InvokeOption) GetDeployGroupsResultOutput> Note: This function is named GetDeployGroups in the Go SDK.
public static class GetDeployGroups 
{
    public static Task<GetDeployGroupsResult> InvokeAsync(GetDeployGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetDeployGroupsResult> Invoke(GetDeployGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeployGroupsResult> getDeployGroups(GetDeployGroupsArgs args, InvokeOptions options)
public static Output<GetDeployGroupsResult> getDeployGroups(GetDeployGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:edas/getDeployGroups:getDeployGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- App
Id string - ID of the EDAS application.
 - Name
Regex string - A regex string to filter results by the deploy group name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- App
Id string - ID of the EDAS application.
 - Name
Regex string - A regex string to filter results by the deploy group name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- app
Id String - ID of the EDAS application.
 - name
Regex String - A regex string to filter results by the deploy group name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
- app
Id string - ID of the EDAS application.
 - name
Regex string - A regex string to filter results by the deploy group name.
 - output
File string - File name where to save data source results (after running 
pulumi preview). 
- 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 - File name where to save data source results (after running 
pulumi preview). 
- app
Id String - ID of the EDAS application.
 - name
Regex String - A regex string to filter results by the deploy group name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
getDeployGroups Result
The following output properties are available:
- App
Id string - The ID of the application that you want to deploy.
 - Groups
List<Pulumi.
Ali Cloud. Edas. Outputs. Get Deploy Groups Group>  - 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.
 - Name
Regex string - Output
File string 
- App
Id string - The ID of the application that you want to deploy.
 - Groups
[]Get
Deploy Groups Group  - 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.
 - Name
Regex string - Output
File string 
- app
Id String - The ID of the application that you want to deploy.
 - groups
List<Get
Deploy Groups Group>  - 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.
 - name
Regex String - output
File String 
- app
Id string - The ID of the application that you want to deploy.
 - groups
Get
Deploy Groups Group[]  - 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.
 - name
Regex string - output
File string 
- app_
id str - The ID of the application that you want to deploy.
 - groups
Sequence[Get
Deploy Groups Group]  - A list of consumer group ids.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - names Sequence[str]
 - A list of deploy group names.
 - name_
regex str - output_
file str 
- app
Id String - The ID of the application that you want to deploy.
 - groups List<Property Map>
 - 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.
 - name
Regex String - output
File String 
Supporting Types
GetDeployGroupsGroup   
- App
Id string - ID of the EDAS application.
 - App
Version stringId  - The version of the deployment package for the application.
 - Cluster
Id string - The ID of the cluster that you want to create the application.
 - Create
Time int - The time when the instance group was created.
 - Group
Id string - The ID of the instance group.
 - Group
Name string - The name of the instance group. The length cannot exceed 64 characters.
 - Group
Type 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.
 - Package
Version stringId  - The version of the deployment package for the instance group that was created.
 - Update
Time int - The time when the instance group was updated.
 
- App
Id string - ID of the EDAS application.
 - App
Version stringId  - The version of the deployment package for the application.
 - Cluster
Id string - The ID of the cluster that you want to create the application.
 - Create
Time int - The time when the instance group was created.
 - Group
Id string - The ID of the instance group.
 - Group
Name string - The name of the instance group. The length cannot exceed 64 characters.
 - Group
Type 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.
 - Package
Version stringId  - The version of the deployment package for the instance group that was created.
 - Update
Time int - The time when the instance group was updated.
 
- app
Id String - ID of the EDAS application.
 - app
Version StringId  - The version of the deployment package for the application.
 - cluster
Id String - The ID of the cluster that you want to create the application.
 - create
Time Integer - The time when the instance group was created.
 - group
Id String - The ID of the instance group.
 - group
Name String - The name of the instance group. The length cannot exceed 64 characters.
 - group
Type Integer - 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.
 - package
Version StringId  - The version of the deployment package for the instance group that was created.
 - update
Time Integer - The time when the instance group was updated.
 
- app
Id string - ID of the EDAS application.
 - app
Version stringId  - The version of the deployment package for the application.
 - cluster
Id string - The ID of the cluster that you want to create the application.
 - create
Time number - The time when the instance group was created.
 - group
Id string - The ID of the instance group.
 - group
Name string - The name of the instance group. The length cannot exceed 64 characters.
 - group
Type 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.
 - package
Version stringId  - The version of the deployment package for the instance group that was created.
 - update
Time number - The time when the instance group was updated.
 
- app_
id str - ID of the EDAS application.
 - app_
version_ strid  - The version of the deployment package for the application.
 - cluster_
id str - The ID of the cluster that you want to create the application.
 - create_
time int - 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 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.
 - package_
version_ strid  - The version of the deployment package for the instance group that was created.
 - update_
time int - The time when the instance group was updated.
 
- app
Id String - ID of the EDAS application.
 - app
Version StringId  - The version of the deployment package for the application.
 - cluster
Id String - The ID of the cluster that you want to create the application.
 - create
Time Number - The time when the instance group was created.
 - group
Id String - The ID of the instance group.
 - group
Name String - The name of the instance group. The length cannot exceed 64 characters.
 - group
Type 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.
 - package
Version StringId  - The version of the deployment package for the instance group that was created.
 - update
Time Number - The time when the instance group was updated.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.