해지된 게시자 가져오기

지정된 Event Hub 내에서 취소된 모든 게시자를 검색합니다. [RevokedPublisherDescription 속성](/dotnet/api/microsoft.servicebus.messaging.revokedpublisherdescription을 참조하세요.

요청

메서드 요청 URI
GET https://{servicebusNamespace}.servicebus.windows.net/{eventHubPath}/revokedpublishers

요청 헤더

Event Hubs와 관련된 모든 요청에 사용되는 헤더 및 매개 변수에 대한 일반적인 매개 변수 및 헤더를 참조하세요.

응답

응답에는 HTTP 상태 코드, 응답 헤더 집합 및 응답 본문이 포함되어 있습니다.

요소 이름 필수 Type 버전 Description
속성 예, 읽기 전용 문자열 2014-01 해지된 게시자의 이름(ID)입니다.

응답 코드

코드 Description
200 성공.
401 인증 실패
500 내부 오류입니다.

응답 본문

요청이 성공하면 응답 본문에 쿼리된 이벤트 허브의 해지된 게시자에 대한 설명이 포함됩니다. 요청에 실패한 경우 본문에 오류 코드 및 오류 메시지가 포함됩니다.

예제

요청

참고

공통 매개 변수 및 헤더에 설명된 대로 권한 부여 헤더에 Azure Active Directory 토큰을 사용할 수도 있습니다. 예: Authorization: Bearer <Azure AD token>

GET https://your-namespace.servicebus.windows.net/your-event-hub/RevokedPublishers?timeout=60&api-version=2014-01 HTTP/1.1  
Authorization: SharedAccessSignature sr=https%3A%2F%2Fyour-namespace.servicebus.windows.net%2F&sig=your-sas-key&se=1455847106&skn=RootManageSharedAccessKey  
Content-Type: application/atom+xml;type=entry;charset=utf-8  
Host: your-namespace.servicebus.windows.net  
  

응답

HTTP/1.1 200 OK  
Content-Type: application/atom+xml;type=feed;charset=utf-8  
Server: Microsoft-HTTPAPI/2.0  
Date: Fri, 19 Feb 2016 03:36:27 GMT  
Content-Length: 1059  
  
<?xml version="1.0" encoding="UTF-8"?>  
<feed xmlns="http://www.w3.org/2005/Atom">  
   <title type="text">RevokedPublishers</title>  
   <id>https://your-namespace.servicebus.windows.net/your-event-hub/revokedpublishers?timeout=60&api-version=2014-01</id>  
   <updated>2016-02-19T03:36:28Z</updated>  
   <link rel="self" href="https://your-namespace.servicebus.windows.net/your-event-hub/revokedpublishers?timeout=60&api-version=2014-01" />  
   <entry xml:base="https://your-namespace.servicebus.windows.net/your-event-hub/revokedpublishers?timeout=60&api-version=2014-01">  
      <id>https://your-namespace.servicebus.windows.net/your-event-hub/revokedpublishers/?api-version=2014-01</id>  
      <title type="text">your-publisher</title>  
      <updated>2016-02-19T03:36:28Z</updated>  
      <link rel="self" href="revokedpublishers/?api-version=2014-01" />  
      <content type="application/xml">  
         <RevokedPublisherDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">  
            <Name>your-publisher</Name>  
         </RevokedPublisherDescription>  
      </content>  
   </entry>  
</feed>