Class CreateProductLicenseDetails
Details for creating a new product license.
Inherited Members
Namespace: Oci.LicensemanagerService.Models
Assembly: OCI.DotNetSDK.Licensemanager.dll
Syntax
public class CreateProductLicenseDetailsProperties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The compartment OCID where product licenses are 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 | Name of the product license. | 
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"} | 
Images
Declaration
[JsonProperty(PropertyName = "images")]
public List<ImageDetails> Images { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ImageDetails> | The image details associated with the product license. | 
IsVendorOracle
Declaration
[Required(ErrorMessage = "IsVendorOracle is required.")]
[JsonProperty(PropertyName = "isVendorOracle")]
public bool? IsVendorOracle { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Specifies if the product license vendor is Oracle or a third party. | 
Remarks
Required
LicenseUnit
Declaration
[Required(ErrorMessage = "LicenseUnit is required.")]
[JsonProperty(PropertyName = "licenseUnit")]
[JsonConverter(typeof(StringEnumConverter))]
public LicenseUnit? LicenseUnit { get; set; }Property Value
| Type | Description | 
|---|---|
| LicenseUnit? | The product license unit. | 
Remarks
Required
VendorName
Declaration
[JsonProperty(PropertyName = "vendorName")]
public string VendorName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The product license vendor name, for Example: Microsoft, RHEL, and so on. |