Skip to main content

connections_in_groups

Creates, updates, deletes, gets or lists a connections_in_groups resource.

Overview

Nameconnections_in_groups
TypeResource
Idazure.messaging_webpubsubservice.connections_in_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connectionIdstringConnection Id. Required.
userIdstringUser Id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_connections_in_groupselectgroup_name, hub, endpointmaxpagesize, top, continuationTokenList connections in a group. List connections in a group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
group_namestringTarget group name, whose length should be greater than 0 and less than 1025. Required.
hubstring
continuationTokenstringA token that allows the client to retrieve the next page of results. This parameter is provided by the service in the response of a previous request when there are additional results to be fetched. Clients should include the continuationToken in the next request to receive the subsequent page of data. If this parameter is omitted, the server will return the first page of results. Default value is None.
maxpagesizeinteger
topintegerThe maximum number of connections to return. If the value is not set, then all the connections in a group are returned. Default value is None.

SELECT examples

List connections in a group. List connections in a group.

SELECT
connectionId,
userId
FROM azure.messaging_webpubsubservice.connections_in_groups
WHERE group_name = '{{ group_name }}' -- required
AND hub = '{{ hub }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND maxpagesize = '{{ maxpagesize }}'
AND top = '{{ top }}'
AND continuationToken = '{{ continuationToken }}'
;