Iot Hub Resource - Get Event Hub Consumer Group

IoT hub'ı için Event Hub uyumlu cihazdan buluta uç noktasından bir tüketici grubu alın.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}?api-version=2018-04-01

URI Parametreleri

Name İçinde Gerekli Tür Description
eventHubEndpointName
path True

string

IoT hub'ında Event Hub ile uyumlu uç noktanın adı.

name
path True

string

Alınacak tüketici grubunun adı.

resourceGroupName
path True

string

IoT hub'ını içeren kaynak grubunun adı.

resourceName
path True

string

IoT hub'ının adı.

subscriptionId
path True

string

Abonelik tanımlayıcısı.

api-version
query True

string

API'nin sürümü.

Yanıtlar

Name Tür Description
200 OK

EventHubConsumerGroupInfo

Bu zaman uyumlu bir işlemdir. Gövde JSON serileştirilmiş bir tüketici grubu içerir.

Other Status Codes

ErrorDetails

DefaultErrorResponse

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

IotHubResource_ListEventHubConsumerGroups

Sample Request

GET https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub/eventHubEndpoints/events/ConsumerGroups/test?api-version=2018-04-01

Sample Response

{
  "properties": {
    "created": "Thu, 15 Jun 2017 19:20:58 GMT"
  },
  "id": "/subscriptions/cmd-sub-1/resourceGroups/cmd-rg-1/providers/Microsoft.Devices/IotHubs/test-hub-2/eventHubEndpoints/events/ConsumerGroups/%24Default",
  "name": "test",
  "type": "Microsoft.Devices/IotHubs/EventHubEndpoints/ConsumerGroups",
  "etag": "AAAAAAFD6M4="
}

Tanımlar

Name Description
ErrorDetails

Hata ayrıntıları.

EventHubConsumerGroupInfo

EventHubConsumerGroupInfo nesnesinin özellikleri.

ErrorDetails

Hata ayrıntıları.

Name Tür Description
code

string

Hata kodu.

details

string

Hata ayrıntıları.

httpStatusCode

string

HTTP durum kodu.

message

string

Hata iletisi.

EventHubConsumerGroupInfo

EventHubConsumerGroupInfo nesnesinin özellikleri.

Name Tür Description
etag

string

Etiket.

id

string

Event Hub uyumlu tüketici grubu tanımlayıcısı.

name

string

Event Hub uyumlu tüketici grubu adı.

properties

object

Etiketler.

type

string

kaynak türü.