external help file | Module Name | online version | schema |
---|---|---|---|
Az.ServiceBus-help.xml |
Az.ServiceBus |
2.0.0 |
Gets the SASKey of a ServiceBus namespace, queue or topic.
Get-AzServiceBusKey -Name <String> -NamespaceName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[<CommonParameters>]
Get-AzServiceBusKey -Name <String> -NamespaceName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>] -AliasName <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[<CommonParameters>]
Get-AzServiceBusKey -Name <String> -NamespaceName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>] -TopicName <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[<CommonParameters>]
Get-AzServiceBusKey -Name <String> -NamespaceName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>] -QueueName <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[<CommonParameters>]
Gets the SASKey of a ServiceBus namespace, queue or topic.
Get-AzServiceBusKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name RootManageSharedAccessKey
AliasPrimaryConnectionString :
AliasSecondaryConnectionString :
KeyName : RootManageSharedAccessKey
PrimaryConnectionString : 000000000000
PrimaryKey : 000000000000
SecondaryConnectionString : {ConnectionString}
SecondaryKey : {ConnectionString}
Gets keys of authorization rule RootManageSharedAccessKey
of ServiceBus namespace myNamespace
.
Get-AzServiceBusKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -QueueName queue1 -Name RootManageSharedAccessKey
AliasPrimaryConnectionString :
AliasSecondaryConnectionString :
KeyName : RootManageSharedAccessKey
PrimaryConnectionString : 000000000000
PrimaryKey : 000000000000
SecondaryConnectionString : {ConnectionString}
SecondaryKey : {ConnectionString}
Gets keys of authorization rule RootManageSharedAccessKey
of ServiceBus queue queue1
from namespace myNamespace
.
Get-AzServiceBusKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -TopicName topic1 -Name RootManageSharedAccessKey
AliasPrimaryConnectionString :
AliasSecondaryConnectionString :
KeyName : RootManageSharedAccessKey
PrimaryConnectionString : 000000000000
PrimaryKey : 000000000000
SecondaryConnectionString : {ConnectionString}
SecondaryKey : {ConnectionString}
Gets keys of authorization rule RootManageSharedAccessKey
of ServiceBus topic topic1
from namespace myNamespace
.
The name of the Service Disaster Recovery Config.
Type: System.String
Parameter Sets: GetExpandedAlias
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Run the command as a job
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The credentials, account, tenant, and subscription used for communication with Azure.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the Authorization Rule
Type: System.String
Parameter Sets: (All)
Aliases: AuthorizationRuleName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of ServiceBus namespace
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Run the command asynchronously
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the ServiceBus queue.
Type: System.String
Parameter Sets: GetExpandedQueue
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the resource group. The name is case insensitive.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the target subscription.
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: False
The name of the ServiceBus topic.
Type: System.String
Parameter Sets: GetExpandedTopic
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.