Show / Hide Table of Contents

Class CreateOccmDemandSignalItemDetails

Details about different fields required to create a demand signal item resource.

Inheritance
object
CreateOccmDemandSignalItemDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CapacitymanagementService.Models
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class CreateOccmDemandSignalItemDetails

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. This is an optional parameter.

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 correponding 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 we need to create this item.

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"}

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.
NOTE: The previous value gets overwritten with the new one for this once updated.

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(StringEnumConverter))]
public OccmDemandSignalItemRequestType? RequestType { get; set; }
Property Value
Type Description
OccmDemandSignalItemRequestType?

The type of request (DEMAND or RETURN) that you want to make for this demand signal item.

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

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

In this article
Back to top