Get-AzDurableTaskHub
Syntax
List (Default)
Get-AzDurableTaskHub
-ResourceGroupName <String>
-SchedulerName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityScheduler
Get-AzDurableTaskHub
-Name <String>
-SchedulerInputObject <IDurableTaskIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzDurableTaskHub
-Name <String>
-ResourceGroupName <String>
-SchedulerName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzDurableTaskHub
-InputObject <IDurableTaskIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Examples
Example 1: List all task hubs for a scheduler
Get-AzDurableTaskHub -ResourceGroupName "rgopenapi" -SchedulerName "testscheduler"
DashboardUrl : https://test-db.northcentralus.1.durabletask.io/taskhubs/testtaskhub
Id : /subscriptions/EE9BD735-67CE-4A90-89C4-439D3F6A4C93/resourceGroups/rgopenapi/providers/Microsoft.DurableTask/schedulers/testscheduler/taskHubs/testtaskhub
Name : testtaskhub
ProvisioningState : Succeeded
ResourceGroupName : rgopenapi
SystemDataCreatedAt : 4/17/2024 3:34:17 PM
SystemDataCreatedBy : tenmbevaunjzikxowqexrsx
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 4/17/2024 3:34:17 PM
SystemDataLastModifiedBy : xfvdcegtj
SystemDataLastModifiedByType : User
Type : Microsoft.DurableTask/schedulers/taskHubs
Lists all task hubs for a specific Durable Task scheduler.
Example 2: Get a specific task hub by name
Get-AzDurableTaskHub -Name "testtaskhub" -ResourceGroupName "rgopenapi" -SchedulerName "testscheduler"
DashboardUrl : https://test-db.northcentralus.1.durabletask.io/taskhubs/testtaskhub
Id : /subscriptions/EE9BD735-67CE-4A90-89C4-439D3F6A4C93/resourceGroups/rgopenapi/providers/Microsoft.DurableTask/schedulers/testscheduler/taskHubs/testtaskhub
Name : testtaskhub
ProvisioningState : Succeeded
ResourceGroupName : rgopenapi
SystemDataCreatedAt : 4/17/2024 3:34:17 PM
SystemDataCreatedBy : tenmbevaunjzikxowqexrsx
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 4/17/2024 3:34:17 PM
SystemDataLastModifiedBy : xfvdcegtj
SystemDataLastModifiedByType : User
Type : Microsoft.DurableTask/schedulers/taskHubs
Gets the details of a specific task hub by name.
$taskHub = Get-AzDurableTaskHub -Name "testtaskhub" -ResourceGroupName "rgopenapi" -SchedulerName "testscheduler"
$taskHub | Get-AzDurableTaskHub
DashboardUrl : https://test-db.northcentralus.1.durabletask.io/taskhubs/testtaskhub
Id : /subscriptions/EE9BD735-67CE-4A90-89C4-439D3F6A4C93/resourceGroups/rgopenapi/providers/Microsoft.DurableTask/schedulers/testscheduler/taskHubs/testtaskhub
Name : testtaskhub
ProvisioningState : Succeeded
ResourceGroupName : rgopenapi
SystemDataCreatedAt : 4/17/2024 3:34:17 PM
SystemDataCreatedBy : tenmbevaunjzikxowqexrsx
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 4/17/2024 3:34:17 PM
SystemDataLastModifiedBy : xfvdcegtj
SystemDataLastModifiedByType : User
Type : Microsoft.DurableTask/schedulers/taskHubs
Gets a task hub using pipeline input (GetViaIdentity parameter set).
$scheduler = Get-AzDurableTaskScheduler -ResourceGroupName "rgopenapi" -Name "testscheduler"
Get-AzDurableTaskHub -Name "testtaskhub" -SchedulerInputObject $scheduler
DashboardUrl : https://test-db.northcentralus.1.durabletask.io/taskhubs/testtaskhub
Id : /subscriptions/EE9BD735-67CE-4A90-89C4-439D3F6A4C93/resourceGroups/rgopenapi/providers/Microsoft.DurableTask/schedulers/testscheduler/taskHubs/testtaskhub
Name : testtaskhub
ProvisioningState : Succeeded
ResourceGroupName : rgopenapi
SystemDataCreatedAt : 4/17/2024 3:34:17 PM
SystemDataCreatedBy : tenmbevaunjzikxowqexrsx
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 4/17/2024 3:34:17 PM
SystemDataLastModifiedBy : xfvdcegtj
SystemDataLastModifiedByType : User
Type : Microsoft.DurableTask/schedulers/taskHubs
Gets a task hub using a scheduler input object (GetViaIdentityScheduler parameter set).
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
The name of the TaskHub
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: TaskHubName
Parameter sets
GetViaIdentityScheduler
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentityScheduler
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-SchedulerName
The name of the Scheduler
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs