Resource: LicenseCode
Represents a License Code resource.
A License Code is a unique identifier used to represent a license resource.
JSON representation |
---|
{ "kind": string, "id": string, "name": string, "creationTimestamp": string, "description": string, "selfLink": string, "transferable": boolean, "state": enum ( |
Fields | |
---|---|
kind |
[Output Only] Type of resource. Always
for licenses. |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name |
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. |
creation |
[Output Only] Creation timestamp in RFC3339 text format. |
description |
[Output Only] Description of this License Code. |
self |
[Output Only] Server-defined URL for the resource. |
transferable |
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. |
state |
[Output Only] Current state of this License Code. |
license |
[Output Only] URL and description aliases of Licenses with the same License Code. |
State
License state reflects how a license and license code can be used, if at all. License state is maintained by GCE Admins. LINT.IfChange
Enums | |
---|---|
STATE_UNSPECIFIED |
|
ENABLED |
Use is allowed for anyone with USE_READ_ONLY access to this License Code. |
RESTRICTED |
Use of this license is limited to a project whitelist. |
DISABLED |
Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected. |
TERMINATED |
Reserved state. |
LicenseAlias
JSON representation |
---|
{ "selfLink": string, "description": string } |
Fields | |
---|---|
self |
[Output Only] URL of license corresponding to this License Code. |
description |
[Output Only] Description of this License Code. |
Methods |
|
---|---|
|
The method compute.v1.LicenseCodesService.Get is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.LicenseCodesService.TestPermissions is not available in this (s3nsapis.fr) universe. |