# AppliedLicense

- [JSON representation](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/AppliedLicense#SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/AppliedLicense#Type)

AppliedLicense holds the license data returned by adaptation module report.

| JSON representation |
|---|
| ``` { "type": enum (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/AppliedLicense#Type`), "osLicense": string } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/AppliedLicense#Type`)`` The license type that was used in OS adaptation. |
| `osLicense` | `string` The OS license returned from the adaptation module's report. |

## Type

License types used in OS adaptation.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Unspecified license for the OS. |
| `NONE` | No license available for the OS. |
| `PAYG` | The license type is Pay As You Go license type. |
| `BYOL` | The license type is Bring Your Own License type. |