AWS SDK for .NET Documentation
License Class
AmazonAmazon.EC2.ModelLicense Did this page help you?   Yes   No    Tell us about it...
A software license that can be associated with an Amazon EC2 instance when launched (ex. a Microsoft Windows license).
Declaration Syntax
C#
public class License
Members
All MembersConstructorsMethodsProperties



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

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.)
IsSetLicenseCapacity()()()()
Checks if LicenseCapacity property is set

IsSetLicenseId()()()()
Checks if LicenseId property is set

IsSetPool()()()()
Checks if Pool property is set

IsSetTag()()()()
Checks if Tag property is set

IsSetType()()()()
Checks if Type property is set

LicenseCapacity
The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc.

LicenseId
The unique ID identifying the license.

Pool
The name of the pool in which the license is kept.

Tag
A list of tags for the License.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
The license type (ex. "Microsoft/Windows/Standard").

WithLicenseCapacity(array<LicenseCapacity>[]()[][]) Obsolete.
Sets the capacities available for this license.

WithLicenseId(String) Obsolete.
Sets the unique ID identifying the license.

WithPool(String) Obsolete.
Sets the name of the pool in which the license is kept.

WithTag(array<Tag>[]()[][]) Obsolete.
Sets a list of tags for the License.

WithType(String) Obsolete.
Sets the license type (ex. "Microsoft/Windows/Standard").

Inheritance Hierarchy
Object
License

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