Namespaces - Get
Mendapatkan deskripsi untuk namespace yang ditentukan.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}?api-version=2021-11-01
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
namespace
|
path | True |
|
Nama namespace |
|
resource
|
path | True |
|
Nama grup Sumber Daya dalam langganan Azure. |
|
subscription
|
path | True |
|
Info masuk langganan yang secara unik mengidentifikasi langganan Microsoft Azure. ID langganan membentuk bagian dari URI untuk setiap panggilan layanan. |
|
api-version
|
query | True |
|
Versi API klien. |
Respons
| Name | Type | Description |
|---|---|---|
| 200 OK |
Namespace berhasil dikembalikan. |
|
| Other Status Codes |
Respons kesalahan ServiceBus yang menjelaskan mengapa operasi gagal. |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
NameSpaceGet
Sample Request
GET https://management.azure.com/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924?api-version=2021-11-01
Sample Response
{
"sku": {
"name": "Standard",
"tier": "Standard"
},
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924",
"name": "sdk-Namespace-2924",
"type": "Microsoft.ServiceBus/Namespaces",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Succeeded",
"metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2924",
"createdAt": "2017-05-25T22:26:36.76Z",
"updatedAt": "2017-05-25T22:26:59.35Z",
"serviceBusEndpoint": "https://sdk-Namespace-2924.servicebus.windows-int.net:443/",
"disableLocalAuth": false,
"privateEndpointConnections": [
{
"id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample/privateEndpointConnections/privateEndpointConnectionName",
"name": "privateEndpointConnectionName",
"type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.Network/privateEndpoints/NamespaceSample"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved"
}
}
}
]
}
}
Definisi
|
Connection |
Informasi ConnectionState. |
|
created |
Jenis identitas yang membuat sumber daya. |
|
End |
Status provisi Koneksi Titik Akhir Privat. |
| Error |
Objek kesalahan. |
|
Error |
Info tambahan kesalahan manajemen sumber daya. |
|
Error |
Respons kesalahan manajemen sumber daya. |
|
key |
Menghitung kemungkinan nilai keySource untuk Enkripsi |
|
Key |
Properti untuk mengonfigurasi Properti keyVault |
|
Managed |
Jenis identitas layanan terkelola. |
|
Private |
Informasi PrivateEndpoint. |
|
Private |
Properti PrivateEndpointConnection. |
|
Private |
Status koneksi. |
| SBNamespace |
Deskripsi sumber daya namespace. |
| SBSku |
SKU namespace layanan. |
|
Sku |
Nama SKU ini. |
|
Sku |
Tingkat penagihan SKU khusus ini. |
|
system |
Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya. |
|
User |
Nilai Kamus yang Dikenali. |
ConnectionState
Informasi ConnectionState.
| Name | Type | Description |
|---|---|---|
| description |
|
Deskripsi status koneksi. |
| status |
Status koneksi. |
createdByType
Jenis identitas yang membuat sumber daya.
| Name | Type | Description |
|---|---|---|
| Application |
|
|
| Key |
|
|
| ManagedIdentity |
|
|
| User |
|
EndPointProvisioningState
Status provisi Koneksi Titik Akhir Privat.
| Name | Type | Description |
|---|---|---|
| Canceled |
|
|
| Creating |
|
|
| Deleting |
|
|
| Failed |
|
|
| Succeeded |
|
|
| Updating |
|
Error
Objek kesalahan.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
Info tambahan kesalahan. |
|
| code |
|
Kode kesalahan. |
| details |
Detail kesalahan. |
|
| message |
|
Pesan kesalahan. |
| target |
|
Target kesalahan. |
ErrorAdditionalInfo
Info tambahan kesalahan manajemen sumber daya.
| Name | Type | Description |
|---|---|---|
| info |
|
Info tambahan. |
| type |
|
Jenis info tambahan. |
ErrorResponse
Respons kesalahan manajemen sumber daya.
| Name | Type | Description |
|---|---|---|
| error |
Objek kesalahan. |
keySource
Menghitung kemungkinan nilai keySource untuk Enkripsi
| Name | Type | Description |
|---|---|---|
| Microsoft.KeyVault |
|
KeyVaultProperties
Properti untuk mengonfigurasi Properti keyVault
| Name | Type | Description |
|---|---|---|
| identity.userAssignedIdentity |
|
ID ARM identitas pengguna dipilih untuk enkripsi |
| keyName |
|
Nama Kunci dari KeyVault |
| keyVaultUri |
|
Uri dari KeyVault |
| keyVersion |
|
Versi KeyVault |
ManagedServiceIdentityType
Jenis identitas layanan terkelola.
| Name | Type | Description |
|---|---|---|
| None |
|
|
| SystemAssigned |
|
|
| SystemAssigned, UserAssigned |
|
|
| UserAssigned |
|
PrivateEndpoint
Informasi PrivateEndpoint.
| Name | Type | Description |
|---|---|---|
| id |
|
Pengidentifikasi ARM untuk Titik Akhir Privat. |
PrivateEndpointConnection
Properti PrivateEndpointConnection.
| Name | Type | Description |
|---|---|---|
| id |
|
ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
|
Lokasi geografis tempat sumber daya berada |
| name |
|
Nama sumber daya. |
| properties.privateEndpoint |
Sumber daya Titik Akhir Privat untuk Koneksi ini. |
|
| properties.privateLinkServiceConnectionState |
Detail tentang status koneksi. |
|
| properties.provisioningState |
Status provisi Koneksi Titik Akhir Privat. |
|
| systemData |
Data meta sistem yang berkaitan dengan sumber daya ini. |
|
| type |
|
Jenis sumber daya. Misalnya "Microsoft.EventHub/Namespaces" atau "Microsoft.EventHub/Namespaces/EventHubs" |
PrivateLinkConnectionStatus
Status koneksi.
| Name | Type | Description |
|---|---|---|
| Approved |
|
|
| Disconnected |
|
|
| Pending |
|
|
| Rejected |
|
SBNamespace
Deskripsi sumber daya namespace.
| Name | Type | Default Value | Description |
|---|---|---|---|
| id |
|
ID sumber daya |
|
| identity.principalId |
|
ObjectId dari KeyVault |
|
| identity.tenantId |
|
TenantId dari KeyVault |
|
| identity.type |
Jenis identitas layanan terkelola. |
||
| identity.userAssignedIdentities |
|
Properti untuk Identitas yang Ditetapkan Pengguna |
|
| location |
|
Lokasi geografis tempat sumber daya berada |
|
| name |
|
Nama sumber daya |
|
| properties.alternateName |
|
Nama alternatif untuk namespace |
|
| properties.createdAt |
|
Waktu namespace dibuat |
|
| properties.disableLocalAuth |
|
Properti ini menonaktifkan autentikasi SAS untuk namespace Bus Layanan. |
|
| properties.encryption.keySource | Microsoft.KeyVault |
Menghitung kemungkinan nilai keySource untuk Enkripsi |
|
| properties.encryption.keyVaultProperties |
Properti KeyVault |
||
| properties.encryption.requireInfrastructureEncryption |
|
Aktifkan Enkripsi Infrastruktur (Enkripsi Ganda) |
|
| properties.metricId |
|
Pengidentifikasi untuk metrik Azure Insights |
|
| properties.privateEndpointConnections |
Daftar koneksi titik akhir privat. |
||
| properties.provisioningState |
|
Status penyediaan namespace layanan. |
|
| properties.serviceBusEndpoint |
|
Titik akhir yang dapat Anda gunakan untuk melakukan operasi Bus Layanan. |
|
| properties.status |
|
Status namespace layanan. |
|
| properties.updatedAt |
|
Waktu namespace diperbarui. |
|
| properties.zoneRedundant |
|
Mengaktifkan properti ini membuat namespace Premium Bus Layanan di wilayah yang didukung zona ketersediaan. |
|
| sku |
Properti SKU |
||
| systemData |
Data meta sistem yang berkaitan dengan sumber daya ini. |
||
| tags |
|
Tag sumber daya |
|
| type |
|
Jenis Sumber Daya |
SBSku
SKU namespace layanan.
| Name | Type | Description |
|---|---|---|
| capacity |
|
Unit olahpesan yang ditentukan untuk tingkatan. Untuk tingkat Premium, kapasitasnya adalah 1,2 dan 4. |
| name |
Nama SKU ini. |
|
| tier |
Tingkat penagihan SKU khusus ini. |
SkuName
Nama SKU ini.
| Name | Type | Description |
|---|---|---|
| Basic |
|
|
| Premium |
|
|
| Standard |
|
SkuTier
Tingkat penagihan SKU khusus ini.
| Name | Type | Description |
|---|---|---|
| Basic |
|
|
| Premium |
|
|
| Standard |
|
systemData
Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.
| Name | Type | Description |
|---|---|---|
| createdAt |
|
Tanda waktu pembuatan sumber daya (UTC). |
| createdBy |
|
Identitas yang membuat sumber daya. |
| createdByType |
Jenis identitas yang membuat sumber daya. |
|
| lastModifiedAt |
|
Jenis identitas yang terakhir mengubah sumber daya. |
| lastModifiedBy |
|
Identitas yang terakhir mengubah sumber daya. |
| lastModifiedByType |
Jenis identitas yang terakhir mengubah sumber daya. |
UserAssignedIdentity
Nilai Kamus yang Dikenali.
| Name | Type | Description |
|---|---|---|
| clientId |
|
Id Klien identitas yang ditetapkan pengguna |
| principalId |
|
Id Utama identitas yang ditetapkan pengguna |