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:
- Instance
Id string ID of the ONS Instance that owns the groups.
- Group
Id stringRegex A regex string to filter results by the group name.
- Output
File string
- Instance
Id string ID of the ONS Instance that owns the groups.
- Group
Id stringRegex A regex string to filter results by the group name.
- Output
File string
- instance
Id string ID of the ONS Instance that owns the groups.
- group
Id stringRegex A regex string to filter results by the group name.
- output
File string
- instance_
id str ID of the ONS Instance that owns the groups.
- group_
id_ strregex A regex string to filter results by the group name.
- output_
file str
GetGroups Result
The following output properties are available:
- Groups
List<Pulumi.
Ali Cloud. Rocket MQ. Outputs. Get Groups Group> 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.
- Instance
Id string - Group
Id stringRegex - Output
File string
- Groups
[]Get
Groups Group 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.
- Instance
Id string - Group
Id stringRegex - Output
File string
- groups
Get
Groups Group[] 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.
- instance
Id string - group
Id stringRegex - output
File string
- groups
List[Get
Groups Group] 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_ strregex - 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.
- Independent
Naming 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.
- Independent
Naming 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.
- independent
Naming 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.
- independent
Naming 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
alicloudTerraform Provider.