Class UsageLimitSummary
Encapsulates a collection of Hard and Soft Limits for a resource within a subscription.
Inherited Members
Namespace: Oci.UsageService.Models
Assembly: OCI.DotNetSDK.Usage.dll
Syntax
public class UsageLimitSummary
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageLimitSummary.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
UsageLimitSummary.ActionEnum? | The action when usage limit is hit |
Remarks
Required
AlertLevel
Declaration
[Required(ErrorMessage = "AlertLevel is required.")]
[JsonProperty(PropertyName = "alertLevel")]
public decimal? AlertLevel { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The alert level of the usage limit |
Remarks
Required
CreatedBy
Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | The user who created the limit |
Remarks
Required
EntitlementId
Declaration
[Required(ErrorMessage = "EntitlementId is required.")]
[JsonProperty(PropertyName = "entitlementId")]
public string EntitlementId { get; set; }
Property Value
Type | Description |
---|---|
string | Entitlement ID of the usage limit |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The usage limit ID |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageLimitSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
UsageLimitSummary.LifecycleStateEnum? | The usage limit lifecycle state. |
Remarks
Required
Limit
Declaration
[Required(ErrorMessage = "Limit is required.")]
[JsonProperty(PropertyName = "limit")]
public string Limit { get; set; }
Property Value
Type | Description |
---|---|
string | The limit value |
Remarks
Required
LimitType
Declaration
[Required(ErrorMessage = "LimitType is required.")]
[JsonProperty(PropertyName = "limitType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageLimitSummary.LimitTypeEnum? LimitType { get; set; }
Property Value
Type | Description |
---|---|
UsageLimitSummary.LimitTypeEnum? | The limit type of the usage limit |
Remarks
Required
MaxHardLimit
Declaration
[JsonProperty(PropertyName = "maxHardLimit")]
public string MaxHardLimit { get; set; }
Property Value
Type | Description |
---|---|
string | The maximum hard limit set for the usage limit |
ModifiedBy
Declaration
[Required(ErrorMessage = "ModifiedBy is required.")]
[JsonProperty(PropertyName = "modifiedBy")]
public string ModifiedBy { get; set; }
Property Value
Type | Description |
---|---|
string | The user who modified the limit |
Remarks
Required
ResourceName
Declaration
[Required(ErrorMessage = "ResourceName is required.")]
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The resource for which the limit is defined |
Remarks
Required
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string | The service for which the limit is defined |
Remarks
Required
SkuPartId
Declaration
[JsonProperty(PropertyName = "skuPartId")]
public string SkuPartId { get; set; }
Property Value
Type | Description |
---|---|
string | The SKU for which the usage limit is set |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the usage limit was created |
Remarks
Required
TimeModified
Declaration
[Required(ErrorMessage = "TimeModified is required.")]
[JsonProperty(PropertyName = "timeModified")]
public DateTime? TimeModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the usage limit was modified |
Remarks
Required
ValueType
Declaration
[Required(ErrorMessage = "ValueType is required.")]
[JsonProperty(PropertyName = "valueType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageLimitSummary.ValueTypeEnum? ValueType { get; set; }
Property Value
Type | Description |
---|---|
UsageLimitSummary.ValueTypeEnum? | The value type of the usage limit |
Remarks
Required