Class ProductLicense
The product license details.
Inherited Members
Namespace: Oci.LicensemanagerService.Models
Assembly: OCI.DotNetSDK.Licensemanager.dll
Syntax
public class ProductLicense
Properties
ActiveLicenseRecordCount
Declaration
[JsonProperty(PropertyName = "activeLicenseRecordCount")]
public int? ActiveLicenseRecordCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of active license records associated with the product license. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID where the product license is 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"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | License record name |
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 product license OCID. |
Remarks
Required
Images
Declaration
[JsonProperty(PropertyName = "images")]
public List<ImageResponse> Images { get; set; }
Property Value
Type | Description |
---|---|
List<ImageResponse> | The images associated with the product license. |
IsOverSubscribed
Declaration
[JsonProperty(PropertyName = "isOverSubscribed")]
public bool? IsOverSubscribed { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether or not the product license is oversubscribed. |
IsUnlimited
Declaration
[JsonProperty(PropertyName = "isUnlimited")]
public bool? IsUnlimited { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies if the license unit count is unlimited. |
IsVendorOracle
Declaration
[Required(ErrorMessage = "IsVendorOracle is required.")]
[JsonProperty(PropertyName = "isVendorOracle")]
public bool? IsVendorOracle { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the vendor is Oracle or a third party. |
Remarks
Required
LicenseUnit
Declaration
[Required(ErrorMessage = "LicenseUnit is required.")]
[JsonProperty(PropertyName = "licenseUnit")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LicenseUnit? LicenseUnit { get; set; }
Property Value
Type | Description |
---|---|
LicenseUnit? | The product license unit. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifeCycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifeCycleState? | The current product license state. |
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Status? Status { get; set; }
Property Value
Type | Description |
---|---|
Status? | The current product license status. |
Remarks
Required
StatusDescription
Declaration
[JsonProperty(PropertyName = "statusDescription")]
public string StatusDescription { get; set; }
Property Value
Type | Description |
---|---|
string | Status description for the current product license status. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the product license was created. An RFC 3339-formatted datetime string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the product license was updated. An RFC 3339-formatted datetime string. |
TotalActiveLicenseUnitCount
Declaration
[JsonProperty(PropertyName = "totalActiveLicenseUnitCount")]
public int? TotalActiveLicenseUnitCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license. |
TotalLicenseRecordCount
Declaration
[JsonProperty(PropertyName = "totalLicenseRecordCount")]
public int? TotalLicenseRecordCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of license records associated with the product license. |
TotalLicenseUnitsConsumed
Declaration
[JsonProperty(PropertyName = "totalLicenseUnitsConsumed")]
public double TotalLicenseUnitsConsumed { get; set; }
Property Value
Type | Description |
---|---|
double | The number of license units consumed. Updated after each allocation run. |
VendorName
Declaration
[JsonProperty(PropertyName = "vendorName")]
public string VendorName { get; set; }
Property Value
Type | Description |
---|---|
string | The vendor of the ProductLicense |