你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzPortalDashboard
Gets the Dashboard.
Syntax
Get-AzPortalDashboard
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[-PassThru]
[<CommonParameters>]
Get-AzPortalDashboard
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPortalDashboard
-InputObject <IPortalIdentity>
[-DefaultProfile <PSObject>]
[-PassThru]
[<CommonParameters>]
Description
Gets the Dashboard.
Examples
Example 1: List all dashboards in a subscription
Get-AzPortalDashboard
Location Name Type
-------- ---- ----
eastasia my-custom-dashboard1 Microsoft.Portal/dashboards
westus my-second-custom-dashboard1 Microsoft.Portal/dashboards
List all dashboards in a subscription
Example 2: Get details for a single Portal Dashboard
Get-AzPortalDashboard -ResourceGroupName my-rg -Name mydashboard
Location Name Type
-------- ---- ----
eastus mydashboard Microsoft.Portal/dashboards
Get details for a single dashboard
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IPortalIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the dashboard.
Type: | String |
Aliases: | DashboardName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Returns true when the command succeeds
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |