你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzStorageFileServiceUsage
获取存储帐户中的文件服务的使用情况,包括帐户限制、文件共享限制和建议和突发公式中使用的常量。
语法
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>]
说明
获取存储帐户中的文件服务的使用情况,包括帐户限制、文件共享限制和建议和突发公式中使用的常量。
示例
示例 1:获取存储帐户文件服务使用情况数据
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
此命令获取存储帐户中的文件服务的用法,包括帐户限制、文件共享限制以及建议和突发公式中使用的常量。
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
标识参数
类型: | IStorageIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Maxpagesize
可选,指定要包含在列表响应中的文件服务使用量上限。
类型: | Int32 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
用户订阅中的资源组的名称。 名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-StorageAccountName
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输入
输出
Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IFileServiceUsage