Get-AzServiceBusNamespace
Mendapatkan deskripsi untuk namespace yang ditentukan.
Sintaks
Get-AzServiceBusNamespace
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzServiceBusNamespace
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzServiceBusNamespace
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzServiceBusNamespace
-InputObject <IServiceBusIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Deskripsi
Mendapatkan deskripsi untuk namespace yang ditentukan.
Contoh
Contoh 1: Mendapatkan deskripsi untuk namespace yang ditentukan.
$namespace = Get-AzServiceBusNamespace -ResourceGroupName myResourceGroup -Name myNamespace
AlternateName :
CreatedAt : 11/22/2022 4:15:58 PM
DisableLocalAuth : False
Id : /subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ServiceBus/namespaces/myNamespace
IdentityType : UserAssigned
KeySource : Microsoft.KeyVault
KeyVaultProperty : {{
"identity": {
"userAssignedIdentity": "/subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/use
rAssignedIdentities/myFirstIdentity"
},
"keyName": "key4",
"keyVaultUri": "https://testkeyvault.vault.azure.net",
"keyVersion": ""
}}
Location : East US
MetricId : 000000000000000:myNamespace
MinimumTlsVersion : 1.2
Name : myNamespace
PrincipalId :
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess : Enabled
RequireInfrastructureEncryption : False
ResourceGroupName : myResourceGroup
ServiceBusEndpoint : https://myNamespace.servicebus.windows.net:443/
SkuCapacity : 1
SkuName : Premium
SkuTier : Premium
Status : Active
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : {
}
TenantId :
Type : Microsoft.ServiceBus/Namespaces
UpdatedAt : 11/23/2022 7:14:58 AM
UserAssignedIdentity : {
"/subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity
/userAssignedIdentities/myThirdIdentity": {
},
"/subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity
/userAssignedIdentities/mySecondIdentity": {
},
"/subscriptions/000000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity
/userAssignedIdentities/myFirstIdentity": {
}
}
ZoneRedundant : False
Dapatkan deskripsi namespace layanan dari ResourceGroup.
Contoh 2: Mencantumkan semua namespace ServiceBus dalam grup sumber daya.
Get-AzServiceBusNamespace -ResourceGroupName myResourceGroup
Mencantumkan semua namespace ServiceBus di bawah grup myResourceGroup
sumber daya .
Contoh 3: Mencantumkan semua namespace ServiceBus dalam langganan
Get-AzServiceBusNamespace
Mencantumkan semua namespace ServiceBus dalam konteks langganan saat ini.
Parameter
-DefaultProfile
Parameter DefaultProfile tidak berfungsi. Gunakan parameter SubscriptionId saat tersedia jika menjalankan cmdlet terhadap langganan yang berbeda.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Parameter Identitas Untuk membangun, lihat bagian CATATAN untuk properti INPUTOBJECT dan membuat tabel hash.
Type: | IServiceBusIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Nama namespace layanan
Type: | String |
Aliases: | NamespaceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Nama grup Sumber Daya dalam langganan Azure.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Kredensial langganan yang secara unik mengidentifikasi langganan Microsoft Azure. ID langganan membentuk bagian dari URI untuk setiap panggilan layanan.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Input
Output
Catatan
ALIAS
Get-AzServiceBusNamespaceV2
PROPERTI PARAMETER KOMPLEKS
Untuk membuat parameter yang dijelaskan di bawah ini, buat tabel hash yang berisi properti yang sesuai. Untuk informasi tentang tabel hash, jalankan Get-Help about_Hash_Tables.
INPUTOBJECT <IServiceBusIdentity>
: Parameter Identitas
[Alias <String>]
: Nama konfigurasi Pemulihan Bencana[AuthorizationRuleName <String>]
: Nama aturan otorisasi.[ConfigName <MigrationConfigurationName?>]
: Nama konfigurasi. Harus selalu "$default".[Id <String>]
: Jalur identitas sumber daya[NamespaceName <String>]
: Nama namespace layanan[PrivateEndpointConnectionName <String>]
: Nama PrivateEndpoint Koneksi ion[QueueName <String>]
: Nama antrean.[ResourceGroupName <String>]
: Nama grup Sumber Daya dalam langganan Azure.[RuleName <String>]
: Nama aturan.[SubscriptionId <String>]
: Info masuk langganan yang secara unik mengidentifikasi langganan Microsoft Azure. ID langganan membentuk bagian dari URI untuk setiap panggilan layanan.[SubscriptionName <String>]
: Nama langganan.[TopicName <String>]
: Nama topik.