toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'description': ?description,
'maxDevices': ?maxDevices,
'name': ?name,
'projectArn': ?projectArn,
'region': ?region,
'rules': ?pulumi.Input.mapOptionalInputValue<List<DevicePoolRule>, List<Map<String, dynamic>>>(rules, (value) => pulumi.Input.encodeList<DevicePoolRule, Map<String, dynamic>>(value, (value) => value.toMap())),
'tags': ?tags,
'tagsAll': ?tagsAll,
'type': ?type,
};
}