Class OccCapacityRequest
A single request of some quantity of a specific server type, in a specific location and expected delivery date. The maximum amount possible to request is the smallest number between the number of servers available for purchase and the number of servers allowed by the constraints (For example, power, network, physical space, and so on).
Inherited Members
Namespace: Oci.CapacitymanagementService.Models
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class OccCapacityRequest
Properties
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain (AD) for which the capacity request was made. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy from which the request was made. |
Remarks
Required
DateExpectedCapacityHandover
Declaration
[Required(ErrorMessage = "DateExpectedCapacityHandover is required.")]
[JsonProperty(PropertyName = "dateExpectedCapacityHandover")]
public DateTime? DateExpectedCapacityHandover { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Meaningful text about the capacity request. |
Details
Declaration
[Required(ErrorMessage = "Details is required.")]
[JsonProperty(PropertyName = "details")]
public List<OccCapacityRequestBaseDetails> Details { get; set; }
Property Value
Type | Description |
---|---|
List<OccCapacityRequestBaseDetails> | A list of resources requested as part of this request |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the capacity request. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the capacity request. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OccCapacityRequest.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
OccCapacityRequest.LifecycleStateEnum? | The current lifecycle state of the resource. |
Remarks
Required
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Namespace? Namespace { get; set; }
Property Value
Type | Description |
---|---|
Namespace? | The name of the OCI service in consideration. For example, Compute, Exadata, and so on. |
Remarks
Required
OccAvailabilityCatalogId
Declaration
[Required(ErrorMessage = "OccAvailabilityCatalogId is required.")]
[JsonProperty(PropertyName = "occAvailabilityCatalogId")]
public string OccAvailabilityCatalogId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the availability catalog against which the capacity request was placed. |
Remarks
Required
OccCustomerGroupId
Declaration
[Required(ErrorMessage = "OccCustomerGroupId is required.")]
[JsonProperty(PropertyName = "occCustomerGroupId")]
public string OccCustomerGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the customer group to which this customer belongs to. |
Remarks
Required
Region
Declaration
[Required(ErrorMessage = "Region is required.")]
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the region for which the capacity request was made. |
Remarks
Required
RequestState
Declaration
[Required(ErrorMessage = "RequestState is required.")]
[JsonProperty(PropertyName = "requestState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OccCapacityRequest.RequestStateEnum? RequestState { get; set; }
Property Value
Type | Description |
---|---|
OccCapacityRequest.RequestStateEnum? | The different states the capacity request goes through. |
Remarks
Required
RequestType
Declaration
[JsonProperty(PropertyName = "requestType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OccCapacityRequest.RequestTypeEnum? RequestType { get; set; }
Property Value
Type | Description |
---|---|
OccCapacityRequest.RequestTypeEnum? | Type of Capacity Request(New or Transfer) |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the capacity request was created. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the capacity request was updated. |
Remarks
Required