< Back
Get-AzureRmAppServicePlanMetrics
Post
NAME Get-AzureRmAppServicePlanMetrics
SYNOPSIS
SYNTAX
Get-AzureRmAppServicePlanMetrics [-AppServicePlan] <ServerFarmWithRichSku> [-Metrics] <String[]> [-StartTime] <DateTime> [[-EndTime] <DateTime>]
[-Granularity] {PT1M | PT1H | P1D} [[-InstanceDetails]] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmAppServicePlanMetrics [-ResourceGroupName] <String> [-Name] <String> [-Metrics] <String[]> [-StartTime] <DateTime> [[-EndTime]
<DateTime>] [-Granularity] {PT1M | PT1H | P1D} [[-InstanceDetails]] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmAppServicePlanMetrics gets App Service Plan metrics.
PARAMETERS
-AppServicePlan <ServerFarmWithRichSku>
App Service Plan Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EndTime <DateTime>
End Time in UTC
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Granularity <String>
Granularity
Required? true
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InstanceDetails [<SwitchParameter>]
Instance Details
Required? false
Position? 6
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Metrics <String[]>
Metrics
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
App Service Plan Name
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Start Time in UTC
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ServerFarmWithRichSku
Parameter 'AppServicePlan' accepts value of type 'ServerFarmWithRichSku' from the pipeline
OUTPUTS
NOTES
1:
PS C:\\>Get-AzureRmAppServicePlanMetrics -ResourceGroupName "Default-Web-WestUS" -Name "ContosoAppServPlan" -StartTime 2016-11-30T22:00:00Z
-EndTime 2016-11-30T22:30:00Z -Granularity PT1M -Metrics ["CPU Percentage"]
This command gets CPU percentage of the App Service Plan per minute(PT1M - Poll Time 1 minute) between StartTime and EndTime
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... lanmetrics
SYNOPSIS
SYNTAX
Get-AzureRmAppServicePlanMetrics [-AppServicePlan] <ServerFarmWithRichSku> [-Metrics] <String[]> [-StartTime] <DateTime> [[-EndTime] <DateTime>]
[-Granularity] {PT1M | PT1H | P1D} [[-InstanceDetails]] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmAppServicePlanMetrics [-ResourceGroupName] <String> [-Name] <String> [-Metrics] <String[]> [-StartTime] <DateTime> [[-EndTime]
<DateTime>] [-Granularity] {PT1M | PT1H | P1D} [[-InstanceDetails]] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmAppServicePlanMetrics gets App Service Plan metrics.
PARAMETERS
-AppServicePlan <ServerFarmWithRichSku>
App Service Plan Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EndTime <DateTime>
End Time in UTC
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Granularity <String>
Granularity
Required? true
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InstanceDetails [<SwitchParameter>]
Instance Details
Required? false
Position? 6
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Metrics <String[]>
Metrics
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
App Service Plan Name
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Start Time in UTC
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ServerFarmWithRichSku
Parameter 'AppServicePlan' accepts value of type 'ServerFarmWithRichSku' from the pipeline
OUTPUTS
NOTES
1:
PS C:\\>Get-AzureRmAppServicePlanMetrics -ResourceGroupName "Default-Web-WestUS" -Name "ContosoAppServPlan" -StartTime 2016-11-30T22:00:00Z
-EndTime 2016-11-30T22:30:00Z -Granularity PT1M -Metrics ["CPU Percentage"]
This command gets CPU percentage of the App Service Plan per minute(PT1M - Poll Time 1 minute) between StartTime and EndTime
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... lanmetrics