Bagikan melalui


Get-AzEventHubNamespace

Mendapatkan deskripsi namespace yang ditentukan.

Sintaks

Get-AzEventHubNamespace
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzEventHubNamespace
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzEventHubNamespace
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzEventHubNamespace
   -InputObject <IEventHubIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Deskripsi

Mendapatkan deskripsi namespace yang ditentukan.

Contoh

Contoh 1: Mendapatkan namespace Layanan EventHub

Get-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace

AlternateName                   :
ClusterArmId                    :
CreatedAt                       : 11/17/2022 3:14:09 PM
DisableLocalAuth                : True
EnableAutoInflate               : True
Id                              : /subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/myNamespace
IdentityType                    :
KafkaEnabled                    : True
KeySource                       :
KeyVaultProperty                :
Location                        : South Central US
MaximumThroughputUnit           : 0
MetricId                        : 000000000000000:myNamespace
MinimumTlsVersion               : 1.2
Name                            : myNamespace
PrincipalId                     : 000000000000000000
PrivateEndpointConnection       :
ProvisioningState               : Succeeded
PublicNetworkAccess             : Enabled
RequireInfrastructureEncryption :
ResourceGroupName               : myResourceGroup
ServiceBusEndpoint              : https://myNamespace.servicebus.windows.net:443/
SkuCapacity                     : 1
SkuName                         : Standard
SkuTier                         : Standard
Status                          : Active
Tag                             : {
                                  }
TenantId                        : 00000000000
Type                            : Microsoft.EventHub/Namespaces
UpdatedAt                       : 11/17/2022 3:21:19 PM
UserAssignedIdentity            : {
                                  }
ZoneRedundant                   : True

Mendapatkan detail namespace myNamespace Layanan EventHub di grup myResourceGroupsumber daya .

Contoh 2: Mencantumkan semua namespace Layanan EventHub dalam grup sumber daya

Get-AzEventHubNamespace -ResourceGroupName myResourceGroup

Mencantumkan semua namespace Layanan EventHub di bawah grup myResourceGroupsumber daya .

Contoh 3: Mencantumkan semua namespace Layanan EventHub dalam langganan

Get-AzEventHubNamespace

Mencantumkan semua namespace Layanan EventHub dalam konteks langganan saat ini.

Parameter

-DefaultProfile

Parameter DefaultProfile tidak berfungsi. Gunakan parameter SubscriptionId saat tersedia jika menjalankan cmdlet terhadap langganan yang berbeda.

Jenis:PSObject
Alias:AzureRMContext, AzureCredential
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

-InputObject

Parameter Identitas

Jenis:IEventHubIdentity
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-Name

Nama Namespace

Jenis:String
Alias:NamespaceName
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:False
Terima karakter wildcard:False

-ResourceGroupName

Nama grup sumber daya dalam langganan azure.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:False
Terima karakter wildcard:False

-SubscriptionId

Kredensial langganan yang secara unik mengidentifikasi langganan Microsoft Azure. ID langganan membentuk bagian dari URI untuk setiap panggilan layanan.

Jenis:String[]
Position:Named
Nilai default:(Get-AzContext).Subscription.Id
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

Input

IEventHubIdentity

Output

IEhNamespace

Catatan

ALIAS

Get-AzEventHubNamespaceV2