Namespaces - Get

指定した名前空間の説明を取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}?api-version=2026-01-01

URI パラメーター

Name / 必須 型 説明
namespaceName
path True

string

minLength: 6
maxLength: 50
pattern: ^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$

名前空間名

resourceGroupName
path True

string

minLength: 1
maxLength: 90

リソース グループの名前。 名前の大文字と小文字は区別されません。

subscriptionId
path True

string

minLength: 1

ターゲット サブスクリプションの ID。

api-version
query True

string

minLength: 1

この操作に使用する API バージョン。

応答

Name 型 説明
200 OK

EHNamespace

Azureの運用は無事に完了しました。

Other Status Codes

ErrorResponse

予期しないエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

Name 説明
user_impersonation ユーザー アカウントを偽装する

例

NameSpaceGet

要求のサンプル

GET https://management.azure.com/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample?api-version=2026-01-01

応答のサンプル

{
  "name": "NamespaceSample",
  "type": "Microsoft.EventHub/Namespaces",
  "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample",
  "identity": {
    "type": "SystemAssigned, UserAssigned",
    "principalId": "PrincipalIdGUID",
    "tenantId": "TenantIdGUID",
    "userAssignedIdentities": {
      "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": {
        "clientId": "ClientIdGUID",
        "principalId": "PrincipalIdGUID"
      },
      "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": {
        "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc",
        "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5"
      }
    }
  },
  "location": "East US",
  "properties": {
    "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test",
    "createdAt": "2021-01-30T00:28:38.963Z",
    "disableLocalAuth": false,
    "encryption": {
      "keySource": "Microsoft.KeyVault",
      "keyVaultProperties": [
        {
          "identity": {
            "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1"
          },
          "keyName": "Samplekey",
          "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net",
          "keyVersion": ""
        }
      ],
      "requireInfrastructureEncryption": false
    },
    "isAutoInflateEnabled": false,
    "maximumThroughputUnits": 0,
    "metricId": "MetricGUID:NamespaceSample",
    "minimumTlsVersion": "1.2",
    "platformCapabilities": {
      "confidentialCompute": {
        "mode": "Disabled"
      }
    },
    "privateEndpointConnections": [
      {
        "name": "privateEndpointConnectionName",
        "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections",
        "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample/privateEndpointConnections/privateEndpointConnectionName",
        "properties": {
          "privateEndpoint": {
            "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.Network/privateEndpoints/NamespaceSample"
          },
          "privateLinkServiceConnectionState": {
            "description": "Auto-Approved",
            "status": "Approved"
          },
          "provisioningState": "Succeeded"
        }
      }
    ],
    "provisioningState": "Succeeded",
    "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443",
    "updatedAt": "2021-01-30T00:30:55.143Z",
    "zoneRedundant": false
  },
  "sku": {
    "name": "Standard",
    "capacity": 1,
    "tier": "Standard"
  },
  "tags": {}
}

定義

Name 説明
ConfidentialCompute
ConnectionState

ConnectionState 情報。

createdByType

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

EHNamespace

List または Get Operation の単一の名前空間項目

Encryption

暗号化を構成するプロパティ

EndPointProvisioningState

プライベート エンドポイント接続のプロビジョニング状態。

ErrorAdditionalInfo

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

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答は、Event Hub サービスが受信要求を処理できないことを示します。 エラー メッセージに理由が示されます。

GeoDataReplicationProperties

GeoDR レプリケーションのプロパティ

GeoDRRoleType

GeoDR ロールの種類

Identity

Bring Your Own KeysのIDを構成するプロパティ

IpAddressType

名前空間のIPアドレスタイプ。 名前空間がIPv4のみをサポートするか、IPv4とIPv6の両方をサポートするか(デュアルスタック)を決定します。

KeyVaultProperties

keyVault プロパティを構成するプロパティ

ManagedServiceIdentityType

マネージド サービス ID の種類。

Mode

Confidential Computeを有効または無効にする設定

NamespaceReplicaLocation

名前空間レプリケーションのプロパティ

PlatformCapabilities
PrivateEndpoint

PrivateEndpoint 情報。

PrivateEndpointConnection

PrivateEndpointConnection のプロパティ。

PrivateLinkConnectionStatus

接続の状態。

PublicNetworkAccess

これにより、パブリック ネットワーク経由でトラフィックが許可されるかどうかが決まります。 既定では有効になっています。

Sku

名前空間の作成操作に指定された SKU パラメーター

SkuName

この SKU の名前。

SkuTier

この特定の SKU の課金レベル。

systemData

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

TlsVersion

サポートするクラスターの最小 TLS バージョン (例: '1.2')

UserAssignedIdentity

認識されたディクショナリ値。

userAssignedIdentityProperties

ConfidentialCompute

Name 型 説明
mode

Mode

Confidential Computeを有効または無効にする設定

ConnectionState

ConnectionState 情報。

Name 型 説明
description

string

接続状態の説明。

status

PrivateLinkConnectionStatus

接続の状態。

createdByType

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

値 説明
User
Application
ManagedIdentity
Key

EHNamespace

List または Get Operation の単一の名前空間項目

Name 型 規定値 説明
id

string

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

identity

Identity

BYOK ID の説明のプロパティ

location

string

リソースの場所。

name

string

リソースの名前

properties.alternateName

string

別名と名前空間名が同じ場合に指定される代替名。

properties.clusterArmId

string

名前空間のクラスター ARM ID。

properties.createdAt

string (date-time)

名前空間が作成された時刻。

properties.disableLocalAuth

boolean

このプロパティは、Event Hubs 名前空間の SAS 認証を無効にします。

properties.encryption

Encryption

BYOK 暗号化の説明のプロパティ

properties.geoDataReplication

GeoDataReplicationProperties

名前空間の geo データ レプリケーション設定

properties.ipAddressType

IpAddressType

名前空間のIPアドレスタイプ。 名前空間がIPv4のみをサポートするか、IPv4とIPv6の両方をサポートするか(デュアルスタック)を決定します。

properties.isAutoInflateEnabled

boolean

Eventhub 名前空間に対して AutoInflate が有効かどうかを示す値。

properties.kafkaEnabled

boolean

Kafka が eventhub 名前空間に対して有効になっているかどうかを示す値。

properties.maximumThroughputUnits

integer (int32)

minimum: 0

AutoInflate が有効な場合のスループット ユニットの上限。値は 0 ~ 20 スループット ユニット以内にする必要があります。 ( AutoInflateEnabled = true の場合は '0' )

properties.metricId

string

Azure Insights メトリックの識別子。

properties.minimumTlsVersion

TlsVersion

サポートするクラスターの最小 TLS バージョン (例: '1.2')

properties.platformCapabilities

PlatformCapabilities

properties.privateEndpointConnections

PrivateEndpointConnection[]

プライベート エンドポイント接続の一覧。

properties.provisioningState

string

名前空間のプロビジョニング状態。

properties.publicNetworkAccess

PublicNetworkAccess

Enabled

これにより、パブリック ネットワーク経由でトラフィックが許可されるかどうかが決まります。 既定では有効になっています。

properties.serviceBusEndpoint

string

Service Bus 操作の実行に使用できるエンドポイント。

properties.status

string

名前空間の状態。

properties.updatedAt

string (date-time)

名前空間が更新された時刻。

properties.zoneRedundant

boolean

このプロパティを有効にすると、サポートされている可用性ゾーンのリージョンに Standard Event Hubs 名前空間が作成されます。

sku

Sku

SKU リソースのプロパティ

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソース タグ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

Encryption

暗号化を構成するプロパティ

Name 型 規定値 説明
keySource enum:

Microsoft.KeyVault

Microsoft.KeyVault

暗号化の keySource の使用可能な値を列挙します。

keyVaultProperties

KeyVaultProperties[]

KeyVault のプロパティ

requireInfrastructureEncryption

boolean

インフラストラクチャ暗号化を有効にする (二重暗号化)

EndPointProvisioningState

プライベート エンドポイント接続のプロビジョニング状態。

値 説明
Creating
Updating
Deleting
Succeeded
Canceled
Failed

ErrorAdditionalInfo

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

Name 型 説明
info

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

Name 型 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答は、Event Hub サービスが受信要求を処理できないことを示します。 エラー メッセージに理由が示されます。

Name 型 説明
error

ErrorDetail

エラー オブジェクト。

GeoDataReplicationProperties

GeoDR レプリケーションのプロパティ

Name 型 説明
locations

NamespaceReplicaLocation[]

名前空間のレプリカが保持されているリージョンの一覧。

maxReplicationLagDurationInSeconds

integer (int32)

プライマリ レプリカからセカンダリ レプリカのクォーラムへのデータ レプリケーション操作に許容される最大ラグ。 ラグが構成された量を超えると、プライマリ レプリカに対する操作は失敗します。 使用できる値は 0 と 5 分から 1 日です。

GeoDRRoleType

GeoDR ロールの種類

値 説明
Primary
Secondary

Identity

Bring Your Own KeysのIDを構成するプロパティ

Name 型 説明
principalId

string

KeyVault の ObjectId

tenantId

string

KeyVault の TenantId

type

ManagedServiceIdentityType

マネージド サービス ID の種類。

userAssignedIdentities

<string,  UserAssignedIdentity>

ユーザー割り当て ID のプロパティ

IpAddressType

名前空間のIPアドレスタイプ。 名前空間がIPv4のみをサポートするか、IPv4とIPv6の両方をサポートするか(デュアルスタック)を決定します。

値 説明
IPv4

名前空間はIPv4アドレスのみをサポートしています。

DualStack

この名前空間はIPv4アドレスとIPv6アドレスの両方(デュアルスタック)をサポートしています。

KeyVaultProperties

keyVault プロパティを構成するプロパティ

Name 型 説明
identity

userAssignedIdentityProperties

keyName

string

KeyVault からのキーの名前

keyVaultUri

string

KeyVault の URI

keyVersion

string

キー のバージョン

ManagedServiceIdentityType

マネージド サービス ID の種類。

値 説明
SystemAssigned
UserAssigned
SystemAssigned, UserAssigned
None

Mode

Confidential Computeを有効または無効にする設定

値 説明
Disabled
Enabled

NamespaceReplicaLocation

名前空間レプリケーションのプロパティ

Name 型 説明
clusterArmId

string

クラスターの ARM ID を示す省略可能なプロパティ。 これは、名前空間レプリカを専用イベント ハブ クラスターに配置する必要がある場合に必要です

locationName

string

名前空間のレプリカが維持されている Azure リージョン

replicaState

string

名前空間レプリカの状態。

roleType

GeoDRRoleType

GeoDR ロールの種類

PlatformCapabilities

Name 型 説明
confidentialCompute

ConfidentialCompute

PrivateEndpoint

PrivateEndpoint 情報。

Name 型 説明
id

string

プライベート エンドポイントの ARM 識別子。

PrivateEndpointConnection

PrivateEndpointConnection のプロパティ。

Name 型 説明
id

string

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

location

string

リソースが存在する地理的な場所

name

string

リソースの名前

properties.privateEndpoint

PrivateEndpoint

この接続のプライベート エンドポイント リソース。

properties.privateLinkServiceConnectionState

ConnectionState

接続の状態に関する詳細。

properties.provisioningState

EndPointProvisioningState

プライベート エンドポイント接続のプロビジョニング状態。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

PrivateLinkConnectionStatus

接続の状態。

値 説明
Pending
Approved
Rejected
Disconnected

PublicNetworkAccess

これにより、パブリック ネットワーク経由でトラフィックが許可されるかどうかが決まります。 既定では有効になっています。

値 説明
Enabled
Disabled
SecuredByPerimeter

Sku

名前空間の作成操作に指定された SKU パラメーター

Name 型 説明
capacity

integer (int32)

minimum: 0

Basic レベルまたは Standard レベルの Event Hubs スループット ユニット。値は 0 から 20 のスループット ユニットである必要があります。 Premium レベルの Event Hubs Premium ユニット。値は 0 から 10 の Premium ユニットである必要があります。

name

SkuName

この SKU の名前。

tier

SkuTier

この特定の SKU の課金レベル。

SkuName

この SKU の名前。

値 説明
Basic
Standard
Premium

SkuTier

この特定の SKU の課金レベル。

値 説明
Basic
Standard
Premium

systemData

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

Name 型 説明
createdAt

string (date-time)

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

createdBy

string

リソースを作成した ID。

createdByType

createdByType

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

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

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

lastModifiedByType

createdByType

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

TlsVersion

サポートするクラスターの最小 TLS バージョン (例: '1.2')

値 説明
1.0
1.1
1.2
1.3

UserAssignedIdentity

認識されたディクショナリ値。

Name 型 説明
clientId

string

ユーザー割り当て ID のクライアント ID

principalId

string

ユーザー割り当て ID のプリンシパル ID

userAssignedIdentityProperties

Name 型 説明
userAssignedIdentity

string

暗号化用に選択されたユーザー ID の ARM ID