AWS SDK for .NET Documentation
LicenseCapacity Class
AmazonAmazon.EC2.ModelLicenseCapacity Did this page help you?   Yes   No    Tell us about it...
Capacity that a license is able to support.
Declaration Syntax
C#
public class LicenseCapacity
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
LicenseCapacity()()()()
Initializes a new instance of the LicenseCapacity class

Capacity
The number of licenses available.

EarliestAllowedDeactivationTime
The earliest allowed time at which a license can be deactivated. Some licenses have time restrictions on when they can be activated and reactivated.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstanceCapacity
The number of Amazon EC2 instances that can be supported with the license's capacity.

IsSetCapacity()()()()
Checks if Capacity property is set

IsSetEarliestAllowedDeactivationTime()()()()
Checks if EarliestAllowedDeactivationTime property is set

IsSetInstanceCapacity()()()()
Checks if InstanceCapacity property is set

IsSetState()()()()
Checks if State property is set

State
The state of this license capacity, indicating whether the license is actively being used or not.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCapacity(Decimal) Obsolete.
Sets the number of licenses available.

WithEarliestAllowedDeactivationTime(String) Obsolete.
Sets the earliest allowed time at which a license can be deactivated.

WithInstanceCapacity(Decimal) Obsolete.
Sets the number of Amazon EC2 instances that can be supported with the license's capacity.

WithState(String) Obsolete.
Sets the state of this license capacity, indicating whether the license is actively being used or not.

Inheritance Hierarchy
Object
LicenseCapacity

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)