Class LicenseRecord
License record summary.
Inherited Members
Namespace: Oci.LicensemanagerService.Models
Assembly: OCI.DotNetSDK.Licensemanager.dll
Syntax
public class LicenseRecord
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID where the license record is created. |
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 | The license record display name. Avoid entering confidential information. |
Remarks
Required
ExpirationDate
Declaration
[JsonProperty(PropertyName = "expirationDate")]
public DateTime? ExpirationDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The license record end date in RFC 3339 date format. Example: 2018-09-12 |
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 license record OCID. |
Remarks
Required
IsPerpetual
Declaration
[Required(ErrorMessage = "IsPerpetual is required.")]
[JsonProperty(PropertyName = "isPerpetual")]
public bool? IsPerpetual { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies if the license record term is perpertual. |
Remarks
Required
IsUnlimited
Declaration
[Required(ErrorMessage = "IsUnlimited is required.")]
[JsonProperty(PropertyName = "isUnlimited")]
public bool? IsUnlimited { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies if the license count is unlimited. |
Remarks
Required
LicenseCount
Declaration
[JsonProperty(PropertyName = "licenseCount")]
public int? LicenseCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of license units added by the user for the given license record. Default 1 |
LicenseUnit
Declaration
[JsonProperty(PropertyName = "licenseUnit")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LicenseUnit? LicenseUnit { get; set; }
Property Value
Type | Description |
---|---|
LicenseUnit? | The product license unit. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifeCycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifeCycleState? | The current license record state. |
Remarks
Required
ProductId
Declaration
[JsonProperty(PropertyName = "productId")]
public string ProductId { get; set; }
Property Value
Type | Description |
---|---|
string | The license record product ID. |
ProductLicense
Declaration
[JsonProperty(PropertyName = "productLicense")]
public string ProductLicense { get; set; }
Property Value
Type | Description |
---|---|
string | The product license name with which the license record is associated. |
ProductLicenseId
Declaration
[JsonProperty(PropertyName = "productLicenseId")]
public string ProductLicenseId { get; set; }
Property Value
Type | Description |
---|---|
string | The product license OCID with which the license record is associated. |
SupportEndDate
Declaration
[JsonProperty(PropertyName = "supportEndDate")]
public DateTime? SupportEndDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The license record support end date in RFC 3339 date format. Example: 2018-09-12 |
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 license record 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 license record was updated. An RFC 3339-formatted datetime string. |