Class CreateOccCapacityRequestDetails
Details about the create request for the capacity request.
Inherited Members
Namespace: Oci.CapacitymanagementService.Models
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class CreateOccCapacityRequestDetails
Properties
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. |
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 different resources requested by the user. |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
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"} |
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. |
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
[JsonConverter(typeof(StringEnumConverter))]
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
[JsonProperty(PropertyName = "occAvailabilityCatalogId")]
public string OccAvailabilityCatalogId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the availability catalog against which capacity request is made. |
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 is made. |
Remarks
Required
RequestState
Declaration
[JsonProperty(PropertyName = "requestState")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateOccCapacityRequestDetails.RequestStateEnum? RequestState { get; set; }
Property Value
Type | Description |
---|---|
CreateOccCapacityRequestDetails.RequestStateEnum? | The subset of request states available for creating the capacity request. |
RequestType
Declaration
[JsonProperty(PropertyName = "requestType")]
[JsonConverter(typeof(StringEnumConverter))]
public OccCapacityRequest.RequestTypeEnum? RequestType { get; set; }
Property Value
Type | Description |
---|---|
OccCapacityRequest.RequestTypeEnum? | Type of Capacity Request(New or Transfer) |