Get-AzStorageFileServiceUsage
Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
Syntax
Get-AzStorageFileServiceUsage
-ResourceGroupName <String>
-StorageAccountName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStorageFileServiceUsage
-ResourceGroupName <String>
-StorageAccountName <String>
[-SubscriptionId <String[]>]
[-Maxpagesize <Int32>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStorageFileServiceUsage
-InputObject <IStorageIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
Examples
Example 1: Get a Storage account file service usage data
Get-AzStorageFileServiceUsage -StorageAccountName myaccount -ResourceGroupName myresroucegroup
BurstingConstantBurstFloorIops : 10000
BurstingConstantBurstIoScalar : 3
BurstingConstantBurstTimeframeSecond : 3600
FileShareLimitMaxProvisionedBandwidthMiBPerSec : 10340
FileShareLimitMaxProvisionedIops : 102400
FileShareLimitMaxProvisionedStorageGiB : 262144
FileShareLimitMinProvisionedBandwidthMiBPerSec : 125
FileShareLimitMinProvisionedIops : 3000
FileShareLimitMinProvisionedStorageGiB : 32
FileShareRecommendationBandwidthScalar : 0.1
FileShareRecommendationBaseBandwidthMiBPerSec : 125
FileShareRecommendationBaseIops : 3000
FileShareRecommendationIoScalar : 1
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresroucegroup/providers/Microsoft.Storage/storageAccounts/myaccount/fileServices/default/usages/default
LiveShareFileShareCount : 1
LiveShareProvisionedBandwidthMiBPerSec : 129
LiveShareProvisionedIops : 3032
LiveShareProvisionedStorageGiB : 32
Name : default
ResourceGroupName : myresroucegroup
SoftDeletedShareFileShareCount : 0
SoftDeletedShareProvisionedBandwidthMiBPerSec : 0
SoftDeletedShareProvisionedIops : 0
SoftDeletedShareProvisionedStorageGiB : 0
StorageAccountLimitMaxFileShare : 50
StorageAccountLimitMaxProvisionedBandwidthMiBPerSec : 10340
StorageAccountLimitMaxProvisionedIops : 102400
StorageAccountLimitMaxProvisionedStorageGiB : 262144
Type : Microsoft.Storage/storageAccounts/fileServices/usages
This command gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
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
Type: | IStorageIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Maxpagesize
Optional, specifies the maximum number of file service usages to be included in the list response.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group within the user's subscription. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageAccountName
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IFileServiceUsage
Azure PowerShell