Get-AzLoad
Get a LoadTest resource.
Syntax
List (Default)
Get-AzLoad
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzLoad
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List1
Get-AzLoad
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get a LoadTest resource.
Examples
Example 1: Get all Azure Load Testing resources in a subscription
Get-AzLoad
Name Resource group Location DataPlane URL
---- -------------- -------- -------------
sampleres sample-rg eastus 00000000-0000-0000-0000-000000000000.eastus.cnt-prod.loadtesting.azure.com
sampleres1 sample-rg eastus 00000000-0000-0000-0000-000000000001.eastus.cnt-prod.loadtesting.azure.com
This command lists all Azure Load Testing resources in the subscription.
Example 2: Get all Azure Load Testing resources in a resource group
Get-AzLoad -ResourceGroupName sample-rg
Name Resource group Location DataPlane URL
---- -------------- -------- -------------
sampleres sample-rg eastus 00000000-0000-0000-0000-000000000000.eastus.cnt-prod.loadtesting.azure.com
sampleres1 sample-rg eastus 00000000-0000-0000-0000-000000000001.eastus.cnt-prod.loadtesting.azure.com
This command lists all Azure Load Testing resources in resource group named sample-rg.
Example 3: Get the details of an Azure Load Testing resource
Get-AzLoad -Name sampleres -ResourceGroupName sample-rg
Name Resource group Location DataPlane URL
---- -------------- -------- -------------
sampleres sample-rg eastus 00000000-0000-0000-0000-000000000000.eastus.cnt-prod.loadtesting.azure.com
This command gets the details of the Azure Load Testing resource named sampleres in resource group named sample-rg.
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 |
-Name
Load Test name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | LoadTestName |
Parameter sets
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
Get
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
List1
| 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.
Parameter properties
| Type: | String[] |
| Default value: | (Get-AzContext).Subscription.Id |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| 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.