Skip to main content

vm_entitlements

Creates, updates, deletes, gets or lists a vm_entitlements resource.

Overview

Namevm_entitlements
TypeResource
Idaws.evs.vm_entitlements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connector_idstringThe unique ID of the connector associated with the entitlement. (pattern: <code>(cnctr-[a-zA-Z0-9]{10})</code>)
environment_idstringThe unique ID of the environment. (pattern: <code>(env-[a-zA-Z0-9]{10})</code>)
error_detailobjectThe error details associated with the entitlement, if applicable.
last_synced_atstring (date-time)The date and time that the entitlement was last synced.
started_atstring (date-time)The date and time that the entitlement started.
statusstringThe status of the entitlement. (CREATING, CREATED, DELETED, AT_RISK, ENTITLEMENT_REMOVED, CREATE_FAILED)
stopped_atstring (date-time)The date and time that the entitlement stopped.
type_stringThe type of entitlement. (WINDOWS_SERVER)
vm_idstringThe unique ID of the virtual machine. (pattern: <code>vm-[0-9]+</code>)
vm_namestringThe name of the virtual machine.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_vm_entitlementsselectregionLists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.

SELECT
connector_id,
environment_id,
error_detail,
last_synced_at,
started_at,
status,
stopped_at,
type_,
vm_id,
vm_name
FROM aws.evs.vm_entitlements
WHERE region = '{{ region }}' -- required
;