コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the QuotaRequestSubmitResponse202
 /// class.
 /// </summary>
 /// <param name="id">The quota request ID. To check the request status,
 /// use the **id** value in a [Quota Request
 /// Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get)
 /// GET operation.</param>
 /// <param name="name">Operation ID.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="provisioningState">Quota request status. Possible
 /// values include: 'Accepted', 'Invalid', 'Succeeded', 'Failed',
 /// 'InProgress'</param>
 /// <param name="message">User-friendly message.</param>
 /// <param name="limit">Resource quota limit properties.</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="properties">Additional properties for the specific
 /// resource provider.</param>
 public QuotaRequestSubmitResponse202(string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), string message = default(string), LimitObject limit = default(LimitObject), string unit = default(string), ResourceName name1 = default(ResourceName), string resourceType = default(string), string quotaPeriod = default(string), object properties = default(object))
 {
     Id   = id;
     Name = name;
     Type = type;
     ProvisioningState = provisioningState;
     Message           = message;
     Limit             = limit;
     Unit         = unit;
     Name1        = name1;
     ResourceType = resourceType;
     QuotaPeriod  = quotaPeriod;
     Properties   = properties;
     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();
 }