コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the QuotaRequestProperties class.
 /// </summary>
 /// <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="error">Error details of the quota request.</param>
 /// <param name="requestSubmitTime">The quota request submission time.
 /// The date conforms to the following format specified by the ISO 8601
 /// standard: yyyy-MM-ddTHH:mm:ssZ</param>
 /// <param name="value">Quota request details.</param>
 public QuotaRequestProperties(string provisioningState = default(string), string message = default(string), ServiceErrorDetail error = default(ServiceErrorDetail), System.DateTime?requestSubmitTime = default(System.DateTime?), IList <SubRequest> value = default(IList <SubRequest>))
 {
     ProvisioningState = provisioningState;
     Message           = message;
     Error             = error;
     RequestSubmitTime = requestSubmitTime;
     Value             = value;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the QuotaRequestDetails class.
 /// </summary>
 /// <param name="id">Quota request ID.</param>
 /// <param name="name">Quota request name.</param>
 /// <param name="type">Resource type. "Microsoft.Quota/quotas".</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="error">Error details of the quota request.</param>
 /// <param name="requestSubmitTime">The quota request submission time.
 /// The date conforms to the following format specified by the ISO 8601
 /// standard: yyyy-MM-ddTHH:mm:ssZ</param>
 /// <param name="value">Quota request details.</param>
 public QuotaRequestDetails(string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), string message = default(string), ServiceErrorDetail error = default(ServiceErrorDetail), System.DateTime?requestSubmitTime = default(System.DateTime?), IList <SubRequest> value = default(IList <SubRequest>))
 {
     Id   = id;
     Name = name;
     Type = type;
     ProvisioningState = provisioningState;
     Message           = message;
     Error             = error;
     RequestSubmitTime = requestSubmitTime;
     Value             = value;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// QuotaRequestOneResourceSubmitResponse class.
 /// </summary>
 /// <param name="id">Quota request ID.</param>
 /// <param name="name">The name of the quota request.</param>
 /// <param name="type">Resource type.
 /// "Microsoft.Quota/ServiceLimitRequests"</param>
 /// <param name="provisioningState">Quota request status. Possible
 /// values include: 'Accepted', 'Invalid', 'Succeeded', 'Failed',
 /// 'InProgress'</param>
 /// <param name="message">User-friendly status message.</param>
 /// <param name="requestSubmitTime">Quota request submission time. The
 /// date conforms to the following ISO 8601 standard format:
 /// yyyy-MM-ddTHH:mm:ssZ.</param>
 /// <param name="limit">Resource quota limit properties.</param>
 /// <param name="currentValue">Usage information for the current
 /// resource.</param>
 /// <param name="unit"> The 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="name1">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="error">Error details of the quota request.</param>
 /// <param name="properties">Additional properties for the specific
 /// resource provider.</param>
 public QuotaRequestOneResourceSubmitResponse(string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), string message = default(string), System.DateTime?requestSubmitTime = default(System.DateTime?), LimitObject limit = default(LimitObject), int?currentValue = default(int?), string unit = default(string), ResourceName name1 = default(ResourceName), string resourceType = default(string), string quotaPeriod = default(string), bool?isQuotaApplicable = default(bool?), ServiceErrorDetail error = default(ServiceErrorDetail), object properties = default(object))
 {
     Id   = id;
     Name = name;
     Type = type;
     ProvisioningState = provisioningState;
     Message           = message;
     RequestSubmitTime = requestSubmitTime;
     Limit             = limit;
     CurrentValue      = currentValue;
     Unit              = unit;
     Name1             = name1;
     ResourceType      = resourceType;
     QuotaPeriod       = quotaPeriod;
     IsQuotaApplicable = isQuotaApplicable;
     Error             = error;
     Properties        = properties;
     CustomInit();
 }