你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceUsage 构造函数

定义

重载

ResourceUsage()

初始化 ResourceUsage 类的新实例。

ResourceUsage(String, String, Nullable<Int32>, Nullable<Int32>)

初始化 ResourceUsage 类的新实例。

ResourceUsage()

初始化 ResourceUsage 类的新实例。

public ResourceUsage ();
Public Sub New ()

适用于

ResourceUsage(String, String, Nullable<Int32>, Nullable<Int32>)

初始化 ResourceUsage 类的新实例。

public ResourceUsage (string resourceType = default, string unit = default, int? currentValue = default, int? limit = default);
new Microsoft.Azure.Management.Cdn.Models.ResourceUsage : string * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Cdn.Models.ResourceUsage
Public Sub New (Optional resourceType As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing)

参数

resourceType
String

提供使用情况的资源类型。

unit
String

用法的单位。 例如 Count。

currentValue
Nullable<Int32>

指定资源类型上的实际使用情况值。

limit
Nullable<Int32>

指定资源类型的配额。

适用于