你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QuotaProperties 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
QuotaProperties() |
初始化 QuotaProperties 类的新实例。 |
QuotaProperties(Nullable<Int32>, Nullable<Int32>, String, ResourceName, Object, String, Object) |
初始化 QuotaProperties 类的新实例。 |
QuotaProperties()
初始化 QuotaProperties 类的新实例。
public QuotaProperties ();
Public Sub New ()
适用于
QuotaProperties(Nullable<Int32>, Nullable<Int32>, String, ResourceName, Object, String, Object)
初始化 QuotaProperties 类的新实例。
public QuotaProperties (int? limit = default, int? currentValue = default, string unit = default, Microsoft.Azure.Management.Reservations.Models.ResourceName name = default, object resourceType = default, string quotaPeriod = default, object properties = default);
new Microsoft.Azure.Management.Reservations.Models.QuotaProperties : Nullable<int> * Nullable<int> * string * Microsoft.Azure.Management.Reservations.Models.ResourceName * obj * string * obj -> Microsoft.Azure.Management.Reservations.Models.QuotaProperties
Public Sub New (Optional limit As Nullable(Of Integer) = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional unit As String = Nothing, Optional name As ResourceName = Nothing, Optional resourceType As Object = Nothing, Optional quotaPeriod As String = Nothing, Optional properties As Object = Nothing)
参数
- unit
- String
限制单位,如 计数 和 字节数。 使用 GET 配额操作的响应中提供的单位字段。
- name
- ResourceName
资源提供程序提供的资源的名称。 将此属性用于 quotaRequests 资源操作。
- resourceType
- Object
资源类型的名称。
- quotaPeriod
- String
汇总配额使用情况值的时间段。 例如,P1D 每天 () ,PT1M () 每分钟一分钟,PT1S (每秒) 。 此参数是可选的,因为对于某些资源(例如计算),时间段无关紧要。
- properties
- Object
指定资源提供程序的其他属性。