Class TopUtilizedResourceSummary
A summary of a top utlized resource.
Inherited Members
Namespace: Oci.LicensemanagerService.Models
Assembly: OCI.DotNetSDK.Licensemanager.dll
Syntax
public class TopUtilizedResourceSummary
Properties
ResourceCompartmentId
Declaration
[Required(ErrorMessage = "ResourceCompartmentId is required.")]
[JsonProperty(PropertyName = "resourceCompartmentId")]
public string ResourceCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID that contains the resource. |
Remarks
Required
ResourceCompartmentName
Declaration
[Required(ErrorMessage = "ResourceCompartmentName is required.")]
[JsonProperty(PropertyName = "resourceCompartmentName")]
public string ResourceCompartmentName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the compartment that contains the resource. |
Remarks
Required
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
ResourceName
Declaration
[Required(ErrorMessage = "ResourceName is required.")]
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | Resource canonical name. |
Remarks
Required
TotalUnits
Declaration
[Required(ErrorMessage = "TotalUnits is required.")]
[JsonProperty(PropertyName = "totalUnits")]
public double TotalUnits { get; set; }
Property Value
Type | Description |
---|---|
double | Number of license units consumed by the resource. |
Remarks
Required
UnitType
Declaration
[Required(ErrorMessage = "UnitType is required.")]
[JsonProperty(PropertyName = "unitType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourceUnit? UnitType { get; set; }
Property Value
Type | Description |
---|---|
ResourceUnit? | The resource unit. |
Remarks
Required