/// <summary> /// Initializes a new instance of the QuotaProperties class. /// </summary> /// <param name="limit">Resource quota limit properties.</param> /// <param name="unit"> The quota units, such as Count and Bytes. When /// requesting quota, use the **unit** value returned in the GET /// response in the request body of your PUT operation.</param> /// <param name="name">Resource name provided by the resource provider. /// Use this property name when requesting quota.</param> /// <param name="resourceType">Resource type name.</param> /// <param name="quotaPeriod">The time period over which the quota /// usage values are summarized. For example: /// *P1D (per one day) /// *PT1M (per one minute) /// *PT1S (per one second). /// This parameter is optional because, for some resources like /// compute, the period is irrelevant.</param> /// <param name="isQuotaApplicable">States if quota can be requested /// for this resource.</param> /// <param name="properties">Additional properties for the specific /// resource provider.</param> public QuotaProperties(LimitJsonObject limit = default(LimitJsonObject), string unit = default(string), ResourceName name = default(ResourceName), string resourceType = default(string), string quotaPeriod = default(string), bool?isQuotaApplicable = default(bool?), object properties = default(object)) { Limit = limit; Unit = unit; Name = name; ResourceType = resourceType; QuotaPeriod = quotaPeriod; IsQuotaApplicable = isQuotaApplicable; Properties = properties; CustomInit(); }
/// <summary> /// Initializes a new instance of the SubRequest class. /// </summary> /// <param name="name">Resource name.</param> /// <param name="resourceType">Resource type for which the quota /// properties were requested.</param> /// <param name="unit"> Quota limit units, such as Count and Bytes. /// When requesting quota, use the **unit** value returned in the GET /// response in the request body of your PUT operation.</param> /// <param name="provisioningState">The quota request status. Possible /// values include: 'Accepted', 'Invalid', 'Succeeded', 'Failed', /// 'InProgress'</param> /// <param name="message">User-friendly status message.</param> /// <param name="subRequestId">Quota request ID.</param> /// <param name="limit">Resource quota limit properties.</param> public SubRequest(ResourceName name = default(ResourceName), string resourceType = default(string), string unit = default(string), string provisioningState = default(string), string message = default(string), string subRequestId = default(string), LimitJsonObject limit = default(LimitJsonObject)) { Name = name; ResourceType = resourceType; Unit = unit; ProvisioningState = provisioningState; Message = message; SubRequestId = subRequestId; Limit = limit; CustomInit(); }