Class OccmDemandSignalItem
An occm demand signal item is a resource that is used to communicate the forecasting need for a particular resource with OCI. It's a sub-resource and need to be grouped inside a demand signal.
Inherited Members
Namespace: Oci.CapacitymanagementService.Models
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class OccmDemandSignalItem
Properties
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the availability domain for which you want to request the OCI resource. |
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 demand signal item was created. |
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"}} |
DemandQuantity
Declaration
[Required(ErrorMessage = "DemandQuantity is required.")]
[JsonProperty(PropertyName = "demandQuantity")]
public long? DemandQuantity { get; set; }
Property Value
Type | Description |
---|---|
long? | The quantity of the resource that you want to demand from OCI. |
Remarks
Required
DemandSignalCatalogResourceId
Declaration
[Required(ErrorMessage = "DemandSignalCatalogResourceId is required.")]
[JsonProperty(PropertyName = "demandSignalCatalogResourceId")]
public string DemandSignalCatalogResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the corresponding demand signal catalog resource. |
Remarks
Required
DemandSignalId
Declaration
[Required(ErrorMessage = "DemandSignalId is required.")]
[JsonProperty(PropertyName = "demandSignalId")]
public string DemandSignalId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the demand signal under which this item will be grouped. |
Remarks
Required
DemandSignalNamespace
Declaration
[Required(ErrorMessage = "DemandSignalNamespace is required.")]
[JsonProperty(PropertyName = "demandSignalNamespace")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DemandSignalNamespace? DemandSignalNamespace { get; set; }
Property Value
Type | Description |
---|---|
DemandSignalNamespace? | The name of the OCI service in consideration for demand signal submission. For Example: COMPUTE, NETWORK, GPU etc. |
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 demand signal item. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OccmDemandSignalItem.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
OccmDemandSignalItem.LifecycleStateEnum? | The current lifecycle state of the resource. |
Remarks
Required
Notes
Declaration
[JsonProperty(PropertyName = "notes")]
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
string | This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request.
|
Region
Declaration
[Required(ErrorMessage = "Region is required.")]
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | The name of region for which you want to request the OCI resource. |
Remarks
Required
RequestType
Declaration
[Required(ErrorMessage = "RequestType is required.")]
[JsonProperty(PropertyName = "requestType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OccmDemandSignalItemRequestType? RequestType { get; set; }
Property Value
Type | Description |
---|---|
OccmDemandSignalItemRequestType? | The type of request (DEMAND or RETURN) made against a particular demand signal item. |
Remarks
Required
ResourceName
Declaration
[Required(ErrorMessage = "ResourceName is required.")]
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the OCI resource that you want to request. |
Remarks
Required
ResourceProperties
Declaration
[Required(ErrorMessage = "ResourceProperties is required.")]
[JsonProperty(PropertyName = "resourceProperties")]
public Dictionary<string, string> ResourceProperties { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | A map of various properties associated with the OCI resource. |
Remarks
Required
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"}} |
TargetCompartmentId
Declaration
[JsonProperty(PropertyName = "targetCompartmentId")]
public string TargetCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy for which you want to request the OCI resource for. This is an optional parameter. |
TimeNeededBefore
Declaration
[Required(ErrorMessage = "TimeNeededBefore is required.")]
[JsonProperty(PropertyName = "timeNeededBefore")]
public DateTime? TimeNeededBefore { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | the date before which you would ideally like the OCI resource to be delivered to you. |
Remarks
Required