Class Product
The fields of a product to be displayed to the operator in OCI Console
Inherited Members
Namespace: Oci.OciproductcatalogService.Models
Assembly: OCI.DotNetSDK.Ociproductcatalog.dll
Syntax
public class Product
Properties
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.
For more information, see Resource Tags.
|
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | description to the product |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the product |
Remarks
Required
IsExcluded
Declaration
[JsonProperty(PropertyName = "isExcluded")]
public bool? IsExcluded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE -> "Not yet launched" ACTIVE -> "Launched" NEEDS_ATTENTION -> "Pricing not set" |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Product.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| Product.LifecycleStateEnum? | The status of a product following the OCI standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name of the product, defined by service teams. Unique within one service |
Remarks
Required
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name of the metering service this product relates to. |
Remarks
Required
Skus
Declaration
[Required(ErrorMessage = "Skus is required.")]
[JsonProperty(PropertyName = "skus")]
public List<SkuSummary> Skus { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SkuSummary> | List of skus associated with this product. |
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.
|
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Date and time when the product is created Example: 2022-01-25T21:10:29.600Z |
TimeLaunched
Declaration
[JsonProperty(PropertyName = "timeLaunched")]
public DateTime? TimeLaunched { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z |
TimeReady
Declaration
[JsonProperty(PropertyName = "timeReady")]
public DateTime? TimeReady { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z |