Topics - List By Namespace

名前空間内のすべてのトピックを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics?api-version=2021-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics?api-version=2021-11-01&$skip={$skip}&$top={$top}

URI パラメーター

名前 / 必須 説明
namespaceName
path True

string

名前空間名

resourceGroupName
path True

string

Azure サブスクリプション内のリソース グループの名前。

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

api-version
query True

string

クライアント API バージョン。

$skip
query

integer

Skip は、前の操作で部分的な結果が返された場合にのみ使用されます。 前の応答に nextLink 要素が含まれている場合、nextLink 要素の値には、後続の呼び出しに使用する開始点を指定する skip パラメーターが含まれます。

$top
query

integer

結果の数を最新の N usageDetails に制限するために使用できます。

応答

名前 説明
200 OK

SBTopicListResult

トピックのリストの取得に成功しました。

Other Status Codes

ErrorResponse

操作が失敗した理由を説明する ServiceBus エラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

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

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

TopicGet

Sample Request

GET https://management.azure.com/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1617/topics?api-version=2021-11-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1617/topics/sdk-topics-5488",
      "name": "sdk-topics-5488",
      "type": "Microsoft.ServiceBus/Namespaces/Topics",
      "properties": {
        "defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",
        "maxSizeInMegabytes": 10240,
        "maxMessageSizeInKilobytes": 10240,
        "requiresDuplicateDetection": false,
        "duplicateDetectionHistoryTimeWindow": "PT10M",
        "enableBatchedOperations": true,
        "sizeInBytes": 0,
        "status": "Active",
        "supportOrdering": true,
        "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S",
        "enablePartitioning": false,
        "enableExpress": true,
        "createdAt": "2017-05-26T20:50:31.4442694Z",
        "updatedAt": "2017-05-26T20:52:32.2092264Z",
        "accessedAt": "0001-01-01T00:00:00Z",
        "subscriptionCount": 0
      }
    }
  ]
}

定義

名前 説明
createdByType

リソースを作成した ID の種類。

EntityStatus

エンティティの状態。

Error

error オブジェクト。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorResponse

リソース管理エラー応答。

MessageCountDetails

メッセージ数の詳細。

SBTopic

トピック リソースの説明。

SBTopicListResult

トピックの一覧表示操作に対する応答。

systemData

リソースの作成と最後の変更に関連するメタデータ。

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

EntityStatus

エンティティの状態。

名前 説明
Active

string

Creating

string

Deleting

string

Disabled

string

ReceiveDisabled

string

Renaming

string

Restoring

string

SendDisabled

string

Unknown

string

Error

error オブジェクト。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorResponse[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorResponse

リソース管理エラー応答。

名前 説明
error

Error

error オブジェクト。

MessageCountDetails

メッセージ数の詳細。

名前 説明
activeMessageCount

integer

キュー、トピック、またはサブスクリプション内のアクティブなメッセージの数。

deadLetterMessageCount

integer

配信不能メッセージの数。

scheduledMessageCount

integer

スケジュールされたメッセージの数。

transferDeadLetterMessageCount

integer

配信不能に転送されたメッセージの数。

transferMessageCount

integer

別のキュー、トピック、またはサブスクリプションに転送されたメッセージの数。

SBTopic

トピック リソースの説明。

名前 説明
id

string

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

リソースが保存されている地理的な場所

name

string

リソースの名前

properties.accessedAt

string

このトピックでメッセージが最後に送信されたとき、または要求を受信した時刻。

properties.autoDeleteOnIdle

string

ISO 8601 timespan アイドル間隔後、トピックは自動的に削除されます。 最小時間は、5 分です。

properties.countDetails

MessageCountDetails

メッセージ数の詳細

properties.createdAt

string

メッセージが作成された正確な時刻。

properties.defaultMessageTimeToLive

string

ISO 8601 メッセージの既定の期間をライブ値にします。 これは、メッセージが Service Bus に送信されてからメッセージが期限切れになるまでの期間です。 これは、メッセージ自体に TimeToLive が設定されていない場合に使用される既定値です。

properties.duplicateDetectionHistoryTimeWindow

string

重複検出履歴の期間を定義するタイムスパン構造をISO8601します。 既定値は 10 分です。

properties.enableBatchedOperations

boolean

サーバー側のバッチ処理操作が有効かどうかを示す値。

properties.enableExpress

boolean

Express Entities が有効かどうかを示す値。 高速トピックは、永続ストレージに書き込む前に、メッセージをメモリ内に一時的に保持します。

properties.enablePartitioning

boolean

複数のメッセージ ブローカー間でパーティション分割するトピックが有効かどうかを示す値。

properties.maxMessageSizeInKilobytes

integer

トピックで受け入れられるメッセージ ペイロードの最大サイズ (KB 単位)。 このプロパティは現在 Premium でのみ使用され、既定値は 1024 です。

properties.maxSizeInMegabytes

integer

トピックの最大サイズ (MB 単位)。 これは、トピックに割り当てられたメモリのサイズです。 既定値は 1024 です。

properties.requiresDuplicateDetection

boolean

このトピックで重複検出が必要かどうかを示す値。

properties.sizeInBytes

integer

トピックのサイズ (バイト単位)。

properties.status

EntityStatus

メッセージング エンティティの状態に使用できる値を列挙します。

properties.subscriptionCount

integer

サブスクリプションの数。

properties.supportOrdering

boolean

トピックが順序付けをサポートしているかどうかを示す値。

properties.updatedAt

string

メッセージが更新された正確な時刻。

systemData

systemData

このリソースに関連するシステム メタデータ。

type

string

リソースの型。 例: "Microsoft.EventHub/Namespaces" または "Microsoft.EventHub/Namespaces/EventHubs"

SBTopicListResult

トピックの一覧表示操作に対する応答。

名前 説明
nextLink

string

次の結果セットにリンクします。 Value にトピックの不完全な一覧が含まれている場合は空ではありません。

value

SBTopic[]

トピックの一覧表示操作の結果。

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースを最後に変更した ID の種類。

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。