GetGroups

This data source provides a list of ONS Groups in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.53.0+

Using GetGroups

function getGroups(args: GetGroupsArgs, opts?: InvokeOptions): Promise<GetGroupsResult>
function  get_groups(group_id_regex=None, instance_id=None, output_file=None, opts=None)
func GetGroups(ctx *Context, args *GetGroupsArgs, opts ...InvokeOption) (*GetGroupsResult, error)
public static class GetGroups {
    public static Task<GetGroupsResult> InvokeAsync(GetGroupsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

InstanceId string

ID of the ONS Instance that owns the groups.

GroupIdRegex string

A regex string to filter results by the group name.

OutputFile string
InstanceId string

ID of the ONS Instance that owns the groups.

GroupIdRegex string

A regex string to filter results by the group name.

OutputFile string
instanceId string

ID of the ONS Instance that owns the groups.

groupIdRegex string

A regex string to filter results by the group name.

outputFile string
instance_id str

ID of the ONS Instance that owns the groups.

group_id_regex str

A regex string to filter results by the group name.

output_file str

GetGroups Result

The following output properties are available:

Groups List<Pulumi.AliCloud.RocketMQ.Outputs.GetGroupsGroup>

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

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of group names.

InstanceId string
GroupIdRegex string
OutputFile string
Groups []GetGroupsGroup

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

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of group names.

InstanceId string
GroupIdRegex string
OutputFile string
groups GetGroupsGroup[]

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

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of group names.

instanceId string
groupIdRegex string
outputFile string
groups List[GetGroupsGroup]

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

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of group names.

instance_id str
group_id_regex str
output_file str

Supporting Types

GetGroupsGroup

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

The name of the group.

IndependentNaming bool

Indicates whether namespaces are available. Read Fields in SubscribeInfoDo for further details.

Owner string

The ID of the group owner, which is the Alibaba Cloud UID.

Remark string

Remark of the group.

Id string

The name of the group.

IndependentNaming bool

Indicates whether namespaces are available. Read Fields in SubscribeInfoDo for further details.

Owner string

The ID of the group owner, which is the Alibaba Cloud UID.

Remark string

Remark of the group.

id string

The name of the group.

independentNaming boolean

Indicates whether namespaces are available. Read Fields in SubscribeInfoDo for further details.

owner string

The ID of the group owner, which is the Alibaba Cloud UID.

remark string

Remark of the group.

id str

The name of the group.

independentNaming bool

Indicates whether namespaces are available. Read Fields in SubscribeInfoDo for further details.

owner str

The ID of the group owner, which is the Alibaba Cloud UID.

remark str

Remark of the group.

Package Details

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